]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Add nxp_imx8mcst etype for i.MX8M flash.bin signing
authorMarek Vasut <marex@denx.de>
Tue, 21 May 2024 10:48:23 +0000 (12:48 +0200)
committerFabio Estevam <festevam@denx.de>
Fri, 24 May 2024 14:22:02 +0000 (11:22 -0300)
commitbc6beae7c55f3adc1fc520ff8c3f4ec986f7c2ef
tree5e81ddd16497d072ec587fc9904a42feb2f5aac1
parent377e91c162ab09ec20f96f966f380cb55c590edd
binman: Add nxp_imx8mcst etype for i.MX8M flash.bin signing

Add new binman etype which allows signing both the SPL and fitImage sections
of i.MX8M flash.bin using CST. There are multiple DT properties which govern
the signing process, nxp,loader-address is the only mandatory one which sets
the SPL signature start address without the imx8mimage header, this should be
SPL text base. The key material can be configured using optional DT properties
nxp,srk-table, nxp,csf-crt, nxp,img-crt, all of which default the key material
names generated by CST tool scripts. The nxp,unlock property can be used to
unlock CAAM access in SPL section.

Reviewed-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Marek Vasut <marex@denx.de>
.gitignore
Makefile
tools/binman/btool/cst.py [new file with mode: 0644]
tools/binman/etype/nxp_imx8mcst.py [new file with mode: 0644]