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]

Re: romfs base address


Warren Jasper wrote:
> 
> I see that
> 
> cdl_option CYGNUM_FS_ROM_BASE_ADDRESS {
>     # Flavor: data
>     user_value 0x8200000
>     # value_source user
>     # Default value: 0x50040000
> };
> 
> Is no longer defined in the ecos.ecc cdl file.

It was only ever used by the test.

>  Could someone please tell
> me EXACTLY how to speify the base adress for the rom fs.  Is this
> done only in the MTAB entry in the application code?  For example is
> this correct?
> 
> //==========================================================================
> 
> #define CYGNUM_FS_ROM_BASE_ADDRESS 0x8200000
> MTAB_ENTRY( romfs_mte1,
>                    "/",
>                    "romfs",
>                    "",
>                    (CYG_ADDRWORD) CYGNUM_FS_ROM_BASE_ADDRESS );

Yes, assuming you've actually _put_ a ROMFS at that address :-).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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