Mac address in the DTS file
From: <hidden>
Date: 2011-12-30 13:07:40
Hi Scott,
In my DTS file for mpc8247 I have defined the ether MAC in the node as below=
.
ethernet@24000 {
#address-cells =3D <1>;
#size-cells =3D <0>;
device_type =3D "network";
device-id =3D <1>;
compatible =3D "fs_enet";
model =3D "FCC";
reg =3D <11300 20 8400 100 11380 30>;
mac-address =3D [ 00 e0 ee 00 05 2e ];
interrupts =3D <20 2>;
interrupt-parent =3D <10c00>;
phy-handle =3D <2452000>;
rx-clock =3D <13>;
tx-clock =3D <12>;
};
The driver is working and everything is fine. But as I defined the mac-addre=
ss as 00:e0:ee:00:05:2e
Its constant. Am not able to change this mac -address in linux once the targ=
et is up with LINUX.
How do I change the MAC address. If different targets boards are connected o=
n the network then every board will have the same MAC address as the .dtb f=
ile 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. =0A=
=0A=
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. =0A=
=0A=
WARNING: Computer viruses can be transmitted via email. The recipient should=
check this email and any attachments for the presence of viruses. The compa=
ny accepts no liability for any damage caused by any virus transmitted by th=
is email. =0A=
=0A=
www.wipro.com