Mac address in the DTS file

smitha.vanga at wipro.com smitha.vanga at wipro.com
Fri Dec 30 23:51:55 EST 2011


 
Hi Scott,

In my DTS file for mpc8247 I have defined the ether MAC in the node as below.

ethernet at 24000 {
                       #address-cells = <1>;
                       #size-cells = <0>;
                       device_type = "network";
                       device-id = <1>;
                       compatible = "fs_enet";
                       model = "FCC";
                       reg = <11300 20 8400 100 11380 30>;
                       mac-address = [ 00 e0 ee 00 05 2e ];
                       interrupts = <20 2>;
                       interrupt-parent = <10c00>;
                       phy-handle = <2452000>;
                       rx-clock = <13>;
                       tx-clock = <12>;
               };


The driver is working and everything is fine. But as I defined the mac-address as 00:e0:ee:00:05:2e
Its constant. Am not able to change this mac -address in linux once the target is up with LINUX.
How do I change the MAC address. If different targets boards are connected on the network then every board will have the same MAC address as  the .dtb file is the same. How to go about this problem?
It would be a great help if you answer soon.

Regards,
Smitha 


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the Linuxppc-dev mailing list