linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: TEMAC MAC address
       [not found] <3D99384DA1D6124CBE9EE993BAA0E5B70195FDFD@exbe-dak-01.daktronics.lan>
@ 2007-07-11 20:11 ` Grant Likely
  2007-07-13  3:57   ` David H. Lynch Jr.
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Likely @ 2007-07-11 20:11 UTC (permalink / raw)
  To: Kevin Holland, Linux PPC Linux PPC

On 7/11/07, Kevin Holland <KHollan@daktronics.com> wrote:
> Grant,
>  How do I set the MAC address?

Badly, with an ugly hack.  :-)

> When my ML410 board boots its Hardware
> address is set to 0.  I looked through the message boards and can't seem
> to find what Im looking for.  Thanks for your help.

I set the mac addr with some Virtex specific code in
arch/ppc/boot/simple/embed_config.c.

BTW, Please at least CC: the mailing list when asking questions.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

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

* Re: TEMAC MAC address
  2007-07-11 20:11 ` TEMAC MAC address Grant Likely
@ 2007-07-13  3:57   ` David H. Lynch Jr.
  0 siblings, 0 replies; 2+ messages in thread
From: David H. Lynch Jr. @ 2007-07-13  3:57 UTC (permalink / raw)
  To: Grant Likely; +Cc: Kevin Holland, Linux PPC Linux PPC

Grant Likely wrote:
> On 7/11/07, Kevin Holland <KHollan@daktronics.com> wrote:
>   
>> Grant,
>>  How do I set the MAC address?
>>     
>
> Badly, with an ugly hack.  :-)
>
>   
>> When my ML410 board boots its Hardware
>> address is set to 0.  I looked through the message boards and can't seem
>> to find what Im looking for.  Thanks for your help.
>>     
>
> I set the mac addr with some Virtex specific code in
> arch/ppc/boot/simple/embed_config.c.
>
> BTW, Please at least CC: the mailing list when asking questions.
>   

Pico cards pass the MAC address to linux via the board info struct -
doesn't uboot etc.
have a similar facility ?

Pico registered a block of MAC addresses, uses them as card serial
numbers and passes them via
board info.


-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@dlasys.net 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein

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

end of thread, other threads:[~2007-07-13  3:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3D99384DA1D6124CBE9EE993BAA0E5B70195FDFD@exbe-dak-01.daktronics.lan>
2007-07-11 20:11 ` TEMAC MAC address Grant Likely
2007-07-13  3:57   ` David H. Lynch Jr.

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 NNTP newsgroup(s).