Bug#1012269: u-boot-exynos on Odroid XU4 searches for exynos5422-smdk5420xu4.dtb instead of exynos5422-odroidxu4.dtb

Jochen Sprickerhof jspricke at debian.org
Thu Dec 29 08:06:54 CET 2022


* Vagrant Cascadian <vagrant at debian.org> [2022-12-28 18:00]:
>Hrm. This suggests the fix might not have been effective, which should
>have been included in 2022.07... CCing upstream...
>
>commit e744bf3a4ba442a0e9ee1c509c70e1452e3a15d0
>Author: Tom Rini <trini at konsulko.com>
>Date:   Wed Jun 8 14:30:14 2022 -0400
>
>	odroid_xu3: Fix board environment variable
>
>	When migrating CONFIG_CONS_INDEX to Kconfig, on this platform we changed
>	what "board" evaluated to in the environment.  This in turn meant that
>	we would no longer try and find the correct fdtfile via the normal
>	distro boot logic.  Fix this by overriding board in the default
>	environment, as done on other platforms where CONFIG_SYS_BOARD is not
>	what we want to be in the board environment variable.
>
>	Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig")
>	Reported-by: Gabriel Hojda <ghojda at yo2urs.ro>
>	Tested-by: Gabriel Hojda <ghojda at yo2urs.ro>
>	Signed-off-by: Tom Rini <trini at konsulko.com>
>
>
>Alternately... did you at any point run saveenv? This might have stored
>the incorrect value... and then it might not probe for the correct
>value.

I'm sure I never did that. Out of interest, where would it save the 
environment? Afaik there is no persistent memory on the Odroid XU4 
besids the emmc/sd card and my system uses a simple extlinux.conf 
generated by u-boot-menu.

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221229/ec68836f/attachment.sig>


More information about the U-Boot mailing list