Hi Ruben,
it allears to be *very* difficult to bootstrap.

The reason is a tight labyrinth of obstacles...

2.4 kernel with chroot etch -> has network but doesn't see my rootfs partition on sd
2.4 kernel with chroot lenny -> glibc complains about "Kernel to old"
2.6 kernel with 1st stage lenny -> fails with error 139 on debootstrap
2.6 kernel with etch -> no network tools available

Am 28.04.2010 um 19:30 schrieb Ruben Viets:

Hi Nikolaus,

The debootstrap stuff for lenny could get stuck because of some missing libraries for mipsel (you may need apt-get update first to make sure you have the latest files).

This would require to have a working network config before the second- stage was run. It appears that these packages are not part of the debootstrap. So I may have to add them manually.

Otherwise you better use the debian etch, modify the /etc/apt/ sources.list (add lenny main) run the apt-get upgrade.
Need a wired ethernet. and run ifup eth0 from terminal of course.

That is a good idea to try. So I will try to run do this on the 2.4 kernel with the chroot etch and hope it will result in a lenny rootfs. But I have to find out firstly why my rootfs partition on the SD card does not mount...

Ah, it may rapidly fail due to the glibc-kernel-incompatibility.

Afterwards you can install udev, and other nice lenny upgrades.
No need for modprobe libs because the kernel 2.6.24.3 (config_rv6) already includes the most important things in the kernel

My old debian-etch distro for SD is here 
http://projects.kwaak.net/twiki/bin/view/Epc700/InstallDebianEtchTesting

I will try this and see if it is more complete than my own etch rootfs.

Be aware if you are going to use debian lenny, you better use a SD card > 4GB, otherwise it will be full within a few debugging hours ;-)

Oh yes :)

My first goal is to build a basic install and make a .tgz snapshot from that. So anyone can take it as a starting point on any SD card size and upgrade to whatever he/she likes.


Grt Ruben.

PS. I don't have much time to reply, goodluck hopefully you and others will be able to fix some of the ingenic 2.6.24.3 kernel sources.

No problem.

Best regards,
Nikolaus

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

Reply via email to