Hi Ravi, > Traditionally the DFU support is available only > as part 2nd stage boot loader(u-boot) and DFU > is not supported in SPL. > > The SPL-DFU feature is useful for boards which > does not have MMC/SD, ethernet boot mechanism > to boot the board and only has USB inteface. > > This patch add DFU support in SPL with RAM > memory device support to load and execute u-boot > from PC over USB interface. And then leverage > full functional feature of DFU in u-boot to > flash boot inital binary images to factory or > bare-metal boards to memory devices like SPI, > eMMC, MMC/SD card using USB interface. > > As a reference, refer to application note [3] > on SPL-DFU support based on 2014.07 u-boot. > > Steps to build SPL-DFU/RAM: > This SPL-DFU support can be enabled through > Menuconfig->Boot Images->Enable SPL-DFU support > 1) Soc ROMcode loads the u-boot-spl.bin(+DFU) to IRAM > from PC host via usb interface and execute DFU. > 2) Then load u-boot.img to RAM using dfu-util from PC-host > with -R switch to boot u-boot. > #sudo dfu-util -c 1 -i 0 -a 0 -D u-boot.img -R >
I wanted to add this patch series for testing. Unfortunately, I cannot apply this code to the newest u-boot-usb/master (SHA1: eb364c3dc28d59d33e823470d07746b22a8e6fee) Please rebase your code on top of this branch. Thanks in advance, -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot