diff options
author | Ralph Siemsen <ralph.siemsen@linaro.org> | 2023-05-12 21:36:57 -0400 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-05-13 04:01:30 +0200 |
commit | afdfcb11f97cc6d96cb8cca10e35960b54466364 (patch) | |
tree | ae08b779b8e2530be3eeb4b33af06357305e41bd /boot | |
parent | e87c869db3620c9b03b4364e144c19387d7bfd7a (diff) | |
download | u-boot-afdfcb11f97cc6d96cb8cca10e35960b54466364.zip u-boot-afdfcb11f97cc6d96cb8cca10e35960b54466364.tar.gz u-boot-afdfcb11f97cc6d96cb8cca10e35960b54466364.tar.bz2 |
tools: spkgimage: add Renesas SPKG format
Renesas RZ/N1 devices contain BootROM code that loads a custom SPKG
image from QSPI, NAND or USB DFU. Support this format in mkimage tool.
SPKGs can optionally be signed, however creation of signed SPKG is not
currently supported.
Example of how to use it:
tools/mkimage -n board/schneider/rzn1-snarc/spkgimage.cfg \
-T spkgimage -a 0x20040000 -e 0x20040000 \
-d u-boot.bin u-boot.bin.spkg
The config file (spkgimage.cfg in this example) contains additional
parameters such as NAND ECC settings.
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image.c b/boot/image.c index 958dbf8..5c4f9b8 100644 --- a/boot/image.c +++ b/boot/image.c @@ -181,6 +181,7 @@ static const table_entry_t uimage_type[] = { { IH_TYPE_SUNXI_EGON, "sunxi_egon", "Allwinner eGON Boot Image" }, { IH_TYPE_SUNXI_TOC0, "sunxi_toc0", "Allwinner TOC0 Boot Image" }, { IH_TYPE_FDT_LEGACY, "fdt_legacy", "legacy Image with Flat Device Tree ", }, + { IH_TYPE_RENESAS_SPKG, "spkgimage", "Renesas SPKG Image" }, { -1, "", "", }, }; |