Introduction
This is a Gentoo rootfs archive customized for SL-C1000 models. It may also be useful for owners of the C3x00, but some adjustments will probably be necessary to make it work on these models (like kernel recompilation).
This article and all information and products in it are provided on an "as is" basis, without warranty of any kind, either express or implied. Your use of this article is at your own risk.
Description
The distribution is originally based on stage3-armv5tel-20090623.tar.bz2. The following is configured:
- Added spitz keyboard layout (calendar key toggles langugage).
- All packages are recompiled with
-O2instead ofOs. - USB network.
- WiFi network.
- BlueTooth network (via ppp).
- IrDa network (via ppp).
- The kernel 2.6.24 is compiled with appropriate patches and config.
- The mail led indicates SD card activity.
- Locale is set to
ru_RU.UTF-8. - Timezone is set to GMT +3 (Moscow).
- procps is recompiled with the Debian patches, which fix the 'Unknown HZ value' error.
There are two ways to load the kernel: directly (without a bootloader) or via kexecboot. In the first case you need to flash the kernel (see the manual below). Both versions use the first partition of SD card as root.
The following packages are installed:
alsa-utils bluez-utils dhcpcd elinks (with the Debian patches) zgv gentoo-sources gentoolkit mpc mpd mutt pcmciautils pidgin ppp sdcv syslog-ng vim wireless-tools
Here is a complete list of packages (equery l).
Notes:
- There's no Xorg, because Zaurus is too slow for running it in my opinion.
- The system works quite stable, but optimization for iwmmxt is disabled because of the kernel issue.
/usr/portageis removed from the tarball in order to reduce its size.- The tarball contains the kernel sources with all the patches applied and the
config file (in the
/usr/src/linuxdirectory).
How to install
Kernel (skip this part if you use the kexec bootloader).
- Format a CF or SD card with
mkfs.msdos -t vfat -F 16 /dev/<your-dev-name>. - Put the following files into the root directory of the card:
- zImage.bin (1.2 Mb)
- updater.sh (13 Kb)
- Turn your Zaurus off using
halt. - Connect the Zaurus to A/C power.
- Hold the 'OK' button and press the power on/off button.
- You should see a menu. Select the option #4 and then either 1 or 2 depending on your flash card type. Confirm the kernel installation by selecting Y.
- Wait till your Zaurus reboots and displays the error
Unable to mount root fs.
Rootfs
- Download the rootfs tarball: gentoo-rootfs-20100627.tar.bz2 (206 Mb).
- Format the first partition of your SD card as ext2 or ext3.
- Extract the rootfs to this partition (
tar xvpf gentoo-rootfs-20100627.tar.bz2 -C /mnt/<your-mnt-dir>). - Insert the SD card into the Zaurus and reboot the machine.
Changelog
- 27 Jun 2010
Packages are updated to the current date.
Returned from moc back to mpd, switched from ALSA to OSS to avoid freezing of the daemon.
fim is removed, because zgv is much faster. - 10 Jan 2010
Installed a simple drawing tool called zketcher.
Installed another image viewer called fim.
The kernel is slightly modified in order to block handling of the power key when lid is closed and make touch screen work a bit cleaner. - 04 Oct 2009
Packages are updated to the current date (including glibc).
GPM is installed, works through tslib, useful in elinks.
SDL is patched with the screen rotation support (viaSDL_VIDEO_FBCON_ROTATION).
fbi is replaced with zgv, which is faster, can zoom, etc. - 24 Jul 2009
First public release.