View Single Post
  #8 (permalink)  
Old 01-14-2009, 09:55 AM
pio_masaki's Avatar
pio_masaki
PPCGeeks Regular
Offline
 
Join Date: Jul 2007
Posts: 137
Reputation: 170
pio_masaki is keeping up the good workpio_masaki is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to pio_masaki Send a message via MSN to pio_masaki
Re: GPE Linux on Apache 6700 for Mobile Computer

There's a release (old) to boot linux on the apache, though its not persistant, it's like booting a live cd on your pc, any changes made are lost on shutdown/restart. Before you go building drivers and porting programs over for it, I would look into creating a loopback image that gets stored on the SD card so changes are persistant. Tekk seems to have done this with his current release of his android system files, so I know it can be done, I just don't know how.

It may be the faster method, otherwise creating a new image for every change is the only other method. I would suggest creating a loopback and file system image that covers most of the space available on your SD card, with the loopback image being smaller, since all it does is save/load changes from the original file system image.

If you continue to just randomly edit the image file the kernel will continue to freak out, you must build a new one, based off the original, for it to work. The kernel available is touchy at best. Google will get you info on creating a persistant loopback installation for your linux. You can base it off the USB persistant linux distros available, and build and change as you need to from there. I used a USB persistant xubuntu, worked great, found it at pendrivelinux.

From the linux I used, there was no way to mount the file system, so it would need to be included in your initrd, or port/create a program to do it, I'm not even sure the kernel supports it.

So, the two biggest problems you will face with this, the kernel, its buggy, crappy, slow, and pretty well useless, then the filesystem, and all the hassles that come with making it persistant. I've been fooling around with my xubuntu for a week, while I understand how persistant linux distros work, I don't know HOW, I can look into it when I have free time, but I can't promise I'll find anything more usefull then you do.

Oh yea, quick google gave me http://www.faqs.org/docs/Linux-mini/...k-Root-FS.html it's old, but explains why and how.
__________________
Moto Q Sprint
PPC 6700 (1.02 WM5/Android Test machine) Qwest
PPC 6700 (1.00 WM5>WM6.1>WM6.5) Sprint (Original hardware hiding under a new symbol)
PPC 6700 (2.02 WM5>WM6.5) Sprint

Guide:Activate WM6.1/WM6.5 flashed phone without ##MSL# code
Guide:Android on the Apache
I know where the thanks button is, do you?

Last edited by pio_masaki; 01-14-2009 at 10:05 AM.
Reply With Quote