Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: EMAC problem with AT91SAM9260
PostPosted: Sat Jun 20, 2009 1:06 pm 
Offline

Joined: Sat Jun 20, 2009 11:09 am
Posts: 1
Hi,

I'm workink with a AT91SAM9260 and I've got problem to change the mac address.
I've set the ethaddr to 00:de:ad:b0:95:05.

so i've it in printenv :

Code:
U-Boot> printenv
bootdelay=3
baudrate=115200
ethaddr=00:de:ad:b0:95:05
ipaddr=192.168.0.211
serverip=192.168.0.1
loadaddr=0x21500000
bootfile=uImage
bootnfs= mem=64M console=ttyS0,115200, noinitrd root=/dev/nfs rw nfsroot=192.168.0.1:/k2008 ip=192.168.0.211:::::eth0
bootargs= mem=64M console=ttyS0,115200, noinitrd root=/dev/mtdblock0 rootfstype=jffs2
bootftp=tftp;bootm 0x21500000
bootcmd= nand read 0x21500000 0x00100000 0x001BC050; bootm 0x21500000
stdin=serial
stdout=serial
stderr=serial

Environment size: 477/262140 bytes



But ethernet MAC address don't change :

Code:
eth1    Link encap:Ethernet  HWaddr 00:DE:AD:B0:05:00
          inet addr:192.168.0.211  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:126 (126.0 b)  TX bytes:96 (96.0 b)
          Interrupt:21 Base address:0x4000


Is somebody can help me please ??


Top
 Profile  
 
 Post subject: Re: EMAC problem with AT91SAM9260
PostPosted: Sat Jun 20, 2009 6:51 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 186
Location: Mounds View, MN
If you are using Linux, check your network scripts. It is possible to use ifconfig to change the ethaddr after the linux kernel has started. And you can put ifconfig command lines in the networking script files. So a network script file could change the ethaddr. Also, I thought the emac on the 9260 usually comes up as eth0 in linux.

_________________
Tim Barr
Multitech Inc.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: