[PATCH 3/3] mach-imx: Kconfig: add option for image with dcd auth block

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 1 01:28:58 PDT 2025


On Mon, Sep 01, 2025 at 10:23:13AM +0200, Ahmad Fatoum wrote:
> 
> 
> On 9/1/25 9:35 AM, Sascha Hauer wrote:
> > From: Matthias Zoechmann <matthias.zoechmann at ife-doors.com>
> > 
> > Add option CONFIG_HABV4_IMAGE_SIGNED_USB_DCD to select build of barebox
> > image for i.mx6 devices with an additional authentication block in CSF
> > ("0x0091000 offset size filename").
> > Additional the barebox toolchain will build now a signed image e.g.
> > barebox-image-name-dcdus.img for usb loading with SDP DCD_WRITE ROM
> > command.
> > 
> > Signed-off-by: Matthias Zoechmann <matthias.zoechmann at ife-doors.com>
> > ---
> >  arch/arm/mach-imx/Kconfig |  9 +++++++++
> >  images/Makefile.imx       | 11 +++++++----
> >  2 files changed, 16 insertions(+), 4 deletions(-)
> > 
> > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> > index 0d745ce2315834ec5d0c366d227b40f2adff5e83..ade4a4ce1783fc60f85aefab2da2df17a57bfe55 100644
> > --- a/arch/arm/mach-imx/Kconfig
> > +++ b/arch/arm/mach-imx/Kconfig
> > @@ -945,6 +945,15 @@ config HABV4_IMAGE_SIGNED_USB
> >  	  enable the creation of a usb signed image, if the habv4-imx6-gencsf.h
> >  	  included in the flash-header and the NXP cst Tool is available
> >  
> > +config HABV4_IMAGE_SIGNED_USB_DCD
> > +	bool "build signed USB images including DCD"
> > +	depends on ARCH_IMX6
> > +	depends on HABV4_IMAGE_SIGNED_USB
> > +	help
> > +	  enable the creation of a usb signed image loaded via SDP and DCD_WRITE
> > +	  ROM command, if the habv4-imx6-gencsf.h included in the flash-header
> > +	  and the NXP cst Tool is available
> 
> Can you add here the info that this makes the image loadable via uuu?
> Can imx-usb-loader still load this image?

I did, but that change didn't make it into this patchset :(

I would add:

	The image will have the filename ending
	*-dcdusb.img and is compatible with NXPs uuu tool. The images are not
	compatible with imx-usb-loader.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list