README 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Installing 4th Edition Inferno on an IPAQ (21 August 2003)
  2. This Inferno kernel software is only for the iPAQ 36xx,
  3. colour models only.
  4. Of course, since it's Inferno, the existing
  5. applications, and yours, will run (give or take kernel bugs).
  6. Suspend/resume is implemented except for PCMCIA.
  7. (We are doing the work to make it more general.)
  8. Otherwise the system tries to conserve power in the usual
  9. ways by going into idle to wait for interrupts and powering
  10. devices up and down on open and close.
  11. The following describes loading the Inferno kernel in to the iPAQ.
  12. This preliminary version has some things hard-wired in to the code
  13. to run on our wavelan network (see the end of archipaq.c).
  14. os/init/ipaqinit.b will support a file system (currently dossrv for simplicity)
  15. running over a Flash Translation Layer on the iPAQ flash.
  16. Setting up a local file system and loading that onto the iPAQ
  17. is not discussed here. A separate package will deal with that.
  18. For development, we generally take the software over the net from
  19. an Inferno file service (ie, svc/net) running in emu.
  20. We are providing this iPAQ kernel package to subscribers earlier,
  21. for the benefit of those subscribers that can make use of it now
  22. (eg, modify the networking setup to suit their own network).
  23. A basic local file system package should be available shortly.
  24. Until it is, if you are not confident you can set up the networking
  25. or prepare a local file system, you should wait.
  26. 1. You must first prepare the iPAQ with the handhelds.org bootloader,
  27. version 2.18.54 (later ones probably work but we haven't yet tried them).
  28. Use the iPAQ H3600 Linux installation instructions:
  29. ftp://ftp.handhelds.org/pub/linux/compaq/ipaq/stable/install.html
  30. Following that procedure will eliminate Windows/CE from the device: if you will need it
  31. in future, be sure to save the flash images as
  32. described in the handhelds.org instructions.
  33. Note that you will also be trusting that they can get you
  34. back to a working WinCE machine, so be sure to read the handhelds.org
  35. documents thoroughly in that regard.
  36. 2. At the end, the instructions say ``At this point you have a working
  37. bootloader and you are ready to install a Linux distribution''.
  38. You can install Inferno instead, or several other systems, and
  39. you can later install them instead of Inferno, since they all use
  40. the same boot loader.
  41. 3. A ready-made Inferno kernel is in the file k.gz in this directory
  42. (os/ipaq1110/k.gz in the Inferno structure). With a 115k serial connection
  43. to the bootloader established, as described for loading Linux,
  44. when you tell the bootloader to `load kernel', send k.gz as the
  45. data file (using the XMODEM protocol as described by Handhelds.org).
  46. 4. Once the system is running, you can update kernels using Inferno,
  47. when your file system is taken as `remote' over a wireless connection.
  48. In an Inferno shell on the device (perhaps using the console serial port
  49. as a keyboard):
  50. bind -a '#F' /dev
  51. echo erase all >/dev/flash/kernelctl
  52. dd </os/ipaq1110/k.gz -conv sync >/dev/flash/kernel
  53. or just run
  54. /os/ipaq1110/upd
  55. which does that.