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

Karl Apsite Karl.Apsite at dornerworks.com
Tue May 19 00:27:31 CEST 2015


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 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                      | 25 ++++++++-
 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                  | 73 +++++++++++++++++++++++----
 10 files changed, 308 insertions(+), 34 deletions(-)
 create mode 100644 doc/uImage.FIT/multi-with-loadables.its

-- 
2.3.7



More information about the U-Boot mailing list