xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 00/12] arm: support for initial modules (e.g. dom0) and DTB supplied in RAM
@ 2012-11-13 16:22 Ian Campbell
  2012-11-13 16:23 ` [PATCH 01/12] arm: Enable build without CONFIG_DTB_FILE Ian Campbell
                   ` (12 more replies)
  0 siblings, 13 replies; 32+ messages in thread
From: Ian Campbell @ 2012-11-13 16:22 UTC (permalink / raw)
  To: xen-devel

The following series implements support for initial images and DTB in
RAM, as opposed to in flash (dom0 kernel) or compiled into the
hypervisor (DTB). It arranges to not clobber these with either the h/v
text on relocation or with the heaps and frees them as appropriate.

Most of this is independent of the specific bootloader protocol which is
used to tell Xen where these modules actually are, but I have included a
simple PoC bootloader protocol based around device tree which is similar
to the protocol used by Linux to find its initrd
(where /chosen/linux,initrd-{start,end} indicate the physical address).

The PoC protocol is documented in docs/misc/arm/device-tree/booting.txt
which is added by this series.

I will post a patch against the boot-wrapper which implements the
"bootloader" side of this protocol shortly. With that you can boot using
the semi-hosting feature of the model (paths are host paths) like so:
        $MODEL linux-system-semi.axf -C cluster.cpu0.semihosting-cmd_line=\
                '--kernel xen-arm.bin \
                 --module zImage earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 ro \
                 --dtb vexpress-v2p-aem-v7a-xen.dtb -- dom0_mem=256M'

Where xen-arm.bin, zImage and vexpress-v2p-aem-v7a-xen.dtb are all files
in your $CWD.

Ian.

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2012-12-04 13:44 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-13 16:22 [PATCH V2 00/12] arm: support for initial modules (e.g. dom0) and DTB supplied in RAM Ian Campbell
2012-11-13 16:23 ` [PATCH 01/12] arm: Enable build without CONFIG_DTB_FILE Ian Campbell
2012-11-13 16:23 ` [PATCH 02/12] arm: create a raw binary target Ian Campbell
2012-11-13 16:23 ` [PATCH 03/12] arm: handle xenheap which isn't at the start of RAM Ian Campbell
2012-11-13 16:23 ` [PATCH 04/12] arm: parse modules from DT during early boot Ian Campbell
2012-11-29 17:05   ` Tim Deegan
2012-11-29 17:13     ` Ian Campbell
2012-11-30 15:14       ` Stefano Stabellini
2012-11-30 15:11   ` Stefano Stabellini
2012-12-03 16:19     ` Ian Campbell
2012-12-04 12:42       ` Stefano Stabellini
2012-12-04 13:44         ` Ian Campbell
2012-11-13 16:23 ` [PATCH 05/12] arm: avoid placing Xen over any modules Ian Campbell
2012-11-13 16:23 ` [PATCH 06/12] arm: avoid allocating the heaps over modules or xen itself Ian Campbell
2012-11-29 17:06   ` Tim Deegan
2012-11-29 17:19     ` Ian Campbell
2012-11-29 17:45       ` Tim Deegan
2012-11-13 16:23 ` [PATCH 07/12] arm: const-correctness in virt_to_maddr Ian Campbell
2012-11-13 16:23 ` [PATCH 08/12] device-tree: get_val cannot cope with cells > 2, add a BUG Ian Campbell
2012-11-29 17:09   ` Tim Deegan
2012-11-29 17:14     ` Ian Campbell
2012-11-13 16:23 ` [PATCH 09/12] arm: load dom0 kernel from first boot module Ian Campbell
2012-11-29 17:15   ` Tim Deegan
2012-11-29 17:24     ` Ian Campbell
2012-11-29 17:55       ` Tim Deegan
2012-11-13 16:23 ` [PATCH 10/12] arm: discard boot modules after building domain 0 Ian Campbell
2012-11-13 16:23 ` [PATCH 11/12] arm: use /chosen/module@1/bootargs for domain 0 command line Ian Campbell
2012-11-13 16:23 ` [PATCH 12/12] xen: strip /chosen/module@<N>/* from dom0 device tree Ian Campbell
2012-11-13 16:38 ` [PATCH V2 00/12] arm: support for initial modules (e.g. dom0) and DTB supplied in RAM Ian Campbell
2012-11-29 17:59   ` Tim Deegan
2012-11-29 18:05     ` Ian Campbell
2012-11-30 12:20       ` Ian Campbell

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).