mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
tools: add i.MX8M image support
i.MX8M bootable image type is like i.MX6/7, but there is signed HDMI firmware image in front of A53 bootable image, which is also has an IVT header. Here we also include fit image to generate a bootable image. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
@@ -530,6 +530,13 @@ int main(int argc, char **argv)
|
||||
ret = imx8image_copy_image(ifd, ¶ms);
|
||||
if (ret)
|
||||
return ret;
|
||||
} else if (params.type == IH_TYPE_IMX8MIMAGE) {
|
||||
/* i.MX8M has special Image format */
|
||||
int ret;
|
||||
|
||||
ret = imx8mimage_copy_image(ifd, ¶ms);
|
||||
if (ret)
|
||||
return ret;
|
||||
} else {
|
||||
copy_file(ifd, params.datafile, pad_len);
|
||||
}
|
||||
|
Reference in New Issue
Block a user