Re: [PATCH 2/4] tools: mkimage: Add Allwinner TOC0 support

2021-06-21 Thread Andre Przywara
On Sun, 20 Jun 2021 21:55:53 -0500 Samuel Holland wrote: Hi Samuel, many thanks for sending this, I like the idea of adding TOC0 support to the venerable mkimage very much. > Most Allwinner sunxi SoCs have separate boot ROMs in non-secure and > secure mode. The non-secure boot ROM (NBROM) uses

[PATCH 2/4] tools: mkimage: Add Allwinner TOC0 support

2021-06-20 Thread Samuel Holland
Most Allwinner sunxi SoCs have separate boot ROMs in non-secure and secure mode. The non-secure boot ROM (NBROM) uses the existing sunxi_egon image type. The secure boot ROM (SBROM) uses a completely different image type, known as TOC0. A TOC0 image is composed of a header and two or more items.