From: Ian Campbell Subject: Re: Cannot create mini-os guest for arm64 Date: Fri, 17 May 2013 10:26:08 +0100 Message-ID: <1368782768.24012.23.camel@hastur.hellion.org.uk> References: <20130516094956.GA19578@cbz-workstation> <1368715271.24012.12.camel@hastur.hellion.org.uk> <1368721220.24012.18.camel@hastur.hellion.org.uk> <555BA60B-4CF8-4390-9095-D5B1E8B24D1A@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <555BA60B-4CF8-4390-9095-D5B1E8B24D1A@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: xen-arm@lists.xen.org, xen-devel@lists.xensource.com, Sander Bogaert List-Id: xen-devel@lists.xenproject.org On Fri, 2013-05-17 at 08:00 +0800, Chen Baozi wrote: > On May 17, 2013, at 12:20 AM, Ian Campbell wrote: > > > On Thu, 2013-05-16 at 23:34 +0800, Chen Baozi wrote: > >> On May 16, 2013, at 10:41 PM, Ian Campbell wrote: > >> > >>> On Thu, 2013-05-16 at 17:49 +0800, Chen Baozi wrote: > >>>> Hi Ian, > >>>> > >>>> I've done the basic interfaces/framework to pass mini-os build on arm64, > >>>> which still needs lots of implementation to work properly. > >>>> > >>>> Then I tried to create the mini-os guest for arm64 on Fast Model environment > >>>> to drive the following porting. (I know it must not work at present, but it > >>>> would give some feedback through the test.) However, when I tried to "xl > >>>> create" the mini-os, it reported the following errors: > >>> > >>> There are some issues with loading guests from ELF (rather than zImage) > >>> kernels on ARM. > >> Is it possible because of there is no arm64 "guest_type" of > >> xc_dom_arch struct? I can only find "den-3.0-armv7l" guest_type > >> related codes in libxc files. > > > > Oh, yes, we haven't done arm64 guests yet... Sorry I forgot about this > > before. Hrm, that does rather block you from doing arm64 mini-os. > > > > I posted a series to allow 64-bit dom0 a while back but we are currently > > frozen so it has been committed, but that's the obvious starting point > > for 64-bit guest support. > > > > I don't recall why you are looking at 64-bit minios rather than 32-bit, > > is that an option? A lot of the code should end up common. > I did plan to start the work on arm32 at the very beginning. But The > only platform of cortex-a15 I've got is the samsung's chromebook. I > tried hard to run Xen on it but didn't succeed in the end due to the > lack of debug method. At the same time, I've got an chance getting > involved in a arm64 project of our lab so it is easy to have a > FastModel license, which at least is a debugable platform for my at > present. You should be able to run arm32 guests on that platform. > PS, I ordered an OMAP5 development board, but it is stilling on shipping. Which devboard did you go for?