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 -- 2.3.7 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot