diff options
author | Ayan Kumar Halder | 2022-03-18 19:07:23 +0000 |
---|---|---|
committer | Stefano Stabellini | 2022-03-18 17:43:30 -0700 |
commit | 324b34a45e63d6bdedac42c595d480843aa8ab38 (patch) | |
tree | d5858ccb775289ea4f895d04125135fb184e5fe0 /scripts/uboot-script-gen | |
parent | 4fb66bd92facc07f0afa902b6def30ec0169c195 (diff) |
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 <ayankuma@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Diffstat (limited to 'scripts/uboot-script-gen')
-rwxr-xr-x | scripts/uboot-script-gen | 2 |
1 files changed, 1 insertions, 1 deletions
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" ] |