From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: Testing xen-arm on Arndale Date: Mon, 1 Apr 2013 15:15:32 +0100 Message-ID: <51599684.7000107@citrix.com> References: <5151C711.5090604@citrix.com> <5151F707.8080704@citrix.com> <51558C47.7000008@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sengul Thomas Cc: Anthony Perard , Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 03/30/2013 03:40 AM, Sengul Thomas wrote: >> >> I have pushed a working tree for domU based on linux 3.9-rc3: >> http://xenbits.xen.org/gitweb/?p=people/julieng/linux-arm.git;a=shortlog;h=refs/heads/arndale-domU-3.9 >> >> You can compile with: >> make ARCH=arm xen_domU_arndale_defconfig >> make ARCH=arm zImage > > Thanks a lot! Julien, now I can see console messages when booting domU. > >> >> The xenvm-4.2.dts only works with Versatile Expresss, because the gic is not >> mapped to the right address. > > I noticed that you have changed the gic mmio address to 0x10481000. > I figured that this gic (actually vgic) is emulated by > "xen/arch/arm/vgic.c" and according to the source code, > the virtual mmio address is defined as following: > > #define VGIC_DISTR_BASE_ADDRESS (GIC_BASE_ADDRESS+GIC_DR_OFFSET) > > which is the same physical gic mmio address (plus GIC_DR_OFFSET). > So we have to use this (0x10481000) value, right? Yes. This value is hard-coded for the moment. In the future, we will try to retrieve the base address from the DTS. Cheers, Julien