mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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 <peng.fan@nxp.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user