diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-03-14 10:10:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-03-14 10:10:24 +0100 |
commit | afd64e7ee4928c3104ddff40b3fda6a45bd10b50 (patch) | |
tree | 5d29b2b29bbbb4b3206762a092930b9a1ae1f2eb /arch/arm | |
parent | 57c4f57cd686284f2f7f65b975e9107a9b2eca6b (diff) | |
parent | c4af8dd9bfe67d6b3b4cd55ba9cf9d4a436914cc (diff) | |
download | barebox-afd64e7ee4928c3104ddff40b3fda6a45bd10b50.tar.gz barebox-afd64e7ee4928c3104ddff40b3fda6a45bd10b50.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h b/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h index a60b485292..45da2981cb 100644 --- a/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h +++ b/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h @@ -39,6 +39,18 @@ hab Engine = SETUP_HABV4_ENGINE hab Features = SETUP_HABV4_FEATURES #endif +/* +// allow fusing FIELD_RETURN +// # ocotp0.permanent_write_enable=1 +// # mw -l -d /dev/imx-ocotp 0xb8 0x1 +hab [Unlock] +hab Engine = OCOTP +hab Features = FIELD RETURN +// device-specific UID: +// $ dd if=/sys/bus/nvmem/devices/imx-ocotp0/nvmem bs=4 skip=1 count=2 status=none | hexdump -ve '1/1 "0x%.2x, "' | sed 's/, $//' +hab UID = 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 +*/ + hab [Install Key] /* verification key index in key store (0, 2...4) */ hab Verification index = 0 |