Added mchp mec zephyr image generator python script. It takes zephyr.bin as input and produces zephyr.mchp.bin. The default behavior is to not pad to SPI flash size. (Enable through CONFIG_MCHP_MEC_UNSIGNED_HEADER=y and CONFIG_MCHP_MEC_HEADER_FLASH_SIZE_256K=y) zephyr.mchp.bin is composed of: 1. First 4KB contains TAG at offset 0 and header at offset 0x100 2. Offset 0x1000 is the start of zephyr.bin which has been padded to a multiple of 128 bytes. 3. Boot-ROM EC Info Block (128 bytes) 4. Boot-ROM Co-Signature Block (96 bytes) 5. Boot-ROM trailer (160 bytes) contains the SHA-384 digest of 2-4. Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com> |
||
|---|---|---|
| .. | ||
| arc | ||
| arm | ||
| arm64 | ||
| mips | ||
| nios2 | ||
| posix | ||
| riscv | ||
| sparc | ||
| x86 | ||
| xtensa | ||
| Kconfig | ||