public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH 0/2] spl: Add support to load FIT from Filesystem
@ 2016-04-05  4:30 Lokesh Vutla
  2016-04-05  4:30 ` [U-Boot] [RFC PATCH 1/2] spl: Add an option to load a FIT containing U-Boot from FS Lokesh Vutla
  2016-04-05  4:30 ` [U-Boot] [RFC PATCH 2/2] spl: Support loading a FIT from FAT FS Lokesh Vutla
  0 siblings, 2 replies; 8+ messages in thread
From: Lokesh Vutla @ 2016-04-05  4:30 UTC (permalink / raw)
  To: u-boot

Some devices like MMC, USB can be formatted to a FS and can act as a boot media.
Given that FIT image load support in SPL support only raw devices, SPL should
also be able to support loading FIT image from a File system.
This series add support to load FIT image from a filesystem and also adding
hooks to FAT FS.

Tested on DRA74-evm, DRA72-evm using the diff[1] with MMC boot mode:
Logs:
DRA74-evm: http://pastebin.ubuntu.com/15624158/
DRA72-evm: http://pastebin.ubuntu.com/15624165/


[1] http://pastebin.ubuntu.com/15624172/
Will be posting this diff once this approach gets accepted.

Lokesh Vutla (2):
  spl: Add an option to load a FIT containing U-Boot from FS
  spl: Support loading a FIT from FAT FS

 common/spl/spl_fat.c | 27 +++++++++++++--
 common/spl/spl_fit.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/spl.h        |  5 +++
 3 files changed, 126 insertions(+), 2 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-14  5:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-05  4:30 [U-Boot] [RFC PATCH 0/2] spl: Add support to load FIT from Filesystem Lokesh Vutla
2016-04-05  4:30 ` [U-Boot] [RFC PATCH 1/2] spl: Add an option to load a FIT containing U-Boot from FS Lokesh Vutla
2016-04-08 19:45   ` Tom Rini
2016-04-09 18:35   ` Simon Glass
2016-04-14  5:17     ` Lokesh Vutla
2016-04-05  4:30 ` [U-Boot] [RFC PATCH 2/2] spl: Support loading a FIT from FAT FS Lokesh Vutla
2016-04-08 19:45   ` Tom Rini
2016-04-09 18:35   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox