NW   NE
 

Sharp Zaurus Developer Information

Corrections and Comments: Spencer Huang
 
SW   SE
NW   NE
 
Howtos

Upgrading The ROM

Connectivity
Wireless 802.11b

Linux Connectivity
Generic (USB)
Debian (USB)
Red Hat (USB)
Suse (USB)
Mandrake (USB)
Generic (PPP USB)
Generic (PPP Serial)

Windows Connectivity
Win2K (Serial)
Win98se (Serial)
WinMe Over (Serial)
WinNTSP6 (Serial)
WinXP Over (Serial)

Developing
Compiler Setup
Compiling the Kernel
Special Considerations
Checklist
System Layout
Application Help Files
IPKG Howto
Buzzer Howto
Led Howto
IrDa Howto
Audio Howto
Fullscreen Howto
Resume Event
Keys
Turning off the screen

Syncing
Linux
Win2K
Wireless

Other
Wireless Comparison
The Z Boot Process
Ipv6 Setup
Servers Setup
SD And CF FAQ
Setting Up A Feed
Converting TTF fonts
Building a ROM
MPEG Encoding

Downloads
ZaurusZone Feed
Links
 
SW   SE
NW   NE
 

SD and CF FAQ.

Quick CF Format Howto
#umount /dev/hda1
#mkfs.msdos /dev/hda1
#mount /dev/hda1 /mnt/cf

Quick SD Format Howto
#umount /dev/mmcda1
#mkfs.msdos /dev/mmcda1
#mount /dev/mmcda1 /mnt/card

1) SD and MMC Comparison and Information

MMC and SD cards are two types of flash memory cards that can be inserted into the SD slot on the side of the Zaurus.

-MMC cards access time is greater then SD cards. (they are slower)
-MMC cards occasionally have issues remounting
-MMC cards work with any partition scheme or filesystem without problems.
-MMC cards are generally cheaper than SD cards

-SD card users have reported problems with filesystem corruption when they have attempted to reformat and/or repartition the SD card. The consensus seems to be that SD cards work fine so long as the filesystem is left alone.
-While SD cards support copy protection features, the Zaurus does not support these features, so they're purely flash cards for the Zaurus.
-The Zaurus does not currently support any I/O SD cards, such as the recent bluetooth SD cards.
-SD cards are usually expensive. You're paying for the copy protection and speed features that the Zaurus can't take advantage of.

Current List of Good and Bad Cards:
+--------------+-------+------+------------+--------+------+-----------+
| Manufacturer | Media | Size | Identifier | Zaurus | ROM  | Comment   | 
+--------------+-------+------+------------+--------+------+-----------+
| AVL          | CF    |  128 | 019381     | 5500   | 2.12 | OK        | 
| AVL          | CF    |  128 | 019381     | 5500   | 2.20 | OK        |
| Hitachi      | MMC   |   64 |            |        | 1.03 | OK        |
| Hitachi      | MMC   |   64 |            |        | 1.11 | OK        |
| HP           | CF    |   32 |            |        | 1.11 | FAT16 OK  |
| HP           | CF    |   64 |            |        | 1.11 | FAT16 OK  |
| Kingston     | CF    |  128 |            |        |      | FAT16 OK  |
| Kingston     | SD    |  128 | M128B1     |        |      | EXT2 OK   |
| Kodak        | CF    |    8 |            |        |      | OK        |
| Lexar        | CF    |  512 |            |        |      | OK        |
| Lexar        | MMC   |   64 |            |        |      | OK        |
| Lexar        | SD    |  128 |            |        |      | OK        |
| Mr. Flash    | CF    |  512 |            |        | 1.11 | FAT16 OK  |
| Mr. Flash    | SD    |  128 |            |        | 1.11 | FAT16 OK  |
| Panasonic    |       |      |            |        |      |           |
| SanDisk      | CF    |  128 |            |        | 1.11 | FAT16 OK  |
| SanDisk      | CF    |  160 |            |        | 1.11 | FAT16 OK  |
| SanDisk      | MMC   |   32 |            |        | 1.12 | Bad       |
| SanDisk      | MMC   |   32 |            |        |      | OK Backup |
| SanDisk      | MMC   |   64 |            |        | 1.12 | Bad       |
| SanDisk      | MMC   |   64 |            |        | 1.12 | OK        |
| SanDisk      | SD    |   16 |            |        |      | OK        |
| SanDisk      | SD    |   64 |            |        | 1.10 | OK        |
| SanDisk      | SD    |  128 | 0205LQ     | 5500   | 2.20 | Bad       |
| SanDisk      | SD    |  128 | 0201LM     | 5500   | 2.20 | OK        |
| SanDisk      | SD    |  128 | 0203LM     | 5500   | 2.20 | OK        |
| SanDisk      | SD    |  128 | 0112KZ     |        |      | No Backup |
| SanDisk      | SD    |  256 |            |        |      | OK        |
| Simple Tech  |       |      |            |        |      |           |
| Transcend    | MMC   |   64 |            |        | 1.10 | OK        |
| Toshiba      |       |      |            |        |      |           |
| Viking       |       |      |            |        |      |           |
+--------------+-------+------+------------+--------+------+-----------+
For the most uptodate list see http://zaurus.knightfire.com. Send your experiences to zaurus@knightfire.com for both cf and sd cards.


2) Formatting

There are four filesystem options for which the card can be formated to.  The industry standard is msdos (also known as fat) format.  A lot of cameras and other devices use this format for their cards.  To upgrade the ROM on the Zaurus it requires that the CF card be formatted in this format.

Comparison:

mkfs.msdos - CF cards that are used for ROM upgrades require this. Used in most devices.  Holds up to 2GB.  Default choice.
mkfs.ext2 - Provides symlinks, long filenames, less fragmantaion problems.
mkfs.vfat - Dosfs + long filenames and Higher capacity (don't use for rom upgrades)
mkfs.minix - Provided for completeness sake, not recommended.

If the card is to be formated to a filesystem that the card has not been set to the filesystem should be changed first so the automounter will continue to work when the card is inserted in the Zaurus.  (By default all CF cards are FAT format) To change the disk type use the fdisk tool.  This by default doesn't come with the Zaurus and either needs to be done on a pc or after installing the fdisk ipk onto the Zaurus.  When using fdisk make sure to pass in the device (/dev/hda) and not a partition (/dev/hda1)

Example: Fdisk the CF card and set it up to use ext2 do the following:

# fdisk /dev/hda
Created 1 partition, /dev/hda1. set to Type 83, Linux. (for msdos use Type 6)
Write the partition table.

Unmount the card
Insert the card into the Zaurus and umount it.  Either by clicking on the Applet and click "Eject Card" or from the command line execute:
  
#umount /mnt/cf

Don't remove and insert the card after it has been unmounted for the Zaurus will re-mount it on insert.

To See what is currently mounted on the Zaurus run "df" at the command line.

#df

Format the card

The CF card device is located at /dev/hda and mounted at /mnt/cf
The SD card device is located at /dev/mmcda and mounted at /mnt/card

Then format the card from the command line using the fs of choice.   Make sure to format the first partition.

Example: Formating the CF card with the msdos filesystem.
#mkfs.msdos /dev/hda1

Note the 1.  You want to format the first partition (Example: /dev/hda1), not the raw /dev/hda.  If the device is acidently formated fdisk must be used to re-setup the partitions.

Then re-mount the card to access the data.

3) Mounting

The Zaurus will automatically mount a cf or sd card on insert, but if the Zaurus doesn't the card can be manually mounted from the command line using the normal mount syntax
mount <device> <location>
For example mounting the CF card in the normal location would be
#mount /dev/hda1 /mnt/cf

To mount a nonstandard type use the -t option
mount -t <type> <device> <location>
For example to mount a SD card with a ext2 fs in the normal location would be
#mount -t ext2 /dev/mmcda1 /mnt/card

4) Issues

Some SanDisk MMC card's will not be re-mounted after the Zaurus is put into suspend mode.  To remount the cards simply take them out and put them back in or follow the steps in section 3.

There was an error when formating or I formated it wrong and can't access it or format it or I formated the device and not a partion.
Use fdisk to re-partition the disk and then format the card.
 
SW   SE

    This page was last updated: Wednesday, 09-Apr-2003 04:57:24 PDT