Linux on the Ipaq HX4700
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.
- 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
- 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.
On the iPAQ, first set the root password from the console:
root@ipaq-pxa2:/# passwd Changing password for root Enter the new password (minimum of 5, maximum of 8 characters) Please use a combination of upper and lower case letters and numbers. Enter new password: Re-enter new password: Password changed. root@ipaq-pxa2:/#
By default, the IP of the iPAQ will be 192.168.129.211. When the cradle is plugged into the computer, the module usbnet should automatically be loaded. Set the IP on your computer device (presumably usb0) to 192.168.129.1, for example.
# ifconfig usb0 192.168.129.1
After having configured the networks on both the iPAQ device and the computer, ssh into the iPAQ:
# ssh firstname.lastname@example.org The authenticity of host '192.168.129.211 (192.168.129.211)' can't be established. RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? yes email@example.com's password: root@ipaq-pxa-2:~#
First, start editing the "feeds.conf" file, which is used by ipkg, Familiar's package management system. Unfortunately, only vi is present at the moment, 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
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
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:
- /etc/fstab - accept
- /etc/dbus-1/session.conf - reject
- /etc/network/interfaces - accept