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 <[email protected]>
---
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 <[email protected]>


Reply via email to