]> git.baikalelectronics.ru Git - uboot.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)
commit39d26c5adc6da98c250dbbe9e5c48515f1b38838
tree4121631a4830278fb02dcd7a2c248ae40b4dc655
parent5a700bf87ad4fda7c4f9e69f7ea39f70c413282a
configs: am335x_boneblack: Bring back missed bootcmd

Commit 9345a0340ab2 ("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