From 324b34a45e63d6bdedac42c595d480843aa8ab38 Mon Sep 17 00:00:00 2001 From: Ayan Kumar Halder Date: Fri, 18 Mar 2022 19:07:23 +0000 Subject: Add support for uboot legacy images For armv7 based platforms, xen binary needs to be converted to uboot legacy image format. For example mkimage -A arm -T kernel -C none -a 0x40e00000 -e 0x40e00000 -d xen-4.17-unstable xen.ub Our uboot-script should be able to recognize these images. Signed-off-by: Ayan Kumar Halder Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- scripts/uboot-script-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/uboot-script-gen') diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index 2d9c481..91e805d 100755 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -237,7 +237,7 @@ function check_file_type() # since some executables aren't recongnized if [ "$type" = "executable" ] then - type="executable\|data" + type="executable\|data\|u-boot legacy uImage" # file in older distros (ex: RHEL 7.4) just output data for device # tree blobs elif [ "$type" = "Device Tree Blob" ] -- cgit v1.2.3