This is a reference guide on how to install Void Linux (armv5tel-musl) on a Sharp Zaurus (C3x00) device.
Please use at your own risk.Note: C1000 (Akita) is not officially supported, but instructions for Akita are nearly identical. Please use the "Frankenstein" kexecboot kernel and ext3 as rootfs for Akita01. Install kexecboot kernelA kexecboot kernel is required to boot Void Linux on your Zaurus. If you do not have already a kexecboot kernel installed, get one from the sources below and follow the instructions.
C3x00 :
Download (Kexecboot 4.14.18 Voidz)
C3x00 :
Download (Kexecboot 3.10 ALARMZ)
C1000 :
Download1. Extract the tar.gz file to a FAT formatted SD or CF card (SD recommended)
2. Remove battery and power adapter cable
3. Wait for a few seconds
4. Replace battery, close and lock the battery cover
5. Attach power cable
6. Push the OK button while pressing on/off switch
7. The device will enter a menu (Japanese)
8. From the menu options choose option "4" (Update), next "2" (SD) and confirm "Y"
8. The device will reboot an present you with a boot-menu
02. Get the root file system Note: The rootfs is updated regularly and very much experimental at this stage. Each build will feature a build number, eg Build-002. Please use always the latest build available for a fresh install. Cxx00:
DownloadChanges (build7) :- Linux Kernel 4.19.0 - All packages build with GCC 8.2.0
To install the Void Linux rootfs, please follow the instructions below:
02.1. Format a SD memory card with f2fs or ext4 - make sure to set the correct device
mkfs.f2fs /dev/sdx1
mkfs.ext4 /dev/sdc1 -O^metadata_csum
mkfs.ext4 /dev/mmcblk0p1 -O^metadata_csum
Note: If using e2fsprogs version >=1.43.9 you will need to exclude the metadata checksum feature upon creation as shown above otherwise the kexecboot kernel will fail to mount it. Keeping the feature enabled (default with newer e2fsprogs) will likely slow things down on the Zaurus.02.2. Extract the downloaded rootfs tar.xz onto the SD card using the tar command, umount and boot the SD card on the Zaurus.
mount /dev/sdx1 /mnt
cd mnt
tar xf /root/void-somelongnameanddate.tar.xz
02.3. Logon as root (default password is "voidlinux") and change root password via the "passwd" command.passwd
4. Edit /etc/rc.conf and adjust your timezone. (vi or nano)nano /etc/rc.conf
Note: Leave HOSTNAME and HARDWARECLOCK commented out. 5. Enable dropbear (sshd), udhcpc, ntpd and alsaln -s /etc/sv/busybox-ntpd /var/service
ln -s /etc/sv/busybox-udhcpc /var/service
ln -s /etc/sv/dropbear /var/service
ln -s /etc/sv/alsa /var/service
Note: This should bring up ethernet (CF or USB) via dhcp automatically and set the correct time as well as enable ssh listening on port 22 as default.6. Enable WiFiMake sure the CF or USB WiFi device is connected.
If you have a prism based card, it may be required to blacklist the orinoco_cs module fist. Reboot or "rmmod" the orinoco modules.
echo "blacklist orinoco_cs" > /etc/modprobe.d/blacklist.conf
Then setup you WiFi connection. The example is for WPA enabled networks:
ip link show
ip link set up <device_name>
wpa_passphrase <MYSSID> <key> >> /etc/wpa_supplicant/wpa_supplicant-<device_name>.conf
iwconfig <device_name> mode managed
wpa_supplicant -B -i <device_name> -c /etc/wpa_supplicant/wpa_supplicant-<device_name>.conf -Dwext
udhcpc -i <device_name>
ping google.com
Note: An automated WiFi setup on boot can be achieved by using wpa_actiond. This needs to be documented and tested. The above commands were confirmed working with prism based CF card DLINK DWL-660W on WPA2 enabled networks. (Firmware 1.8.2)7. Set up audio (alsa)To enable sound output, unmute the headphone or speaker channels via alsamixer and store the settings afterwards. Play a sound file to test.
alsamixer
alsactl store
aplay toptune.ogg
8. Set up the package feedNote: This is an experimental feed that contains packages for build7. If you installed a previous rootfs, you can upgrade to build7 using xbps-install!echo 'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build8' > /etc/xbps.d/00-repository-main.conf
xbps-install -Su
9. Start using Void.https://wiki.voidlinux.eu/Note: Void for Zaurus (voidz) is very basic at this stage does not feature any graphical desktop.THIS GUIDE IS WORK IN PROGRESS AND NOT COMPLETE. ANY ISSUES OR QUESTIONS RELATED TO VOID INSTALLATION, PLEASE POST BELOW. THANKS.