Skip to content

New tag for Flattened Image Trees (FIT) - Booting Xen from a FIT.

Karl Apsite u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v34 patches 0 repliesSuperseded
  3. v2 posting 2/20 of 4 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/24 patches0 repliesSuperseded
v10 of 3 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Corrected capitalization on "U-Boot"
- A couple lines were corrected to respect the 78 column limit
- Correct a comment to use the suggested style
- Forgot to remove an extra printline that I tossed in while I was writing the tests. It's gone now.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mkimage will now report information about loadablecommon/image-fit.c doc/uImage.FIT/multi-with-loadables.its doc/uImage.FIT/source_file_format.txt +1 more+111 -02 replies
2/4add boot_get_loadables() to load listed imagescommon/bootm.c common/image-fit.c common/image.c +2 more+129 -22 replies
3/4Combine bootm_find_<thing> functions togethercommon/bootm.c common/cmd_bootm.c include/bootm.h+21 -382 replies
4/4add test for two 'loadables'test/image/test-fit.py+63 -92 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

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

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

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/4] New tag for Flattened Image Trees (FIT) - Booting Xen from a FIT.

The FIT config now supports a tag named "loadables:" which is a comma separated list. Users can add any number of images to the list, and u-boot will move the selected binaries to their listed load_addresses. This allows u-boot to boot xen from using an FIT configuration. Xen expects a kernel to be placed at a predetermined location, however the "kernel" field was already filled by xen itself. This change allows the user to move the required binary before xen boots, all within the FIT's configuration.

Changes in v4:
- Corrected capitalization on "U-Boot"
- A couple lines were corrected to respect the 78 column limit
- Correct a comment to use the suggested style
- Forgot to remove an extra printline that I tossed in while I was writing the tests. It's gone now.

Changes in v3:
- Moved the documentation about the loadables field from the commit message, to a new example.its file in doc/uImage.FIT/ doc/uImage.FIT/multi-with-loadables.its
- Removed a couple zealous puts->printf conversions
- Replaced an instance of puts I mistakenly included with printf
- Moved the commit that adds the test to the end of patch-stack

Karl Apsite (4):
mkimage will now report information about loadable add boot_get_loadables() to load listed images Combine bootm_find_<thing> functions together add test for two 'loadables'

 common/bootm.c                          | 45 +++++++++--------
 common/cmd_bootm.c                      |  4 +-
 common/image-fit.c                      | 27 +++++++++-
 common/image.c                          | 71 ++++++++++++++++++++++++++
 doc/uImage.FIT/multi-with-loadables.its | 89 +++++++++++++++++++++++++++++++++
 doc/uImage.FIT/source_file_format.txt   |  4 ++
 include/bootm.h                         |  2 +-
 include/bootstage.h                     |  1 +
 include/image.h                         | 28 ++++++++++-
 test/image/test-fit.py                  | 72 ++++++++++++++++++++++----
 10 files changed, 309 insertions(+), 34 deletions(-)
 create mode 100644 doc/uImage.FIT/multi-with-loadables.its
Signature · 1 line
2.3.7