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: How to incorporate a file system image when building eCos app


Hi,

On Fri, Feb 11, 2011 at 5:54 PM, Michael Bergandi <mbergandi@gmail.com> wrote:
> Hi all,
>
> I did a bit of searching through the documentation and list archives,
> but I haven't come across anything that addresses what I am trying to
> do.
>
> Presently, I am doing development of ?a package on the Linux synthetic
> target. Once I get things working fine there, I will build for my
> target hardware. My package has a test program that requires loading
> of data from two files. One file has data that will be processed and
> afterward, it will be compared with the contents of the other for
> verification.
>
> My problem is that I don't know how to get my files into an
> appropriate file system image and how to get it built into the eCos
> image. If someone has a howto they can point me to or to some other
> documentation, it would be greatly appreciated.

You can mkfs.jffs2 the file system on the host computer:
http://linux.die.net/man/1/mkfs.jffs2
Then you can either copy separately the binary file of the file system
to the target, or you can transform it into a .h file and compile and
link it with your application (assuming the application is a ROM or a
ROMRAM application).

Regards,
Edgar


> Thanks,
>
> --
> Mike
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>

--
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]