AnsweredAssumed Answered

IMX6ULL EVK: Ethernet problem

Question asked by crcn on Aug 30, 2017

Hi,

I have 2 IMX6ULL EVK since few months.

I create my bsp with the followings commands:

mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
git config --global user.name "xxxxx"    //here I put another name
git config --global user.email "xxxx@xxxx.xx"    //here I put my email address
git config --list
mkdir fsl-release-bsp
cd fsl-release-bsp
repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
repo sync
DISTRO=fsl-imx-fb MACHINE=imx6ull14x14evk source fsl-setup-release.sh -b miprimerbsp

and  generate my images files using "bitbake core-image-minimal".

With this configuration, and without any packages more in local.conf I can ping eth0 but not eth1 (I have configured  0001-ARM-imx-imx6ul-add-PHY-KSZ8081-new-silicon-revision-.patch). To resolve that I have to add "connman" package in local.conf (I don't know why).

In the next months everything ok.

 

But now, I have generate another bsp, and with the same configuration I have the following scenario:

-I have link in eth0 (192.169.10.50) and eth1(192.169.10.51)

-If I'm connected to eth0 I can ping to 192.169.10.50 and 192.169.10.51 (It's strange that I can ping 192.169.10.51  because I don't have any bridge configured between eth0 and eth1)

-If I'm connected to eth1 cannot ping 192.169.10.50 and  192.169.10.51.

 

This happens in both EVK and in few prototypes that I have with IMX6ULL.

 

Have different mac's in both eth (configured in u-boot with setenv ethaddr and setenv eth1addr).

 

In /etc/network/interfaces I have this configuración:

/etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback

# Wired or wireless interfaces
auto eth0
iface eth0 inet static
address 192.169.10.50
network 192.169.10.0
netmask 255.255.255.0
broadcast 192.169.10.255
gateway 192.169.10.1

auto eth1
iface eth1 inet static
address 192.169.10.51
network 192.169.10.0
netmask 255.255.255.0
broadcast 192.169.10.255
gateway 192.169.10.1

 

Any one can help me with that?

 

Thanks.

Original Attachment has been moved to: local.conf.zip

Outcomes