From: Sergei Gavrikov <sergei.gavrikov@gmail.com>
To: Ross Younger <wry@ecoscentric.com>
Cc: eCos discuss-list <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] RedBoot's load and fileio
Date: Tue, 08 Sep 2009 10:20:00 -0000 [thread overview]
Message-ID: <20090908102006.GA4220@sg-laptop> (raw)
In-Reply-To: <4AA6226F.3030107@ecoscentric.com>
On Tue, Sep 08, 2009 at 10:22:55AM +0100, Ross Younger wrote:
> Hi Sergei,
>
> > Does anybody know what was a reason to suppress in RedBoot an ability
> > to load files in RAM from a file on the mounted filesystem(s)?
>
> Support for loading from fileio is present, but hiding; I think what you
> found was the old code. It really lives in fs/fileio.c, switched on by the
> option CYGPKG_REDBOOT_FILEIO.
>
> All you should need to do is add CYGPKG_IO_FILEIO to your config, and
> resolve any conflicts, before you build RedBoot. Then, the syntax "load -m
> fileio /some/file" is what you're looking for.
Hi Ross,
Thank you! I really missed this :-)
grep -qr -- '-m file' $ECOS_REPOSITORY/redboot/current/doc&&echo documented
documented
I will try it. I saw that commented out block in CVS'ed load.c and I
became "to build" my guesses. Once again thank you for the tip.
Regards,
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2009-09-08 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-08 9:01 Sergei Gavrikov
2009-09-08 9:23 ` Ross Younger
2009-09-08 10:20 ` Sergei Gavrikov [this message]
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=20090908102006.GA4220@sg-laptop \
--to=sergei.gavrikov@gmail.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=wry@ecoscentric.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).