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

IPB

Welcome Guest ( Log In | Register )

20 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> 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
Vitel
post Nov 9 2007, 01:54 AM
Post #2





Group: Members
Posts: 47
Joined: 25-April 06
Member No.: 9,703



That's good idea, I think.

BTW, we can also simplify the UBOOT INSTALLATION and KERNEL INSTALLATION steps by uploading internal flash backups for all Z models. For example, I can upload my internal flash for C1000 with already installed Uboot and Kernel kernel 2.6.22.9 yonggun. So, it will make installation a little bit simpler (via NAND flash restore DM feature).
Go to the top of the page
 
+Quote Post
ZDevil
post Nov 9 2007, 04:59 AM
Post #3





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



Sounds good too. But I wonder how to install the NAND backup image.
Go to the top of the page
 
+Quote Post
ThomasR
post Nov 9 2007, 06:15 AM
Post #4





Group: Members
Posts: 5
Joined: 18-June 07
Member No.: 17,265



I am very interested in this! rolleyes.gif I would really like to see how debian runs on my SL-C1000, but I have not had much luck. But thats mostly user error tongue.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Nov 9 2007, 06:15 AM
Post #5





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



Good. Will start working on this tonight.... wink.gif
Go to the top of the page
 
+Quote Post
matthis
post Nov 9 2007, 07:06 AM
Post #6





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



Indeed, sounds very interesting for me too!!
Go to the top of the page
 
+Quote Post
walkman
post Nov 9 2007, 07:12 AM
Post #7





Group: Members
Posts: 76
Joined: 26-September 07
Member No.: 20,757



Give it a try. It would be nice to play a bit with yet another distro until I finally settle down on a final decision wink.gif.
Go to the top of the page
 
+Quote Post
Vitel
post Nov 9 2007, 08:16 AM
Post #8





Group: Members
Posts: 47
Joined: 25-April 06
Member No.: 9,703



QUOTE(ZDevil @ Nov 9 2007, 04:59 AM) *
Sounds good too. But I wonder how to install the NAND backup image.

It's described here, for example: http://www.oesf.org/forum/index.php?showtopic=24199

QUOTE
Issue: My Z won't boot after trying to install pdaXrom. I want to go back to ROM xyz.

Solution: Do a NAND restore. Download the correct file from here (select your Z model on the right):

http://www.trisoft.de/en_downloads.htm

and put the SYSTCXXX.DBK file on an SD/CF card (FAT16 formatted). remove all power from the Z (battery and AC), then hold Fn+D+M and insert the adapter. YOu should get a diagnostics menu. Go to the third page and select NAND restore. Note that you should only have one card (either SD or CF in the Z at this point).
Go to the top of the page
 
+Quote Post
glac
post Nov 9 2007, 08:41 AM
Post #9





Group: Members
Posts: 18
Joined: 22-September 07
Member No.: 20,647



I'll be eagerly waiting for this! Thanks for your hard work!
Go to the top of the page
 
+Quote Post
Capn_Fish
post Nov 9 2007, 09:04 AM
Post #10





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



QUOTE(Vitel @ Nov 9 2007, 10:16 AM) *
QUOTE(ZDevil @ Nov 9 2007, 04:59 AM) *
Sounds good too. But I wonder how to install the NAND backup image.

It's described here, for example: http://www.oesf.org/forum/index.php?showtopic=24199

QUOTE
Issue: My Z won't boot after trying to install pdaXrom. I want to go back to ROM xyz.

Solution: Do a NAND restore. Download the correct file from here (select your Z model on the right):

http://www.trisoft.de/en_downloads.htm

and put the SYSTCXXX.DBK file on an SD/CF card (FAT16 formatted). remove all power from the Z (battery and AC), then hold Fn+D+M and insert the adapter. YOu should get a diagnostics menu. Go to the third page and select NAND restore. Note that you should only have one card (either SD or CF in the Z at this point).


You can't do a NAND restore of a backup that has uBoot installed. uBoot messes up something so the restore tool won't restore it correctly, or so I gather.
Go to the top of the page
 
+Quote Post
scottlfa
post Nov 10 2007, 01:59 AM
Post #11





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



Would be awesome I think to have a pre-packaged rootfs.
Go to the top of the page
 
+Quote Post
Vitel
post Nov 10 2007, 10:41 AM
Post #12





Group: Members
Posts: 47
Joined: 25-April 06
Member No.: 9,703



QUOTE(Capn_Fish @ Nov 9 2007, 09:04 AM) *
You can't do a NAND restore of a backup that has uBoot installed. uBoot messes up something so the restore tool won't restore it correctly, or so I gather.

Thanks for clarification, Capn_Fish.
Go to the top of the page
 
+Quote Post
scottlfa
post Nov 10 2007, 10:45 AM
Post #13





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



I personally think the nand part of the process is the easiest, include the exact kernel.img and files along with the image. That way its two relatively clean steps. Step one setup u-boot and step two untar the rootfs. Would be awesome to have a setup rootfs right off ... no fiddling with ts this and that smile.gif
Go to the top of the page
 
+Quote Post
zecrazytux
post Nov 12 2007, 04:13 PM
Post #14





Group: Members
Posts: 35
Joined: 6-January 07
From: france, troyes
Member No.: 13,741



hoy m8s !

too late and too much pain for my poor eyes, i need too sleep smile.gif
so i neither release anything nor write some docs or explanations now...

just wanna say that i could post a working rootfs of Debian Sid running e16 with right click support (well, seems to be, as i get menu/settings then i tap on the desktop with fn/ctrl keys )

i'm very surprise about anything quite important: the speed.
Last time, xfce4 was so slow that i tried to run matchbox, blackbox, and so on. I though that was acceptable, but that EABI wasn't as fast as i had heard.

now, i can tell you that that's uncomparatively faster than pdaxrom or old OABI builds of OE
especielly E16 is even faster than openbox ohmy.gif

for now vim is broken, and i need some time to polish that rootfs. but if anyone is interested, i would post it smile.gif


if anyone knows how to get rid of the "help board" of e16 (explaining what would happen if i do this or that), that'll be very nice to tell me biggrin.gif
i also can set up a feed for new compiled eabi packages on my server, which as a low bandwith, but it can be convenient ?

by for now, hope i'll could get up in 5 hours ]biggrin.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Nov 13 2007, 05:07 AM
Post #15





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(zecrazytux @ Nov 13 2007, 01:13 AM) *
just wanna say that i could post a working rootfs of Debian Sid running e16 with right click support (well, seems to be, as i get menu/settings then i tap on the desktop with fn/ctrl keys )


cool
why e16 and not e17 ? e17 works great under angstrom

QUOTE(zecrazytux @ Nov 13 2007, 01:13 AM) *
i'm very surprise about anything quite important: the speed.
Last time, xfce4 was so slow that i tried to run matchbox, blackbox, and so on. I though that was acceptable, but that EABI wasn't as fast as i had heard.


did you try icewm too ? i wonder if e16/e17 is faster than icewm...

QUOTE(zecrazytux @ Nov 13 2007, 01:13 AM) *
i also can set up a feed for new compiled eabi packages on my server, which as a low bandwith, but it can be convenient ?
by for now, hope i'll could get up in 5 hours ]


wake up ! it's 14h07 in France !!! wink.gif
Go to the top of the page
 
+Quote Post

20 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: 18th December 2014 - 03:26 AM