Mailing List Archive

Xen on Samsung Chromebook
It looks as if one of the most active XenARM projects is Xen on the Samsung
Chromebook on the Cortex A15, which definitely is attractive. However,
much of the information out there (e.g., XenSummit presentations,
wiki.xenproject.org, and even these
lists.xenproject.org/archives/html/xen-arm) seems a bit light on detail in
2013 since April. Is there still active work on Xen on the Chromebook? Is
it stable, or is it still active research? At this point, I'd be happy with
Dom0 and a single guest. The following page:


http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook

seems to imply it might be possible to get it running. Stefano
Stabellini's message from this March:

http://lists.xenproject.org/archives/html/xen-arm/2013-03/msg00003.html

says that it _is_ running, but I thought I would double check about
stability before purchasing a Samsung Chromebook. Is the above (brief)
xenproject page the most detailed instructions for getting it to work? Do
you have any comments on the stability - is it reasonably likely to be able
to get it to work on a new Samsung Chromebook by following those
instructions, or should I still expect many system-specific issues? Would
it be better to wait a few months until the new arndale board is available,
or will that have its own host of issues?
By way of getting ready, I built a cross-compiler environment on Ubuntu
Raring, and have everything compiled (including dist-xen) _except_ I get
stuck at cross-compiling the dom0 zImage:

>$ git clone git://xenbits.xen.org/people/aperard/linux-chromebook.git
>$ export CROSS_COMPILE=arm-linux-gnueabihf-
>$ export ARCH=arm
>$ make zImage
...
arch/arm/kernel/debug.S:164: Error: ARM register expected -- `ldr r2,[
r3,#(0x08)]'
...

This was reported here by Chen Baozi 5 months ago,


http://www.marshut.com/iiuzw/boot-in-hyp-mode-on-samsung-arm-chromebook.html#ipymh

but I didn't see a resolution, other than the comment "apparently a bug in
ubuntu's native gcc" and the implication of moving over to Fedora. Any
thoughts on unbreaking it?

One thing I noticed is that "make clean" for the linux build doesn't remove
the old xen-arm/xen/arch/xen.lds, which was somewhat frustrating to hunt
down after I fat-fingered the .dtb

Thanks!

(sorry if this is a partial repeat. I originally posted part of this from
a different address than the one from which I'm subscribed to the list)

Todd Carpenter
Re: Xen on Samsung Chromebook [ In reply to ]
Hi Tod,
we didn't make any more progress on the Chromebook port so the page
above is the most recent information we have on it.

Honestly the Chromebook is not a good development platform, so if I were
you, I would wait for the new Arndale or buy a Cubieboard2 for which
there is an active effort in progress to port Xen to it
(http://marc.info/?l=xen-devel&m=137784689820437).

Also keep in mind that the mailing list to discuss the Xen ARM
virtualization extensions port is xen-devel@xenproject.org.

Cheers,

Stefano


On Thu, 5 Sep 2013, tod carpenter wrote:
> It looks as if one of the most active XenARM projects is Xen on the Samsung Chromebook on the Cortex A15, which definitely
> is attractive.  However, much of the information out there (e.g., XenSummit presentations, wiki.xenproject.org, and even
> these lists.xenproject.org/archives/html/xen-arm) seems a bit light on detail in 2013 since April.  Is there still active
> work on Xen on the Chromebook?  Is it stable, or is it still active research? At this point, I'd be happy with Dom0 and a
> single guest.  The following page:
>
>   http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Chromebook
>
> seems to imply it might be possible to get it running.  Stefano Stabellini's message from this March:
>
>   http://lists.xenproject.org/archives/html/xen-arm/2013-03/msg00003.html
>
> says that it _is_ running, but I thought I would double check about stability before purchasing a Samsung Chromebook.  Is
> the above (brief) xenproject page the most detailed instructions for getting it to work?  Do you have any comments on the
> stability - is it reasonably likely to be able to get it to work on a new Samsung Chromebook by following those
> instructions, or should I still expect many system-specific issues?  Would it be better to wait a few months until the new
> arndale board is available, or will that have its own host of issues?
>
> By way of getting ready, I built a cross-compiler environment on Ubuntu Raring, and have everything compiled (including
> dist-xen) _except_ I get stuck at cross-compiling the dom0 zImage:
>  
> >$ git clone git://xenbits.xen.org/people/aperard/linux-chromebook.git
> >$ export CROSS_COMPILE=arm-linux-gnueabihf-
> >$ export ARCH=arm
> >$ make zImage
> ...
> arch/arm/kernel/debug.S:164: Error: ARM register expected -- `ldr r2,[ r3,#(0x08)]'
> ...
>
> This was reported here by Chen Baozi 5 months ago,
>
>   http://www.marshut.com/iiuzw/boot-in-hyp-mode-on-samsung-arm-chromebook.html#ipymh
>
> but I didn't see a resolution, other than the comment "apparently a bug in ubuntu's native gcc" and the implication of
> moving over to Fedora.  Any thoughts on unbreaking it?
>
> One thing I noticed is that "make clean" for the linux build doesn't remove the old xen-arm/xen/arch/xen.lds, which was
> somewhat frustrating to hunt down after I fat-fingered the .dtb
>
> Thanks!
>
> (sorry if this is a partial repeat.  I originally posted part of this from a different address than the one from which I'm
> subscribed to the list)
>
> Todd Carpenter