78804518e4
fastboot tool is a convenient way to flash the eMMC, so add support for it. Examples of usages: On the mx6sabresd: => fastboot 0 On the Linux PC connected via USB: $ sudo fastboot getvar bootloader-version -i 0x0525 bootloader-version: U-Boot 2018.01-00550-g7517cfe finished. total time: 0.000s $ sudo fastboot reboot -i 0x0525 (this causes the mx6sabresd to reboot) Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Shawn Guo <shawn.guo@linaro.org>
69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_MX6=y
|
|
CONFIG_SPL_GPIO_SUPPORT=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_TARGET_MX6SABRESD=y
|
|
CONFIG_SPL_MMC_SUPPORT=y
|
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
|
CONFIG_SPL_WATCHDOG_SUPPORT=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
|
|
# CONFIG_CONSOLE_MUX is not set
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_EXT_SUPPORT=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_SPL_OS_BOOT=y
|
|
CONFIG_SPL_USB_HOST_SUPPORT=y
|
|
CONFIG_SPL_USB_GADGET_SUPPORT=y
|
|
CONFIG_SPL_USB_SDP_SUPPORT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x12000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x10000000
|
|
CONFIG_FASTBOOT_USB_DEV=0
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=2
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
CONFIG_CMD_PCI=y
|
|
CONFIG_CMD_SF=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_SDP=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_PHYLIB=y
|
|
CONFIG_PCI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
CONFIG_VIDEO=y
|
|
# CONFIG_VIDEO_SW_CURSOR is not set
|
|
CONFIG_OF_LIBFDT=y
|