This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]