[PATHv11 00/43] net/lwip: add lwip library for the network stack

Fabio Estevam festevam at gmail.com
Wed Jan 3 15:30:26 CET 2024


Hi Maxim,

On Tue, Jan 2, 2024 at 2:31 PM Maxim Uvarov <maxim.uvarov at linaro.org> wrote:
>
> Small update here. I made changes without any board limit size changes.
> Reordered patches to make them compile in sequence. I think I will do one
> more clean up and more testing,
> and after that will be able to send an updated version.
> Working tree is here: https://github.com/u-boot/u-boot/pull/434

In which boards have you tested the series?

I built from https://github.com/muvarov/u-boot/tree/master_lwip_test_v10, but
it does not work reliably on an imx8mn-evk board. (Actualy tftp worked
only once):

u-boot=> ping 192.168.0.16
init already done for ethernet at 30be0000
Using ethernet at 30be0000 device
pinging addr: 192.168.0.16
host 192.168.0.16 is alive
 3 ms
u-boot=> dhcp Image
init already done for ethernet at 30be0000
dhcp using: 0:ethernet at 30be0000
dhcp_tmo 20/20
dhcp_tmo 19/20
dhcp_tmo 18/20
dhcp_tmo 17/20
dhcp_tmo 16/20
dhcp_tmo 15/20
dhcp_tmo 14/20
dhcp_tmo 13/20
dhcp_tmo 12/20
dhcp_tmo 11/20
dhcp_tmo 10/20
dhcp_tmo 9/20
dhcp_tmo 8/20
dhcp_tmo 7/20
dhcp_tmo 6/20
dhcp_tmo 5/20
dhcp_tmo 4/20
dhcp_tmo 3/20
dhcp_tmo 2/20
dhcp_tmo 1/20
dhcp_tmo 0/20
DHCP client timeout
u-boot=> tftp Image
init already done for ethernet at 30be0000
TFTP from server 192.168.0.16; our IP address is <NULL>
Filename 'Image'.
Load address: 0x42000000
Loading:########################################################
done
Bytes transferred = 19808768 (0x12e4200 hex)
u-boot=> tftp Image
init already done for ethernet at 30be0000
TFTP from server 192.168.0.16; our IP address is <NULL>
Filename 'Image'.
Load address: 0x42000000
Loading:eth_send error -22
tftp_get err=-13
u-boot=> tftp Image
init already done for ethernet at 30be0000
TFTP from server 192.168.0.16; our IP address is <NULL>
Filename 'Image'.
Load address: 0x42000000
Loading:eth_send error -22
tftp_get err=-13
u-boot=> tftp Image
init already done for ethernet at 30be0000
TFTP from server 192.168.0.16; our IP address is <NULL>
Filename 'Image'.
Load address: 0x42000000
Loading:eth_send error -22
tftp_get err=-13

Rebooted the board and tried again:

u-boot=> ping 192.168.0.16
eth0: ethernet at 30be0000 00:04:9f:06:33:d3 active
Using ethernet at 30be0000 device
pinging addr: 192.168.0.16
ping_tmo: ping failed; host 192.168.0.16 is not alive
u-boot=>


More information about the U-Boot mailing list