diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-06-29 15:19:10 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 10:59:48 +0200 |
commit | 3fbbfed7a86354a51590647bcaf7c65665e81357 (patch) | |
tree | f0cf1a74ec2554f6fc61b19df9c02961ab5941e9 /include/configs/pico-imx7d.h | |
parent | 0676b6948d31607f208650cd9c1359f6210f55c3 (diff) | |
download | u-boot-3fbbfed7a86354a51590647bcaf7c65665e81357.tar.gz |
pico-imx7d: Add fastboot support
fastboot tool is a convenient way to flash the eMMC, so
add support for it.
Examples of usages:
On the pico-imx7d U-Boot prompt:
=> fastboot 0
On the Linux PC connected via USB:
1. Retrieving the U-Boot version
$ sudo fastboot getvar bootloader-version -i 0x0525
bootloader-version: U-Boot 2018.07-rc1-03888-gde846f9
finished. total time: 0.000s
2. Resetting the board
$ sudo fastboot reboot -i 0x0525
(this causes the pico-imx7d to reboot)
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs/pico-imx7d.h')
-rw-r--r-- | include/configs/pico-imx7d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h index 23ac103f13..a6ebb04575 100644 --- a/include/configs/pico-imx7d.h +++ b/include/configs/pico-imx7d.h @@ -60,6 +60,7 @@ "partitions=" \ "uuid_disk=${uuid_gpt_disk};" \ "name=rootfs,size=0,uuid=${uuid_gpt_rootfs}\0" \ + "fastboot_partition_alias_system=rootfs\0" \ "setup_emmc=mmc dev 0; gpt write mmc 0 $partitions; reset;\0" \ BOOTENV |