Linux on the Ipaq HX4700

From IKE
Revision as of 10:50, 29 October 2005 by Tarek (talk | contribs)
Jump to: navigation, search

Introduction

I have found no step-by-step guide on the web for installing Familiar for people who do not wish to spend their lives studying and understanding the technology. This is especially true for my device, the iPAQ hx4700. As such, I'm writing this manual. Thanks to Azad for his patience and testing of this manual.

Please note that I first made this manual on or around 25 October 2005. As such, hopefully some of the small idiosyncrasies disappear with time, and hopefully I document the others that come up. However, the chances are that I will not maintain this very well in the future, so please use some caution and feel free to update this page at your whim.

Ingredients

  • iPAQ hx4700
  • USB Cradle or Serial cable
  • 64+MB CompactFlash (CF) memory card
  •  ??MB SD/MMC memory card
  • Some way to read/write CF and SD on your computer (not mandatory, but will make life much, much simpler)

Backup your shit

Install the bootloader

Flash linux onto the device

  1. Once the SDG Bootloader has been installed, enter the flash system by depressing the Addressbook and Email buttons, then pressing the Reset button at the bottom of the device.


1. Depress Addressbook and Email, then Reset to enter the SDG flash screen

Boot device

Configure network

SSH in

Add sources

First, start editing the "feeds.conf" file, which is used by ipkg, Familiar's package management system. Unfortunately, only vi is present, so we have to use that.

# vi /etc/ipkg/feeds.conf

Use exactly the following keystrokes:

i
src/gz koen http://ewi546.ewi.utwente.nl/feed/
ESC
:wq

Explanation:

i -- "Insert"
src/gz koen http://ewi546.ewi.utwente.nl/feed/ -- The typed text
ESC -- exit "Insert"
:wq -- Command (:), Write file (w) then quit (q)

Once this is done, update the feeds:

# ipkg update

Upgrade packages

Because of some problems with the packages, the upgrade should take place in this order:

# ipkg install busybox     # Fixes the busybox upgrade bug
# ipkg install diffutils   # Installs diff utils for later
# ipkg upgrade             # Upgrades all packages

Personally, I did the following with regards to the changes to the files that it asked for:

  1. /etc/fstab - accept
  2. /etc/dbus-1/session.conf - reject
  3. /etc/network/interfaces - accept
Collected errors:
Package gconf-dbus wants to install file /usr/bin/gconftool-2
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/bin/gconf-merge-tree
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/libexec/gconfd-2
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/libexec/gconf-sanity-check-2
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/libgconf-2.so.4.1.0
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/libgconf-2.so.4
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/GConf/2/libgconfbackend-xml.so
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/GConf/2/libgconfbackend-oldxml.so
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /etc/gconf/2/path
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/bin/gconftool-2
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/bin/gconf-merge-tree
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/libexec/gconfd-2
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/libexec/gconf-sanity-check-2
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/libgconf-2.so.4.1.0
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/libgconf-2.so.4
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/GConf/2/libgconfbackend-xml.so
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /usr/lib/GConf/2/libgconfbackend-oldxml.so
        But that file is already provided by package gconf
Package gconf-dbus wants to install file /etc/gconf/2/path
        But that file is already provided by package gconf
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-cat
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-copy
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-info
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-ls
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-mkdir
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/lib/libgnomevfs-2.so.0
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gnome-vfs-2.0/modules/default-modules.conf
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gnome-vfs-2.0/modules/smb-module.conf
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/system_http_proxy.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/system_smb.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/desktop_default_applications.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/desktop_gnome_url_handlers.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-cat
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-copy
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-info
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-ls
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/bin/gnomevfs-mkdir
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /usr/lib/libgnomevfs-2.so.0
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gnome-vfs-2.0/modules/default-modules.conf
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gnome-vfs-2.0/modules/smb-module.conf
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/system_http_proxy.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/system_smb.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/desktop_default_applications.schemas
        But that file is already provided by package gnome-vfs
Package gnome-vfs-dbus wants to install file /etc/gconf/schemas/desktop_gnome_url_handlers.schemas
        But that file is already provided by package gnome-vfs

Add useful packages