| Summary: | Add a section on how to build out-of-tree modules on the target. | ||
|---|---|---|---|
| Product: | [Documentation] Kernel Development | Reporter: | Darren Hart <dvhart> |
| Component: | kernel-development | Assignee: | Scott Rifenbark <srifenbark> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Low | CC: | dvhart, richard.purdie, sjolley.yp.pm, srifenbark |
| Version: | unspecified | ||
| Target Milestone: | 1.7 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | 17 June 2014: RESOLVED | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Done (doc changes complete) | |
|
Description
Darren Hart
2013-01-16 17:15:32 UTC
Darren, Is this task separate from "Incorporating Out-of-Tree Modules" at http://www.yoctoproject.org/docs/1.4/kernel-dev/kernel-dev.html#incorporating-out-of-tree-modules? And, if so, is the information provided in your comment all the user needs to understand? Scott Still need some info on this. Resetting the target to 1.6. This is an old bug that I still need clarification on. Can't get to this... pushing to 1.7. Scott, yes, this is a separate issue from Incorporating Out of Tree Modules, which is about recipes like hello-mod. This is about compiling drivers on the device itself using the sdk image. Darren, I have made an attempt at understanding this and creating a section in the kernel-dev manual to address it. Since there was already a section in there called "Incorporating Out-of-Tree Modules" I decided to group that existing section with a new section called "Building Out-of-Tree Modules on the Target" under a parent section titled "Working with Out-of-Tree Modules". I am not sure I totally understand what parts were necessary for the fix and what is required of the user. I assumed that just getting in that right directory and running the make scripts was all the use had to do. Because I am not a kernel developer, I also did not know the entire context. So, I assumed that the user had to do these things prior to building the SDK image that eventually runs on the target. Then, I guess that the image is installed and booted on the target and they can automatically build out-of-tree modules as they want. So, please review this stuff and correct me where I have made wrong assumptions and we can get it fixed. http://www.yoctoproject.org/docs/1.7/kernel-dev/kernel-dev.html#working-with-out-of-tree-modules. Thanks, Scott Darren, I pinged Richard and he gave me some contextual information that corrected a bad assumption I noted in the Comment 6. Evidently, the user changes to that directory and creates those scripts from the target... not prior to building the SDK image on the build host. I have updated the section. You will see the latest but I wanted to note my "gaffe" here in the comments. Please review when you can. Thanks, Scott http://www.yoctoproject.org/docs/1.7/kernel-dev/kernel-dev.html#working-with-out-of-tree-modules. I also added Richard to the CC list since I got info from him. This section has been on review a while and I have received no feedback. I am marking it RESOLVED and setting the documentation flag to "Done". Scott |