On Wed, Aug 31, 2011 at 3:56 PM, Norman Schleicher
<norman.schleic...@gmx.de> wrote:
> Hello Martin,

Hi,

> since several days i try to build u-boot for n900 and start a standard maemo 
> kernel. but the last message is starting kernel...
> I tried different toolchains sourcery 2008.1 2008.3 and 2009.1 and nokia sdk, 
> but i have no success for running the kernel.

The problem is known and last 100% working toolchain I've tried is old
openmoko toolchain with gcc-4.3.2 IIRC
http://wiki.openmoko.org/wiki/Toolchain

I was able to build working kernel also with gcc-4.5 (default in OE
when u-boot patches for n900 were added) only with -O0, later we've
found faulty code and fixed it better
see
http://git.openembedded.org/cgit.cgi/openembedded/diff/recipes/u-boot/u-boot-git/nokia900/0001-nokia-rx51-fix-declaration-fails-when-building-with-.patch?id=75527d4842223cc831b2eaaed0150f28ff467014
instead of
http://git.openembedded.org/cgit.cgi/openembedded/diff/recipes/u-boot/u-boot-git/nokia900/0001-nokia-rx51-use-O0-as-work-around-for-gcc-4.5.patch?id=75527d4842223cc831b2eaaed0150f28ff467014
from
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=75527d4842223cc831b2eaaed0150f28ff467014

but later toolchain changes break u-boot again and possible work
arround was to put -O0 back again (and I still have it in my
shr-experimental branch with old oe.dev)
but later toolchain changes break u-boot again (even with -O0) and
I've refused to look for the real cause (hoping to get n900 support to
u-boot master sooner and fix gcc issue with it once for all - see
shr-master branch in u-boot repo).

The binaries linked from shr wiki are built with old
openmoko-toolchain and then uploaded to buildhost. And I haven't even
tried it again with gcc-4.6 used in shr-core yet (still hoping to get
working shr-master - but that's failing even before starting kernel
now).

> If i combine the standard kernel with the u-boot provided by maeomo 
> (u-boot-pr13) then the kernel boots, so i think the kernel converting and 
> creation of combined image works. But my compiled only u-boot starts but its 
> not able to boot the standard kernel from maemo.

Yes, you're doing it right probably, only the u-boot binary is wrong.

> As u-boot sources i tried shr core with patches and the version described by 
> ali1234 http://al.robotfuzz.com/~al/maemo/u-boot/

see https://gitorious.org/u-boot-shr/u-boot for all branches I've
considered to use to add n900 support to OE u-boot, not all u-boot
binaries for n900 had their sources available or in corresponding
version to resulting binaries.

> Can wee met in irc today or when do you have time to talk about ?

Not really, my workstation@home is ill from raid metadata upgrades and
I'm not sure when I'll find time to fix it.

Ccing shr-devel just in case someone will be also interested in
working on shr-master to get n900 patches upstream (I've written 2
e-mails about upstreaming and shr-master issues to Al in last N
months, but no reply..)
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to