Im in ur Treo, Linuxin’ ur phonez…
With much help from the chaps in #hackndev I managed to get Linux installed on my Treo 650:
You can see a video of it booting and running a few applications here:
http://mirror.video.blip.tv/Elleo-LinuxOnATreo650996.ogg (Ogg Theora)
For anyone else wanting to do this, the steps are as follows:
- Download and unpack P3t3’s Treo image.
- Overwrite the zImage with my version. This is a more up-to-date kernel and has the initramfs built in to the kernel image (because of some buggyness in the MMC driver loading an initrd image from an SD card can be unreliable).
- Run the following command: dd if=/dev/zero of=swap.swapfs bs=1024 count=32768
- Copy AngstromOPIE_t650-v01.ext2, linux.boot.cfg, zImage and swap.swapfs to the root of your SD card (make sure you unmount it cleanly after you’ve finished).
- Download P3t3’s Treo version of cocoboot and install it to your Treo.
- Run Cocoboot on your Treo, delete the line saying “init=/linuxrc”, then hit “Boot”.
- Enjoy the geeky goodness .
It’s still not amazingly fast, but adding the swap makes it just about usable, and there’s still a lot of work needs doing before it can actually be used as a phone. I believe P3t3 has worked out how to switch the GSM chip in to AT mode (PalmOS uses some odd binary mode for talking to the chip), but I don’t think things have gone much further than that yet.
To get back in to PalmOS just hit the reset button. It shouldn’t touch any of your files in any way, but it might be a good idea to backup first just in case .
Update: The speed can be increased greatly by passing the parameter mem=32M in Cocoboot, for some reason without this the kernel only makes use of about 16MB of RAM.
Syndicated 2007-06-30 19:42:56 from Michael Sheldon's Stuff