Skip to content

Enable DFU for RAM on Allwinner devices

Siarhei Siamashka u-boot 1 version New

Get series with b4
b4 am 20151027063124.79f146b7@i7

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] Enable DFU for RAM on Allwinner devices
Quoted 10 lines · On Mon, 26 Oct 2015 12:18:35 +0100 Piotr Kr?l <[email protected]> wrote:
Quoted 9 lines · Siarhei Siamashka

Hello,

DFU allows to transfer large files (such as initrd images) much faster than FEL.

Siarhei Siamashka (2):
sunxi: Enable DFU for RAM
musb: sunxi: Implement dfu_usb_get_reset()

Quoted 7 lines
Quoted 3 lines
 drivers/usb/musb-new/sunxi.c   | 12 ++++++++++++
 include/configs/sunxi-common.h | 30 +++++++++++++++++++++++++-----
 2 files changed, 37 insertions(+), 5 deletions(-)

Siarhei,
can you give some pointers how to test those patches. I have A20-OLinuXino-Micro and Cubietruck and would be glad to give them a try.

Hello,

I tried to provide some basic usage instructions as a part of the commit message:

    https://patchwork.ozlabs.org/patch/535535/

But you also need the "sunxi: cubietruck: Enable the USB OTG controller" patch from Maxime Ripard to enable USB OTG on the Cubietruck:

    https://patchwork.ozlabs.org/patch/530656/
Quoted 2 lines

I think it would be interested to combine this method with Boris NAND support and get much better solution then {Live,Phoenix}Suit.

At this stage I'm only interested in the DFU usage as a speed booster for FEL. Booting over USB via FEL allows us to temporarily run more or less complete system (kernel and rootfs on ramdisk) on any Allwinner device without modifying existing pre-installed software on non-volatile storage. This already works fine, but we were not quite happy about the data transfer speed.

If you are interested in flashing NAND, then you can probably have a look at the recent fastboot patches from Maxime.

DFU means "Device Firmware Upgrade" and it can be also used for flashing NAND or writing images to SD cards over USB (if we hook up this part of the DFU functionality). The main question is how many alternative NAND flashing methods do we need?

Signature · 2 lines
Best regards,
Siarhei Siamashka