grack.com

 Subscribe in a reader

Treo Linux

I've been hacking away trying to get Linux to boot on my Treo.  I finally got the kernel up and running, but we're still a few steps away from a command-prompt right now.

Note that the LCD is a bit screwy and isn't aligned to the top-left of the screen - I had to hack the LCD stuff so the kernel didn't try to re-initialize it.  I can't figure out the right combination of registers to get it set up properly.

UPDATE: With much work by luke, phazen, shadowmite and I, we've got the GPE environment booting with the touchscreen working. I've mirrored the pictures from Luke's site here:

We now have the keyboard, touchscreen, SD slot and audio working!

NOTE: There's no official release of this distribution yet, but come by irc://irc.shadowmite.com:3399, channel #shadowmite.

UPDATE: I managed to get to a command prompt and have it load my initrd. Turns out that I didn't have the initrd's filesystem in the kernel or the ramdisk driver. Now it needs a keyboard driver for the PXA matrix!

The Treo is sitting at a command prompt running the busybox shell:

Here are the older pictures before it booted from initrd:

The zImage decompression, with a framebuffer hack I added:

The kernel boots:

More kernel booting:

The kernel panics because it can't find initrd or a root device: