public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Linux ARM SMP kernel for qemu
       [not found] <AANLkTimi5B8pBVatpq4n2HvcT-iU6+EXwdntV1ucAkVL@mail.gmail.com>
@ 2011-01-21 15:17 ` Kevin Pouget
  2011-01-22 23:15   ` Loïc Minier
  2011-01-23  5:44   ` Rabin Vincent
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin Pouget @ 2011-01-21 15:17 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

do you know if it's feasible to compile a Linux kernel to be run by a Qemu
SMP ARM machine? after so many hours of tries, I can say that any version of
the kernel, any Qemu machine would be okay, provided that the SMP capability
is set, and the kernel boots !


Cordially,

Kevin Pouget
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110121/da9fe01f/attachment-0001.html>

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

* Linux ARM SMP kernel for qemu
  2011-01-21 15:17 ` Linux ARM SMP kernel for qemu Kevin Pouget
@ 2011-01-22 23:15   ` Loïc Minier
  2011-01-23  5:44   ` Rabin Vincent
  1 sibling, 0 replies; 3+ messages in thread
From: Loïc Minier @ 2011-01-22 23:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 21, 2011, Kevin Pouget wrote:
> do you know if it's feasible to compile a Linux kernel to be run by a Qemu
> SMP ARM machine? after so many hours of tries, I can say that any version of
> the kernel, any Qemu machine would be okay, provided that the SMP capability
> is set, and the kernel boots !

 I apologize for the old references, but I wondered the same a while ago
 and managed to get a SMP Realview EB kernel booted in QEMU IIRC.  I
 think it was only armv6 SMP back then.  Main issue I had back then was
 that it wouldn't support PCI so no networking or IDE.  My notes are at:
 https://lists.ubuntu.com/archives/ubuntu-mobile/2009-May/002485.html
 (some other related message same month and next month)

 I would myself love hearing what you manage to achieve, with which
 configs and issues!

-- 
Lo?c Minier

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

* Linux ARM SMP kernel for qemu
  2011-01-21 15:17 ` Linux ARM SMP kernel for qemu Kevin Pouget
  2011-01-22 23:15   ` Loïc Minier
@ 2011-01-23  5:44   ` Rabin Vincent
  1 sibling, 0 replies; 3+ messages in thread
From: Rabin Vincent @ 2011-01-23  5:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 21, 2011 at 20:47, Kevin Pouget <kevin.pouget@gmail.com> wrote:
> do you know if it's feasible to compile a Linux kernel to be run by a
> Qemu SMP ARM machine? after so many hours of tries, I can say that any
> version of the kernel, any Qemu machine would be okay, provided that
> the SMP capability is set, and the kernel boots !

Try the kernel from latest git, QEMU from latest git, and the attached
.config.

The .config is just realview_smp-defconfig with:
 - PB11 and ARMv6 disabled
 - PBX A9 and ARMv7 enabled
 - CONFIG_REALVIEW_HIGH_PHYS_OFFSET disabled

Initramfs support is also enabled.  You can boot it with this line (you'll
need an initramfs or initrd to get to userspace):

qemu-system-arm -kernel arch/arm/boot/uImage -nographic \
		-append "earlyprintk console=ttyAMA0 mem=128M debug" \
		-M realview-pbx-a9 -m 128M -initrd ~/kernel/root -smp 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qemu-pbx-config
Type: application/octet-stream
Size: 38104 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110123/674c7a1e/attachment-0001.obj>

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

end of thread, other threads:[~2011-01-23  5:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTimi5B8pBVatpq4n2HvcT-iU6+EXwdntV1ucAkVL@mail.gmail.com>
2011-01-21 15:17 ` Linux ARM SMP kernel for qemu Kevin Pouget
2011-01-22 23:15   ` Loïc Minier
2011-01-23  5:44   ` Rabin Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox