Closed dlech closed 8 years ago
@dlech So this situation:
bootcmd=
run findfdt;
setenv fdtfile am335x-boneblack.dtb;
setenv fdtbase am335x-boneblack;
run distro_bootcmd
Is from this patch:
Which is "only" applied to the u-boot tree for a very special image for board oem's for initial board eeprom programming (aka when the board eeprom is blank).
"depending" on oem, flasher etc. It may end up as the final "u-boot" on eMMC, which is fine.. But my current generation of "blank" flashers (usbflasher) boots with this patch, but after eeprom programing flashes a normal u-boot
https://rcn-ee.net/rootfs/bb.org/testing/2016-01-24/usbflasher/
Regards,
Thanks for the insight. Now that you mentioned it, I'm pretty sure I grabbed the bootloader from http://repos.rcn-ee.com/bootloader/am335x_boneblack/. Should I be using http://repos.rcn-ee.com/bootloader/am335x_evm/ if I want a bootloader that works on White/Black/Green?
Yeah, even that directory is a little risky, always grep this file:
https://rcn-ee.com/repos/bootloader/latest/bootloader-ng
STABLE = ABI2:am335x_evm:
#BeagleBone & BeagleBone Black
ABI2:am335x_evm:SPL https://rcn-ee.com/repos/bootloader/am335x_evm/MLO-am335x_evm-v2016.01-r5
ABI2:am335x_evm:BOOT https://rcn-ee.com/repos/bootloader/am335x_evm/u-boot-am335x_evm-v2016.01-r5.img
It's good for the White/Black/Green/
Regards,
Great, thanks!
There seems to be a bug in u-boot 2016.01. When I run printenv, I see the following (formatted for readability):
These are they only places that
findfdt
are used, so it looks like whenrun bootcmd
is called the values found infindfdt
are immediately written over witham335x-boneblack
. I only have a BeagleBone Black, so I can't confirm this for sure.