[U-Boot] Ethernet not found on Arria 5.

Marek Vasut marex at denx.de
Thu Mar 10 01:25:20 CET 2016


On 03/09/2016 10:40 PM, Dinh Nguyen wrote:
> On 03/09/2016 08:00 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote:
>> Hi Marek,
>>
>>> Perform usual test, disable cache (dcache off) .
>>
>> I tried and result is still the same.
>>
>> UPD: I did a little trick:
>> 1. I started ping from the board side. That made the board listen to incoming packets (calling in infinite loop eth_rx() ).
>> 2. Started ping from PC side.
>> 3. In this case board receive ICMP packets from PC:
>>
>> packet received
>> Receive from protocol 0x800
>> Got IP
>> len=60, v=45
>> Got ICMP ECHO REQUEST, return 74 bytes 
>>
>> So, ICMP packets are handled by the board, but ARP packets not.
>>
>> In my understanding it tells me that at least interface on the board side is alive.
>>
>> I'm now doing some low-level debugging, however I think this is not the best idea. :)
>> Now dw_eth_recv (designware.c) always returns 0 length of the packet.
>>
> 
> I was able to tftp an kernel image using mainline U-Boot on my Arria5
> board today. However, I wasn't able to dhcp, but I'm not sure if that's
> the board or my network.
> 
> 
> U-Boot 2016.03-rc3-00008-g08b2472 (Mar 09 2016 - 13:37:27 -0600)
> 
> CPU:   Altera SoCFPGA Platform
> FPGA:  Altera Arria V, D5, version 0x0
> BOOT:  SD/MMC External Transceiver (1.8V)
>        Watchdog enabled
> I2C:   ready
> DRAM:  1 GiB
> MMC:   dwmmc0 at ff704000: 0
> In:    serial
> Out:   serial
> Err:   serial
> Model: Altera SOCFPGA Arria V SoC Development Kit
> Net:   eth0: ethernet at ff702000
> Hit any key to stop autoboot:  0
> => tftp ${loadaddr} zImage
> Speed: 1000, full duplex
> Using ethernet at ff702000 device
> TFTP from server 137.57.160.210; our IP address is 137.57.160.216
> Filename 'zImage'.
> Load address: 0x8000
> Loading:
>          #################################
>          552.7 KiB/s
> done
> Bytes transferred = 3491984 (354890 hex)
> =>

Thanks for the test!

The speed looks weird, it should be in the 2-3MiB range.

Are you booting using mainline U-Boot SPL ? :-)

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list