[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Help on passthrough serial device to BareMetal DOMU


  • To: Jan Cordes <jancordes95@xxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Sarah Newman <srn@xxxxxxxxx>
  • Date: Fri, 26 Jul 2019 08:35:29 -0700
  • Delivery-date: Fri, 26 Jul 2019 15:36:42 +0000
  • Dkim-filter: OpenDKIM Filter v2.11.0 mail.prgmr.com AEE43720088
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

On 7/26/19 7:27 AM, Jan Cordes wrote:
Hello everybody,

we are fairly new to XEN and have a few questions regarding our XEN
setup on Xilinx ZCU102 Board. We want to pass through the UART1 device
to a bare metal guest. The way Xilinx proposed in their documentation to
XEN BareMetal Guests is to add the following via an .dtsi file to the
device tree:

&&uart1 {
    xen,passthrough = <0x1>;
};


Unfortunately, this does not work for us, we don't get any output on our
serial console.

We are using the config file which was provided by xilinx:


#Guest name
   name = "hello_world"
# Kernel image to boot
   kernel = "xapp_hello_world_el1.bin"
# Kernel command line options - Allocate 8MB
   memory = 8
# Number of VCPUS
   vcpus = 1
# Pin to CPU 0
   cpus = [1]
   irqs = [ 54 ]
   iomem = [ "0xff010,1" ]

Maybe someone can give a few tips, which steps are necessary to pass a
device to a bare metal DOMU, or point out where we missed something.

I'm not sure, but if I had this problem myself I would investigate whether Xen might be treating the serial port differently since Xen has a serial console. You could test syntax with a different device Xen doesn't have drivers for, or try changing the serial settings in the Xen boot arguments.

--Sarah

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.