Table of Contents

Compaq ipaq H3650

disassembly (physical)

GNU/Linux

GNU/Linux distributions

Familiar project

working with intimate/familiar

    Disk /dev/hde: 32 heads, 63 sectors, 347 cylinders
    Units = cylinders of 2016 * 512 bytes

    Device Boot    Start       End    Blocks   Id  System
    /dev/hde1             1       281    283216+  83  Linux
    /dev/hde2           282       347     66528   82  Linux swap
   ln -s /dev/tts/0 /dev/ttySA0
   insmod h3600_stowaway
   /usr/bin/stowd &

ARM cross-compilation

  export CC=arm-linux-gcc
  ./configure --enable-speed --enable-fpm=arm --enable-sso arm-linux
  make
       export CVSROOT=:pserver:anoncvs@cvs.handhelds.org:/cvs
      # # Password: anoncvs
      cvs checkout -r {tag} linux
      e.g.: cvs checkout -r K2_4_6-rmk2-np1-hh2 linux
      make mrproper
      # this removes e.g. version.h (check this file later if unsure)
      cp arch/arm/def-configs/h3600-familiar .config
      make oldconfig
      # CONFIG_EXTRAVERSION="-fam4" (don't forget the -)
      make bzImage

Cross-compile hints

StrongARM kernel compilation

patch -p1 -d `pwd`/linux < patch-2.4.4-rmk3

patch -p1 –verbose -f -d `pwd`/linux < diff-2.4.4-rmk3-np1

Hardware + accessories

   /dev/flash4 on / type cramfs (ro)           => load flash 0x200000
   /dev/flash3 on /mnt/init type cramfs (ro)   => load flash 0x100000
   /dev/flash5 on /usr type cramfs (ro)        => load flash 0x500000
   ramfs on /mnt/ramfs type ramfs (rw)
   ramfs on /dev type ramfs (rw)
   none on /proc type proc (rw)
   none on /dev/pts type devpts (rw,mode=0622)

serial connection to the ipaq

connect using a terminal program with the settings - 11520 8nl no flowcontrol on unix try

cu -s 115200 -l /dev/ttyS0

usb conection to the ipaq

it is possible to make a terminal connection to the ipaq (running linux) if the usb-net kernel module is installed to enable ethernet over usb. (needs more details!)

see handhelds.org discusion/docs on usb networking

how to set it up http://www.handhelds.org/z/wiki/How%20do%20I%20setup%20USB%20networking

how to survive suspension http://www.handhelds.org/z/wiki/Setting%20Up%20USB%20Networking%20to%20Survive%20Suspension

pinout of the connector taken from the serial cradle

CON 1     01 02 03 04 05 06 07 08 09 10 11 12

CON 2     01 02 03 04 05 06 07 08 09 10 11 12 13 14

towards serial connector (9-pin): 01-10
          (bl vio bl rd ora bn gb gre gr bl)

serial   PC   CON2    CON1  iPAQ
                      01,02 V_ADP (AC adapter power in)

01       DCD  01      03    DTR
06       DSR  01      03    ???
05       GND  09      04,10 GND
07       RTS  02      05    CTS
08       CTS  03      06    RTS
02       RXD  04      07    TXD
03       TXD  05      08    RXD
04       DTR  07      09    DCD
09       RI   08      ??    NC


                      10    GND                              - USB 4 (gb  - my wire)
              11      11    UDC_P (USB positive data signal) - USB 3 (ora - my wire)
              12      12    USB_N (USB negative data signal) - USB 2 (gr  - my wire)

1 VCC Red   +5V
2 D-  White Data -
3 D+  Green Data +
4 GND Black Ground

THIS IS A LOOK AT THE PLUGS ON THE CABLE - NOT THE SOCKETS !

 ---------       ______
| 4 3 2 1 |     / 1  2 \
|         |     |      |
|---------|     | 4  3 |
|---------|      ------

wireless + networking

     iwconfig wvlan0 essid any mode ad-hoc
     ifconfig wvlan0 192.168.1.70 netmask 255.255.255.0

notes

Mailing Lists


– authors: rac@iptel-now.de, nik Gaffney and the Network Mind