This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Having trouble with RomFS in eCos 2.0
- From: jyl087 at netscape dot net
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 23 May 2002 20:37:12 -0400
- Subject: [ECOS] Having trouble with RomFS in eCos 2.0
I'm having trouble with the RomFS under eCos 2.0. I've had no trouble in the previous eCos, so I wonder what's changed.
I have an MTAB_ENTRY declaration in my test program as follows:
MTAB_ENTRY( romfs_mte1, "/", "romfs", "", (CYG_ADDRWORD)0xe0080000);
Target is EDB7312.
I traced the problem to the mount table initializer (cyg_mtab_init).
It seems that the linker defined variable, "fstab_end" is incorrect. In my case, it the
for (f= &fstab[0]; f!=&fstab_end; f++)
loop never gets to the fstab entry for the RomFs because it terminates prematurely. I don't really understand how this variable (fstab_end) gets set.
Any ideas?
Thanks,
/Jim
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss