mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
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>
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_AM33XX=y
|
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
|
CONFIG_DISTRO_DEFAULTS=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_ENV_IS_IN_MMC=y
|
|
CONFIG_DFU_TFTP=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_OMAP3_SPI=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_USBNET_HOST_ADDR="de:ad:be:af:00:00"
|
|
CONFIG_LZO=y
|
|
CONFIG_OF_LIBFDT=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|