summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-08-14 16:08:34 -0600
committerMark Hatle <mark.hatle@amd.com>2024-08-16 09:54:55 -0500
commite3de5e4e3078b06e1bb866990d4bca7645ca6ec4 (patch)
tree0b6eba4e98bd59b12e215fc3e53fbac3f7cd649e
parent09260f6d661e046f55b5257c52c7f0b0a5ffe56b (diff)
downloadmeta-xilinx-e3de5e4e3078b06e1bb866990d4bca7645ca6ec4.tar.gz
boot-jtag.py: Add IMAGE_NAME_SUFFIX to tcl
In scarthgap release, By default IMAGE_NAME_SUFFIX=".rootfs" set in image-artifact-name.bbclass, Due to this boot-jtag script doesn't include rootfs in .tcl script. Hence add IMAGE_NAME_SUFFIX to tcl script. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/lib/devtool/boot-jtag.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-xilinx-core/lib/devtool/boot-jtag.py b/meta-xilinx-core/lib/devtool/boot-jtag.py
index f9c298e8..2d8a7d8f 100644
--- a/meta-xilinx-core/lib/devtool/boot-jtag.py
+++ b/meta-xilinx-core/lib/devtool/boot-jtag.py
@@ -36,6 +36,7 @@ def bootjtag(args, config, basepath, workspace):
36 rootfs_load_addr = rd.getVar('RAMDISK_IMAGE_ADDRESS') 36 rootfs_load_addr = rd.getVar('RAMDISK_IMAGE_ADDRESS')
37 machine_features = rd.getVar('MACHINE_FEATURES') 37 machine_features = rd.getVar('MACHINE_FEATURES')
38 boot_mode = rd.getVar('BOOTMODE') 38 boot_mode = rd.getVar('BOOTMODE')
39 image_name_suffix = rd.getVar('IMAGE_NAME_SUFFIX')
39 finally: 40 finally:
40 tinfoil.shutdown() 41 tinfoil.shutdown()
41 42
@@ -96,7 +97,7 @@ def bootjtag(args, config, basepath, workspace):
96 data['kernel'] = os.path.join(deploy_dir, kernel_img_name) 97 data['kernel'] = os.path.join(deploy_dir, kernel_img_name)
97 98
98 if not args.norootfs: 99 if not args.norootfs:
99 data['rfs'] = os.path.join(deploy_dir, args.image + '-' + machine + '.cpio.gz.u-boot') 100 data['rfs'] = os.path.join(deploy_dir, args.image + '-' + machine + image_name_suffix + '.cpio.gz.u-boot')
100 101
101 # Check if all the required boot images exists 102 # Check if all the required boot images exists
102 for key in data: 103 for key in data: