Skip to content

SPL: FIT: Fix some omissions of SPL_LOAD_FIT_FULL and bootm

Alexandru Gagniuc u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesNew
  2. v26 patches 0 repliesSuperseded
  3. v16 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- spl_load_fit_image: Use "if (fit_image_get_os())" -- without the "!"

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6spl: LOAD_FIT_FULL: Fix selection of the "fdt" nodecommon/spl/spl.c+1 -31 reply
2/6spl: LOAD_FIT_FULL: Do not hard-code os to IH_OS_U_BOOTcommon/spl/spl.c+3 -21 reply
3/6spl: LOAD_FIT_FULL: Relocate FDT for u-boot payloadscommon/spl/spl.c+11 -11 reply
4/6spl: LOAD_FIT_FULL: Support 'kernel' and 'firmware' propertiescommon/spl/spl.c+18 -11 reply
5/6image-fit: Accept IH_TYPE_FIRMWARE in fit_image_load() as validcommon/image-fit.c+2 -01 reply
6/6image-fit: Accept OP-TEE images when booting a FITcommon/image-fit.c+2 -01 reply

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/6R-b
2/6
3/6
4/6
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] SPL: FIT: Fix some omissions of SPL_LOAD_FIT_FULL and bootm

Although this series focuses on SPL_LOAD_FIT_FULL, some of the fixes will also apply to bootm, as they are sharing significant amounts of code.

Originally SPL_LOAD_FIT_FULL could not start either a linux FIT or a u-boot image. It didn't even take FIT images generated automatically by mkimage, as part of the u-boot build!!! The goal is to at the very least, be able to boot autogenerated mkimage FITs.

This brings us much more in line with SPL_LOAD_FIT, and the documentation. It's not perfect, and the fpga 'compatible =' support is still not implemented. That's all I currently have time for before someone notices I'm working on u-boot again.

Changes since v2:
- spl_load_fit_image: Use "if (fit_image_get_os())" -- without the "!"

Changes since v1:
- Update commit message of "spl: LOAD_FIT_FULL: Fix selection of the "fdt" node"

Alexandru Gagniuc (6):
spl: LOAD_FIT_FULL: Fix selection of the "fdt" node
spl: LOAD_FIT_FULL: Do not hard-code os to IH_OS_U_BOOT
spl: LOAD_FIT_FULL: Relocate FDT for u-boot payloads
spl: LOAD_FIT_FULL: Support 'kernel' and 'firmware' properties
image-fit: Accept IH_TYPE_FIRMWARE in fit_image_load() as valid
image-fit: Accept OP-TEE images when booting a FIT

 common/image-fit.c |  4 ++++
 common/spl/spl.c   | 40 +++++++++++++++++++++++++++++++++-------
 2 files changed, 37 insertions(+), 7 deletions(-)
Signature · 1 line
2.26.3