mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-19 13:11:30 +00:00
pico-imx7d: README: Use dfu-util to flash U-Boot
The DFU allows a more user friendly use as the details where the bootloader is installed are abstracted. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
190702af51
commit
619fc167b6
1 changed files with 9 additions and 4 deletions
|
@ -35,12 +35,17 @@ Use the default environment variables:
|
||||||
=> env default -f -a
|
=> env default -f -a
|
||||||
=> saveenv
|
=> saveenv
|
||||||
|
|
||||||
Run the UMS command:
|
Run the DFU agent so we can flash the new images using dfu-util tool:
|
||||||
=> ums 0 mmc 0
|
|
||||||
|
|
||||||
Transfer u-boot.imx to be flashed into the eMMC:
|
=> dfu 0 mmc 0
|
||||||
|
|
||||||
$ sudo dd if=u-boot.imx of=/dev/sdX bs=1K seek=1; sync
|
Flash SPL into the eMMC:
|
||||||
|
|
||||||
|
$ sudo dfu-util -D SPL -a spl
|
||||||
|
|
||||||
|
Flash u-boot.img into the eMMC:
|
||||||
|
|
||||||
|
$ sudo dfu-util -D u-boot.img -a u-boot
|
||||||
|
|
||||||
Remove power from the pico board.
|
Remove power from the pico board.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue