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

Re: [Xen-devel] [PATCH v2 0/2] Raspberry Pi 4 support



On Mon, 29 Jul 2019 09:19:18 -0400
Stewart Hildebrand <stewart.hildebrand@xxxxxxxxxxxxxxx> wrote:

Hi,

> This is a series to enable UART console for Raspberry Pi 4. Note that I'm 
> relying on the firmware to initialize the UART (i.e. enable_uart=1 in 
> config.txt), since full UART initialization on this platform requires 
> accessing some registers outside the range specified in the 
> brcm,bcm2835-aux-uart node.
> 
> I have been able to get Xen+dom0+domUs booting. Tested with Xen 4.12 and 
> 4.13-unstable (b4c8a27d5b)

Mmmh, did that really work for you? I needed the next commit in staging as well:
commit ead6b9f78355e8d366e0c80c4a73fa7fbd6d26cc
Author: Andrii Anisov <andrii_anisov@xxxxxxxx>
Date:   Thu Jul 18 16:22:20 2019 +0300

    xen/arm: cpuerrata: Align a virtual address before unmap

Otherwise Xen would crash before even considering Dom0.

With Andrii's patch, your two patches and Stefano's resmem series I was able to 
at least run Xen till it was looking for Dom0, from U-Boot, with ATF (providing 
PSCI).
There seems to be some hiccup in the reserved-memory code in U-Boot, where 
U-Boot tries to use the already region, but that's an independent matter.

Cheers,
Andre.

> and Linux 4.19.y (Raspberry Pi linux tree + a couple of patches). Please see 
> [1] for build instructions and limitations.
> 
> New in v2:
> * Drop early printk alias
> * Set reg-shift and reg-io-width in the Xen driver
> * Blacklist other aux peripherals in platform settings (spi1, spi2, and a 
> couple of base aux registers)
> 
> Thanks,
> Stewart Hildebrand
> DornerWorks, Ltd
> 
> [1] https://github.com/dornerworks/xen-rpi4-builder
> 
> Stewart Hildebrand (2):
>   ns16550: Add compatible string for Raspberry Pi 4
>   xen/arm: platform: Add Raspberry Pi platform
> 
>  xen/arch/arm/platforms/Makefile            |  1 +
>  xen/arch/arm/platforms/brcm-raspberry-pi.c | 55 ++++++++++++++++++++++
>  xen/drivers/char/ns16550.c                 |  7 +++
>  3 files changed, 63 insertions(+)
>  create mode 100644 xen/arch/arm/platforms/brcm-raspberry-pi.c
> 


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

 


Rackspace

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