summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2025-02-02 18:28:36 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commit5d11769812f09c73d05e9fe550bbe351929f66d8 (patch)
tree80aadc2c983a66d57de29c9f504a74aecab97836
parent92397fd4910c8cb25614fab16e317593c9223650 (diff)
downloadmeta-xilinx-5d11769812f09c73d05e9fe550bbe351929f66d8.tar.gz
meta-xilinx-core: qemu-multiarch-helper: Add -machine-path help
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch b/meta-xilinx-core/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch
index f1a0c7d3..00fc41c3 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch
+++ b/meta-xilinx-core/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch
@@ -58,8 +58,8 @@ if PMU_args and PLM_args:
58help_options = ['-h', '-help', '--help'] 58help_options = ['-h', '-help', '--help']
59def help(status): 59def help(status):
60 print("AMD FPGA QEMU multiarch wrapper\nVersion 2025.1\n\nUsage:") 60 print("AMD FPGA QEMU multiarch wrapper\nVersion 2025.1\n\nUsage:")
61 print(f" {sys.argv[0]} <APU options> [-pmu-args <pmu options>]") 61 print(f" {sys.argv[0]} <APU options> [-pmu-args <pmu options>] [-machine-path <path>]")
62 print(f" {sys.argv[0]} <APU options> [-plm-args <plm options>]\n") 62 print(f" {sys.argv[0]} <APU options> [-plm-args <plm options>] [-machine-path <path>]\n")
63 if status == 0: 63 if status == 0:
64 print(f"\n") 64 print(f"\n")
65 if set(PMU_args).intersection(set(help_options)): 65 if set(PMU_args).intersection(set(help_options)):
@@ -78,6 +78,8 @@ def help(status):
78 apu_args_s = ' '.join(APU_args) 78 apu_args_s = ' '.join(APU_args)
79 help_cmd = f'{binpath}/qemu-system-aarch64 {apu_args_s}' 79 help_cmd = f'{binpath}/qemu-system-aarch64 {apu_args_s}'
80 80
81 print(f" -machine-path <path> - Optional path to use for multiarch files. This path must be less then about 100 characters.\n Note: if specified caller is responsible for cleaning up the directory on exist\n")
82
81 print(f"{help_cmd}\n") 83 print(f"{help_cmd}\n")
82 process = subprocess.Popen(help_cmd, shell=True, stderr=subprocess.PIPE) 84 process = subprocess.Popen(help_cmd, shell=True, stderr=subprocess.PIPE)
83 status = process.wait() 85 status = process.wait()