C3100 OpenZaurus

From OESF

(Difference between revisions)
Jump to: navigation, search
(Flashing Instructions)
Current revision (03:23, 5 October 2007) (edit) (undo)
(remove gibberish)
 

(2 intermediate revisions not shown.)

Line 32:

Line 32:

Partition number (1-4): 1 (Root partition)
Partition number (1-4): 1 (Root partition)
First cylinder (1-7936, default 1): 1 (Start of disk)
First cylinder (1-7936, default 1): 1 (Start of disk)
-
Last cylinder or size: +256M (256 Mbyte, adjust as desired)
+
Last cylinder or size: 256M (256 Mbyte, adjust as desired)
Command (m for help): n (New partition)
Command (m for help): n (New partition)

Line 38:

Line 38:

Partition number (1-4): 2 (Home partition)
Partition number (1-4): 2 (Home partition)
First cylinder (1-7936, default 1): [hit enter] (Just after hda1)
First cylinder (1-7936, default 1): [hit enter] (Just after hda1)
-
Last cylinder or size: +128M (128 Mbyte, adjust as desired)
+
Last cylinder or size: 128M (128 Mbyte, adjust as desired)
Command (m for help): n (New partition)
Command (m for help): n (New partition)

Current revision

Note: Information concerning OpenZaurus should be first checked on http://www.openzaurus.org. The following tutorial is for reference and completeness of the OESF.org wiki documentation.


Contents

Introduction

This guide is a step by step install guide for OpenZaurus 3.5.4.1Alpha1 with a 2.6 kernel on a Zaurus C3100 / C3200. Although this software is marked as Alpha, it seems very stable and is far better than default Sharp ROM for several reasons: - OZ will install to hard drive. It means no more symlink hell and a very clean system - Better network and wifi support - The system is very fast

Maybe a more detailed presentation of OpenZaurus should be made on the wiki.


Partitionning the hard drive

OpenZaurus 3.5.4.1Alpha1 features a 2.6 kernel and will install the base system to the microdrive instead of NAND memory. As a result, this requires the user to adapt the microdrive partitions size. NOTE: repartionning the microdrive will erase all contained data. Be sure to make a backup of your documents if any.

The partitions used by OpenZaurus are: /dev/hda1 = base system mounted under / /dev/hda2 = user home mounted under /home /dev/hda3 = storage mounted under /media/hd


To create the appropriate partitions, launch a terminal on your Zaurus and issue the following commands:

 #fdisk /dev/hda
 Command (m for help): o (Blow away the partition table)
 Command (m for help): n (New partition)
 Partition type: p (Primary partition [1-4])
 Partition number (1-4): 1 (Root partition)
 First cylinder (1-7936, default 1): 1 (Start of disk)
 Last cylinder or size:  256M (256 Mbyte, adjust as desired)
 Command (m for help): n (New partition)
 Partition type: p (Primary partition [1-4])
 Partition number (1-4): 2 (Home partition)
 First cylinder (1-7936, default 1): [hit enter] (Just after hda1)
 Last cylinder or size:  128M (128 Mbyte, adjust as desired)
 Command (m for help): n (New partition)
 Partition type: p (Primary partition [1-4])
 Partition number (1-4): 3 (Root partition)
 First cylinder (1-7936, default 1): [hit enter] (Just after hda2)
 Last cylinder or size: [hit enter] (Rest of disk)
 Command (m for help): w (Write to disk)

Downloading files to CF/SD for flashing

You will need the following files in the root directory of a CF or SD card. The filenames are case sensitive:

   * gnu-tar
   * hdimage1.tgz
   * zImage.bin
   * updater.sh

You can download the files from the following link: http://ewi546.ewi.utwente.nl/tmp/hrw/3.5.4.1-test/alpha1/spitz-borzoi/

but you will need to rename them:

 zImage-2.6.15-spitz-20060320074320.bin to zImage.bin
 updater.sh-slc3200 to updater.sh
 opie-image-3.5.4.1-alpha1-spitz.rootfs.tar.gz to hdimage1.tgz if you want OPIE environment
 gpe-image-3.5.4.1-alpha1-spitz.rootfs.tar.gz to hdimage1.tgz if you want GPE environment

Flashing Instructions

  1. Turn the zaurus over and flip the battery case switch to “Unlocked”.
  2. Remove the battery cover, and trigget the small reset microswitch on the left.
  3. Replace the battery cover and switch to “Locked”.
  4. Insert the CF card if not inserted already
  5. Plug in the AC power jack. The yellow charge lamp must be on indicating external power, or you will get an error message in japanese later.
  6. Press the “OK” key (in the middle of the arrow keys) and keep it pressed while pressing the “On/Off” button on the front of the device.
  7. The Maintenance Screen will display. Choose “Update” this is item 4.
  8. The next screen will ask for the source to install the image from. Choose “CF” or SD as appropriate.
  9. The next screen asks for confirmation, choose “Y” (Yes) this is the left button
  10. The Zaurus will now erase the flash, write the new image, then reboot to your new Operating System

Finalisation

Note: I think this would be more logical to do this after having created the partitions, but I did it here. Please someone edit this page after having tried other way...

You will need to format partition hda2 and hda3 of the microdrive:

 mke2fs -j /dev/hda2
 mke2fs -j /dev/hda3 (don't know how to format to vfat, ie fat32).

You are done, enjoy!

Personal tools