From a2b96ece5be146f4995d737f047e5bbb76079b8f Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Tue, 16 Oct 2018 04:50:30 +0000 Subject: tools: add i.MX8/8X image support i.MX8/8X bootable image type is container type. The bootable image, containers a container set which supports two container. The 1st container is for SECO firmware, the 2nd container needs to include scfw, m4_0/1 image, ACore images per your requirement. Signed-off-by: Peng Fan --- tools/mkimage.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools/mkimage.c') diff --git a/tools/mkimage.c b/tools/mkimage.c index 6abd4d6a8b2..38805f0c926 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -523,6 +523,13 @@ int main(int argc, char **argv) ret = zynqmpbif_copy_image(ifd, ¶ms); if (ret) return ret; + } else if (params.type == IH_TYPE_IMX8IMAGE) { + /* i.MX8/8X has special Image format */ + int ret; + + ret = imx8image_copy_image(ifd, ¶ms); + if (ret) + return ret; } else { copy_file(ifd, params.datafile, pad_len); } -- cgit v1.2.3