48fa31206d
Commit b6251db8c3
("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>
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_AM33XX=y
|
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
|
CONFIG_DEFAULT_DEVICE_TREE="am335x-boneblack"
|
|
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
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_MUSB_NEW_SUPPORT=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
|
|
CONFIG_AUTOBOOT_DELAY_STR="d"
|
|
CONFIG_AUTOBOOT_STOP_STR=" "
|
|
CONFIG_FASTBOOT=y
|
|
CONFIG_CMD_SPL=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
# CONFIG_BLK is not set
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_PHY_GIGE=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_OMAP3_SPI=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_OMAP_TIMER=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0451
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
|
|
CONFIG_USB_ETHER=y
|
|
CONFIG_LZO=y
|