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

Re: [Xen-devel] Failing to set up serial console for an s32v234-evb board (ARMv8)





On 22/02/17 12:40, Johannes.3.Horn@xxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
Hi

Hello,

I'm writing my master thesis about using hypervisors on automotive high
performance plattforms.  As a part of my work for the thesis I'm trying
to set up xen on a s32v234-evb (ARMv8) board using u-boot 2016.01. But I
can't find a way of getting any output after u-boot try's to start the
xen kernel.

If I boot to the kernel which will be used as dom0 the console is
working fine and I im able to use the board. Following the xen serial
console wiki page I build following xen bootargs: "sync_console
console=com1 com1=115200,8n1,0x40053000,23 earlyprintk=xen
dom0_mem=128M" as "dmesg | grep tty" returned
[ 0.488454] 40053000.serial: ttyLF0 at MMIO 0x40053000 (irq = 23,
base_baud = 4166666) is a FSL_LINFLEX
[ 2.445563] console [ttyLF0] enabled
[ 2.457893] 400bc000.serial: ttyLF1 at MMIO 0x400bc000 (irq = 36,
base_baud = 4166666) is a FSL_LINFLEX

I also tryed to use "sync_console console=dtuart
dtuart=/soc/aips-bus@40000000/serial@4005300 dom0_mem=128M" and
"sync_console console=dtuart dtuart=serial0 dom0_mem=128M" as my dtb
contains an alias for the first to serial0

The serial interface is defined as shown below within the dtb

=> fdt list /soc/aips-bus@40000000/serial@40053000
serial@40053000 {
        compatible = "fsl,s32v234-linflexuart";

Xen has no driver for this UART, so it would need to be added. I would recommend you to look at first implementing earlyprintk (see docs/misc/arm/early-printk.txt) and then a full UART driver.

For the UART driver, you can look to import the one from Linux.

Feel free to ask question if you are unsure how to proceed.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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