I also have a tiny uClibc based Gentoo root with thttpd, dropbear and busybox using baselayout lite in < 8Mb and some C CGI apps. If you have another PPC system, you can pretty easily set up something similar on any PPC Linux install, but I'm using Gentoo of course. :)
Download the stage3 uclibc tarball. Make sure you get the regular one and not the softfloat version since the 5200b has a floating point unit.
Unpack it and chroot in. From this chroot you can build the uClibc root that will go on your Efika. You will need a portage tree, so sync. You can also configure the rest of the software in the chroot to make it more comfortable to work with (vi!).
Using the ROOT environment variable, you can tell portage where to install software. I created a directory /efika in the chroot and then mounted my destination CF card's root partition in that directory.
I started by emerging baselayout-lite:
Code:
# echo "sys-apps/baselayout-lite -*" >> /etc/portage/package.keywords
# ROOT="/efika" emerge baselayout-lite
This will configure the root file structure (/etc, /bin, etc.)
You'll probably want busybox as well for common unix apps like ls, grep, init, etc.
Code:
# ROOT="/efika" USE="make-symlinks static" emerge busybox
Continue doing this as needed to add whatever you need to your root file system. If your package doesn't support building statically, make sure that you've emerged uclibc to the root as well.
Make sure you configure the rest of the install as well (/etc/fstab, time zone, serial console in inittab, etc.) as in any other normal Gentoo install.
Okay, so that was longer than expected and I glossed over a few details, but it really isn't that difficult. It's much more flexible than other methods and the results are quite impressive.
Feel free to ask if you have any questions.