On Thu, 30 Nov 2023 at 19:00, Fabio Estevam <feste...@gmail.com> wrote:
> Hi Maxim, > > On Thu, Nov 30, 2023 at 5:39 AM Maxim Uvarov <maxim.uva...@linaro.org> > wrote: > > > If networking for some reason doesn't work on that board (I tested only > virtual board). Please try to compile with: > > Could you also try on a real board? > > Tom tested on a Raspberry Pi3 and it failed too: > > https://lore.kernel.org/u-boot/20231127185953.GW2513409@bill-the-cat/ > > > CONFIG_LWIP_LIB_DEBUG=y > > #CONFIG_LWIP_LIB_NOASSERT is not set > > > > It should make network activity more verbose. In many cases I saw issues > that physically MAC address do not match to lwip initialized value, > > and lwip drops such packets. > > The ping response with: > > CONFIG_LWIP_LIB_DEBUG=y > #CONFIG_LWIP_LIB_NOASSERT is not set > > u-boot=> ping 192.168.0.16 > init already done for eth1 > Using eth1 device > pinging addr: 192.168.0.16 > ping: send 192.168.0.16 > ip4_output_if: 0IP header: > +-------------------------------+ > | 4 | 5 | 0x00 | 60 | (v, hl, tos, len) > +-------------------------------+ > | 40 |000| 0 | (id, flags, offset) > +-------------------------------+ > | 255 | 1 | 0x3994 | (ttl, proto, chksum) > +-------------------------------+ > | 192 | 168 | 0 | 164 | (src) > +-------------------------------+ > | 192 | 168 | 0 | 16 | (dest) > +-------------------------------+ > ip4_output_if: call netif->output() > etharp_find_entry: found matching entry 0 > etharp_query: queued packet 00000000bdf03e70 on ARP entry 0 > ping_tmo: ping failed; host 192.168.0.16 is not alive > u-boot=> > I will test that. smsc95xx_eth included in some CI tests and it worked. So some differences on real hardware... Log says that a ping packet was sent, but no packet on rx. Might be the start function of smsc95xx_eth called wrongly.... BR, Maxim.