This series adds support for the TOC0 image format used by the Allwinner secure boot ROM (SBROM). This series has been tested on the following SoCs/boards, with the eFuse burnt to enable secure mode: - A64: Pine A64 Plus - H5: Orange Pi Zero Plus - H6: Pine H64 Model B - H616: Orange Pi Zero 2
Samuel Holland (4): tools: Refactor mkimage linking with OpenSSL tools: mkimage: Add Allwinner TOC0 support sunxi: Support both SPL image types sunxi: Support building a SPL as a TOC0 image arch/arm/Kconfig | 1 + arch/arm/include/asm/arch-sunxi/spl.h | 2 - arch/arm/mach-imx/mxs/Kconfig | 2 + arch/arm/mach-mvebu/Kconfig | 1 + arch/arm/mach-sunxi/Kconfig | 2 + arch/arm/mach-sunxi/board.c | 20 +- board/sunxi/Kconfig | 24 + common/Kconfig.boot | 2 + common/image.c | 1 + include/image.h | 1 + include/sunxi_image.h | 205 ++++++++ scripts/Makefile.spl | 3 +- scripts/config_whitelist.txt | 1 - tools/Kconfig | 3 + tools/Makefile | 23 +- tools/mxsimage.c | 3 - tools/sunxi_toc0.c | 710 ++++++++++++++++++++++++++ 17 files changed, 976 insertions(+), 28 deletions(-) create mode 100644 board/sunxi/Kconfig create mode 100644 tools/sunxi_toc0.c -- 2.31.1