Hello,
I am using custom board (i.MX6 solo ) with ksz8873 ethernet switch.
Even I did porting U-boot, ping test was fail.
Somebody help me.....plz...OTL....
U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Feb 06 2017 - 11:55:40 +0900)
CPU: Freescale i.MX6SOLO rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 53C
Reset cause: POR
Board: UPnX
I2C: ready
DRAM: 512 MiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc2(part 0) is current device
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
=> setenv ipaddr 172.30.20.61
=> setenv gatewayip 172.30.20.1
=> setenv netmask 255.255.0.0
=> setenv serverip 172.30.20.64
=> setenv ethaddr FE:6E:06:3F:AD:69
=> ping 172.30.20.64
Using FEC device
error frame: 0x2ef39be0 0x00000890
ARP Retry count exceeded; starting again
ping failed; host 172.30.20.64 is not alive
=> mii info
PHY 0x01: OUI = 0x0885, Model = 0x03, Rev = 0x00, 100baseT, FDX
PHY 0x02: OUI = 0x0885, Model = 0x03, Rev = 0x00, 10baseT, HDX
PHY 0x03: OUI = 0x0885, Model = 0x03, Rev = 0x00, 100baseT, FDX
=> mii dump 0 1
1. (ffff) -- PHY status register --
(8000:8000) 1.15 = 1 100BASE-T4 able
(4000:4000) 1.14 = 1 100BASE-X full duplex able
(2000:2000) 1.13 = 1 100BASE-X half duplex able
(1000:1000) 1.12 = 1 10 Mbps full duplex able
(0800:0800) 1.11 = 1 10 Mbps half duplex able
(0400:0400) 1.10 = 1 100BASE-T2 full duplex able
(0200:0200) 1. 9 = 1 100BASE-T2 half duplex able
(0100:0100) 1. 8 = 1 extended status
(0080:0080) 1. 7 = 1 (reserved)
(0040:0040) 1. 6 = 1 MF preamble suppression
(0020:0020) 1. 5 = 1 A/N complete
(0010:0010) 1. 4 = 1 remote fault
(0008:0008) 1. 3 = 1 A/N able
(0004:0004) 1. 2 = 1 link status
(0002:0002) 1. 1 = 1 jabber detect
(0001:0001) 1. 0 = 1 extended capabilities
=> mii dump 0 2
2. (ffff) -- PHY ID 1 register --
(ffff:ffff) 2.15- 0 = 65535 OUI portion
=> mii dump 0 3
3. (ffff) -- PHY ID 2 register --
(fc00:fc00) 3.15-10 = 63 OUI portion
(03f0:03f0) 3. 9- 4 = 63 manufacturer part number
(000f:000f) 3. 3- 0 = 15 manufacturer rev. number
=>
Original Attachment has been moved to: yocto.txt.zip
Hello Colin,
I see that you are setting the mac address in uboot. If you are providing some fake mac addresses this might
cause the ARP errors you are seeing.
Saludos
Jaime