All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V3 0/5] add i.MX8 container loading support
@ 2019-07-22  2:12 Peng Fan
  2019-07-22  2:12 ` [U-Boot] [PATCH V3 1/5] imx8: support parsing i.MX8 Container file Peng Fan
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Peng Fan @ 2019-07-22  2:12 UTC (permalink / raw)
  To: u-boot

V3:
 Drops patch 1/5 from V2, add 8QM support, nothing else changed.
 Stefano,
 This patchset was pending in patchwork for more that one month,
 please consider to apply.

V2:
 Drop cleanup Makefile since V1, that patch is not correct.
 Rebased on master

The V2 version:
https://patchwork.ozlabs.org/cover/1118413/

The V1 version:
https://patchwork.ozlabs.org/cover/1096334/

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.

Based on the comments in https://patchwork.ozlabs.org/patch/1096336/
So I think we have agreed the approach, the only comments that
not addressed from Lukasz is add doc for the container format.
The detailed format could be found in RM
https://www.nxp.com/docs/en/reference-manual/IMX8DQXPRM.pdf
Chapter 5.9.4 High Level Container Format

CI: https://travis-ci.org/MrVan/u-boot/builds/547161366

Peng Fan (5):
  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
  imx8qm_mek: switch to use container image

 Makefile                                        |   8 ++
 arch/arm/include/asm/arch-imx8/image.h          |  56 +++++++++++
 arch/arm/mach-imx/Makefile                      |  14 ++-
 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/imx8qm_mek/README               |   4 +-
 board/freescale/imx8qm_mek/uboot-container.cfg  |  13 +++
 board/freescale/imx8qxp_mek/README              |   4 +-
 board/freescale/imx8qxp_mek/uboot-container.cfg |  13 +++
 common/spl/spl_mmc.c                            |  10 ++
 configs/imx8qm_mek_defconfig                    |   8 +-
 configs/imx8qxp_mek_defconfig                   |   5 +-
 include/spl.h                                   |  12 +++
 14 files changed, 270 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/imx8qm_mek/uboot-container.cfg
 create mode 100644 board/freescale/imx8qxp_mek/uboot-container.cfg

-- 
2.16.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-07-22 14:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-22  2:12 [U-Boot] [PATCH V3 0/5] add i.MX8 container loading support Peng Fan
2019-07-22  2:12 ` [U-Boot] [PATCH V3 1/5] imx8: support parsing i.MX8 Container file Peng Fan
2019-07-22  2:12 ` [U-Boot] [PATCH V3 2/5] spl: mmc: support loading i.MX container format file Peng Fan
2019-07-22  2:13 ` [U-Boot] [PATCH V3 3/5] imx: add container target Peng Fan
2019-07-22  2:13 ` [U-Boot] [PATCH V3 4/5] imx8qxp_mek: switch to use container image Peng Fan
2019-07-22  2:13 ` [U-Boot] [PATCH V3 5/5] imx8qm_mek: " Peng Fan
2019-07-22  7:41 ` [U-Boot] [PATCH V3 0/5] add i.MX8 container loading support Schrempf Frieder
2019-07-22  8:08   ` Peng Fan
2019-07-22  9:35     ` Schrempf Frieder
2019-07-22  9:43       ` Peng Fan
2019-07-22 14:03     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.