Another status/howto.
To get the
kernel 2.6.21-hh17 that nalim patch requires:
Code:
$ export CVSROOT=:pserver:anoncvs@cvs.handhelds.org:/cvs
$ echo password is anoncvs
$ cvs login
$ cvs export -r K2-6-21-hh17 linux/kernel26
That gets the needed sources. Be warned that they are a very big:
Code:
$ du -b . | tail -1
251688350 .
Yup, 240MB!
Update (20091023): I compiled 2.6.21-hh17 with nalim's patch applied (using the crosscompiler from the unofficial toolchain) and prepared a kexec script to test in the iliad. After executing it I only got a frozen iliad :-/. After a reset it went back to normal.
I'll have to investigate it further. Possible problems:
1. Not having the root filesystem installed yet in the CF card (have to put a initrd that does something visually to check this)
2. the compiler version used (nalim used a slightly more recent gcc: 3.4.4 versus my 3.4.2)
3. that my delta hardware revision is "3". Don't know if nalim's one was 3 or 6.
Or it can be something else...
Update (20091024): It isn't (3); I've compared the initialization routine of nalim's reverse-engineered driver with irex's one and nalim's initialization code corresponds with irex's v3 initialization code, not with v6.
Update (20091025): It isn't (1); I've done a small program that puts a splash screen (when in the initrd, with the correct modules installed there, too), and also populated the root filesystem on the CF card, and it didn't work. So, I'll have to try if it is (2). I've seen
here that codesourcery's
gcc 3.4.4+csl-arm-2005q3 crosscompiler should compile kernel 2.6.21-hh17 correctly both for old ABI and for EABI. Will try that crosscompiler next time...
Update (20091026): Finally I've installed debian's lenny crosscompiler. Instructions from
here. Steps taken in a debian lenny i386 computer:
Code:
# echo "deb http://www.emdebian.org/debian/ lenny main" >> /etc/apt/sources.list
# apt-get update
# apt-get install libc6-arm-cross libc6-dev-arm-cross binutils-arm-linux-gnu gcc-4.3-arm-linux-gnu g++-4.3-arm-linux-gnu