head 1.2; access; symbols start:1.1.1.1 ncatlow:1.1.1; locks; strict; comment @# @; 1.2 date 2000.09.08.18.16.49; author ncatlow; state Exp; branches; next 1.1; 1.1 date 2000.09.07.16.13.50; author ncatlow; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.09.07.16.13.50; author ncatlow; state Exp; branches; next ; desc @@ 1.2 log @Extra bits added. @ text @
Linux 7k-HOWTO The Linux-7110 Project, 8th Septmber 2000 This document contains brief instructions on how to get a Psion 5 or Geofox One to boot into the Linux operating system Disclaimer

This is the method generally used for getting Linux running on the Psion 5 - it may not work for you, if it makes your Psion blow up and your house fall down for all I know. Don't blame anybody if something goes wrong. That said, if you have any problems you can always join the mailing list somebody there should be able to assist you.

Credits

This document was derived (stolen) from the original booting-howto written by Stephen Harris and additions by George Wright and loosely tied together by myself. The credits list is as follows;

Stephen Harris (swh@@ecs.sowton.ac.uk) George Wright (georsoc@@attglobal.net) Nathan Catlow (ncatlow@@users.sourceforge.net)

Please see the on the website for the more excellent people involved in the port. Obviously if you feel you have not been credited properly then please get in touch.

Introduction

The Linux7k project is an effort to port the widely used Linux operating system to the Psion Series 5 pocket computer .

So far the team has ported the Linux 2.2.1 Kernel to the Series 5 and Geofox One, created Arlo and created several initial ramdisks (initrd) for the project.

Psion Series 5 Specifications

Memory - 8 or 4MB Processor - CL-PS7110 ARM Processor 18MHz Display Resolution - 640x240 (Half-VGA) Display Type - Monochrome touch-screen (16 shades) Removable Media Type - Compact Flash® (CF) Disks Default OS - Epoc32 1.00 or 1.01

How does it work?

Bootloader - The bootloader, Arlo, does for Epoc what Loadlin does for Dos. It releases the memory from Epoc, places the kernel and initrd in the appropriate places in memory, and then boots the Linux kernel. Kernel - The kernel has patches applied to it, which makes it compile for ARM based systems, and also has a few more patches for the Psion Hardware. The kernel port to the Series 5 is basically finished now. Initrd - This is a virtual filing system image, which contains a miniture version of Linux. These can range in size but the more ram used for the ramdisk will leave less for the operating system. The kernel loads these images as the root partition.

Preparation

What you will need:

A backup of your Psion's disks (this is very important as everything in your C: drive will be fried. Your D: drive may escape, but don't count on it. The Psion installer The Arlo for you model of Psion (5 or 5mx) A glued kernel image A compressed initrd A paperclip or similar, thin, blunt item (to reboot your machine)

Booting using Arlo Copying files onto the Psion

The easiest way to get the files onto your Psion is to use Plp tools, compile and install these and use this to transfer the necessary files onto the Psion's ramdisk or CF through Epoc. For example to copy the arlo.sis file onto the Psion's C drive (ramdisk) you type the following command:

rfsv write arlo.sis c:/arlo.sis

Installing Arlo

You need to install Arlo (the boot loader - equivalent to LILO) onto your psion, to do this, extract arlo-0.51.tgz and copy the Arlo.sis file to your Psion, then copy the INSTEXE.EXE and run it. This should change the icon for Arlo.sis, which you can then run and it will install itself to either C: or D: as you select - it will work fine from either. Although, as far as I can tell you need to reinstall it each time you boot Linux.

Getting a kernel

You need a kernel for this project. I would recommend trying one of Werners precompiled ones. A good one to try is stable-221-cb23-519-psi.gz

Next uncompress the glued kernel image with

% gunzip <glued image name>

and copy the glued-* and initrd-*.gz files to C:\ on the Psion as image and initrd.gz.

Getting the kernel booted from EPOC Loading the kernel

At this stage you are ready to boot into Linux. Double check you have good backups of you Psion and then double-click Arlo.exe. You should see:

Loading logical device Opening the channel Commands are: ... Option buffer at address XXX Memory description at address YYY > _

Now type:

l image

you should see:

Opening file image Succeeded File size XXX Loading XXX bytes to address YYY Read XXX bytes No pages = ZZZ > _

Loading the initial ramdisk (initrd)

Now type:

l initrd.gz

you should see:

Opening file initrd.gz Succeeded File size XXX Loading XXX bytes to address YYY Read XXX bytes No pages = ZZZ > _

@ 1.1 log @Initial revision @ text @d9 1 a9 1 Linux-7110 Project, d12 1 a12 1 $Id: booting.sgml,v 1.6 1999/02/19 15:51:42 swh Exp $ d46 2 a47 1 the port. d100 1 a100 1 The Psion installer (available from ) d102 1 a102 2 The latest Arlo (0.51 as of 27/01/99, available from \url{http://www.calcaria.net/cgi-bin/filelist.pl}{{urlnam}}) d104 1 a104 2 A glued kernel image (available from \url{ftp://lrcftp.epfl.ch/pub/people/almesber/psion/binary/}{{urlnam}} as glued-*) d106 1 a106 2 A compressed initrd (available from \url{ftp://lrcftp.epfl.ch/pub/people/almesber/psion/binary/}{{urlnam}} as initrd-*.gz) d110 9 a118 2

Next uncompress the glued kernel image with d121 4 a124 10 % gunzip glued-*

and copy the glued-* and initrd-*.gz files to C:\ on the Psion as image and initrd.gz.

Booting using Arlo d140 11 d295 17 a311 1 the kernel (see ) d347 1 a347 1 the reset switch is next to the speaker on the bottom of the Geofox d438 14 d455 5 d471 20 a490 1 d497 8 d506 13 d556 2 @ 1.1.1.1 log @Initial import into CVS @ text @@