On 02/05/2016 03:07 AM, Amit Kucheria wrote:
On Thu, Feb 4, 2016 at 6:16 PM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
On 02/04/2016 09:30 PM, Ricardo Salveti wrote:
On Thu, Feb 4, 2016 at 10:16 AM, Akira Tsukamoto akira.tsukamoto@linaro.org wrote:
From 5308bdbc06c223f00660f8b793872185ce8ff22b Mon Sep 17 00:00:00 2001 From: Akira Tsukamoto akira.tsukamoto@linaro.org Date: Thu, 4 Feb 2016 19:59:56 +0900 Subject: [PATCH] ARM64: defconfig: enable several common USB network adapters
The arm64 system is likely to be used as a host computer instead of embedded devices and adding USB-Ethernet dongles to make it behave as host PC is mandatory.
Signed-off-by: Akira Tsukamoto akira.tsukamoto@linaro.org
arch/arm64/configs/defconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d63b6e3..207d1b6 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -124,6 +124,26 @@ CONFIG_NET_XGENE=y CONFIG_SKY2=y CONFIG_SMC91X=y CONFIG_SMSC911X=y +CONFIG_USB_NET_DRIVERS=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_CDCETHER=y +CONFIG_USB_NET_CDC_NCM=y +CONFIG_USB_NET_DM9601=y +CONFIG_USB_NET_SR9800=y +CONFIG_USB_NET_SMSC75XX=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_NET1080=y +CONFIG_USB_NET_PLUSB=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_CDC_SUBSET=y +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +CONFIG_USB_NET_ZAURUS=y CONFIG_WL_TI=y CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m
I would like to see if we could have such options available as a config fragment instead, and I know Amit is also working on getting a new kernel config fragments tree in place.
The other question I had, for which tree/branch are you targeting this patch?
This patch was made against the first postage from Guodong,
Based on v4.4, topic branches are available, and integration branch is hosted here:
- Git repo: https://github.com/96boards-hikey/linux
- Integration branch: hikey-mainline-rebase
I also prefer this to be included to Amit's work.
It already is[1]. And they're already modules as Grant requested.
Great!
Akria
Would like to avoid adding similar patches every time on every HiKey release.
Now I'm working to separate out this functionality into config fragments (as changes on top of linux-linaro configs). Here is a draft[2] of what that might look like. So far I've only focused on core kernel features. I need to separate out the drivers out into their own fragments next (e.g. common-usb-modules, sound, filesystems-extra) after I'm done publishing a stable consolidated 4.4 kernel.
There is also the question of how can someone import these fragments into their own trees efficiently. I'm think makefile targets for common cases (e.g. 96boards, enterprise, mobile) that merge a given set of fragments together. But other ideas are welcome.
Cheers, Amit
[1] https://git.linaro.org/people/amit.kucheria/kernel.git/blob/refs/heads/96b-k... [2] https://git.linaro.org/people/amit.kucheria/kernel-configs.git/tree/refs/hea...