[ECOS] RomFS problem solved

jyl087@netscape.net jyl087@netscape.net
Thu May 23 22:22:00 GMT 2002


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



More information about the Ecos-discuss mailing list