[Celinux-dev] [Q] TinyLinux project status (resend)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 26 03:02:09 EDT 2012


Hello Greg,

Le Thu, 26 Apr 2012 09:56:23 +1000,
Greg Ungerer <gerg at snapgear.com> a écrit :

> I couldn't see any kernel patches linked here. Did you need any,
> or have you posted them somewhere else?

The kernel patch is at
http://lists.busybox.net/pipermail/buildroot/2012-April/052585.html,
hidden inside a Buildroot patch.

I haven't posted it anywhere else because it's a hack to workaround a
Qemu problem: the 5208 apparently has support for separate supervisor
and userspace stack pointers (through two different registers), but
Qemu doesn't emulate that. So I think it's a flaw in Qemu emulation
rather than a kernel problem, but it was easier for now to workaround
it by just adding one "select COLDFIRE_SW_A7".

> Nice to see that it can run under QEMU!

Well, as I said, it actually doesn't run very well: if I use /bin/sh as
init=, then I can run *one* command, and the kernel crashes :-)

So we can say it boot all the way to userspace, but userspace isn't
very useful :)

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the Kernelnewbies mailing list