From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 0/5] SPL: DFU Support in SPL
Date: Fri, 27 May 2016 15:42:15 +0200 [thread overview]
Message-ID: <57484EB7.3090701@denx.de> (raw)
In-Reply-To: <1464356373-8375-1-git-send-email-ravibabu@ti.com>
On 05/27/2016 03:39 PM, Ravi Babu wrote:
> 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 has
> only USB inteface and do not have external interface
> like ethernet or MMC/SD to boot the board.
>
> This patch adds DFU support in SPL to flash 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.
>
> Note: I could not find better option to isolate dfu source
> to include/exclude in Makefile when SPL-DFU feature
> enabled/disabled, please suggest any better option.
>
> Tested on dra7xx SoCs family.
> [1] is EVM console output with SPL-DFU/SPI enabled.
> [2] is ubuntu host console output.
>
> references:
> [1] http://pastebin.ubuntu.com/16730701/
> [2] http://pastebin.ubuntu.com/16730765/
> [3] http://www.ti.com/lit/an/sprac33/sprac33.pdf
>
> Ravi Babu (5):
> spl: dfu: add dfu support in SPL
> spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU
> spl: dfu: adding dfu support functions for SPL-DFU
> dfu: spl: add generic spl-dfu function in common-spl
> dra7x: spl: dfu: adding SPL-DFU support for dra7x platform
>
> Kconfig | 40 +++++++++++++++++++++++++++++++++++++
> board/ti/dra7xx/evm.c | 20 +++++++++++++++++++
> cmd/Makefile | 20 ++++++++++++++++++-
> common/Makefile | 32 ++++++++++++++++++++---------
> common/command.c | 2 +-
> common/spl/spl.c | 11 ++++++++++
> drivers/dfu/dfu.c | 28 ++++++++++++++++++++++++++
> drivers/dfu/dfu_mmc.c | 28 ++++++++++++++++++++++++++
> drivers/mmc/Makefile | 3 +--
> drivers/mmc/mmc_private.h | 2 +-
> fs/Makefile | 12 ++++++++++-
> include/configs/dra7xx_evm.h | 3 +--
> include/configs/ti_omap5_common.h | 2 --
> include/dfu.h | 8 ++++++++
> include/spl.h | 1 +
> scripts/Makefile.spl | 13 ++++++++++++
> 16 files changed, 206 insertions(+), 19 deletions(-)
>
+CC Lukasz , this is his turf
--
Best regards,
Marek Vasut
prev parent reply other threads:[~2016-05-27 13:42 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 13:39 [U-Boot] [RFC PATCH 0/5] SPL: DFU Support in SPL Ravi Babu
2016-05-27 13:39 ` [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support " Ravi Babu
2016-05-30 11:54 ` Lukasz Majewski
2016-05-30 13:43 ` B, Ravi
2016-05-30 14:59 ` Lukasz Majewski
2016-05-31 6:39 ` B, Ravi
2016-05-31 8:39 ` Lukasz Majewski
2016-05-31 9:04 ` B, Ravi
2016-05-31 9:55 ` Lukasz Majewski
2016-05-31 10:34 ` B, Ravi
2016-05-31 12:47 ` Lukasz Majewski
2016-05-31 13:31 ` B, Ravi
2016-05-31 15:13 ` Lukasz Majewski
2016-06-02 12:39 ` B, Ravi
2016-06-02 14:14 ` Lukasz Majewski
2016-06-02 14:22 ` B, Ravi
2016-06-03 9:27 ` Lukasz Majewski
2016-06-03 11:35 ` B, Ravi
2016-06-03 11:45 ` Lukasz Majewski
2016-05-27 13:39 ` [U-Boot] [RFC PATCH 2/5] spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU Ravi Babu
2016-05-30 11:59 ` Lukasz Majewski
2016-05-30 12:52 ` B, Ravi
2016-05-30 13:20 ` Lukasz Majewski
2016-05-30 13:52 ` B, Ravi
2016-05-27 13:39 ` [U-Boot] [RFC PATCH 3/5] spl: dfu: adding dfu support functions " Ravi Babu
2016-05-30 5:27 ` Heiko Schocher
2016-05-30 12:04 ` Lukasz Majewski
2016-05-30 12:49 ` B, Ravi
2016-05-27 13:39 ` [U-Boot] [RFC PATCH 4/5] dfu: spl: add generic spl-dfu function in common-spl Ravi Babu
2016-05-30 12:07 ` Lukasz Majewski
2016-05-27 13:39 ` [U-Boot] [RFC PATCH 5/5] dra7x: spl: dfu: adding SPL-DFU support for dra7x platform Ravi Babu
2016-05-30 12:19 ` Lukasz Majewski
2016-05-27 13:42 ` Marek Vasut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57484EB7.3090701@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox