- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am having trouble passing the mac address from u-boot. I am using the nios2-linux-20100621.tar.gz distribution with OpenCores ethernet 10/100 MAC. My bootargs passes this to linux CONSOLE=/dev/ttyS0 root=/dev/ram0 rw panic=10 mtdparts=flash-0:256k(PART0)ro,128k(PART1),128k(PART2),1536k(PART3),32m(PART4),16m(PART5),8m(PART6),5088k(PART7),256k(PART8)ro oeth_mac=00:1b:97:00:01:3b mzt_diag And this is reported on console 0.000000] Kernel command line: CONSOLE=/dev/ttyS0 root=/dev/ram0 rw panic=10 mtdparts=flash-0:256k(PART0)ro,128k(PART1),128k(PART2),1536k(PART3),32m(PART4),16m(PART5),8m(PART6),5088k(PART7),256k(PART8)ro oeth_mac=00:1b:97:00:01:3b mzt_diag However, ifconfig reports the hardcoded mac address root:~> ifconfig -a eth0 Link encap:Ethernet HWaddr 00:07:ED:0A:03:29 inet addr:10.1.2.104 Bcast:10.1.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1238 errors:0 dropped:21 overruns:0 frame:16 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 Interrupt:4 Base address:0x1000 Memory:4000-7fff I have selected the parse command line option in kernel config. Any ideas whats wrong? Is oeth_mac the correct bootargs variable? BTW, the ethernet link is up and working albeit with the wrong mac address. I can do telnet from and to my controller. Thanks in advance, BaradaLink Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page