Re: [iPAQ] Storing my application in the main flash memory

From: Edward Muller <edwardam.a.t.home.com>
Date: Fri Oct 13 2000 - 16:25:22 EDT

> Question:
>
> How can I store my application in the main flash memory along with all the other standard applications, like the Calender, Contacts,...?
>

I know france already answered this, but I have an alternative...If you want to
store more than 3MB of stuff in /dev/flash6 (usually mounted on /usr/local for
now) you can make a cramfs image on your local system and flash it into ram just
like the images prepared by handhelds.org. There are a few advantages to this
method:
1) The filessytem most likely won't be corrupted if you do something crazy and
reboot without shutting down properly
2) Since cramfs compresses the files you can actually store more than 3MB in
/dev/flash6...The amount you can store is dependant on what type of compression
you get from mkcramfs...which is dependant on what type of files you put in it..

There are also some problems when using cramfs:
1) You can't just change something. It's a read only filesystem. So you have to
go back and re-create the cramfs image and reflash...

What I did when developing my python additions was to doall of my developmnet on
a ext2 filesystem mounted on the ipaq, then..once I got the bugs worked out...I
made a cramfs image...

Just my 2 cents...

-- 
...EAM...
edwardam@home.com
emuller@painewebber.com
-----------------------
'It's because crappy programs offend me.' --Eric Raymond
Received on Fri Oct 13 13:20:12 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:44 EDT