mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/7] ARM: Add i.MX93 OP-TEE support
Date: Fri, 19 Jan 2024 15:24:06 +0100	[thread overview]
Message-ID: <20240119142413.3206832-1-s.hauer@pengutronix.de> (raw)

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




             reply	other threads:[~2024-01-19 14:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-19 14:24 Sascha Hauer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240119142413.3206832-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox