From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 25 Jul 2016 12:16:40 +0200 Subject: [U-Boot] [RFC PATCH v2 0/5] SPL: DFU Support in SPL In-Reply-To: <1469193550-19125-1-git-send-email-ravibabu@ti.com> References: <1469193550-19125-1-git-send-email-ravibabu@ti.com> Message-ID: <20160725121640.5d08edf0@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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