I’ve been reading the am335x_evm.sh & friends for a while and don’t get it. Why are there two separate Ethernet over USB interfaces - eth0 and eth1 - doing the same exact thing? They both show up when I connect a BB to my Debian PC.
Having no experience with gadget and libcomposite, I’d guess that RNDIS and CDC ECM are both required simultaneously to somehow support Windows/Mac/Linux users out of the box?
Windows = CDC ECM = needs signed driver..
Apple = RNDIS = needs signed driver...
Windows will use the RNDIS with a built-in driver, thus user doesn't
have to install anything...
Apple will use the CDC ECM with a built-in driver, thus user doesn't
have to install anything...
So in linux, we end with two interfaces, because Windows and Apple
don't have a unified built-in driver...