Skip to contentSkip to conversation

Ethernet issues in Yocto

DISCUSSION Surya 1 participant 1 message May 26, 2016

lore
Share & tools
lore

Surya

author
#0 lore raw

Hello all,

Recently i have builded yocto rootfs for am335x. I am getting some strange issues with eth0 & eth1 port.

As i am trying to make eth0 port down manually by "ifconfig eth0 down", but its not happening as per expected. It suddenly turns up within 2/3 seconds.

Scenario:
================

root@phycore-ge-am335x: <mailto:root@phycore-ge-am335x:>~# ifconfig eth0 down

root@phycore-ge-am335x: <mailto:root@phycore-ge-am335x:>~# [ 2987.129897] net eth0: initializing cpsw version 1.12 (0)

[ 2987.145498] net eth0: phy found : id is : 0x7c0f1
[ 2987.160812] 8021q: adding VLAN 0 to HW filter on device eth0
[ 2987.167287] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2989.145225] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 2989.151696] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

It seems the error is with "systemd-network.service".

Can i get any suggestion regarding this.

Thanks
Surya