Home

ROM Image Builder

This will be a boot-floppies-like tool to bootstrap a basic Debian/Zaurus kernel and root filesystem. It will make use of debootstrap, various kernel patches, and perhaps some custom scripts to strip things down a bit and divide up the image to fit in the Zaurus' multiple internal storage areas.

Roadmap

I'm not worrying about kernel issues just yet, and am basing my current work on the OpenZaurus kernel. Eventually, there will be a native Debian kernel. Unfortunately, this means losing SD card support (though I hear that MMC may be possible). This is due to despicable closed-spec copy-protection strong-arming (no pun intended) on the part of the SDCA.

My current list of issues for the root filesystem, in approximate order of priority:

  1. Try to build an image which includes a minimum amount of PDA type software, which can act as a functional replacement for the stock software, while allowing the user to install Debian software, upgrade the system, etc. This means squeezing base, X and applications into a 14M (compressed) jffs2 filesystem. Additional software can be installed on the other internal flash device, or on CF and SD cards.
  2. Create a tool to build these images automatically or semi-automatically. The current images are built by hand.

Testing ROM Images

WARNING WARNING WARNING This stuff is very new, and very rough. Try it at your own risk. It will probably boot, but may not, and may cause you or your Zaurus to catch on fire at any moment.

You will need:

Procedure:
  1. Download the official Sharp ROM image: SL-5000D SL-5500
  2. Follow the instructions provided by Sharp for placing the image on a CF card with a FAT filesystem.
  3. Backup your Zaurus using the provided Backup/Restore application. This can be done with the same CF card that you used to hold the ROM image, if it fits. If you care at all about your data, this step is NOT OPTIONAL. YOU WILL LOSE ALL OF YOUR DATA. You have been warned.
  4. (optional) test that you have done the first few steps correctly by flashing your Zaurus from the CF card, by following the procedure provided by Sharp.
  5. On the second CF card, create a FAT filesystem
  6. Place the Debian initrd (name it INITRD.BIN). CHECK THE MD5SUM; it should be ce7705c02bf0a410733531c25df9f33f.
  7. Place the kernel (name it ZIMAGE) on the same filesystem. CHECK THE MD5SUM; it should be b32718ec1692dd4bac49fffc60ad1f4f.
  8. Follow the procedure on the Sharp website for updating the ROM.
  9. Try it out and see if it works. If it does, enjoy. If not, find out what's wrong and send me reports and patches. Either way, I'd like to hear from you. Here are some things to try:
  10. If it's completely broken, such that you can't boot, that's what you have the other flash card for. Re-flash the original ROM image and restore your system.

Matt Zimmerman
Last modified: Sat Aug 10 23:38:05 EDT 2002