summaryrefslogtreecommitdiff
path: root/configs/am335x_boneblack_vboot_defconfig
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2017-12-28 23:03:25 +0200
committerTom Rini <trini@konsulko.com>2018-01-01 09:04:19 -0500
commit48fa31206dba839eaa2df5dcca09fc0c8e3be1ff (patch)
tree4121631a4830278fb02dcd7a2c248ae40b4dc655 /configs/am335x_boneblack_vboot_defconfig
parent5da3b3d10497fdd7a5655d3872286610fe8489ed (diff)
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>
Diffstat (limited to 'configs/am335x_boneblack_vboot_defconfig')
-rw-r--r--configs/am335x_boneblack_vboot_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index fe5b9e7622..aa9fb9739e 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -8,6 +8,7 @@ CONFIG_DISTRO_DEFAULTS=y
CONFIG_FIT_SIGNATURE=y
CONFIG_FIT_VERBOSE=y
CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
+CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_VERSION_VARIABLE=y
CONFIG_ARCH_MISC_INIT=y