This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Implementing file system
- From: Raja Mallik <raja dot mallik at moschip dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: 04 May 2005 12:01:53 +0530
- Subject: Re: [ECOS] Implementing file system
- References: <1115030360.2128.6929.camel@mazda>
Hi Again,
Thanks for the info. I am able to add RAMFS to my existing BUILD tree
and cross-compile for my arm board.
I am also able to generated the test code for ramfs that are located in
ecos-2.0/packages/fs/ramfs/v2_0/tests/fileio1.c
Now I am using armboot loader to load any appilcation binary which I
compiled as:
#make INSTALL_DIR=.../Myboard_install fileio1
and I do
#arm-elf-objcopy -g -O binary fileio1 fileio1.bin
as I use for other examples which works..Note the I replace the "main()"
in examples with "cyg_user_start()"
My armboot loader supports any binary application that can be loaded at
0x30000..
With this procedure I am not able get any message that I have in the
test code "fileio1.c" ...
Am I missing something .. kindly share your thoughts!
Regards
Raja
On Mon, 2005-05-02 at 16:09, Raja Mallik wrote:
> Hi all,
>
> I want to implement file system support for my arm board .. I have these
> Q's before I am starting with..
>
> 1) "ecos.db" has defines in packages as:
>
> CYGPKG_FS_RAM , CYGPKG_FS_ROM, and CYGPKG_FS_JFFS2..
>
> Should I use this? Well to my choice, I would like to try RAM..
>
> 2) Now .. I don't see any "fs" template in
>
> ecos-2.0/packages/devs/ ( unlike we find "eth" "flash" )
>
> what do I do? shall I create one and write the entire tree..as
> ecos-2.0/packages/devs/fs/arm/MYBOARD/v2_0/
>
> and implement CDL and SRC..
>
> Is that right to do..
>
> 3) If the choose to use "ecos-2.0/packages/devs/flash/arm" ..how would I
> proceed?
>
>
> Can anybody share info..?
>
>
> Regards
> Raja
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss