[U-Boot] U-Boot fit_image_load() refactor patches

Simon Glass sjg at chromium.org
Tue Jun 4 03:13:48 CEST 2013


Hi Tom,

On Mon, Jun 3, 2013 at 6:12 PM, Simon Glass <sjg at chromium.org> wrote:

> Hi Tom,
>
> I am not sure that anyone has reviewed these patches, but they are the
> next stage on cleaning up the image code.
>
>
Sorry, I sent thatbyy mistake. The bundle is here:

http://patchwork.ozlabs.org/bundle/sjg/image3/


I have given it a reasonable amount of testing, but it would be nice if
others could try it. The idea is to reduce duplication in the FIT image
handling code.




>
> Here is a pull request:
>
> The following changes since commit
> d6639d10dbfa42dc888f8917012550b632a88959:
>
>   Merge branch 'master' of git://git.denx.de/u-boot-nand-flash(2013-05-31 18:28:47 -0400)
>
> are available in the git repository at:
>
>
>   git://git.denx.de/u-boot-x86.git image3
>
> for you to fetch changes up to e4a91c94b31c651856fbd644987c6ac236ccf46a:
>
>   sandbox: image: Create a test for loading FIT images (2013-06-03
> 01:41:56 -0700)
>
> ----------------------------------------------------------------
> Simon Glass (10):
>       bootstage: Introduce sub-IDs for use with image loading
>       mkimage: Add map_sysmem() and IH_ARCH_DEFAULT to simplfy building
>       image: Introduce fit_image_load() to load images from FITs
>       image: Use fit_image_load() to load ramdisk
>       image: Use fit_image_load() to load FDT
>       sandbox: Adjust bootm command to work with sandbox
>       image: Use fit_image_load() to load kernel
>       sandbox: image: Adjust FIT image printing to work with sandbox
>       bootstage: Remove unused entries related to kernel/ramdisk/fdt load
>       sandbox: image: Create a test for loading FIT images
>
>  common/cmd_bootm.c     | 170 +++++------------------------------
>  common/image-fdt.c     | 207 ++++++------------------------------------
>  common/image-fit.c     | 310
> +++++++++++++++++++++++++++++++++++++++++++++------------------
>  common/image.c         | 122 ++++---------------------
>  include/bootstage.h    |  51 ++++++-----
>  include/image.h        | 105 ++++++++++++++++++++--
>  test/image/test-fit.py | 422
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  tools/mkimage.h        |  12 +++
>  8 files changed, 846 insertions(+), 553 deletions(-)
>  create mode 100755 test/image/test-fit.py
>
> Regards,
> Simon
>
>


More information about the U-Boot mailing list