From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Date: Fri, 05 May 2017 17:40:36 +0200 Subject: [U-Boot] [PATCH v4 05/20] SPL: FIT: allow loading multiple images In-Reply-To: <1493166772-24598-6-git-send-email-andre.przywara@arm.com> References: <1493166772-24598-1-git-send-email-andre.przywara@arm.com> <1493166772-24598-6-git-send-email-andre.przywara@arm.com> Message-ID: <1890961.5DyUnSE4fV@phil> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Mittwoch, 26. April 2017, 01:32:37 CEST schrieb Andre Przywara: > So far we were not using the FIT image format to its full potential: > The SPL FIT loader was just loading the first image from the /images > node plus one of the listed DTBs. > Now with the refactored loader code it's easy to load an arbitrary > number of images in addition to the two mentioned above. > As described in the FIT image source file format description, iterate > over all images listed at the "loadables" property in the configuration > node and load every image at its desired location. > This allows to load any kind of images: > - firmware images to execute before U-Boot proper (for instance > ARM Trusted Firmware (ATF)) > - firmware images for management processors (SCP, arisc, ...) > - firmware images for devices like WiFi controllers > - bit files for FPGAs > - additional configuration data > - kernels and/or ramdisks > The actual usage of this feature would be platform and/or board specific. > > Also update the FIT documentation to mention the new SPL feature and > provide an example .its file to demonstrate its features. > > Signed-off-by: Andre Przywara > Reviewed-by: Lokesh Vutla > Reviewed-by: Simon Glass On a rk3399-firefly Tested-by: Heiko Stuebner