1 Reply Latest reply on Jan 20, 2015 5:33 PM by @hippiehacker Branched from an earlier discussion.

    Re: Intel BSPs "Official layer for the Intel platform/board support" does not include Edison


      The reason I've been trying to find the Edison BSP team is a desire to discuss kernel versions and features.


      What is the roadmap for the Edison specific kernel patches, is it possible at all for me to use the 3.19 series?

      The Edison ww42 BSP release includes a large kernel patch [1] that I don't see merged upstream into linux-yocto [2] or any mainline kernel repos.

      There are features (usb-gadget support for hid, mass_storage, and rndis_network plus usb over ip) in later kernels (3.19-rc5) that I would like to use.

      The 3.10.17 Edison patch uses a legacy g_multi gadget [3] with everything compiled into one module.

      This requires we provide everything on the kernel command line for all components of the gadget, and if we want to change them (for example change what is the backstore for the  mass_storage gadget on the fly) we have to unload and reload the entire g_multi, which kills network connectivity.

      Gadget configfs was introduced in the 3.10 series [4], and I could make an attempt at backporting the modules I need [5], but it would be much easier (and allow for use of usb over ip) if I could just use the 3.19 series.

      The linux-usb folks say I'm on my own for a backport [5] to 3.10.17 as they don't want to support older kernels.


      If 3.19 is not an option, is there anyone interested in looking at backporting a few usb gadget functions or modules with me?

      Having simple programmable usb devices that could dynamically show up as a keyboard, with network, and on the fly changes to the mass storage would be really amazing.

      Where would I even find folks who might be interested?


      [1] https://github.com/instantinfrastructure/edison-src/blob/master/device-software/meta-edison/recipes-kernel/linux/files/upstream_to_edison.patch

      [2] http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto

      [3] https://github.com/instantinfrastructure/linux-yocto-3.10/blame/edison/drivers/usb/gadget/multi.c

      [4] https://lkml.org/lkml/2013/4/29/248 (search for 'usb: gadget: the start of the configfs interface')

      [5] http://thread.gmane.org/gmane.linux.usb.general/120511/focus=120512 (read the entire thread)