mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] ARM: Add i.MX93 OP-TEE support
@ 2024-01-19 14:24 Sascha Hauer
  2024-01-19 14:24 ` [PATCH 1/7] firmware: add missing FIRMWARE_IMX8MQ_OPTEE symbol Sascha Hauer
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Sascha Hauer @ 2024-01-19 14:24 UTC (permalink / raw)
  To: Barebox List

This enables OP-TEE support for i.MX93. This is done in a way very
similar to how it's done on i.MX8M.
One major difference is that the i.MX93 needs a RAM firmware for the
EdgeLock secure enclave. Without it OP-TEE doesn't work properly.
The firmware can be integrated into the i.MX93 image where the ROM
picks it up automatically. The firmware image is SoC revision specific
though, so we load the firmware during runtime to avoid having to
create a barebox image for each SoC revision.

Sascha Hauer (7):
  firmware: add missing FIRMWARE_IMX8MQ_OPTEE symbol
  firmware: add missing include
  firmware: i.MX OP-TEE: Add some Kconfig help
  ARM: i.MX93: add imx93_barebox_entry()
  ARM: i.MX: export imx9_ddrc_sdram_size()
  ARM: i.MX93: add scratch space support
  ARM: i.MX93: Add OP-TEE support

 arch/arm/boards/tqmba9xxxca/lowlevel.c |  4 +-
 arch/arm/mach-imx/atf.c                | 25 +++++++++-
 arch/arm/mach-imx/ele.c                | 67 ++++++++++++++++++++++++++
 arch/arm/mach-imx/esdctl.c             | 17 ++++++-
 arch/arm/mach-imx/imx9.c               | 15 ++++++
 arch/arm/mach-imx/scratch.c            | 11 +++++
 firmware/Kconfig                       | 32 ++++++++++++
 firmware/Makefile                      |  5 +-
 include/firmware.h                     |  1 +
 include/mach/imx/ele.h                 |  5 ++
 include/mach/imx/esdctl.h              |  2 +
 include/mach/imx/scratch.h             |  1 +
 12 files changed, 180 insertions(+), 5 deletions(-)

-- 
2.39.2




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

end of thread, other threads:[~2024-01-22 10:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 14:24 [PATCH 0/7] ARM: Add i.MX93 OP-TEE support Sascha Hauer
2024-01-19 14:24 ` [PATCH 1/7] firmware: add missing FIRMWARE_IMX8MQ_OPTEE symbol Sascha Hauer
2024-01-19 15:10   ` Marco Felsch
2024-01-19 14:24 ` [PATCH 2/7] firmware: add missing include Sascha Hauer
2024-01-19 15:11   ` Marco Felsch
2024-01-19 14:24 ` [PATCH 3/7] firmware: i.MX OP-TEE: Add some Kconfig help Sascha Hauer
2024-01-19 15:12   ` Marco Felsch
2024-01-19 14:24 ` [PATCH 4/7] ARM: i.MX93: add imx93_barebox_entry() Sascha Hauer
2024-01-19 15:21   ` Marco Felsch
2024-01-22 10:20     ` Sascha Hauer
2024-01-19 14:24 ` [PATCH 5/7] ARM: i.MX: export imx9_ddrc_sdram_size() Sascha Hauer
2024-01-19 15:21   ` Marco Felsch
2024-01-19 14:24 ` [PATCH 6/7] ARM: i.MX93: add scratch space support Sascha Hauer
2024-01-19 15:23   ` Marco Felsch
2024-01-19 14:24 ` [PATCH 7/7] ARM: i.MX93: Add OP-TEE support Sascha Hauer
2024-01-22 10:15 ` [PATCH 0/7] ARM: Add i.MX93 " Sascha Hauer

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