This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RedBoot's load and fileio


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]