From: Tom Rini Date: Mon, 1 Jan 2018 19:47:28 -0500 Subject: [U-Boot] configs: am335x_boneblack: Bring back missed bootcmd In-Reply-To: <20171228210325.25376-1-semen.protsenko@linaro.org> References: <20171228210325.25376-1-semen.protsenko@linaro.org> Message-ID: <20180102004728.GN31350@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: