All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Belz <danielb@cyclades.com.br>
To: justin.wojdacki@analog.com
Cc: MTD <linux-mtd@lists.infradead.org>
Subject: Re: Mounting JFFS2, Bootloader
Date: Thu, 11 Jul 2002 14:42:41 -0300	[thread overview]
Message-ID: <3D2DC391.6C13A750@cyclades.com.br> (raw)
In-Reply-To: 3D2DBB83.ED181F2C@analog.com

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@analog.com         (408) 350-5032
> Communications Processors Group -- Analog Devices

-- 
------------------------------------------------- 
 Daniel Belz           danielb@cyclades.com.br
 Cyclades Brasil       R&D 
 Sao Paulo - Brazil    +55 (11) 5033-3393
-------------------------------------------------

  reply	other threads:[~2002-07-11 17:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11 12:28 Mounting JFFS2, Bootloader Daniel Belz
2002-07-11 17:08 ` Justin Wojdacki
2002-07-11 17:42   ` Daniel Belz [this message]
2002-07-11 18:49     ` Justin Wojdacki
2002-07-12 15:43 ` Marius Groeger
2002-07-11 17:50   ` Daniel Belz
2002-07-11 17:45     ` Russ Dill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D2DC391.6C13A750@cyclades.com.br \
    --to=danielb@cyclades.com.br \
    --cc=justin.wojdacki@analog.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.