Mounting JFFS2, Bootloader
Daniel Belz
danielb at cyclades.com.br
Thu Jul 11 13:42:41 EDT 2002
Hi,
Justin Wojdacki wrote:
>
> Having recently done the same kind of thing (on a different board), I
> think I can help.
...
> If you want more flexibility than that, you may instead need to look for
> a configuration file and then process the configuration file.
>
Yes, i need something like this, as an application to be loaded instead
of the
kernel. Simple, to allow load for more than one option from flash or
from network
(simple tftp). I don't need write on the flash (CF) at this time.
> JFFS2 has a really easy to work with on-device layout, so it shouldn't
> take much effort to locate the files you're interested in.
>
> The files you'll need to work with are in fs/jffs2 and include/linux.
>
> Figure out exactly what capabilities you want first though. That'll
> make it much easier to plan out. And remember, if it's being done in
> the bootloader, you're not in the kernel, so you may have to
> reimplement some things.
Ok, but which is the "entry point" of the JFFS, that is, i need to call
the
functions to mount, or i can treat like a mounted file system, and just
read
the needed files?
And, I can read from a CompactFlash card, if i'm using (after boot) the
MTD
emulation? The CF is mapped as a hd device.
>
> --
> -------------------------------------------------
> Justin Wojdacki
> justin.wojdacki at analog.com (408) 350-5032
> Communications Processors Group -- Analog Devices
--
-------------------------------------------------
Daniel Belz danielb at cyclades.com.br
Cyclades Brasil R&D
Sao Paulo - Brazil +55 (11) 5033-3393
-------------------------------------------------
More information about the linux-mtd
mailing list