OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> A Clean, Fresh, Configured Eabi Rootfs Tarball, last updated 080416; see the first post
ZDevil
post Nov 9 2007, 01:20 AM
Post #1





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



==================================
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. Introduction
This 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. Download
Download the 071201 rootfs tarball here OR the mirror here
Changelogs
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)

8) 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 bootloader

I. 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 Uboot

I. 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.
Attached File  autoboot.sh.txt ( 430bytes ) Number of downloads: 356


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 = zaurus

Step 6:
Set the correct date and time:
date MMDDHHMMYYYY e.g. 112814002007 (= Nov 28, 14:00, 2007)
hwclock -w

Step 7:
Make the kernel modules work
depmod -a

Step 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 restart
Then 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 1

That'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.

This post has been edited by ZDevil: Apr 16 2008, 12:25 AM
Reason for edit: Update
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
ZDevil
post Nov 29 2007, 12:34 AM
Post #2





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Thanks, jpmatrix! wink.gif
Added a short instruction in the first post for easy reference.

@adf: the A-Data card issue all depends on the kernel. But the rootfs tarball can be boot on the internal drive, SD and CF. I created this tarball on an SD and everything works. Sound plays well.
Go to the top of the page
 
+Quote Post
sagouin
post Nov 29 2007, 02:25 AM
Post #3





Group: Members
Posts: 1
Joined: 15-November 07
Member No.: 20,947



This is working good on my C1000 with kernel 2.6.22.9 yonggun on a 2GB SD card (Sandisk 133X)
Thank you very much for sharing your work !
Go to the top of the page
 
+Quote Post

Posts in this topic
ZDevil   A Clean, Fresh, Configured Eabi Rootfs Tarball   Nov 9 2007, 01:20 AM
Vitel   That's good idea, I think. BTW, we can also s...   Nov 9 2007, 01:54 AM
ZDevil   Sounds good too. But I wonder how to install the N...   Nov 9 2007, 04:59 AM
Vitel   QUOTE(ZDevil @ Nov 9 2007, 04:59 AM) Soun...   Nov 9 2007, 08:16 AM
Capn_Fish   QUOTE(Vitel @ Nov 9 2007, 10:16 AM) QUOTE...   Nov 9 2007, 09:04 AM
Vitel   QUOTE(Capn_Fish @ Nov 9 2007, 09:04 AM) Y...   Nov 10 2007, 10:41 AM
ThomasR   I am very interested in this! I would reall...   Nov 9 2007, 06:15 AM
ZDevil   Good. Will start working on this tonight....   Nov 9 2007, 06:15 AM
matthis   Indeed, sounds very interesting for me too!...   Nov 9 2007, 07:06 AM
walkman   Give it a try. It would be nice to play a bit with...   Nov 9 2007, 07:12 AM
glac   I'll be eagerly waiting for this! Thanks f...   Nov 9 2007, 08:41 AM
scottlfa   Would be awesome I think to have a pre-packaged ro...   Nov 10 2007, 01:59 AM
scottlfa   I personally think the nand part of the process is...   Nov 10 2007, 10:45 AM
zecrazytux   hoy m8s ! too late and too much pain for my p...   Nov 12 2007, 04:13 PM
jpmatrix   QUOTE(zecrazytux @ Nov 13 2007, 01:13 AM)...   Nov 13 2007, 05:07 AM
zecrazytux   QUOTE(jpmatrix @ Nov 13 2007, 02:07 PM) c...   Nov 13 2007, 05:56 PM
Moad-Dib   QUOTE(zecrazytux @ Nov 14 2007, 02:56 AM)...   Nov 28 2007, 03:26 PM
adf   No joy with the tarball. I've used wget twice ...   Dec 1 2007, 07:32 PM
jpmatrix   QUOTE(adf @ Dec 2 2007, 04:32 AM) No joy ...   Dec 2 2007, 12:25 AM
python   QUOTE(ZDevil @ Nov 9 2007, 05:20 PM) As m...   Nov 19 2007, 07:56 AM
ZDevil   Sorry for keep you waiting. At first I was trying...   Nov 21 2007, 02:53 PM
python   QUOTE(ZDevil @ Nov 22 2007, 06:53 AM) Sor...   Nov 22 2007, 12:13 AM
jpmatrix   QUOTE(python @ Nov 22 2007, 09:13 AM) No ...   Nov 22 2007, 04:13 AM
Fatty   QUOTE(ZDevil @ Nov 22 2007, 06:53 AM) Sor...   Nov 27 2007, 10:03 AM
ZDevil   Hey, Fatty! Glad to see you here again! Ok...   Nov 27 2007, 11:48 AM
Fatty   QUOTE(ZDevil @ Nov 28 2007, 03:48 AM) Hey...   Nov 27 2007, 07:07 PM
ZDevil   QUOTE(Fatty @ Nov 28 2007, 04:07 AM) QUOT...   Nov 29 2007, 01:07 AM
Fatty   QUOTE(ZDevil @ Nov 29 2007, 05:07 PM) Fat...   Nov 29 2007, 05:42 AM
ZDevil   QUOTE(Fatty @ Nov 29 2007, 02:42 PM) QUOT...   Nov 29 2007, 05:57 AM
ZDevil   The tarball is ready! It's 195MB big (clo...   Nov 28 2007, 10:13 AM
jpmatrix   QUOTE(ZDevil @ Nov 28 2007, 07:13 PM) The...   Nov 28 2007, 01:23 PM
ZDevil   Finished uploading (in /uploads ). How can we acce...   Nov 28 2007, 02:42 PM
jpmatrix   QUOTE(ZDevil @ Nov 28 2007, 11:42 PM) Fin...   Nov 28 2007, 10:11 PM
adf   This sounds interesting. You probably remember I h...   Nov 28 2007, 11:24 PM
Fatty   QUOTE(adf @ Nov 29 2007, 03:24 PM) This s...   Nov 29 2007, 05:52 AM
adf   QUOTE(Fatty @ Nov 29 2007, 04:52 AM) QUOT...   Nov 29 2007, 08:38 AM
ZDevil   Thanks, jpmatrix! Added a short instruction ...   Nov 29 2007, 12:34 AM
sagouin   This is working good on my C1000 with kernel 2.6.2...   Nov 29 2007, 02:25 AM
scottlfa   Dutifully downloading this one, great job guys   Nov 29 2007, 02:40 AM
jpmatrix   perhaps i'll backup my existing eabi and try t...   Nov 29 2007, 04:06 AM
jpmatrix   zdevil, your rootfs seems to work on my c3000 ...   Nov 30 2007, 02:42 AM
ZDevil   I have no idea what causes the issues of initial c...   Nov 30 2007, 04:56 AM
jpmatrix   QUOTE(ZDevil @ Nov 30 2007, 01:56 PM) I h...   Nov 30 2007, 05:30 AM
ZDevil   QUOTE(jpmatrix @ Nov 30 2007, 02:30 PM) Q...   Nov 30 2007, 11:41 AM
jpmatrix   QUOTE(ZDevil @ Nov 30 2007, 08:41 PM) I a...   Nov 30 2007, 12:23 PM
crossblaim   from where you make the step 3 to format internal ...   Nov 30 2007, 05:10 AM
ZDevil   QUOTE(crossblaim @ Nov 30 2007, 02:10 PM)...   Nov 30 2007, 05:33 AM
band-aid   How would I go about installing this on my SL-C320...   Nov 30 2007, 09:59 AM
Fatty   QUOTE(ZDevil @ Nov 30 2007, 09:33 PM) QUO...   Nov 30 2007, 10:14 AM
jpmatrix   QUOTE(Fatty @ Nov 30 2007, 07:14 PM) BTW,...   Nov 30 2007, 10:24 AM
ZDevil   QUOTE(Fatty @ Nov 30 2007, 07:14 PM) Last...   Nov 30 2007, 11:24 AM
kkazakov13   Can someone help me ... I got the error mentione...   Nov 30 2007, 01:45 PM
2or0   QUOTE(kkazakov13 @ Nov 30 2007, 01:45 PM)...   Nov 30 2007, 02:56 PM
lineager   QUOTE(2or0 @ Nov 30 2007, 02:56 PM) QUOTE...   Nov 30 2007, 07:48 PM
2or0   QUOTE(lineager @ Nov 30 2007, 07:48 PM) Q...   Dec 1 2007, 10:44 AM
kkazakov13   QUOTE(2or0 @ Dec 1 2007, 08:44 PM) For my...   Dec 1 2007, 12:37 PM
2or0   QUOTE(kkazakov13 @ Dec 1 2007, 12:37 PM) ...   Dec 1 2007, 01:29 PM
adf   QUOTE(2or0 @ Dec 1 2007, 12:29 PM) QUOTE(...   Dec 1 2007, 03:57 PM
kkazakov13   QUOTEStep 2: Extract the rootfs tarball to the tar...   Nov 30 2007, 01:52 PM
jpmatrix   QUOTE(kkazakov13 @ Nov 30 2007, 10:52 PM)...   Nov 30 2007, 02:42 PM
barmalei   QUOTE(jpmatrix @ Nov 30 2007, 02:42 PM) Q...   Dec 1 2007, 12:54 AM
band-aid   Exact same problem here I extracted the rootfs an...   Nov 30 2007, 09:03 PM
ZDevil   So there are three issues to deal with: 1. Failur...   Dec 1 2007, 01:08 AM
jpmatrix   whoooowww! using zdevil rootfs, i've sound...   Dec 1 2007, 05:38 AM
ZDevil   QUOTE(jpmatrix @ Dec 1 2007, 02:38 PM) wh...   Dec 1 2007, 05:44 AM
jpmatrix   QUOTE(ZDevil @ Dec 1 2007, 02:44 PM) QUOT...   Dec 1 2007, 07:45 AM
jpmatrix   here are the error messages about younggun debs : ...   Dec 1 2007, 09:12 AM
2or0   QUOTE(jpmatrix @ Dec 1 2007, 09:12 AM) ed...   Dec 1 2007, 10:45 AM
band-aid   I can't get /mnt/cf to unmount CODEumount /mn...   Dec 1 2007, 05:46 PM
lineager   QUOTE(band-aid @ Dec 1 2007, 05:46 P...   Dec 1 2007, 08:48 PM
ZDevil   Uploading. 25 minutes left. I also found it strang...   Dec 2 2007, 12:42 AM
jpmatrix   QUOTE(ZDevil @ Dec 2 2007, 09:42 AM) Uplo...   Dec 2 2007, 01:17 AM
ZDevil   Okay. Which irc server? Uploading finished. In 071...   Dec 2 2007, 01:21 AM
jpmatrix   QUOTE(ZDevil @ Dec 2 2007, 10:21 AM) Okay...   Dec 2 2007, 01:33 AM
cal   Would it be possible to create a debian install di...   Dec 2 2007, 04:17 AM
ZDevil   Both jpmatrix and I found that the rootfs tarball ...   Dec 2 2007, 04:37 AM
ZDevil   Update: A new tarball is ready. It is tested (twi...   Dec 2 2007, 04:27 PM
jpmatrix   QUOTE(ZDevil @ Dec 3 2007, 01:27 AM) Upda...   Dec 3 2007, 12:27 AM
tux   QUOTE(jpmatrix @ Dec 3 2007, 08:27 AM) QU...   Dec 3 2007, 06:09 AM
ZDevil   QUOTE(tux @ Dec 3 2007, 03:09 PM) Hope th...   Dec 3 2007, 10:04 AM
jpmatrix   new rootfs is available : http://matrixmen.free.f...   Dec 3 2007, 09:43 AM
ZDevil   Thanks, jpmatrix. Just updated the link in the fir...   Dec 3 2007, 10:00 AM
dinorex   thx mate... i've just kicked off the dl rite ...   Dec 3 2007, 12:09 PM
ZDevil   Good luck, man! Tell me how things go here.   Dec 3 2007, 12:17 PM
Fatty   QUOTE(ZDevil @ Dec 4 2007, 04:17 AM) Good...   Dec 3 2007, 07:26 PM
dinorex   hi all zdevil / fatty, i am too bc in sydney for ...   Dec 3 2007, 09:33 PM
kkazakov13   Downloaded twice, the archive is broken QUOTEwa...   Dec 4 2007, 08:47 AM
jpmatrix   QUOTE(kkazakov13 @ Dec 4 2007, 05:47 PM) ...   Dec 4 2007, 09:18 AM
kkazakov13   QUOTE(jpmatrix @ Dec 4 2007, 07:18 PM) do...   Dec 4 2007, 09:22 AM
jpmatrix   QUOTE(kkazakov13 @ Dec 4 2007, 06:22 PM) ...   Dec 4 2007, 09:31 AM
ZDevil   That's strange. I have already extracted it tw...   Dec 4 2007, 09:32 AM
Fatty   QUOTE(ZDevil @ Dec 5 2007, 01:32 AM) That...   Dec 4 2007, 09:42 AM
jpmatrix   QUOTE(ZDevil @ Dec 4 2007, 06:32 PM) That...   Dec 4 2007, 09:51 AM
jpmatrix   QUOTE(ZDevil @ Dec 4 2007, 06:32 PM) That...   Dec 4 2007, 10:29 AM
kkazakov13   QUOTE(jpmatrix @ Dec 4 2007, 08:29 PM) QU...   Dec 4 2007, 10:33 AM
ZDevil   QUOTE(kkazakov13 @ Dec 4 2007, 07:33 PM) ...   Dec 4 2007, 10:36 AM
ZDevil   Well, if that's the case, Two solutions: -- I...   Dec 4 2007, 09:46 AM
kkazakov13   QUOTE(ZDevil @ Dec 4 2007, 07:46 PM) Well...   Dec 4 2007, 10:41 AM
ZDevil   QUOTE(kkazakov13 @ Dec 4 2007, 07:41 PM) ...   Dec 4 2007, 11:00 AM
kkazakov13   QUOTE(ZDevil @ Dec 4 2007, 09:00 PM) The ...   Dec 4 2007, 11:02 AM
3 Pages V   1 2 3 >


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th December 2014 - 02:19 PM