This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Implementing file system
Hi Andrew,
> as I use for other examples which works..Note the I replace the
"main()"
> > in examples with "cyg_user_start()"
>
> Why?
-- If i keep "main()" routines, application when loaded does not work..
I adon't know why? need some more pointers !!
> You say other test programs work correctly with this procedure? ie
> only fileio1 fails to run. Does packages/kernel/current/tests/tm_basic
> work?
-- I just made the tm_basic.bin and tried to load. Its too not working..
Do, I need to check my kernel configuration in ecos..?
please, let me know..
--
Raja
On Wed, 2005-05-04 at 12:10, Andrew Lunn wrote:
> On Wed, May 04, 2005 at 12:01:53PM +0530, Raja Mallik wrote:
> > 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()"
>
> Why?
>
> >
> > 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!
>
> You say other test programs work correctly with this procedure? ie
> only fileio1 fails to run. Does packages/kernel/current/tests/tm_basic
> work?
>
> Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss