[U-Boot] [PATCH v5 0/3] spl: Add support to load FIT from Filesystem
Lokesh Vutla
lokeshvutla at ti.com
Wed May 4 14:04:34 CEST 2016
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
More information about the U-Boot
mailing list