Tools needed ============ *** John, Would you put these tools in your FTP directory? 1. ppconvert.exe 2. ppwrite.exe 3. APCD parallel port driver 4. .config for linux configuration 5. 'task-bootstrap-jffs2' ------------------------------------------------------------------------------------- How to get Bootloader source and to build ========================================= *** John, Please fill this section ------------------------------------------------------------------------------------- How to put bootloader on Flash module ===================================== 1. Convert bootloader binary file to WinCE downloadable file format. (using 'ppconvert'(?) from HPLab) 2. Remove Mask ROM daughter card of Jornada720. 3. Attach APCD's debug board w/flash memory card to Jornada720 and connect to WindowsNT via parallel port. 4. On WindowsNT, copy file to current directory. 5. On WindowsNT, type 'set DOWNLOAD_PATH=.' 5. On WindowsNT, 'ppwrite.exe'(from APCD). (Note: APCD parallel port driver must be installed first.) 6. Power on Jornada720 and downloading starts automatically. Wait for completion. 7. Power off 720, remove debug board, remove flash memory card from debug board. ------------------------------------------------------------------------------------- How to create kernel + minimal file system(task-bootstrap-jffs2) ================================================================ *** John, Please fill this section - how to get kernel source - '.config' file - create minimum file system - how to merge kernel + file system ..... ------------------------------------------------------------------------------------- How to put an kernel / minimal file system ========================================== 1. Remove recharge battery(main) and backup battery(coin type). 2. Install flash memory card (bootloader is pre-loaded). 3. Power on Jornada720, connect serial port to host. 4. Hit space bar to get "boot>" prompt(bootloader prompt). 5. On Jornada720, type 'boot> load root' 6. On host, start to download(of minicom) 'task-bootstrap-jffs2' with Xmodem. ****: 'task-bootstrap-jffs2' includes PPP, PCMCIA and ethernet and is Jornada720 specific file. 7. When done, type 'boot> boot' ------------------------------------------------------------------------------------- How to finish install ===================== 1. power on Jornada720, connect to network. ( install PCMCIA network card, minimal file system/kerenel installed above can recognize network device.) 2. login to Jornada720. ( username: root, password: rootme ) 3. type $> ipkg install task-complete blackbox bash rxvt familiar-postinst ***> are package above Jornada720 specific ? (I think those are platform independent and can be obtsianed from Handhelds.org) 4. edit file '/etc/init.d/x' ( it will convert screen 240x320@270 to 640x240 [no rotation], change windows manager to blackbox, and add starting rxvt window. ) 5. type $> cd $> export ftp_proxy=http://proxy.hpl.hp.com:8088 $> export http_proxy=http://proxy.hpl.hp.com:8088 (proxy server can be different, depends on network environment) $> ./postinst ( it will fail first time but don't worry ) $> cd /tmp/postinst-kit edit file 'kickOff' and modify as follows: time.apple.com --> ntp.hpl.hp.com http://www.microsoft.com/typography/downloads/ --> ftp://ftp.handhelds.org/pub/fonts/ms/ $> ./kickoff 6. type $> reboot ------------------------------------------------------------------------------------- current version: bootldr 2.18.17 linux 2.4.18-rmk3 ------------------------------------------------------------------------------------- Jornada720 bootldr/kernel sequence ================================== 1. Initialize memory controller GPIO registers PPC I/O ports UART3 2. Turn RS-232 transceiver On (by default, it is off for power saving) 3. Loads Linux kernel from jffs2 4. Puts machine code number(for jornada) into R0 5. Turn On simple MMU map & cache 6. Jump to Linux Kernel 7. Setup MMU 8. call 'start_kernel()' 9. In start_kernel() (in init/main.c) -calls initialization functions for hardware -exec's /sbin/init 1(?) ------------------------------------------------------------------------------------- Jornada720 keyscan code in the kernel ===================================== ./driver/s/char/jornadakey.c