About

Archives

01 Jul - 31 Jul 2006
01 Aug - 31 Aug 2006
01 Sep - 30 Sep 2006
01 Oct - 31 Oct 2006
01 Nov - 30 Nov 2006
01 Dec - 31 Dec 2006
01 Jan - 31 Jan 2007
01 Feb - 28 Feb 2007
01 Mar - 31 Mar 2007
01 Apr - 30 Apr 2007
01 May - 31 May 2007
01 Jun - 30 Jun 2007
01 Jul - 31 Jul 2007
01 Aug - 31 Aug 2007
01 Oct - 31 Oct 2007
01 Nov - 30 Nov 2007
01 Dec - 31 Dec 2007
01 Jan - 31 Jan 2008
01 Feb - 28 Feb 2008
01 Mar - 31 Mar 2008
01 Aug - 31 Aug 2009
01 Sep - 30 Sep 2009
01 Jan - 31 Jan 2010
01 May - 31 May 2010
01 Jun - 30 Jun 2010
01 Aug - 31 Aug 2010
01 Sep - 30 Sep 2010

Links

Search!

Last Comments

Alvaro Oliver (StackBook Part 4 …): Hey! nice post. I just bo…
Tiago Gomes (Let's start again…): ok, now feel happy, you a…
Tiago Gomes (Let's start again…): ok, now feel happy, you a…
ir0nhide (StackBook Part 4.…): Very cool, nice work
Toby (Gigabyte, LCDs, a…): Good stuff, although now …
luke (StackBook part 3 …): what are you planing to u…
Toby (A quick rant...): Bastards
Hugh (StackBook Part 2 …): Nicely done, but you now …
gm (StackBook Part 2 …): Hmm, I plan to go a littl…
luke (StackBook Part 2 …): i cant help but wonder if…

Stuff

Powered by Pivot - 1.40.4: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« It doesn't all add up… | Home | More Linux / Palm fun… »

Linux... in the palm of your hand.

18 08 06 - 22:31 Decided to boot Linux up on my TX.



Well, first time I got a root prompt up on my Palm without having to fire up pssh!

Opie / GPE?

I prefer OPIE - it seems to run a fair bit faster. Maybe becuase GPE has a real X server.

So, let's just say you want to do this yourself on your Palm TX? How would you do that?

1. (optional, but you'd have to be stupid not to) Back up your entire palm.

2. Download the TX Boot Bundle from here.

3. Take a blank SD or MMC card - at least 128MB.

4. Throw garux.prc into Palm/Launcher/

5. Throw linux.boot.cfg into the root directory of the SD. zImage is only necessary if you want CocoBoot instead of Garux. Neither should matter.

6. Download the OPIE or GPE rootfs from here.

7. gunzip and then untar it, and throw it in the root directory.

8. (optional, but highly recommended for GPE) - dd if=/dev/zero of=swap.fs bs=1m count=32 for a swap file.

9. (only if you want GPE, or a swapfile) Using your text editor of choice, edit linux.boot.cfg.

Make sure there is a # before the line representing the image you DO NOT want to boot.

ROOT_DEV=/media/mmc1/opie-image-v0.8.4-rc3-palmtx.rootfs.ext2
#ROOT_DEV=/media/mmc1/gpe-image-v0.8.4-rc3-palmtx.rootfs.ext2


If you followed step 8, ensure that the swap_dev line is commented like this:

SWAP_DEV=/media/mmc1/swap.fs
#SWAP_DEV=none


10. Put the SD card into your Palm TX. Launch the "Garux" app from the card, hit "I did a backup" and hit "Start Linux".

11. (optional) Enjoy! Play around with OPIE / GPE.

12. Open a shell, run shutdown now. When init complains there are no processes left at this runlevel, insert the tip of the stylus into the reset hole on the back, and you will be back in Palm OS in about a minute or so. It will take longer to boot into Palm OS (read below).

Note about data loss:
Because the TX is a NVFS palm - all your user data is stored in flash memory - your data should be safe from Linux. The Palm OS will be wiped out from RAM, but this will be replaced back into RAM from it's decompressed image in flash when you reboot. Linux does not touch the flash. This process should be safe, because the same thing happens when the battery in your palm goes so flat that on a non-NVFS palm you would lose your data.

Drawbacks:
No wifi, no Bluetooth, no suspend, no power managment... kinda limits the usefulness of the device. Also, it occasionally locks up. It's not a compelling replacement for PalmOS, but it really shows promise!

Anyway, thanks to hackndev and LinuxToGo.
No comments

Trackback link: http://gm.stackunderflow.com/blog/pivot/tb.php?tb_id=27

  
Remember personal info?

Emoticons / Textile

To prevent automated comment spam, the answer to this rather simple question is required...

 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.

 

Linkdump