summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-06-11 11:33:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-11 11:33:34 +0200
commit543a7c8e10e0dbc1af8207e4a30e439c4c66c473 (patch)
tree05189f4b5380690ff8bb2aa5e1c2b5be3a5ce9d0 /scripts
parentcde5183f1ab7ba0936e84ec26dffc57a27879046 (diff)
parentead7521b93a3ece8e037090d03b7f9ac0c3e9026 (diff)
downloadbarebox-543a7c8e10e0dbc1af8207e4a30e439c4c66c473.tar.gz
barebox-543a7c8e10e0dbc1af8207e4a30e439c4c66c473.tar.xz
Merge branch 'for-next/imx'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/imx/imx-image.c9
-rw-r--r--scripts/imx/imx-usb-loader.c7
2 files changed, 16 insertions, 0 deletions
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);
}
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index d4fba0ce54..e3d3b8fce1 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -185,6 +185,13 @@ static const struct mach_id imx_ids[] = {
.header_type = HDR_MX53,
.mode = MODE_HID,
.max_transfer = 1024,
+ }, {
+ .vid = 0x1fc9,
+ .pid = 0x012b,
+ .name = "i.MX8M",
+ .header_type = HDR_MX53,
+ .mode = MODE_HID,
+ .max_transfer = 1024,
},
};