==================================
Quick notes on the configured debian eabi rootfs tarball
====================================I. Introduction
II. Download
III. What is in this rootfs?
IV. Installation steps (brief)
V. Special notes
I. IntroductionThis tarball is primarily for use with the yonggun (eabi) kernel. For users of other kernels (such as Angstrom and cortez's Poky), please refer to the special notes at the end.
This rootfs can run on the internal drive, a SD card and a CF card.
The yonggun kernel has been verified to be working on C1000, C3100 and C3200 (but not C3000 as it cannot use uboot due to its limited NAND space).
Feel free to post your questions here.
Update: It is now verified that the rootfs tarball also works fine on C3000 with the Angstrom kernel. You don't need uboot at all but just flash the Angstrom kernel in the usual Flash Menu (or the "OK mode"). So skip Steps 5 & 6, and extract
jpmatrix's customization tarball:
tar xvf custo_c3k.tar -C /. , after extracting the rootfs and kernel modules.
II. DownloadDownload the 071201 rootfs tarball here OR
the mirror hereChangelogs
08-04-16
- updated with updater.sh for C1000 (for sharp bootloader)
- updated cackohddfix to v0.2
08-03-21
- updated the instructions to using yonggun kernel 2.6.24-3
07-12-01
- removed leading path (/mnt/card) in the extracted rootfs
- fixed loadkeys in /etc/rc.local
- added yonggun kernel modules: 2.6.22.9, 2.6.23.1, 2.6.23.3 (so users just need to flash the kernel)
- new packages presinstalled: ssh, openssh-client, openssh-server
Note: Those who already got the previous rootfs running do not need this.
III. What is in this rootfs?1) eabi rootfs tarball (Jan 2007)
2) apt-get dist-upgrade (Nov 28 2007) -- FULLY upgraded!
3) yonggun's (= 2or0's) deb packages & keymap (for details, see:
http://yonggun.tistory.com/54 )
Highlights:
-- X-window fully set up (xfbdev)
-- Video and sound playback enabled (mplayer, alsa stuff, xmms)
-- Display auto-rotation between landscape/portrait modes
-- Wireless networking enabled
-- Keymap in pdaXrom's style
-- Mouse keybindings with xbindkeys: [Calendar] = left button; [Address] = middle button; [Mail] = right button
4) fine-tuning with my previous after installation scripts & settings: including hardware clock setting, sources.list with working repos, some basic network setup, usb modules loading, etc.
5) locales installed, generated, and set to en_US.UTF-8 (export added to ~/.profile)
6) additional packages installed:
-- file manager: pcmanfm
-- editor: leafpad
-- browsers: dillo, links2, epiphany-browser, epiphany-webkit
-- essential networking tools: ssh, cvs, subversion
-- hardware management tools: pcmciautils, hdparm
-- archiving tools: bzip2, unrar-free, unzip, xarchiver (tar and zip are already presinstalled in the rootfs)
7) touchscreen calibrated (/dev/input/ts0)

executable paths, compiler architecture optimization options and QT3/QT4 paths (commented) set in ~/.bashrc
9) gtk-icon-theme set to "gnome" (in ~/.gtkrc-2.0)
10) default window manager = icewm + some basic fine-tuning (e.g. the [Menu] key call the wm menu); custom settings files in ~/.icewm
11) backlight adjustment enabled ([Fn]+3, [Fn]+4)
12) sound playback (tuned in alsamixer) with headphone/speaker hot-swapping functionality
IV. Installation steps (last modified: 080321)Step 1: Prepare an
ext2/ext3 formatted media (internal drive/SD/CF) and at least two partitions (
root, swap). A media of
at least 1GB of memory is required.
Step 2: Extract the rootfs tarball to the target media:
tar -xjpf zaurus_eabi_rootfs_071201.tar.bz2 -C to the root level of a CF/SD(depending on which media you want to load Debian)
(NOTE: This can take *quite* a while because the extracted rootfs is almost 700MB. More patience, more joy.)
Also download and extract "modules-2.6.24-yonggun.tar.gz" from
http://yonggun.tistory.com/68 to the same location.
Step 3: Edit
/etc/fstab and assign the correct mount points to the root partition and the swap partition. The default is set to boot from the internal drive. Just comment the lines for /dev/hdaX and uncomment the lines for /dev/mmcblk0pX if debian boots from SD.
Step 4: Flash a new kernel
There are two sets of kernels to work with Debian EABI, one using the default Sharp bootloader and the other using uboot. Both work fine.
================================================================================
Kernel installation for Sharp bootloaderI. Get the latest yonggun kernel here:
http://yonggun.tistory.com/68 (under "For Sharp Bootloader"), rename the kernel image to "
zImage.bin", put it together with this at the root level of a CF/SD. Remove the ".txt" file extension before use.
updater.sh (for C3000/3100/3200) or
this updater.sh (for C1000) II. Reboot the machine into the normal Flash Menu (press [OK] before powering up/rebooting)
III. In the Japanese menu, choose "4", then choose the media, then choose "Y" to confirm.
================================================================================
Kernel installation for UbootI. Install the
pdaXrom uboot (
http://www.pdaxrom.org/?q=node/106)
II. Press [OK] to reboot into the uboot emergency mode.
III. Install the
yonggun kernel For all Cxx00 series:
2.6.24 by running this
autoboot.sh (remove the ending .txt extension) on a SD/CF.
[ Invalid Attachment ]
IV: As soon as booting starts,
press and hold
[1] to boot from SD
press and hold
[2] to boot from the internal drive
press and hold
[3] to boot from CF
================================================================================
Step 5: First boot
Only the root account is set up:
login = root; password = zaurusStep 6:Set the correct date and time:
date MMDDHHMMYYYY e.g. 112814002007 (= Nov 28, 14:00, 2007)
hwclock -wStep 7:Make the kernel modules work
depmod -aStep 8: Set up network connection
Set up your own network profile in
/etc/network/interfaces . A sample file has been provided. After that run
/etc/init.d/networking restartThen plug in your wifi CF card if not inserted yet. If the card fails to work, either take out the card and insert in again, or run
pccardctl eject 1 && pccardctl insert 1That's it. Debian EABI is ready to run.
Run
startx to launch the window manager (icewm).
Run
apt-get install PACKAGE_NAME to install your desired packages.
Run
apt-get update to update the package lists.
Run
apt-get dist-upgrade to upgrade all the upgradable packages.
V. Special notes:Although this is a tailor-made rootfs for running with the yonggun kernels, you may still use it with other eabi kernels, such as the Angstrom kernels and cortez's Poky kernels. YMMV.
Touchscreen issue:
This tarball is primarily tailor made for the yonggun kernel. The touchscreen device is /dev/input/ts0. If you use other kernels, such as Angstrom's, you may have to change to another device, such as /dev/input/event1 (to be verified). Specify the setting in ~/.profile.
Or if you find that the touchscreen pointer goes wild, exit X and run
ts_calibrate in the login shell.