On Sat, May 28, 2022 at 03:10:51AM +0300, Gabriel Hojda wrote: > hi, > > i've recently tried u-boot 2022.04 (u-boot-v2022.04.tar.bz2) and my > odroid-hc2 didn't boot with uefi (default since Fedora 35) but worked when i > used exlinux.conf > > trying to track down the problem, i've found that in the default u-boot > environment the "board" and "boardname" variables were "smdk5420" and not > "odroid" (like before) ... and thus the "fdtfile" variable was > "exynos5422-smdk5420hc1.dtb" and not "exynos5422-odroidhc1.dtb". > > continuing i've made a diff between the u-boot-v2021.10.tar.bz2 and > u-boot-v2022.04.tar.bz2 ... and long story short, i've found the culprit in > commit f76750d1 "Convert CONFIG_CONS_INDEX et al to Kconfig" :
Thanks for the report. Can you please try updating include/configs/odroid_xu3.h to override "board" in CONFIG_EXTRA_ENV_SETTINGS and see if the auto-detection works as expected? We can't change CONFIG_SYS_BOARD as that would then change wht we look for in board/samsung/ to build. -- Tom
signature.asc
Description: PGP signature