This is the mail archive of the ecos-discuss@sourceware.org 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]

store mac address


Hi all,
I have a board based intel xscale 425,without eeprom.
And I have red the discuss about how to store the mac
address in flash.
Mark said that we have to edit a separate file with
the content below:

     cdl_option  CYGSEM_DEVS_ETH_ARM_IXDP425_EEPROM {
         user_value 0
     };    

Then configure like this:

  % ecosconfig new ixdp425 redboot
  % ecosconfig import <path>/redboot_ROM.ecm
  % ecosconfig add intel_npe
  % ecosconfig add ixdp425_npe
  % ecosconfig import <path>/no_eeprom.ecm  <<  the
cdl lines above.
  % ecosconfig tree

But when I import the no_eeprom.ecm,the info says that
there is an unknown option
"CYGSEM_DEVS_ETH_ARM_IXDP425_EEPROM".I have searched
the source and don't get it indeed.
My source's version is ecos-trunk-full070408,and patch
it with v2.02 software from intel.

My question:
1 Should I add some code to declare this option?
2 If I have stored the mac address in flash, which
address in flash I can find the mac.Mark said it would
in redboot config area.But I want to know the flash
address exactly and the piece of source code to store
the mac address.

Thank you very much! 


      ___________________________________________________________ 
雅虎免费邮箱-3.5G容量,20M附件 
http://cn.mail.yahoo.com/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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