RobertCNelson / boot-scripts

Just a bunch of useful scripts placed under /opt/scripts/
124 stars 131 forks source link

boot: Update USB CDC Ethernet gadget to use NCM #114

Closed vk3jpk closed 4 years ago

vk3jpk commented 4 years ago

The USB CDC Ethernet gadget is currently configured to use the ECM protocol. Unfortunately this protocol is no longer supported by MacOS hosts. However, the newer NCM protocol is supported. The NCM protocol is also supported by Linux hosts.

This patch updates the USB CDC Ethernet gadget configuration scripts to use the NCM protocol instead of the ECM protocol.

The patch has been tested on MacOS 10.15.4 using a pocketbeagle. It is untested on other beagle hardware.

Signed-off-by: James Kelly vk3jpk@gmail.com