Skip to content

imx8: support container

Peng Fan u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6imx: mach-imx: clean up Makefilearch/arm/mach-imx/Makefile+6 -60 replies
2/6spl: Add function to get u-boot raw sectorcommon/spl/spl_mmc.c+9 -20 replies
3/6imx8: support parsing i.MX8 Container filearch/arm/include/asm/arch-imx8/image.h arch/arm/mach-imx/imx8/Kconfig arch/arm/mach-imx/imx8/Makefile +1 more+186 -00 replies
4/6spl: mmc: support loading i.MX container format filecommon/spl/spl_mmc.c include/spl.h+22 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -03 replies
4/6spl: mmc: support loading i.MX container format file+0 -00 replies
4/6spl: mmc: support loading i.MX container format file+0 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -01 reply
4/6spl: mmc: support loading i.MX container format file+0 -023 replies
5/6imx: add container targetMakefile arch/arm/mach-imx/Makefile arch/arm/mach-imx/imx8/Kconfig+29 -00 replies
6/6imx8qxp_mek: switch to use container imageboard/freescale/imx8qxp_mek/README board/freescale/imx8qxp_mek/uboot-container.cfg configs/imx8qxp_mek_defconfig+16 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/6] imx8: support container

This patchset is to support i.MX8 container loading from SPL, i.MX8 AHAB secure boot not support FIT image, so we need to use container image.

Currently still use a fixed offset for the 2nd container(u-boot.cnt), future patches will drop this fixed offset and use dynamaic offset according to the size of 1st container for spl.
Only MMC is supported now, future patches will also support SPI/NOR/NAND following similar style as mmc part, if the mmc part is ok.

Build pass: https://travis-ci.org/MrVan/u-boot/builds/529180267

Peng Fan (6):
imx: mach-imx: clean up Makefile
spl: Add function to get u-boot raw sector
imx8: support parsing i.MX8 Container file
spl: mmc: support loading i.MX container format file
imx: add container target
imx8qxp_mek: switch to use container image

 Makefile                                        |   8 ++
 arch/arm/include/asm/arch-imx8/image.h          |  56 +++++++++++
 arch/arm/mach-imx/Makefile                      |  26 +++--
 arch/arm/mach-imx/imx8/Kconfig                  |  13 +++
 arch/arm/mach-imx/imx8/Makefile                 |   4 +
 arch/arm/mach-imx/imx8/parse-container.c        | 120 ++++++++++++++++++++++++
 board/freescale/imx8qxp_mek/README              |   4 +-
 board/freescale/imx8qxp_mek/uboot-container.cfg |  13 +++
 common/spl/spl_mmc.c                            |  21 ++++-
 configs/imx8qxp_mek_defconfig                   |   5 +-
 include/spl.h                                   |  12 +++
 11 files changed, 268 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-imx8/image.h
 create mode 100644 arch/arm/mach-imx/imx8/parse-container.c
 create mode 100644 board/freescale/imx8qxp_mek/uboot-container.cfg
Signature · 1 line
2.16.4