[PATCH v3] FIT support

Yegor Yefremov yegorslists at googlemail.com
Fri Jan 15 07:50:05 PST 2016


On Fri, Jan 15, 2016 at 4:07 PM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> This is the third version of the FIT image support. Changes
> to last series include:
>
> - Integrate FIT support more deeply into bootm remove complexity
>   from the architecture handlers
> - Cleanup bootm support
> - Add support for configuration names as suggested by Yegor Yefremov
> - Allow to boot unsigned FIT images
>
> It's time for a weekend now, so I send out what I have now. This series
> could use some more testing before it gets merged, so I'll do that next
> week before merging it. In the meantime everyone else is invited for
> testing aswell ;)
>
> Sascha
>
> ----------------------------------------------------------------
> Jan Luebbe (1):
>       bootm: add initial FIT support
>
> Sascha Hauer (12):
>       ARM: zImage: add missing free() in appended device tree code
>       bootm: Do not call uimage_close twice
>       bootm: introduce bootm_get_os_size
>       bootm: use names instead of numbers for image parts
>       ARM: bootm: Use kernel handler to start barebox image
>       bootm: Push dryrun to handlers
>       bootm: move initrd code together
>       bootm: move oftree code together
>       bootm: Initialize bootm_data defaults in single place
>       crypto: add digest_alloc_by_algo()
>       crypto: add RSA support
>       bootm: make verifying/hashing configurable
>
>  arch/arm/crypto/sha1_glue.c        |   1 +
>  arch/arm/crypto/sha256_glue.c      |   2 +
>  arch/arm/lib/bootm.c               |  52 ++--
>  arch/arm/mach-omap/omap_generic.c  |   5 +
>  arch/blackfin/lib/blackfin_linux.c |   3 +
>  arch/efi/efi/efi-image.c           |   9 +-
>  arch/mips/lib/bootm.c              |   5 +
>  arch/nios2/lib/bootm.c             |   3 +
>  arch/ppc/lib/ppclinux.c            |   3 +
>  commands/Kconfig                   |  22 ++
>  commands/boot.c                    |  14 +-
>  commands/bootm.c                   |  46 +--
>  common/Kconfig                     |   9 +
>  common/Makefile                    |   1 +
>  common/bootm.c                     | 469 +++++++++++++++++-------------
>  common/image-fit.c                 | 581 +++++++++++++++++++++++++++++++++++++
>  crypto/Kconfig                     |   3 +
>  crypto/Makefile                    |   1 +
>  crypto/digest.c                    |  43 ++-
>  crypto/md5.c                       |   1 +
>  crypto/rsa.c                       | 420 +++++++++++++++++++++++++++
>  crypto/sha1.c                      |   1 +
>  crypto/sha2.c                      |   2 +
>  crypto/sha4.c                      |   2 +
>  include/asm-generic/errno.h        |   5 +
>  include/boot.h                     |  28 +-
>  include/digest.h                   |  23 ++
>  include/image-fit.h                |  45 +++
>  include/rsa.h                      |  54 ++++
>  29 files changed, 1575 insertions(+), 278 deletions(-)
>  create mode 100644 common/image-fit.c
>  create mode 100644 crypto/rsa.c
>  create mode 100644 include/image-fit.h
>  create mode 100644 include/rsa.h

Have tested on a am335x machine without signature verification.

Tested-by: Yegor Yefremov <yegorslists at googlemail.com>

Yegor



More information about the barebox mailing list