ROM-FS sits in flash (and is /dev/rom0). The block device driver
makes copies in memory of each block. Yes, that's wastefull of memory
but what I will go on to do is to not actually allocate blocks but
simply leave them on the flash device. The flash device resides someplace
in kernel memory. Again, at the moment I copy that kernel into memory
before giving it control of the system (via a boot loader). This is wasteful
and could/can be avoided.
I'm using a variant of pocket-linux as the basis for the system and
the root
file system is kept in the application flash of the systems that I've
ported
Linux to (Integrator + Prospector P1100). The
flash may contain many
things (file systems, kernels and so on).
The sources that include all of this support will be put into the free
pool (by
ARM) and will include both the pocket Linux stuff and the kernel trees.
For
those of you that do not know me - I run ARM's firmware and RTOS group
-
so this is no idle comment.
Dave
ps looks like I'll be going to the Olympia Linux Expo...
-- ---------------------------------------------------------------------- David A Rusling Consulting Engineer ARM Limited Liberty House, Moorbridge Road, Maidenhead, SL6 8LT
Tel: UK-(0)1628-427754 Fax: UK-(0)1628-780551 e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
