Work NESC as USB-Ether gadget (USB Device mode ) (need kernel recompile...)

I have succeed to use NESC as usb-ethernet-gadget.
This make us enable to transfer file and communitaion by TCP/IP.
We will able transfer any files without wondering kernel ramdisk size.

 

This is kernel xconfig.

 f:id:honeylab:20170221033430p:plain

 

Clover presense is Nintendo USB Device driver for 500mA current sink.

This driver is included Nintendo Linux sources with KConfig and enabled in default kernel.

Check RNDIS driver ( and other )

 

Write some script.

f:id:honeylab:20170221034117p:plain

 

 

f:id:honeylab:20170221034039p:plain

In NESC , rndis0 enabled .

 

Connect USB Cable to Windows ( on linux failed....) (and boot from SD card )

then RNDIS device shown

Set IP

 f:id:honeylab:20170221035648p:plain

 

 

Let's ping from windows to NESC over USB RNDIS Driver... 

f:id:honeylab:20170221035703p:plain

ping arrived!

 

 And from NESC console to Windows...

f:id:honeylab:20170221035219p:plain

 

Success!

 

But the kernel is on SD Card yet...
Because Mali driver won't work after switch_root to /newroot.
I think some kernel compile option or any are wrong...