I have made one large step of progress (and a small for mankind)!!!

What I did:

a) compile Linux 2.6 kernel and modules with Ruben's patches
b) install uImage on 1st partition (8MB is sufficient)
c) install 3MX debian etch rootfs on 2nd partition (should be at least 1 GB)
d) install the kernel modules on 2nd partition
e) boot on Letux 400
f) open Terminal
g) vi /etc/network/interfaces and uncomment the entries for eth0
h) connect to LAN and ifup eth0
i) apt-get upgrade (to get rid of GPG error message)
j) apt-get update
k) apt-get install debootstrap
l) mkdir /lenny
m) debootstrap lenny /lenny http://ftp.us.debian.org/debian
n) be happy to see "base system installed successfully"
o) mount proc -t proc /lenny/proc
p) mount sysfs -t sysfs /lenny/sys
q) cp -r /lib/modules /lenny/lib
r) chroot /lenny
s) depmod -a -- now works!!! (this depmod is now from module-init- tools 3.4 and 2.6 kernel compatible)

Now, the next steps are to fix the chroot /lenny and populate with more configuration (e.g. copy /etc/fstab, /etc/network/interfaces etc.) and applications (e.g. apt-get usbutils), WiFi firmware etc.

Finally, it should be possible to copy all files from /lenny to / (after making a .tbz or .img and/or on a second SD card) and boot that.

So I think we are not far away from builiding nice lenny (or ubuntu) rootfs for the 2.6 kernel.

And we have to fix the main issues of the kernel. My priorities would be:

1. touchpad buttons (you can't click/drag sliders and scrollers properly)
2. graceful power down
3. rtc
4. audio

BR,
Nikolaus


Am 30.04.2010 um 12:35 schrieb Dr. H. Nikolaus Schaller:

Hi Ruben,


Now I have this combination
* 2.6 kernel
* 2.4 debian etch
* network connectivity
* keyboard works
* depmod -a says "QM_MODULES: Function not implemented"

Now, I can try to install debootstrap (which is not part) and try again the chroot bootstrap...

Thanks for all the hints and tips!

BR,
Nikolaus




_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to