This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Sharing JFFS2 file system between ecos and linux
- From: David Vrabel <dvrabel at arcom dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 16 Mar 2004 10:27:31 +0000
- Subject: Re: [ECOS] Sharing JFFS2 file system between ecos and linux
- Organization: Arcom Control Systems Ltd
- References: <200403151904.48153.thomas.koeller@baslerweb.com>
I create a JFFS2 file system containing the kernel image as
a file. Some of the flash memory is set aside to contain an
instance or RedBoot, which has support for reading files
from JFFS2. RedBoot loads the kernel and executes it. The kernel
then mounts the JFFS2 as its root file system. A simple and elegant
solution, of course, but will it work? I guess not.
This is exactly what I do and it works fine (including compression).
I did need to do this:
http://ecos.sourceware.org/ml/ecos-patches/2004-03/msg00036.html
to prevent loaded files from overwriting the heap.
David Vrabel
--
David Vrabel, Design Engineer
Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss