[U-Boot] configs: am335x_boneblack: Bring back missed bootcmd

Tom Rini trini at konsulko.com
Tue Jan 2 00:47:28 UTC 2018


On Thu, Dec 28, 2017 at 11:03:25PM +0200, Sam Protsenko wrote:

> 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 at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180101/7aa922ed/attachment.sig>


More information about the U-Boot mailing list