-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating linux-yocto-3.10 usb/gadget_hid.txt into platform/intel-mid #1
Comments
@tingleby @arfoll is there some public facing github repo for work on the edison bsp? I've tried the https://communities.intel.com/community/makers/edison forum, but I'm not finding much there in regards to this type of integration. I noticed you both worked for intel specifically on the iot-devkit and thought you might have some info on where the Intel Edison BSP repos / developers mailing list might be. |
@rexstjohn you've made some nice wiki's related to getting things up on the edison, have you looked into hid gadget stuff at all? or building a BSP with yoctol-linux-3.19? |
@hh sorry there are currently no Intel owned public git repositories for the edison BSPs for the time being. My apoligies. I'm not familiar enough with the edison kernel patchset to answer your question, asking on the Intel community forum is probably a good way to try get some attention. |
Here are the intel folks that have their email in the edison BSP patch. I don't want to reach out directly yet, but if anyone looking at this or the https://communities.intel.com/message/272533 forum post knows who on the list I should reach out to, or better yet just connect them to the post or this github issue. @rexstjohn
|
Since I was also looking at using Linux 3.19, it seems in the platform/intel-mid on master there are only three intel devs. I don't mind reaching out to them directly. They are likely the right people.
... and this was confirmed by @stevencrossing @hippiehacker @rexstjohn no public mailing list (would be a good get), but those emails you found are the best guys to email & have fix |
I'm trying to document what these functions to do to help identify where the g_hid template should go... but I'm going to wait for input from the platform/intel-mid team before I dig any further There are many _init functions in this patchset, and they differ greatly from the ones in 3.19.0-rc4... I'm guessing it's it's going to be int *_init() of some sort and I'm just trying to narrow it down.
SCU / System Controller Unit
wl12xx is the Bluetooth and WLAN chip: http://wireless.kernel.org/en/users/Drivers/wl12xx
sfi is for simple firmware interface: https://simplefirmware.org/
|
I'm not sure I understand the difference between configfs with gadgetfs. Might be worth looking at these gadgetfs based sources as configfs for hid is only in 3.19.0-rc4 |
@agnathan do you know anyone that could give me a bit of direction here? |
From http://article.gmane.org/gmane.linux.usb.general/120511
|
This issues will track my attempt to integrate gadget_hid into the 3.10 kernel from yocto that has the intel patches applied which are included the Intel Edison BSP release.
From https://communities.intel.com/message/272533
Thus far the linux-usb mailing list has been quite responsive.
https://www.mail-archive.com/[email protected]/msg54279.html
"In the very same file [gadget_hid.txt] there is an example platform driver; well, at least
the most important hid-specific parts of it. You must add the usual
module boilerplate code and in module's init do platform_device_register(),
while in module's exit do platform_device_unregister()." Andrzej Pietrasiewicz
This file contains precisely what we need to add to the intel-mid archictecture:
linux-yocto-3.10/Documentation/usb/gadget_hid.txt
But the Intel provided patch completely creates the platform/intel-mid
linux-yocto-3.10/arch/x86/platform/intel-mid
This is where I am a bit lost and looking to Intel (or an intel-mid mailing list) to give
some suggestions as to where within platform/intel-mid this might be added.
I have a branch with a patch adding support for usb hid gadget based on csimmonds/g_hid-demo
But it currently results in errors, and no HID yet 8(
Another alternative is to build edison-image BSP with Linux 3.19.x (which is issue #2) which supports gadget configfs, but I'd like to try and stay in the supported mainstream as much as possible for now.
Background on getting to the intel-mid platform source:
Edison - Software Downloads includes http://downloadmirror.intel.com/24389/eng/edison-image-rel1-maint-rel1-ww42-14.zip
Which I imported into github: https://github.com/instantinfrastructure/edison-src
to allow pointing to individual files.
The ww42-14 release includes a large patch to the linux-yocto kernel sources:
edison-src/device-software/meta-edison/recipes-kernel/linux/files/upstream_to_edison.patch
I have applied that to the linux-yocto-3.10 sources
linux-yocto-3.10
The text was updated successfully, but these errors were encountered: