]> git.ipfire.org Git - people/ms/u-boot.git/commit
configs: am335x_boneblack: Bring back missed bootcmd
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 28 Dec 2017 21:03:25 +0000 (23:03 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 1 Jan 2018 14:04:19 +0000 (09:04 -0500)
commit48fa31206dba839eaa2df5dcca09fc0c8e3be1ff
tree4121631a4830278fb02dcd7a2c248ae40b4dc655
parent5da3b3d10497fdd7a5655d3872286610fe8489ed
configs: am335x_boneblack: Bring back missed bootcmd

Commit b6251db8c3f0 ("Kconfig: Introduce USE_BOOTCOMMAND and migrate
BOOTCOMMAND") removed CONFIG_BOOTCOMMAND option from
include/configs/am335x_evm.h file. But that option wasn't added to
defconfig files for BeagleBone Black board.

Because of this we can't boot Linux from SD card using just
"run bootcmd", getting next error:

    ** File not found /boot/undefined **

That's because "fdtfile" variable has "undefined" value by default, and
"bootcmd" doesn't call "run findfdt" command, which assigns "fdtfile" to
correct device tree file for current board name (obtained from EEPROM).

So we are forced to either call "run findfdt" command manually, or
assign manually "fdtfile=am335x-boneblack.dtb" (e.g. in uEnv.txt file).

Bring back CONFIG_BOOTCOMMAND to BBB defconfigs so that we can boot
Linux rootfs from SD card automatically without any addition actions.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
configs/am335x_boneblack_defconfig
configs/am335x_boneblack_vboot_defconfig