[meta-xilinx] [meta-xilinx-bsp][PATCH 3/3] zcu102-zynqmp.conf: Weak assignment to QEMU appends

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Wed Dec 19 17:05:37 PST 2018


From: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>

This patch changes QEMU appends to set them weak by default,
this way the user can change them if desired.

Previously this was forcing the parameters for the serial console,
which made it impossible for qemu to use tcp serial ports to read the
output of the serial console

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
index 3f93e8e..fba55a3 100644
--- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
+++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
@@ -44,7 +44,7 @@ IMAGE_BOOT_FILES += " \
 IMAGE_CLASSES += "qemuboot-xilinx"
 QB_MACHINE = "-machine xlnx-zcu102"
 QB_MEM = "-m 4096"
-QB_OPT_APPEND = "-nographic -serial mon:stdio -serial null"
+QB_OPT_APPEND ?= "-nographic -serial mon:stdio -serial null"
 QB_NETWORK_DEVICE = "-net nic -net nic -net nic -net nic,netdev=net0,macaddr=@MAC@"
 
 # Use qemu-xilinx instead of mainline
-- 
2.7.4



More information about the meta-xilinx mailing list