The following is a basic recollection of the steps required to wrangle NetBSD 4.99.69 onto my 75MHz, 16MB/RAM HP Jornada 620LX. I know of at least one other 620LX with NetBSD on it, but that was 1.6; Most of the directions I found with regards to putting NetBSD on a Jornada were with the 720+ lines, which host a 200+MHz StrongARM CPU as well as 32-64+MB RAM.
Also, not having a serial cable for this (somewhat) rare Jornada I did the entire install through the in-ROM Windows CE and a CF Disk.
- List of things necessary for this install:
- An x86 machine capable of running NetBSD
- Your Jornada 620LX
- A ~>1GB CF Disk
- A CF Disk reader for x86 machine
- The process over-simplified:
- Install NetBSD on x86 and bring it up to -current
- Build tools/kernel/release for HPCSH on the x86 machine
- Partition (fdisk) & DiskLabel CF Disk
- Unpack release onto CF Disk
- Boot Jornada into CE and run HPCBoot.exe from CF Disk
- Enjoy NetBSD
- The REAL breakdown:
- Install onto a spare x86 machine, I'm not going to hand-hold through this install, as a basic install is perfectly fine.
- In /usr/src, build the HPCSH(-3) tools:
cd /usr/src/ && ./build.sh -u -m hpcsh tools
- Build the HPCSH(-3) kernel:
./build.sh -u -m hpcsh kernel=GENERIC
- Build the HPCSH(-3) release:
./build.sh -u -m hpcsh -U release
- NOTE: on building release I had it fail multiple times because I had not cleared out my /usr/src/../obj/* and my /usr/src/../tools/* and then rebuilt my tools for x86 after moving to -current.
- Attach the CFDisk to the NetBSD machine. Partition it into two partitions (I used a 2GB card and partitioned into 24MB and a 1.9GB.
- You can get away with using as little as a few MB, but I figured better safe than sorry with the extra space the 2GB card allots me.
- Note: Delete all partitions using fdisk before creating/editing these ones!
fdisk /dev/sd1 Do you want to change our idea of what BIOS thinks? [n] [enter] Which partition do you want to change?: [none] 0 sysid: 1 start: 0 size: 24M bootmenu [enter] The bootselect code is not installed, do you want to install it now? [n] [enter] Which partition do you want to change?: [none] 1 sysid: 169 start: (offset of partition 0's sectors) size: (last sectors) bootmenu [enter] The bootselect code is not installed, do you want to install it now? [n] [enter] Which partition do you want to change?: [none] [enter] Update the bootcode from /usr/mdec/mbr? [n] [enter] Should we write new partition table? [n] y
- Now create filesystems on the two partitions:
newfs_msdos sd1e && newfs sd1a (your lettering here may differ)
- Mount your filesystems so we can use them:
mount -o softdep /dev/sd1a /mnt && mount -o -l /dev/sd1e /mnt2
- Copy your kernel and HPCBoot.exe to the msdos partition:
cd /usr/src/obj/releasedir/hpcsh/binary/kernel cp netbsd-GENERIC.gz /mnt2/netbsd.gz cd ../sets mv kern-GENERIC.tgz kern-GENERIC.tar.gz mv kern-HPW650PA.tgz kern-HPW650PA.tar.gz for tgz in *.tgz; do tar -xpvzf $tgz -C /mnt; done
- This got me booting; however I hadn't set a root password anywhere! So make sure the first time to boot hpcboot.exe with the "single-user" checkbox, then mount / read-write and change the root password:
mount -u / mount /dev/wd0b on / type ffs (noatime, nodevmtime, local)