summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-devtools
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2020-02-10 14:16:30 -0800
committerJaewon Lee <jaewon.lee@xilinx.com>2020-02-10 14:23:52 -0800
commit9da9f4596581b79bf1ce4d96c022bbed2f24a71c (patch)
treec7e421675be4b1cc7318fc0db7e37e26c86bb308 /meta-xilinx-bsp/recipes-devtools
parenta1e6e9312c50dd116097ee4f2688f414a371d76c (diff)
downloadmeta-xilinx-9da9f4596581b79bf1ce4d96c022bbed2f24a71c.tar.gz
qemu-system-aarch64-multiarch: Adding comment for future fix
qemu-runner implementation upstream in the future will handle ports correctly and there will be no need to switch anymore Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-devtools')
-rw-r--r--meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch b/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch
index ba0e2743..6f7fb522 100644
--- a/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch
+++ b/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch
@@ -38,6 +38,7 @@ if (mbtype == 'PMU' and os.path.exists(PMU_rom)) or mbtype == 'PLM':
38 # We need to switch tcp serial arguments (if they exist, e.g. qemurunner) to get the output correctly 38 # We need to switch tcp serial arguments (if they exist, e.g. qemurunner) to get the output correctly
39 tcp_serial_ports = [i for i, s in enumerate(APU_args) if 'tcp:127.0.0.1:' in s] 39 tcp_serial_ports = [i for i, s in enumerate(APU_args) if 'tcp:127.0.0.1:' in s]
40 40
41 #NEED TO FIX for next yocto release (dont need to switch ports anymore, they will be provided correctly upstream
41 # We can only switch these if there are exactly two, otherwise we can't assume what is being executed so we leave it as is 42 # We can only switch these if there are exactly two, otherwise we can't assume what is being executed so we leave it as is
42 if len(tcp_serial_ports) == 2: 43 if len(tcp_serial_ports) == 2:
43 APU_args[tcp_serial_ports[0]],APU_args[tcp_serial_ports[1]] = APU_args[tcp_serial_ports[1]],APU_args[tcp_serial_ports[0]] 44 APU_args[tcp_serial_ports[0]],APU_args[tcp_serial_ports[1]] = APU_args[tcp_serial_ports[1]],APU_args[tcp_serial_ports[0]]