Re: SAMA5D36 Ethernet over USB question

2020-01-03 Thread Adam Feuer
I spoke too soon. The NDIS gadget shows up using lsusb, but doesn't modprobe correctly, so doesn't register as a working ethernet interface. Here's the syslog entries from Linux: [357068.613065] usb 1-2: new high-speed USB device number 43 using ehci-pci > [357068.778390] usb 1-2: config 1 interfa

Re: SAMA5D36 Ethernet over USB question

2020-01-02 Thread Adam Feuer
Ok, got USBDEV_TRACE working and got the NuttX NDIS gadget to connect to my Linux host, it appears when I do lsusb. I had to add some NDIS initialization code for the SAMA5D3-xplained board and debug it using the SEGGER J-Link in order to get it working. I'll post a PR when I get it working all th

Re: SAMA5D36 Ethernet over USB question

2020-01-02 Thread Adam Feuer
I tried enabling the following config options to turn on USB tracing, but didn't get any tracing output when I rebooted: CONFIG_DEBUG_FEATURES=y > CONFIG_USBDEV_TRACE=y > CONFIG_USBDEV_TRACE_NRECORDS=5000 > CONFIG_USBDEV_TRACE_STRINGS=y > CONFIG_NSH_USBDEV_TRACE=n > CONFIG_NSH_ARCHINIT=y > CONFIG_

SAMA5D36 Ethernet over USB question

2020-01-02 Thread Adam Feuer
Hi, I am trying to get Ethernet over USB working on the SAMA5D36. I am using Ubuntu Linux. I configured NuttX as per Alan's video here: https://www.youtube.com/watch?v=8noH8v7xNgs https://www.youtube.com/watch?v=dk3jqhn9XQ4 I can compile NuttX and get a shell. I have the ping command. I don't s