[rtems-tools commit] tester: Swap Xilinx ZynqMP BSPs to secondary UART

Chris Johns chrisj at rtems.org
Fri Jan 15 03:26:58 UTC 2021


On 15/1/21 6:33 am, Joel Sherrill wrote:
> Module:    rtems-tools
> Branch:    master
> Commit:    4da011424c92f76ffa06f8a01f92861875806056
> Changeset: http://git.rtems.org/rtems-tools/commit/?id=4da011424c92f76ffa06f8a01f92861875806056
> 
> Author:    Kinsey Moore <kinsey.moore at oarcorp.com>
> Date:      Thu Jan 14 07:53:38 2021 -0600
> 
> tester: Swap Xilinx ZynqMP BSPs to secondary UART
> 
> 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

I tested removing `-serial null` from my qemu command for a zynq_a9_qemu on
FreeBSD and I got no output. Does removing it work on FreeBSD?

Chris


More information about the devel mailing list