pico-imx6ul: Add fastboot support
authorFabio Estevam <festevam@gmail.com>
Tue, 4 Sep 2018 13:23:09 +0000 (10:23 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 14 Sep 2018 13:04:24 +0000 (15:04 +0200)
commit3e8cdb990cc8aacb6e90ea93003ae2bdc6077137
tree54e57d3393596ae3a3b17dd67ba4a4f016293736
parent82a8a93327077046d3ede01aea5984ffcc019f5c
pico-imx6ul: Add fastboot support

fastboot tool is a convenient way to flash the eMMC, so
add support for it.

Examples of usages:

On the pico-imx6ul 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-rc2-00130-g0881835-dirty
finished. total time: 0.000s

2. Resetting the board

$ sudo fastboot reboot -i 0x0525

(this causes the pico-imx6ul to reboot)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
configs/pico-imx6ul_defconfig