grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: The development of GRUB 2 <grub-devel@gnu.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Xen-devel] pvgrub2 for ARM
Date: Wed, 06 Nov 2013 15:04:27 +0100	[thread overview]
Message-ID: <527A4C6B.8050003@gmail.com> (raw)
In-Reply-To: <1383744355.26213.125.camel@kazak.uk.xensource.com>

[-- Attachment #1: Type: text/plain, Size: 2510 bytes --]

On 06.11.2013 14:25, Ian Campbell wrote:
> On Wed, 2013-11-06 at 14:00 +0100, Vladimir 'φ-coder/phcoder' Serbinenko
> wrote:
>> Hello, all. I've ported grub2 to x86_64-xen and i386-xen (PAE only). How
>> big is the difference between ARM and i386 when seen as pv guest?
> 
> Very. Xen on ARM uses hardware functionality for second stage paging, so
> there is far less porting to do.
> 
Well doesn't matter much for GRUB as we change paging only at init,
before handoff and to init vfb. What about drivers?
>> I have an ARM here but it's a raspberry pi, so no support for xen. Are there
>> machines for under $100 on which xen runs?
> 
> The current platforms are listed on
> http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions. The one
> which is sub $100 is the Allwinner sunxi based stuff. The native Linux
> support is community driven by the linux-sunxi.org folks and is
> progressing nicely.
> 
> I've got a cubieboard2 (A20 based, <$100) which is a promising platform.
> I've mostly been trying to get (native) SATA going, so my Xen
> experiments are a bit lightweight, but it does boot. Bamvor has reported
> success with using the MMC and documented it on the wiki. I think he's
> using an A31 based STB of some sort.
> 
Thanks for info, I'll look into it.
>> What's with 64-bit ARM?
> 
> TBH I thought the GRuB On ARM stuff was mainly targeting 64-bit (at
> least within Linaro). Do you have native grub on 32-bit ARM already
> then?
> 
GRUB on 32-bit ARM works. We have currently 2 ports:
arm-uboot:
I've tested it myself on Raspberry pi with U-boot and in qemu (not sure
which machine right now, I think vexpress) with u-boot
arm-efi:
Apparently works but have never been able to test it myself.
> As far as 64-bit hardware goes you will have a struggle finding any at
> all right now, nevermind for under $100.
> 
> We should at some point be able to support the freely (as in beer)
> available Foundation model, but we don't right now.
> 
>> Alternatively, I'll probably go for Google HP chromebook 11.
> 
> I don;t know about this one, but previous chromebooks have proved a pain
> to get Xen onto, too hard to debug anything on them...
> 
You need to solder couple of pins and connect them to raspberry pi. Or
get debug board.
>> Or may I have access to some server where I'd be able to run VMs with my
>> kernel (GRUB) and HDD?
> 
> I'm afraid we don't here at least.
> 
Pity, sth like this would aid OS porters greatly.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

  reply	other threads:[~2013-11-06 14:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 13:00 pvgrub2 for ARM Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-06 13:25 ` [Xen-devel] " Ian Campbell
2013-11-06 14:04   ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-11-06 16:06     ` Ian Campbell
2013-11-06 14:09   ` Leif Lindholm
2013-11-06 16:05     ` Ian Campbell
2013-11-07  2:48   ` Bamvor Jian Zhang
2013-11-07 10:15     ` Ian Campbell
2013-11-08  1:42       ` Bamvor Jian Zhang
2013-11-08  9:55         ` Ian Campbell
2013-11-06 16:31 ` Samuel Thibault
2013-11-06 16:37   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527A4C6B.8050003@gmail.com \
    --to=phcoder@gmail.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=grub-devel@gnu.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).