Others

 

Porting Linux onto HP iPAQ 2215 PDA

In May 2006, I cross-compiled familiar 0.83 to run it on an iPAQ 2215 PDA. Although this process is documented at hendhelds.org, it is not, however, regularly updated. I, therefore, describe the compilation procedure and the additional necessary steps to have a working image. The Embedded Linux based on the familiar Linux distribution comes with two optional GUIs, namely OPIE and GPE.

To cross-compile, please follow these steps:

1.  Equip your system with the necessary tools. To do this, look here.

2.  Have the right configuration file under /stuff/build/conf. Download it!

3.  Update the PATH an BBPATH variables.

4.  Change the current directory to /stuff/build/

5.  Check the internet connection, since packages will be downloaded and then cross-compiled for your machine

6.  Run “bitbake opie-image” for familiar with the OPIE GUI or gpe-image for the GPE

7.  Wait until the compilation is done. Note that this takes long time (i.e., some hours).

8.  If the image compiled successfully, you need to replace the tslib.sh script in /etc/profile.d/ with this one, in order to get the touch screen working.

9.  go to /boot/ and do the following

    • remove zImage
    • Rename zImage-* to zImage
    • Make zImage executable
    • Copy this file to the same directory if you want to boot from a single-partition CF card.

10.  Put the root directory on a ext2-formatted CF card and boot.

11.  Have fun!

  If you do not want to compile an image yourself, you can have the ones I compiled: