Thanks greguu
I have been able to get around the busybox thing and then hit another problem with a bug in the armv5 version of perl that was installed on voidz so had to recompile a newer version of that.
Many cycles later and lots of hacking I decided to give the full version of LFS a miss as it clearly does not take into account the arm architecture.
I haven't given up though, found another version of LFS called CLFS (https://clfs.org/view/clfs-embedded/arm/) which looks like it might work on the zaurus. In the process of compiling GCC. I think this is day 3, hahaha....
In my travels I came across something interesting called the Yocto Project. Has anyone had any experience with this specifically for the Zaurus?
I see a contribution from a Richard Purdie for the zaurus called zaurusd (https://git.yoctoproject.org/zaurusd/) which looks promising.
From what I understand, if the Yocto Project can handle armv5te then you should be able to cross compile a complete custom linux distribution at will. In the process of getting my head around how it all works.
Cheers
illbay
Hi illbay,
yes, Yocto, formerly OE had even Zaurus support, but I am not sure how well it is maintained today in regards to armv5tel.
From personal experience, if you like to built from scratch and if you are really keen, you could try gentoo.
They still maintain a stage3-armv5tel-openrc rootfs it seems. Check their servers.
You can use the Void Linux kernel and kexecboot kernel to boot the rootfs, I am sure.
But you will need a large CF card or drive to hold all the src and dl data for the compilation stage.
There are posts here on OESF on how to swap the internal drive.
Once you got a large drive, 8GB or more, then install the gentoo rootfs.
Then bootstrap from the stage3, but make sure you have a ethernet connection (CF recommended) and
setup ccache and distcc alongside another x86-64 host ideally running a recent gentoo or arch.
This is should be all documented on the excellent gentoo manuals and wiki.
The Zaurus can be configured to just do the preprocessing and the x86-64 will do the actual gcc compilation work.
This will be still much slower than pure cross-compiling, but it will work.
You will learn also a lot on the way on how to set up your linux / gnu system.
Cheers,
Greguu