diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2017-11-16 09:59:46 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-11-20 09:54:09 +0100 |
commit | d93ab9b16678e25f4fb3b600900e37aa4780da8c (patch) | |
tree | 00011101a092f649dadca23778817811fb5111b6 /configs/peach-pit_defconfig | |
parent | 65551e389adb577121198449c6dbf2b95c5782ac (diff) |
pico-imx6ul: Add boot and rootfs dfu_alt_info
Change dfu_alt_info variable to use the following altsetting:
uboot: To flash raw U-Boot
/zImage: boot: To copy kernel image
/imx6ul-pico-hobbit.dtb: To copy dtb file
rootfs: To copy rootfs
List the currently attached DFU capable USB devices running:
sudo dfu-util -l
Flash U-Boot:
sudo dfu-util -D u-boot.imx -a uboot
Copy boot files:
sudo dfu-util -D zImage -a /zImage
sudo dfu-util -D imx6ul-pico-hobbit.dtb -a /imx6ul-pico-hobbit.dtb
Flash rootfs:
sudo dfu-util -D rootfs.ext4 -a rootfs
To copy boot files you need to have a formated mmc 0:1 partition. To
format with ext4 filesystem you can use ums.
Run on target:
ums 0 mmc 0
and on host:
sudo mkfs.ext4 /dev/sdx1
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'configs/peach-pit_defconfig')
0 files changed, 0 insertions, 0 deletions