Sorry but I just can't figure it out. I have enabled the `dwc2` overlay in config.txt and I created a tcz package with the following modules added:
This happened to me when I added dtoverlay=dwc2 to the last line of config.txt. As some lines above there is a [RPI3] statement your overlay will not be loaded on a RPI0.
So either move this some lines up to the [ALL] section or better add a [RPI0] statement before this line.
I also put `modules-load=dwc2,g_ether` after `rootwait` in cmdline.txt and then I reboot my rpi. It doesn't show up as a usb device on my machine. Is there something I forgot to do?
As far as I can tell adding modules-load to cmdline.txt will not work with Tiny Core Linux. This is a feature only available in Raspbian. So please add modprobe to /opt/bootlocal.sh.
As soon as g_multi is in lsmod you can setup usb0 via ifconfig. Your keyboard will still work after modprobing dwc2, g_multi, ... (until you unplug