On 26/04/12 15:14, Rob Landley wrote:
On 04/25/2012 03:41 PM, Thomas Petazzoni wrote:
Le Wed, 25 Apr 2012 15:14:09 -0500,
Rob Landley<r...@landley.net> a Úcrit :
Query: is there any way to set up a nommu system with:
A) stock vanilla upstream packages (kernel, uClibc, busybox)
B) running under qemu
I've had a todo item to add a nommu target to Aboriginal Linux but every
time I do so I poke at making i386 nommu and it just doesn't seem to
want to do that. (Can't imagine why...)
With a few Qemu patches and kernel patches, I'm able to boot into
userspace a Coldfire system under the Qemu Coldfire emulation. However,
the system crashes as soon as the first userspace program exits (the
kernel thinks I'm killing init, I haven't had the time to investigate
this). The kernel configuration and Qemu patches have been posted at
http://lists.busybox.net/pipermail/buildroot/2012-April/052581.html.
That's very interesting, but I'm unlikely to have time to folow up in
the next few weeks. (I'm already investigating the full m68k support
qemu is growing in the q800 branch Laurent Vivier's doing on gitorious.
So far it prints 3 lines and then dies, but that's more than it was
doing before. Those are three lines of kernel boot messages! I need to
enable early_printk and verbose...)
Still: bookmarked. Thanks.
I have also been able to boot an ARM noMMU kernel for the AT91x40 SoC
under SkyEye. This time, the userspace works fine. I haven't had the
time to clean up this, and it requires patches to both the kernel and
SkyEye to work properly. If you're interested, I'll give you these
patches and configs when I'm done with the cleanup.
I'm unlikely to play with skyeye (tried it once, but it was years ago).
Is there a strong reason nommu kernel's won't run on hardware or an
emulator that _does_ implement an mmu? (Can't it just not use it?)
No. It comes down to architectural support. There are a few that do
it. I have ColdFire hardware with MMU, it can be compiled and run
either with or without MMU enabled (by flicking the kernel's
CONFIG_MMU switch).
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: g...@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
_______________________________________________
Celinux-dev mailing list
Celinux-dev@lists.celinuxforum.org
https://lists.celinuxforum.org/mailman/listinfo/celinux-dev