summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-01-29 11:11:57 -0200
committerStefano Babic <sbabic@denx.de>2018-02-04 12:14:10 +0100
commit78804518e49ff033e785ba0e9b43846284829c3f (patch)
treeaa98c77c3dcc596fd0aad982918c72f569d91322 /configs
parent11f3090532564bf0230289adf4ab8023acdd98ab (diff)
mx6sabresd: Add fastboot support
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/mx6sabresd_defconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index f6a53d6ae4..feb385d4a5 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -20,6 +20,12 @@ 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