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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hello Greg,

Le Thu, 26 Apr 2012 09:56:23 +1000,
Greg Ungerer <gerg@xxxxxxxxxxxx> 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,
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 :)


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

Kernelnewbies mailing list

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux