From 9da9f4596581b79bf1ce4d96c022bbed2f24a71c Mon Sep 17 00:00:00 2001 From: Jaewon Lee Date: Mon, 10 Feb 2020 14:16:30 -0800 Subject: 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 --- .../recipes-devtools/qemu/files/qemu-system-aarch64-multiarch | 1 + 1 file changed, 1 insertion(+) 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': # We need to switch tcp serial arguments (if they exist, e.g. qemurunner) to get the output correctly tcp_serial_ports = [i for i, s in enumerate(APU_args) if 'tcp:127.0.0.1:' in s] + #NEED TO FIX for next yocto release (dont need to switch ports anymore, they will be provided correctly upstream # 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 if len(tcp_serial_ports) == 2: APU_args[tcp_serial_ports[0]],APU_args[tcp_serial_ports[1]] = APU_args[tcp_serial_ports[1]],APU_args[tcp_serial_ports[0]] -- cgit v1.2.3-54-g00ecf