[PATCH 1/3] scripts: imx-image: document -d, -e, -s, -u

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 6 23:40:02 PDT 2019


On Tue, Jun 04, 2019 at 06:53:06PM +0200, Bastian Krause wrote:
> Signed-off-by: Bastian Krause <bst at pengutronix.de>
> ---
>  scripts/imx/imx-image.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/scripts/imx/imx-image.c b/scripts/imx/imx-image.c
> index a7f1421fa3..90be8a9b9b 100644
> --- a/scripts/imx/imx-image.c
> +++ b/scripts/imx/imx-image.c
> @@ -363,6 +363,15 @@ static void usage(const char *prgname)
>  		"-b           add barebox header to image. If used, barebox recognizes\n"
>  		"             the image as regular barebox image which can be used as\n"
>  		"             second stage image\n"
> +		"-d           write DCD table only\n"
> +		"-e           prepare image for encryption and use Freescale's Code Signing\n"
> +		"             to encrypt image. Note that the device-specific encapsulated\n"
> +		"             DEK as cryptgraphic blob needs to be appended afterwards\n"
> +		"-s           use Freescale's Code Signing Tool (CST) to sign the image\n"
> +		"             'cst' is expected to be in PATH or given via the environment\n"
> +		"             variable 'CST'\n"
> +		"-u           create USB image suitable for imx-usb-loader\n"
> +		"             necessary for signed images (-s) only\n"
>  		"-h           this help\n", prgname);
>  	exit(1);
>  }
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list