Hello,
I hope I am posting this at the right place since I am unfamiliar with this forum.
Recently, I was able to play with my usb armory armv7h device along with Archlinux ARM.
At one point, I've wondered if it was possible to use this device as a classic usb stick but still keeping ethernet connectivity to it. I quickly saw that it was the job of the g_multi kernel module, but it was not activated within the kernel config you are shipping.
I was able to compile the kernel with this option activated and play a bit with it, but in the long run, it is not feasable for me to continue having a forked version of your kernel. It fills up my microSD card space significantly and 20 hours for executing makepkg is just too long for me. The best solution is to activate these options in your config. I did fork your repo and made the required changes, but I was not sure if such a pull request would get accepted. I asked on IRC what would be the best steps to get this changed, and I was told that making this post might be the best way.
Here is the basic change I would like to merge (according to today's kernel), is that okay for you?
$this->bbcode_second_pass_code('', '
diff --git a/core/linux-armv7/PKGBUILD b/core/linux-armv7/PKGBUILD
index e6131d52d..ff33f5f9b 100644
--- a/core/linux-armv7/PKGBUILD
+++ b/core/linux-armv7/PKGBUILD
@@ -8,7 +8,7 @@ _srcname=linux-4.9
_kernelname=${pkgbase#linux}
_desc="ARMv7 multi-platform"
pkgver=4.9.8
-pkgrel=1
+pkgrel=2
rcnrel=armv7-x4
arch=('armv7h')
url="http://www.kernel.org/"
@@ -42,7 +42,7 @@ md5sums=('0a68ef3615c64bd5ee54a3320e46667d'
'dd1c99be98c43f06a07aa14fc47d6e3e'
'ef825f8c3563a87bab10f4782e7a0efc'
'ef5fd8e682fed9dce4bc3d1c821acbd1'
- '8f06a784da37647e0421d97cbed22a56'
+ '7b02867abca6bbd7576b5150e45a3110'
'1813b39074d01af6548951764a0f6444'
'4f2379ed84258050edb858ee8d281678'
'61c5ff73c136ed07a7aadbf58db3d96a'
diff --git a/core/linux-armv7/config b/core/linux-armv7/config
index faff946db..306e18e02 100644
--- a/core/linux-armv7/config
+++ b/core/linux-armv7/config
@@ -6232,7 +6232,9 @@ CONFIG_USB_G_PRINTER=m
CONFIG_USB_CDC_COMPOSITE=m
CONFIG_USB_G_NOKIA=m
CONFIG_USB_G_ACM_MS=m
-# CONFIG_USB_G_MULTI is not set
+CONFIG_USB_G_MULTI=m
+CONFIG_USB_G_MULTI_RNDIS=y
+# CONFIG_USB_G_MULTI_CDC is not set
CONFIG_USB_G_HID=m
# CONFIG_USB_G_DBGP is not set
CONFIG_USB_G_WEBCAM=m
')
You may notice that I do not want to enable CONFIG_USB_G_MULTI_CDC in the hope to have better compatibility with Windows [1] (I'm not using it, I cannot really tell you).
Also, right now I am talking about linux-armv7 package, should this change be put into linux-armv7-rc as well?
[1]: https://www.kernel.org/doc/Documentatio ... _multi.txt