[opensuse-arm] USB device / gadget support
Hi, As discussed briefly at the openSUSE conference, I recently worked on a project[1] which made use of the Cubietruck Tumbleweed JeOS image. The image itself works very well, but I had to rebuild the kernel to include USB device/gadget support, via: CONFIG_USB_MUSB_DUAL_ROLE=y CONFIG_USB_MUSB_SUNXI=m CONFIG_USB_F_MASS_STORAGE=m Alex mentioned that it should be possible to enable this support for openSUSE ARM kernels. - Are there any objections to this? - if not, which branches / configs should I target with the pull request? Cheers, David 1. Cubietruck USB storage gadget project http://blog.elastocloud.org/2015/12/ceph-usb-storage-gateway.html -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
04.07.2016 17:27, David Disseldorp пишет:
Hi,
As discussed briefly at the openSUSE conference, I recently worked on a project[1] which made use of the Cubietruck Tumbleweed JeOS image. The image itself works very well, but I had to rebuild the kernel to include USB device/gadget support, via: CONFIG_USB_MUSB_DUAL_ROLE=y CONFIG_USB_MUSB_SUNXI=m CONFIG_USB_F_MASS_STORAGE=m
Alex mentioned that it should be possible to enable this support for openSUSE ARM kernels. - Are there any objections to this? - if not, which branches / configs should I target with the pull request?
The configs are stored in the following git http://kernel.opensuse.org/cgit/kernel-source/ branch master should be fine, however it will appear in Tumbleweed with 4.7 kernel. I usually do git send-email to send patches to opensuse-kernel maillist.
Cheers, David
1. Cubietruck USB storage gadget project http://blog.elastocloud.org/2015/12/ceph-usb-storage-gateway.html
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
04.07.2016 18:54, Matwey V. Kornilov пишет:
04.07.2016 17:27, David Disseldorp пишет:
Hi,
As discussed briefly at the openSUSE conference, I recently worked on a project[1] which made use of the Cubietruck Tumbleweed JeOS image. The image itself works very well, but I had to rebuild the kernel to include USB device/gadget support, via: CONFIG_USB_MUSB_DUAL_ROLE=y CONFIG_USB_MUSB_SUNXI=m CONFIG_USB_F_MASS_STORAGE=m
Alex mentioned that it should be possible to enable this support for openSUSE ARM kernels. - Are there any objections to this? - if not, which branches / configs should I target with the pull request?
The configs are stored in the following git http://kernel.opensuse.org/cgit/kernel-source/
branch master should be fine, however it will appear in Tumbleweed with 4.7 kernel.
Also, if openSUSE-42.2 branch maintainer agree to pick this changes, I think would be great to have them for 42.2, but it would be great if you could test openSUSE-42.2 kernel before submission.
I usually do git send-email to send patches to opensuse-kernel maillist.
Cheers, David
1. Cubietruck USB storage gadget project http://blog.elastocloud.org/2015/12/ceph-usb-storage-gateway.html
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Mon, 4 Jul 2016 18:57:44 +0300, Matwey V. Kornilov wrote:
- Are there any objections to this? - if not, which branches / configs should I target with the pull request?
The configs are stored in the following git http://kernel.opensuse.org/cgit/kernel-source/
branch master should be fine, however it will appear in Tumbleweed with 4.7 kernel.
Also, if openSUSE-42.2 branch maintainer agree to pick this changes, I think would be great to have them for 42.2, but it would be great if you could test openSUSE-42.2 kernel before submission.
Will do. Thanks for the pointers Matwey. Cheers, David -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi David, Am 04.07.2016 um 16:27 schrieb David Disseldorp:
As discussed briefly at the openSUSE conference, I recently worked on a project[1] which made use of the Cubietruck Tumbleweed JeOS image. The image itself works very well, but I had to rebuild the kernel to include USB device/gadget support, via: CONFIG_USB_MUSB_DUAL_ROLE=y CONFIG_USB_MUSB_SUNXI=m
Which kernel did you test? (your blog mentions upstream 4.4-rc4) On master branch (4.6/4.7) those two options were already enabled for both default and lpae flavors.
CONFIG_USB_F_MASS_STORAGE=m
I've gone and enabled all of them, except the UAC1 legacy option. arm64 had most options enabled, I've sync'ed them with armv7hl. For armv6hl I'm not aware of a gadget mode on the rpi1. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Fri, 8 Jul 2016 01:00:46 +0200, Andreas Färber wrote: ...
CONFIG_USB_MUSB_DUAL_ROLE=y CONFIG_USB_MUSB_SUNXI=m
Which kernel did you test? (your blog mentions upstream 4.4-rc4) On master branch (4.6/4.7) those two options were already enabled for both default and lpae flavors.
I used 4.6.2 in the latest, which does indeed include the modules above.
CONFIG_USB_F_MASS_STORAGE=m
I've gone and enabled all of them, except the UAC1 legacy option.
arm64 had most options enabled, I've sync'ed them with armv7hl. For armv6hl I'm not aware of a gadget mode on the rpi1.
Great, thanks for that, Andreas! Cheers, David -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Andreas Färber
-
David Disseldorp
-
Matwey V. Kornilov