mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] i.MX6 uuu support for signed images
@ 2025-09-01  7:35 Sascha Hauer
  2025-09-01  7:35 ` [PATCH 1/3] scripts: imx: fix string in further auth block Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sascha Hauer @ 2025-09-01  7:35 UTC (permalink / raw)
  To: BAREBOX; +Cc: Matthias Zoechmann

So far uploading signed images via USB on i.MX6 requires using the
barebox included imx-usb-loader. This series adds a new image target for
i.MX6 which generates images compatible with NXPs uuu tool.

Background is that our signed USB images contain a DCD table to setup
DRAM. We interpret the DCD table on the host and setup the DRAM using
register-write commands. The DCD table in the image must then be zeroed
so that the i.MX6 ROM doesn't execute it again (thus disabling DRAM
during that process). To overcome the signature check we must sign the
image with a zeroed DCD table.

The uuu tool uses another approach. Here the DCD table is executed by
the ROM instead of the host, so the image doesn't need to be modified,
but instead the DCD table must be signed as well.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Matthias Zoechmann (3):
      scripts: imx: fix string in further auth block
      scripts: imx-image: support DCD_WRITE on closed dev
      mach-imx: Kconfig: add option for image with dcd auth block

 arch/arm/mach-imx/Kconfig     |  9 +++++++++
 images/Makefile.imx           | 11 +++++++----
 include/mach/imx/imx-header.h |  2 ++
 scripts/imx/imx-image.c       | 19 ++++++++++++++++++-
 scripts/imx/imx.c             | 24 +++++++++++++++++++++++-
 5 files changed, 59 insertions(+), 6 deletions(-)
---
base-commit: b5561f3bdd4845b478e5b35aab04f1d8e71ea93b
change-id: 20250901-imx6-usb-uuu-2bb40fcce626

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2025-09-01  8:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-01  7:35 [PATCH 0/3] i.MX6 uuu support for signed images Sascha Hauer
2025-09-01  7:35 ` [PATCH 1/3] scripts: imx: fix string in further auth block Sascha Hauer
2025-09-01  7:35 ` [PATCH 2/3] scripts: imx-image: support DCD_WRITE on closed dev Sascha Hauer
2025-09-01  7:35 ` [PATCH 3/3] mach-imx: Kconfig: add option for image with dcd auth block Sascha Hauer
2025-09-01  8:23   ` Ahmad Fatoum
2025-09-01  8:28     ` Sascha Hauer

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