public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v5 0/3] spl: Add support to load FIT from Filesystem
@ 2016-05-04 12:04 Lokesh Vutla
  2016-05-04 12:04 ` [U-Boot] [PATCH v5 1/3] spl: fit: Fix the number of bytes read when reading fdt from fit Lokesh Vutla
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Lokesh Vutla @ 2016-05-04 12:04 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.

Testing:
DRA74-evm:
MMC Boot: http://pastebin.ubuntu.com/16214433/
eMMC(RAW) Boot: http://pastebin.ubuntu.com/16214420/

AM57xx-evm:
MMC Boot: http://pastebin.ubuntu.com/16214374/

Changes since v4:
- Removed unnecessary else statements.
- Fixed number of bytes read when reading u-boot image from FIT.

Changes since v3:
- Use the same function for reading the fit from FS or raw device.

Lokesh Vutla (3):
  spl: fit: Fix the number of bytes read when reading fdt from fit
  spl: Allow to load a FIT containing U-Boot from FS
  spl: Support loading a FIT from FAT FS

 common/spl/spl_fat.c | 31 ++++++++++++++++++++--
 common/spl/spl_fit.c | 75 ++++++++++++++++++++++++++++++++++++++++++----------
 include/spl.h        | 10 +++++++
 3 files changed, 100 insertions(+), 16 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-05-19  3:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 12:04 [U-Boot] [PATCH v5 0/3] spl: Add support to load FIT from Filesystem Lokesh Vutla
2016-05-04 12:04 ` [U-Boot] [PATCH v5 1/3] spl: fit: Fix the number of bytes read when reading fdt from fit Lokesh Vutla
2016-05-04 13:56   ` Michal Simek
2016-05-06 17:47   ` Tom Rini
2016-05-19  3:59   ` Simon Glass
2016-05-04 12:04 ` [U-Boot] [PATCH v5 2/3] spl: Allow to load a FIT containing U-Boot from FS Lokesh Vutla
2016-05-04 14:56   ` Michal Simek
2016-05-06 17:47   ` Tom Rini
2016-05-19  3:59   ` Simon Glass
2016-05-04 12:04 ` [U-Boot] [PATCH v5 3/3] spl: Support loading a FIT from FAT FS Lokesh Vutla
2016-05-04 14:56   ` Michal Simek
2016-05-06 17:47   ` Tom Rini
2016-05-19  3:59   ` Simon Glass

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