Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Gregory Nutt
The GMAC at eth0 also works! :) There is a good dual network test at apps/examples/bridge. There is a description in the Kconfig there. There are test configurations here: boards/arm/sama5/sama5d3-xplained/configs/bridge boards/arm/sama5/sama5d4-ek/configs/bridge That should, at lease, show

Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Adam Feuer
The GMAC at eth0 also works! :) On Sun, Jan 12, 2020 at 6:57 PM Gregory Nutt wrote: > > NuttX reports an ethernet address of ff:ff:ff:ff:ff:ff though. I'll look > > into how to add logic to set a better ethernet address. > Not a problem. That is the broadcast address > -- Adam Feuer

Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Gregory Nutt
NuttX reports an ethernet address of ff:ff:ff:ff:ff:ff though. I'll look into how to add logic to set a better ethernet address. Not a problem.  That is the broadcast address

Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Adam Feuer
I fixed the routing table on my laptop and can ping the Nuttx board now; and the NuttX board can ping the laptop. Super! NuttX reports an ethernet address of ff:ff:ff:ff:ff:ff though. I'll look into how to add logic to set a better ethernet address. I'll do some bandwidth tests tomorrow with the

Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Gregory Nutt
eth1 has no MAC address. H. How do I set this? Where is eth0's MAC set? eth0 will be configured by apps/netutils/netinit.  Bit it will initialize only one network.  It will require custom logic to initialize two networks. Have you tried: nsh>ifup eth0 No. Bravo! That got the interfac

Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Adam Feuer
On Sun, Jan 12, 2020 at 3:08 PM Gregory Nutt wrote: > Have you turned on network debug output? At least errors and warnings. > Yes, I have the following set: CONFIG_DEBUG_INFO=y CONFIG_DEBUG_NET_INFO=y > eth1 has no MAC address. > H. How do I set this? Where is eth0's MAC set? > Are y

Re: SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Gregory Nutt
NuttX compiles and runs. When I do ifconfig, I see both interfaces. But I plug an ethernet cable into either port and into my laptop's ethernet port, neither interface will come up: nsh> ifconfig eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 at DOWN inet addr:107.127.109.40 DRaddr:107.127

SAMA5D36-Xplained Ethernet – interface won't come up

2020-01-12 Thread Adam Feuer
I have a SAMA5D36-Xplained. I have configured NuttX to use the GMAC gigabit ethernet as eth0, and EMACA 10/100 ethernet as eth1. NuttX compiles and runs. When I do ifconfig, I see both interfaces. But I plug an ethernet cable into either port and into my laptop's ethernet port, neither interface w