xilinx_zynq_a9_qemu RTEMS6 no console input/output

Christian Mauderer oss at c-mauderer.de
Thu Feb 18 20:10:12 UTC 2021


Hello Heinz,

Odd. I just tested it with the current master of rtems, libbsd, rtems 
source builder and qemu and it worked fine. The only thing that I had to 
change compared to your command was adding the "-serial null" before the 
second "-serial mon:stdio". Note that it's "null" and not "none" like 
for network. I made that mistake when trying to adapt your command line 
the first time and received no output.

Beneath that I have an

     export QEMU_AUDIO_DRV=none

in my script that starts qemu. I'm not sure why and it seems that it is 
no longer necessary. But maybe you want to try it.

If both don't help:

Which version of rtems are you using and how do you configure your BSP? 
Which version of qemu are you using?

On 18/02/2021 18:21, Heinz Junkes wrote:
> Thanks, unfortunately I also have the same behavior with -serial null -serial on:stdio.
> So I use it with RTEMS5 which worked so far.
> 
> I had found this in the mail list and tried it ;-)

The patch below seems to be for the xilinx_zynqmp* BSP and not for the 
xilinx_zynq_a9_qemu.

Best regards

Christian

> 
> Heinz
> 
> Qemu's machine definition uses the second UART in the memory map as the
> primary UART. This follows from the hardware itself where the second
> UART in the memory map is UART 0. This switches the tester to using the
> correct UART.
> ---
> tester/rtems/testing/bsps/xilinx_zynqmp_ilp32.ini | 2 +-
> tester/rtems/testing/bsps/xilinx_zynqmp_lp64.ini  | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tester/rtems/testing/bsps/xilinx_zynqmp_ilp32.ini b/tester/rtems/testing/bsps/xilinx_zynqmp_ilp32.ini
> index 5ff0e86..35869ed 100644
> --- a/tester/rtems/testing/bsps/xilinx_zynqmp_ilp32.ini
> +++ b/tester/rtems/testing/bsps/xilinx_zynqmp_ilp32.ini
> @@ -35,4 +35,4 @@
> bsp           = xilinx_zynqmp_ilp32
> arch          = aarch64
> tester        = %{_rtscripts}/qemu.cfg
> -bsp_qemu_opts = %{qemu_opts_base} -serial null -serial mon:stdio -machine xlnx-zcu102 -m 4096
> +bsp_qemu_opts = %{qemu_opts_base} -serial mon:stdio -machine xlnx-zcu102 -m 4096
> diff --git a/tester/rtems/testing/bsps/xilinx_zynqmp_lp64.ini b/tester/rtems/testing/bsps/xilinx_zynqmp_lp64.ini
> index 8db82b6..cd2d268 100644
> --- a/tester/rtems/testing/bsps/xilinx_zynqmp_lp64.ini
> +++ b/tester/rtems/testing/bsps/xilinx_zynqmp_lp64.ini
> @@ -35,4 +35,4 @@
> bsp           = xilinx_zynqmp_lp64
> arch          = aarch64
> tester        = %{_rtscripts}/qemu.cfg
> -bsp_qemu_opts = %{qemu_opts_base} -serial null -serial mon:stdio -machine xlnx-zcu102 -m 4096
> +bsp_qemu_opts = %{qemu_opts_base} -serial mon:stdio -machine xlnx-zcu102 -m 4096
> 
> 
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 


More information about the users mailing list