This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: RomFS problem solved
- From: jyl087 at netscape dot net
- To: jyl087 at netscape dot net, ecos-discuss at sources dot redhat dot com
- Date: Fri, 24 May 2002 01:18:17 -0400
- Subject: RE: [ECOS] RomFS problem solved
Ok, stupid pilot error...
I forgot to "ecosconfig add romfs" to my eCos 2.0 tree.
Sorry,
/Jim
jyl087@netscape.net wrote:
>
>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