[U-Boot] [RFC PATCH 0/2] spl: Add support to load FIT from Filesystem

Lokesh Vutla
2016-04-05T04:30:53Z

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