Table of Contents
Install Devuan for the Jornada 7xx with debootstrap
This is a guide for the advanced users, I dont go into detail for every step. The same steps, with different parameters can be used for Debian 9.
What you need:
- a Jornada 7xx
- a Compact Flash card (minimum a 512MB card) and a CF card reader
- a Linux PC or virtual Linux machine (VirtualBox), I recommend Devuan or Debian Linux
- the bootloader and PARAMS.txt http://www.sp-net.at/nextcloud/s/SQbqbX64QdZarop?path=%2Fbootloader
- debootstrap debootstrap.zip
All commands should be run with suitable user privileges or as root. I did all of this on a Devuan Ascii host machine.
Partition the CF card
$ sudo cfdisk /dev/sdc
The partition table should look like this:
Format the new partitions
$ sudo mkfs.vfat /dev/sdc1 $ sudo mkfs.ext4 /dev/sdc2 $ sudo mkswap /dev/sdc3
Copy over the bootloader, kernel and PARAMS.txt
Copy the linexec.exe, PARAMS.txt and zImage to the first (FAT) partition of the CF card (/dev/sdb1).
Get debootstrap and qemu
$ cd ~ $ git clone https://salsa.debian.org/installer-team/debootstrap.git $ apt-get install qemu-user-static
Start debootstrap and chroot into the new rootfs
For Devuan 2:
$ mkdir /mnt/jornada $ mount /dev/sdc2 /mnt/jornada $ su - # cd /home/yourusername/debootstrap # export DEBOOTSTRAP_DIR=`pwd` # ./debootstrap --keyring=/usr/share/keyrings/devuan-archive-keyring.gpg --arch armel --foreign ascii /mnt/jornada https://pkgmaster.devuan.org/merged # cp /usr/bin/qemu-arm-static /mnt/jornada/usr/bin # LANG=C.UTF-8 chroot /mnt/jornada qemu-arm-static /bin/bash # export DEBOOTSTRAP_DIR=/debootstrap # /debootstrap/debootstrap --second-stage
For Debian 9:
$ mkdir /mnt/jornada $ mount /dev/sdc2 /mnt/jornada $ su - # cd /home/yourusername/debootstrap # export DEBOOTSTRAP_DIR=`pwd` # debootstrap --arch armel --foreign stretch /mnt/jornada http://ftp.at.debian.org/debian # cp /usr/bin/qemu-arm-static /mnt/jornada/usr/bin # LANG=C.UTF-8 chroot /mnt/jornada qemu-arm-static /bin/bash # export DEBOOTSTRAP_DIR=/debootstrap # /debootstrap/debootstrap --second-stage
Configure the system
Edit fstab
$ vi /etc/fstab
Insert the mount points as you like. For example:
/dev/hda3 none swap sw 0 0 proc /proc proc defaults 0 0 /dev/hda1 /mnt/boot vfat rw,auto,user,umask=0000 0 0
Adjust the timezone
$ dpkg-reconfigure tzdata
Set hostname
$ echo DebianHostName > /etc/hostname
Configure apt
$ vi /etc/apt/sources.list
Insert something like this:
deb http://deb.devuan.org/merged ascii main deb http://deb.devuan.org/merged ascii-updates main deb http://deb.devuan.org/merged ascii-security main
Update your sources:
$ apt update
Install and generate locales
UTF-8 is recommended.
$ apt install locales $ dpkg-reconfigure locales
Edit the root password & create a user
$ passwd $ adduser user
Install all standard packages
tasksel install standard
Install whatever package you like and configure whatever you like
For example all packages that are included in my ready-to-use rootfs
apt-get install ssh xserver-xorg-video-dummy xserver-xorg-input-void xserver-xorg-core xinit x11-xserver-utils xserver-xorg-video-fbdev xserver-xorg-input-evdev fluxbox apmd wireless-tools netsurf lynx ftp hostap-utils xinput wpasupplicant leafpad xinput-calibrator
Create the touchscreen calibration file
$ vi /etc/X11/xorg.conf.d/99-calibration.conf
Insert:
Section "InputClass" Identifier "calibration" MatchProduct "HP Jornada 7xx Touchscreen" Option "Calibration" "1001 91 57 914" Option "SwapAxes" "0" EndSection
Ready
Just type exit and umount your CF card.