Handhelds.org - Open source for handheld devices

UserPreferences

PalmTungstenT2HowTo


Linux on Palm Tungsten T2 How-To

Home | News | Status | Hardware | Downloads | How-To | Bootloader

Tools needed

Building the kernel

First, put TT2 support patches into the directory with the Linux kernel sources:

Then, copy .config from Downloads to the Linux kernel source directory

Find the compiled kernel in arch/arm/boot

Building initrd

If you are not satisfied with the list of programs in initrd.gz from Downloads , you can build your own set with the help of buildroot. First, try to build initrd with tested configs:

Then type make and find filesystem in the ? directory.

Using romfs filesystem

Using romfs makes initrd about half the size as compared to minixfs.

Building GPE

I use gpe-image-h3600-20050407124742.rootfs.tar.bz2 with changes ( Downloads:files_for_gpe.tgz) for right touchscreen settings.

Building Garux

You need the initrd.gz and zImage files. You can take pre-made ones from Downloads. Copy initrd.gz and zImage files into the directory where Garux is placed, then type commands:

File garux.prc will appear in directory. If it doesn't, check the error message(s).

Uploading to PDA

Running Linux

To start Linux just start Garux as any other application on your PDA. WARNING !!! Please backup before starting.

Return to PalmOS

Softreset(reset button or command reboot) your PDA and PalmOS will appear.

U-boot

Download u-boot.prc
run it

$ cat /proc/mtd
dev: size erasesize name
mtd0: 00002000 00002000 "write8k"
mtd1: 0000e000 00002000 "PalmOS-BootLoader(ro)"
mtd2: 00010000 00010000 "u-boot"
mtd3: 00720000 00010000 "PalmOS-FS(ro)"
mtd4: 00020000 00010000 "u-boot(rez)"
mtd5: 000a0000 00010000 "empty"

1) Modification of the BootLoader
$ flasheraseall /dev/mtd0
$ cat /palm-8k-jmp.img > /dev/mtd0
2) Installation of the U-boot
$ flasheraseall /dev/mtd2
$ cat /u-boot.bin > /dev/mtd2
$ reboot

$ flasheraseall /dev/mtd0
$ cat /palm-8k.img > /dev/mtd0
$ reboot