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

IPB

Welcome Guest ( Log In | Register )

> Tutorial: Pdaxrom On Sl-6000, Everything you want to know, and less!
jcabrer
post Aug 17 2005, 11:02 AM
Post #1





Group: Members
Posts: 161
Joined: 23-June 05
Member No.: 7,429



Updated for 1.1.0 Beta 1

First a disclaimer: I am not responsible for any damage caused by the advice I give. I do my best to give information that is helpful AND accurate, but hey, everybody makes mistakes now and then. This tutorial will address all of those questions that need answers as well as questions that need asking. A lot of this information can be found in other places, I may not always give credit to others, but it is by no means intentional.

Tutorial for SL-6000 owners wanting to run pdaXrom ( Starting with Katherin RC10 )

This tutorial assumes that you have already decided on or been coerced into installing pdaXrom on your "virgin" SL-6000.

Note: An SL-6000 (or any other Zaurus model for that matter) is considered a "Virgin" when it has never been touched by a ROM Distro other than the one given to it by Sharp. Of course some of you have taken the plunge already and maybe you went back to the original rom, but as we all know, without surgery, you can only be a virgin once.

Chapter 1 - Flashing your SL-6000 with pdaXrom Katherin RC10

There are various methods for accomplishing this. I will describe the only one that I have tried. Please remember, "Bricked" ain't just a river in Egypt! If you don't/can't pay attention to detailed instructions, stop reading this or get professional help.

Synopsis of the flashing procedure
1. Obtain the Guylhem ROM Distro for SL-6000 (This step is optional)
2. Obtain the pdaXrom Katherin RC10 distro for SL-6000
3. Perform the post-flash procedures
4. Test things out.

The Devil Is In The Details

One thing you should have before you begin is a 128Mb Compact Flash Card formated with windows FAT to hold the install files. You can probably do it with 64Mb, but I can't say that all the files will fit for both Guylhem and pdaXrom.

1. Obtain the Guylhem ROM Distro for SL-6000 (optional)

There is only one reason for installing the Guylhem ROM distro before pdaXrom. To make a long story short, there are misgivings about various ways or re-sizing the SL-6000 partitions, but some have found that installing Guylhem ROM does the resize as part of the install procedure. You can skip this step, and everything should still work fine, but it will cost you a bit of storage space. I'm not sure how much. My SL-6000 show a root partition size of 58368 1k-blocks. Any larger, and you risk overwriting the protions of NAND memory that store the routines that allow the Zaurus to be flashed and re-flashed, the result of which is "Bricked"!

Follow this link for Guylhem ROM installation instructions

You only need to go to step "E." Then you can come back here and continue.

2. Obtain the pdaXrom Katherin RC10 distro for SL-6000

This is the main event. After this you'll wonder why anyone runs anything but pdaXrom. Maybe. Maybe not.

Get the pdaXrom RC10 distro here

There is a nice howto here on installing pdaXrom on SL-6000, but it has steps which we will need to skip, so read it, but don't follow it (at least not all of it). Instead, do this:
(0)- Plug your SL-6000 into the external power cable. DO NOT FLASH YOUR ZAURUS USING BATTERY POWER!!!

(1)-Put these files on your card: You can download these 3 files from: http://212.10.30.205/rc10/Zaurus-SL6000/ka...n-rc10-tosa.zip

tools.tar
initrd.bin
updater.sh

(2)-Put your card on your Zaurus and push the reset button (found on the back of the unit) with the tip of your stylus. Now, hold the 'OK' button and push the 'ON' button.

(3)-You will see the "maintenance menu". Go to number 4 (update).

(4)-When your Zaurus reboots, you will see the pdaXrom installer!

You will be tempted to "Explore" these menus. Resist!

(5)-You will see the "maintenance menu". Go to number 4 (update).

(6)-When your Zaurus reboots and shows the pdaXrom installer, go to the first choice (Install new ROM), press OK, and wait...

Now pdaXrom is auto-installing

(7)-(This Step Removed)

(8)-When the installer returns to the main menu, select reboot and press OK.

(9)-Now pdaXrom is installed, let me explain to you how you can configure it.

3. Perform the post-flash procedures

The system should begin booting. You will notice a Bluish pdaXrom banner at the top of your screen, and scrolling text below.

The first boot will require a lot of time. This is because ssh needs to generate several keys. Very intense calculations... Don't get antsy. Just wait it out.

When the system is completely booted, you will be presented with the Login: prompt.

enter "root" and you will be at the command line.

Before doing anything else, do the following:
[TYPE]

tar --no-same-owner -xf /root/.home_default.tar

[PRESS ENTER]

This configures your X11 environment to look pretty. If you skip this, your X11 session will be impossible to use.

Now you are ready to

[TYPE]

startx

[PRESS ENTER]

Follow the screen calibration procedure

You are done!

If you screw up calibration, and can't get a workable X mouse after, reboot the Z
and run ts_calibrate after logging in as root.


4. Test things out.


Have a look around. Pretty isn't it? There are monsters lurking in dark corners, but we will bring them into the light for you to play with.

Chapter 2 - Networking

Before we start installing all kinds of good things, we need to address some issues that will make life easier.

0. Fix some annoying power control problems.
1. Get WIFI working.
2. Get USB Cradle Networking working.
3. Get a local feed going for installs using Apache Web Server

First off, let me just say that Suspend works ok on the SL-6000. It's when you wake up that you may have a headache. I'll give a detailed fix for this later, but for now we will implement a quick temporary fix.

Open the Light and Power management and set the Suspend and Screen Off values to Zero (0) for both Battery and AC Power. That's it.

Ok. On to the wireless. In its current state, RC10 Wireless networking cannot be enabled using the GUI utilities. For those of you who don't know how to use the console or vi, I appologize, but this is not a tutorial for that.

For this example I need a few things in advance.

Wireless Router:
SSID or ESSID = ECHO
Router IP Address = 192.168.200.1 (or 192.168.0.1, or 192.168.1.1, or what ever your router happens to be)

edit the file /etc/wlan/wlan.conf

and locate the following line:

SSID_wlan0=""""

change to:

SSID_wlan0="ECHO" (or whatever you Router SSID is)

That's it. Save the file and move on.

# cp /etc/wlan/wlancfg-DEFAULT /etc/wlan/wlancfg-ECHO

create a new file called wifiup in your home directory

#cd (gets you to /home/root)
#vi wifiup

Add the following and save the file:

killall dhcpcd
/etc/rc.d/init.d/wlan start
dhcpcd wlan0
ifconfig

Once the file is saved, make it executable, and create a symlink in /usr/bin

# chmod 755 ./wifiup
# ln -s /home/root/wifiup /usr/bin/wifiup

Now you can activate wireless by typing wifiup

Similarly, you could create a file called wifidown with the following content to disable wireless

killall dhcpcd
/etc/rc.d/init.d/wlan stop
ifconfig

again

# chmod 755 ./wifidown
# ln -s /home/root/wifiup /usr/bin/wifidown

Later we might create icons to do this, but probably this will be fixed in the next release.

Now that wireless is working (It should be working), we can set up the Package manager to install from a remote feed. We want to do this because we need Apache for our local feed, and X11vnc because typing all this stuff on that little keyboard is getting harder and harder.

If you open the Package Manager and look at the settings tab, you will see that there is a feed already there. Remove it.

In the New Feed: type

http://212.10.30.205/rc10/Zaurus-SL6000/feed

and click the Add button. Then add

http://www.pdaxrom.org/unstable

if you want the unstable feed.

A word about installing on SD and CF cards. By default, the Package Manager wants to install everything on the root partition. This partition only has about 25Mb free, so you want to avoid installing there unless you really have to. If you install there by accident, you can always uninstall and try again.

There are 3 packages that I know of that MUST be installed to /. They are Apache, MySQL Server, Apache PHP Module, Jikes Java Compiler, and the Java Classes. With those exceptions, everything else I have installed can go on the SD or CF cards...

Well, not exactly. You see, I have a 1Gb SD with and ext2 partition, and a 1Gb CF with vFAT partition. The CF card is fine for holding things like files of all kinds (tar.gz, mp3/ogg, wav, txt, pdaXrom installation stuff, feed files), but it bombs when you try and extract most tar.gz files to it. That's where the SD card comes in handy. The ext2 partition never complains. You can install IPKs there all day long, and for the most part they will create their own symlinks on the root.

Coming in Chapter 2, 3, 4, 5...

-Setting up Apache on your SL-6000 so you don't have to get you software from remote feeds.

-Configuring your local feed

-Getting WIFI working

-Getting USB Cradle Network Link Working

-Fixing Direction pad so that it correctly adapts to a rotated screen.

-Adding a second rotation button for opposite direction

-Mounting network drives from Windows PCs

-Installing a working development environment
Go to the top of the page
 
+Quote Post

Posts in this topic
jcabrer   Tutorial: Pdaxrom On Sl-6000   Aug 17 2005, 11:02 AM
Laze   I think we found a maintainer for the SL6000 secti...   Aug 17 2005, 11:16 AM
adf   very nice. this bit "tar --no-same-owner -xf...   Aug 17 2005, 12:00 PM
jcabrer   I'll take requests if you would like to have t...   Aug 17 2005, 12:17 PM
adf   er.... any luck with ir keyboards, usb keymaps and...   Aug 17 2005, 12:25 PM
antoniovf   Please can you explain where We have to write the ...   Aug 19 2005, 04:17 AM
rip   whaouuuu, great stuf coming for our lovely 6000L t...   Aug 19 2005, 08:18 AM
eji   Is it really possible to skip the repartition? I d...   Aug 19 2005, 08:30 AM
miskinis   Procedure worked for me, and my new (used) SL-6000...   Aug 19 2005, 03:15 PM
adf   / should't be that low. move stuff to sd. OR r...   Aug 19 2005, 04:22 PM
miskinis   I forgot to mention, (Sorry), that I did not insta...   Aug 19 2005, 06:01 PM
adf   the sd card fix is in the feed... just lok for sd ...   Aug 19 2005, 06:13 PM
eji   @ miskinis: So you skipped the repartition and it ...   Aug 20 2005, 01:52 AM
miskinis   QUOTE(eji @ Aug 20 2005, 09:52 AM)@ miskinis:...   Aug 20 2005, 07:18 AM
adf   eji; if you used guylhem rom you repartitioned. Th...   Aug 20 2005, 08:37 AM
miskinis   QUOTE(adf @ Aug 20 2005, 04:37 PM)if you used...   Aug 20 2005, 09:19 AM
adf   just left click and you'll get "flash res...   Aug 20 2005, 11:52 AM
johnw   My problem is this. A few weeks ago I followed th...   Aug 20 2005, 03:58 PM
adf   as usual ... do anything like this at your own ris...   Aug 20 2005, 05:08 PM
miskinis   QUOTE(adf @ Aug 21 2005, 01:08 AM)Just did th...   Aug 20 2005, 09:32 PM
miskinis   Darn, I've been having problems all day. Twic...   Aug 21 2005, 04:09 PM
miskinis   Wow, happened again, seemed dead after a "shu...   Aug 21 2005, 04:58 PM
miskinis   Is there an error in the tutorial? It seems the t...   Aug 21 2005, 05:43 PM
adf   I dunno.... I always use the repartition method. S...   Aug 21 2005, 06:00 PM
miskinis   I did the repartitioning, by installing the Guyhel...   Aug 21 2005, 06:11 PM
adf   depends what you mean.... I usually just say ...   Aug 21 2005, 07:15 PM
miskinis   QUOTE(adf @ Aug 22 2005, 03:15 AM)I usually j...   Aug 21 2005, 08:45 PM
adf   I use the suspend from the menu. its usually ok.   Aug 21 2005, 09:41 PM
johnw   QUOTE(adf @ Aug 20 2005, 08:08 PM)as usual .....   Aug 22 2005, 05:57 AM
johnw   QUOTE(johnw @ Aug 22 2005, 08:57 AM)QUOTE(adf...   Sep 14 2005, 08:59 AM
robyinno   I have installed pdaxrom on SL 6000L before read t...   Aug 22 2005, 02:27 AM
robyinno   The problem 3 is solved: The cf card had 2 partiti...   Aug 22 2005, 06:27 AM
miskinis   Just an update, to clarify the shutdown issue. I ...   Aug 22 2005, 08:01 AM
rip   just a quick feedback about my experience: follow...   Sep 17 2005, 11:35 AM
jcabrer   I was going to update this howto today, and fix br...   Mar 8 2007, 02:12 PM
radiochickenwax   QUOTE(jcabrer @ Mar 8 2007, 10:12 PM)I was go...   Mar 8 2007, 02:54 PM
xjqian   QUOTE(jcabrer @ Mar 8 2007, 05:12 PM)I was go...   Mar 9 2007, 04:34 PM
miskinis   A couple of extra things that should be included i...   Mar 10 2007, 06:09 AM
ckblackm   Is there any development being done on this for th...   Mar 14 2007, 06:07 AM
jcabrer   QUOTE(ckblackm @ Mar 14 2007, 07:07 AM)Is the...   Mar 14 2007, 05:19 PM
ckblackm   I read the tutorial for the 6000, and had a couple...   Mar 14 2007, 06:03 PM
xjqian   QUOTE(ckblackm @ Mar 14 2007, 09:03 PM)1) Doe...   Mar 14 2007, 08:50 PM
daniel3000   QUOTE(ckblackm @ Mar 15 2007, 04:03 AM)I read...   Mar 15 2007, 05:51 AM
xjqian   I've started a thread in the 6000 subforum: ht...   Mar 14 2007, 10:31 PM
xjqian   In beta1 feed, I found pdaXrom-builder with conlic...   Mar 14 2007, 11:00 PM
Meanie   QUOTE(xjqian @ Mar 15 2007, 05:00 PM)In beta1...   Mar 15 2007, 03:19 AM
xjqian   QUOTE(Meanie @ Mar 15 2007, 06:19 AM)actually...   Mar 15 2007, 05:44 PM
Meanie   QUOTE(xjqian @ Mar 16 2007, 11:44 AM)QUOTE(Me...   Mar 15 2007, 06:11 PM


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: 28th November 2014 - 01:47 AM