public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/6] imx8(m): add optee node to binman FIT image
@ 2024-11-07  8:23 Yannic Moog
  2024-11-07  8:23 ` [PATCH v2 1/6] arm: imx8m: add OP-TEE node Yannic Moog
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Yannic Moog @ 2024-11-07  8:23 UTC (permalink / raw)
  To: Stefano Babic, Fabio Estevam, NXP i.MX U-Boot Team, Tom Rini
  Cc: Tim Harvey, Manuel Traut, Benjamin Hahn, Teresa Remmet,
	Yashwanth Varakala, u-boot, upstream, Yannic Moog

There have been attempts to get op-tee node integrated upstream in the
past [1][2]. The challenge is on how to handle the load and entry
addresses where the op-tee image should be loaded to.
Different SoC families and architectures have different RAM base
addresses. Further the final addresses can vary from board to board
(e.g. depending on populated RAM size).
This approach follows the TI k3 kconfig solution.
To be able to define a sensible default for the new config option, put
it in the imx8m kconfig. For other imx families, the RAM start addresses
are different and thus finding a common sensible default is not
possible.
I do not have a working Nano board so I was not able to test imx8mn.

I included usage for PHYTEC boards for examples (with documentation).

[1] https://patchwork.ozlabs.org/project/uboot/patch/20230622173006.3921891-1-tharvey@gateworks.com/
[2] https://patchwork.ozlabs.org/project/uboot/patch/ZeHDVr-Bzm935-5N@mecka.net/

---
Changes in v2 (from RFC):
- Use kconfig instead of trying pure dt approach.
- Add load addresses in defconfigs instead of <board>-u-boot dts.

---
Yannic Moog (6):
      arm: imx8m: add OP-TEE node
      phycore-imx8mp_defconfig: add optee load address
      imx8mm-phygate-tauri-l_defconfig: add optee load address
      phycore-imx8mm_defconfig: add optee load address
      doc: phytec: imx8mp: add OP-TEE documentation
      doc: phytec: imx8mm: add OP-TEE integration instructions

 arch/arm/dts/imx8mm-u-boot.dtsi             | 17 ++++++++++++++++-
 arch/arm/dts/imx8mn-u-boot.dtsi             | 17 ++++++++++++++++-
 arch/arm/dts/imx8mp-u-boot.dtsi             | 17 ++++++++++++++++-
 arch/arm/mach-imx/imx8m/Kconfig             |  8 ++++++++
 configs/imx8mm-phygate-tauri-l_defconfig    |  1 +
 configs/phycore-imx8mm_defconfig            |  1 +
 configs/phycore-imx8mp_defconfig            |  1 +
 doc/board/phytec/imx8mm-phygate-tauri-l.rst | 26 +++++++++++++++++++++++++-
 doc/board/phytec/phycore-imx8mm.rst         | 25 ++++++++++++++++++++++++-
 doc/board/phytec/phycore-imx8mp.rst         | 26 +++++++++++++++++++++++++-
 10 files changed, 133 insertions(+), 6 deletions(-)
---
base-commit: d88bcd6d247a2b5d1683e393d8c9dc0259cd29f0
change-id: 20240903-phytec_imx8m_optee-8674ef012a36

Best regards,
-- 
Yannic Moog <y.moog@phytec.de>


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

end of thread, other threads:[~2024-12-06 13:17 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-07  8:23 [PATCH v2 0/6] imx8(m): add optee node to binman FIT image Yannic Moog
2024-11-07  8:23 ` [PATCH v2 1/6] arm: imx8m: add OP-TEE node Yannic Moog
2024-11-07 17:42   ` Tim Harvey
2024-11-08 12:44     ` Yannic Moog
2024-11-08 13:49   ` Adam Ford
2024-11-08 18:05     ` Tim Harvey
2024-11-11  7:48       ` Yannic Moog
2024-11-11 10:49         ` Adam Ford
2024-11-13  7:06           ` Yannic Moog
2024-12-06 13:17             ` [Upstream] " Yannic Moog
2024-11-07  8:23 ` [PATCH v2 2/6] phycore-imx8mp_defconfig: add optee load address Yannic Moog
2024-11-07  8:52   ` [Upstream] " Wadim Egorov
2024-11-08 12:55     ` Yannic Moog
2024-11-08 13:12       ` Wadim Egorov
2024-11-07  8:23 ` [PATCH v2 3/6] imx8mm-phygate-tauri-l_defconfig: " Yannic Moog
2024-11-07  8:23 ` [PATCH v2 4/6] phycore-imx8mm_defconfig: " Yannic Moog
2024-11-07  8:23 ` [PATCH v2 5/6] doc: phytec: imx8mp: add OP-TEE documentation Yannic Moog
2024-11-07  9:07   ` [Upstream] " Wadim Egorov
2024-11-08 12:59     ` Yannic Moog
2024-11-08 13:05       ` Wadim Egorov
2024-11-07  8:23 ` [PATCH v2 6/6] doc: phytec: imx8mm: add OP-TEE integration instructions Yannic Moog

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox