diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2015-10-25 06:44:46 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-11-22 11:30:59 +0100 |
commit | 2a909c5f7a4e645260e5d01313e15371a8c55eba (patch) | |
tree | fa65089065d228f7505992593382a3bdb2e77f3b /arch/arm/cpu/armv7/am33xx | |
parent | 1d149eddcc0661b683002f76a8240491eba00dbb (diff) | |
download | u-boot-imx-2a909c5f7a4e645260e5d01313e15371a8c55eba.zip u-boot-imx-2a909c5f7a4e645260e5d01313e15371a8c55eba.tar.gz u-boot-imx-2a909c5f7a4e645260e5d01313e15371a8c55eba.tar.bz2 |
sunxi: Enable DFU for RAM
The DFU protocol implementation in U-Boot is much faster than the
FEL protocol implementation in the boot ROM on Allwinner devices.
Using DFU instead of FEL improves the USB transfer speed from
500-900 KB/s to 3.2-3.7 MB/s. This is particularly useful for
reducing the time needed for booting systems with large initrd
images.
FEL is still useful for loading the U-Boot bootloader and a boot
script, which may then activate DFU in the following way:
setenv dfu_alt_info ${dfu_alt_info_ram}
dfu 0 ram 0
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
The rest of the files can be transferred to the device using the
"dfu-util" tool.
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx')
0 files changed, 0 insertions, 0 deletions