nuttx/boards/arm
Adam Feuer 237c0cca09 CDC ECM Ethernet over USB High Speed for SAMA5D36-Xplained #68
Author: Alan Carvalho de Assis <acassis@gmail.com>

    Run nxstyle against .c .h files and fix it

Author: Adam Feuer <adam@starcat.io>

Summary

    Adds CDC ECM Ethernet over USB High Speed for SAMA5D36-Xplained
      (and maybe other boards) (most of the code was there already,
      but didn't work out of the box for the SAMA5D36-Xplained)
    Only SAMA5D36-Xplained has been tested so far

Impact

    None if you don't use the CDC ECM Ethernet driver
    On SAMA5D36-Xplained, this adds high-speed Internet connectivity
      over USB 2.0 High Speed. via the USB CDC ECM Gadget driver.
    It may work on other boards too.
    This also fixed full-speed (low-speed) mode for the board too.

Limitations

    Hasn't been tested on anything other than SAMA5D36-Xplained board.

TODO

    Ideally this would include a composite RNDIS device so it would
      also work seamlessly on Windows. That is for a future PR
    Ideally this would include software to help configuration via
      mDNS/DNS-SD for plug and play compatibility with Linux and macOS.
      That is for a future PR.

Detail

    Only a few lines of C driver code needed to be changed, since the
      capability was there already. The rest is config and documentation.
    Changes the SAMA5D3-Xplained board bringup to match the SAMA5D3-EK
      board bringup
    A helper script to configure Linux routing and iptables NAT is also
      provided, along with documentation on how to use it.

Testing

    Manual, on a Ubuntu Linux 19.10 system and MacOS 10.14.6 Mojave
      MacBook Pro.

How To Verify

    Follow the new CDC ECM Ethernet over USB instructions in the board
      README.txt file

Commits:

    remove non-UTF-8 chars in comment and reformat

    removed unneeded comment markers

    instructions for using the defconfigs

    removed EMAC from config

    - to prove this example only needs the CDC ECM Ethernet over USB to work

    added CDC-ECM Ethernet over USB info to README

    added U-Boot image

    added netusb helper script

    - this can configure the Linux network interface and routes
      so you can ping or access the NuttX system via TCP/IP.

    renamed defconfig dirs to be ethernet-over-usb

    - was usb-over-ethernet which is not right

    added USB DMA to defconfigs

    updated readme with autoboot and debugging info

    bringing ethernet-over-usb examples into parity

    added cdc ecm ethernet over usb with telnetd config

    added defconfig

    only use phy interrupt if netdevices is ethernet

    - because now netdevice could be CDC ECM ethernet over usb
      which has no PHY interrupt

    add bringup to Makefile

    add bringup

    app init cleanup

    init cdc ecm driver and rndis driver; some cleanup

    fixed some typos and odd characters

    usb over ethernet working over usb 2.0 hs
2020-01-10 07:13:37 -03:00
..
a1x Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
am335x Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
c5471 Remove support for generation of RRLOAD binary files. The RRLOAD binary format was used with Linux BSPs from www.ridgerun.com circa 2000-2001. It is still need by the the c5471 board if that bootloader is used. Removes the CONFIG_RRLOAD_BINARY option and tools/mkimage.sh 2019-12-09 11:29:12 -06:00
cxd56xx boards/arm/cxd56xx/drivers/audio/cxd56_audio_bca_reg.c: Fails to compile 2020-01-09 07:22:55 -03:00
dm320 boards/arm/dm320/ntosd-dm320/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled. 2019-10-27 14:49:05 -06:00
efm32 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
imx6 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
imxrt Add Quectel EC20 4G LTE Module USB CDC/ACM support 2020-01-09 08:00:05 -03:00
kinetis Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
kl Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lc823450 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lpc17xx_40xx Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lpc31xx Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lpc43xx boards/arm/lpc43xx/bambino-200e/src/lpc43_appinit.c: Fix typo noted in last PR by João Matos. 2020-01-07 21:47:48 -03:00
lpc54xx Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lpc214x Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lpc2378 Linker scripts: Fix some alignment problems. 2019-09-15 18:06:36 -06:00
max326xx Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
moxart Linker scripts: Fix some alignment problems. 2019-09-15 18:06:36 -06:00
nrf52 nrf52: add support for SPI 2020-01-08 09:05:03 -06:00
nuc1xx Linker scripts: Fix some alignment problems. 2019-09-15 18:06:36 -06:00
s32k1xx Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam34 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sama5 CDC ECM Ethernet over USB High Speed for SAMA5D36-Xplained #68 2020-01-10 07:13:37 -03:00
samd2l2 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
samd5e5 Author: Gregory Nutt <gnutt@nuttx.org> 2020-01-02 12:35:45 -06:00
samv7 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
stm32 Add clang support to stm32f4discovery board 2020-01-09 07:31:35 -03:00
stm32f0l0g0 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
stm32f7 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
stm32h7 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
stm32l4 boards/arm/stm32l4/nucleo-l432kc/: Remove LPTIM1/2 duplicated entrys on Timer Configuration Menu. Timers TIM3, TIM4, TIM5, TIM8 and TIM17 are not available on STM32L432KC. Added support for timers LPTIM1/2. 2020-01-09 15:22:48 -06:00
str71x Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
tiva Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
tms570 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
xmc4 Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00