public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] store mac address
@ 2007-04-18  7:54 越 王
  2007-04-18 13:20 ` Mark Salter
  0 siblings, 1 reply; 4+ messages in thread
From: 越 王 @ 2007-04-18  7:54 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312, Size: 1427 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] store mac address
  2007-04-18  7:54 [ECOS] store mac address 越 王
@ 2007-04-18 13:20 ` Mark Salter
  2007-04-20  1:51   ` [ECOS] 回复: " 越 王
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Salter @ 2007-04-18 13:20 UTC (permalink / raw)
  To: 越 王; +Cc: ecos-discuss

On Wed, 2007-04-18 at 15:54 +0800, 越 王 wrote:
> 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
>      };    

Try CYGSEM_DEVS_ETH_ARM_PLATFORM_EEPROM.

--Mark



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] 回复: Re: [ECOS] store mac address
  2007-04-18 13:20 ` Mark Salter
@ 2007-04-20  1:51   ` 越 王
  2007-04-20  3:57     ` [ECOS] " Mark Salter
  0 siblings, 1 reply; 4+ messages in thread
From: 越 王 @ 2007-04-20  1:51 UTC (permalink / raw)
  To: Mark Salter; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312, Size: 1424 bytes --]

Hi Mark,
CYGSEM_DEVS_ETH_ARM_PLATFORM_EEPROM is also an unknown
option. Perhaps the correct option is in the file
ixdp425_npe.inl and is 
CYGSEM_DEVS_ETH_INTEL_NPE_PLATFORM_EEPROM?

Does it mean that I will use the default mac address
in the ixdp425_npe.inl and store this address in the
flash,if I configure this option? 

I want to use the redboot command set_npe_mac to set a
new mac address,then what do I need to do?

Thank you!:) 

--- Mark Salter <msalter@redhat.com>дµÀ:

> On Wed, 2007-04-18 at 15:54 +0800, Ô½ Íõ wrote:
> > 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
> >      };    
> 
> Try CYGSEM_DEVS_ETH_ARM_PLATFORM_EEPROM.
> 
> --Mark
> 
> 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 



      ___________________________________________________________ 
ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Re: 回复: Re: [ECOS] store mac  address
  2007-04-20  1:51   ` [ECOS] 回复: " 越 王
@ 2007-04-20  3:57     ` Mark Salter
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Salter @ 2007-04-20  3:57 UTC (permalink / raw)
  To: 越 王; +Cc: ecos-discuss

On Fri, 2007-04-20 at 09:51 +0800, 越 王 wrote:
> Hi Mark,
> CYGSEM_DEVS_ETH_ARM_PLATFORM_EEPROM is also an unknown
> option. Perhaps the correct option is in the file
> ixdp425_npe.inl and is 
> CYGSEM_DEVS_ETH_INTEL_NPE_PLATFORM_EEPROM?

Yeah, maybe so. Depends on what version of the code you have.
> 
> Does it mean that I will use the default mac address
> in the ixdp425_npe.inl and store this address in the
> flash,if I configure this option? 

Yes.

> 
> I want to use the redboot command set_npe_mac to set a
> new mac address,then what do I need to do?

set_npe_mac is used when there is an eeprom.
If you are storing the mac in flash, use fconfig to set the mac.

--Mark



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-20  3:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-18  7:54 [ECOS] store mac address 越 王
2007-04-18 13:20 ` Mark Salter
2007-04-20  1:51   ` [ECOS] 回复: " 越 王
2007-04-20  3:57     ` [ECOS] " Mark Salter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).