Skip to contentSkip to conversation

How to disable MAC address for usb_ether

U-Boot Xuebing Wang 3 participants 3 messages Apr 8, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

My board has one Ethernet, one USB Host and one USB Slave.

Command bdinfo shows below:

eth0name    = cpsw
ethaddr     = 90:59:af:54:1a:28
eth1name    = usb_ether
eth1addr    = 90:59:af:54:1a:2a

current eth = cpsw

Would you please teach me how to disable usb_ether MAC address, thus
bdinfo will show "eth1addr = (not set)"?

Thanks a lot.

Signature · 2 lines
Thanks,
Xuebing Wang
#1 lore raw

Hi Xuebing,

Quoted 10 lines · Xuebing Wang

Hi,

My board has one Ethernet, one USB Host and one USB Slave.

Command bdinfo shows below:

eth0name    = cpsw
ethaddr     = 90:59:af:54:1a:28
eth1name    = usb_ether
eth1addr    = 90:59:af:54:1a:2a
Quoted 6 lines

current eth = cpsw

Would you please teach me how to disable usb_ether MAC address, thus
bdinfo will show "eth1addr = (not set)"?

Thanks a lot.

Why do you want to unset the MAC address? Either you are using USB Ethernet, and you need it to have a valid MAC, or you are not using it, and eth1addr does not matter and can be safely ignored.

Still, you might want to try and check whether eth1addr is defined in the environment (see env commands) and try to unset it -- but that depends on which board exactly you are using and whether it is supported by mainline U-Boot.

Amicalement,

Signature · 1 line
Albert.
#2 lore raw
In reply to Xuebing Wang
Quoted 6 lines · Xuebing Wang

Hi,

My board has one Ethernet, one USB Host and one USB Slave.

Command bdinfo shows below:

Quoted 8 lines
eth0name    = cpsw
ethaddr     = 90:59:af:54:1a:28
eth1name    = usb_ether
eth1addr    = 90:59:af:54:1a:2a

current eth = cpsw

Would you please teach me how to disable usb_ether MAC address, thus
bdinfo will show "eth1addr = (not set)"?

Please note that the eFuse on your chip has at least 2 MAC addresses on it and we probe and setup both to pass along to the kernel.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140408/fe9a67c6/attachment.pgp>