looking for current, online kernel-related tutorials
a *very* wide-ranging post, but i'm currently trying to collect any well-written and *current* tutorials on *any* aspect of kernel programming, device drivers and related stuff like that there -- especially those that come with working, hands-on examples. the biggest drawback with a lot of the online tutorials and the in-kernel Documentation content is that much of it is simply out-of-date and finding really good tutorials is a bit of a challenge, so if anyone has suggestions for things like that (or has written such things), by all means, post pointers to them and i'll start making a list. and what's in it for you? i'm starting some wiki pages for as many topics as i can think of: http://www.crashcourse.ca/wiki/index.php/Kernel_topics for now, things will be fairly concise, i just want to collect the content. these wiki pages will be permanently publicly available, so it's not like i'm asking anyone to do the work, at which point i'll take the results and keep them for myself. in addition, the *eventual* goal is to incorporate the results in some updated linux kernel programming courseware, which will all be released under the creative commons license so, again, at no point will any of this content suddenly disappear. at the moment, i'm working with karim yaghmour of opersys.com, who recently open-sourced all his courseware -- http://www.opersys.com/training -- and i'm working on updating the two linux courses for the 3.x kernel. when those linux course manuals are updated, they will be posted and will still be under the creative commons license. in the end, i may reorganize the wiki content if i come up with a more accessible structure, but it will never disappear. so if you know of any excellent tutorials out there, let me know, and i'll add that to the wiki where everyone can take advantage. and now, back to work ... rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Sat, Sep 29, 2012 at 7:38 AM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
a *very* wide-ranging post, but i'm currently trying to collect any well-written and *current* tutorials on *any* aspect of kernel programming, device drivers and related stuff like that there -- especially those that come with working, hands-on examples.
the biggest drawback with a lot of the online tutorials and the in-kernel Documentation content is that much of it is simply out-of-date and finding really good tutorials is a bit of a challenge, so if anyone has suggestions for things like that (or has written such things), by all means, post pointers to them and i'll start making a list. and what's in it for you?
In case you don't know these: * free-electrons * elinux.org These are superb sources of information. Regards, Ezequiel.
On Sat, Sep 29, 2012 at 06:38:15AM -0400, Robert P. J. Day wrote:
a *very* wide-ranging post, but i'm currently trying to collect any well-written and *current* tutorials on *any* aspect of kernel programming, device drivers and related stuff like that there -- especially those that come with working, hands-on examples.
the biggest drawback with a lot of the online tutorials and the in-kernel Documentation content is that much of it is simply out-of-date and finding really good tutorials is a bit of a challenge, so if anyone has suggestions for things like that (or has written such things), by all means, post pointers to them and i'll start making a list. and what's in it for you?
i'm starting some wiki pages for as many topics as i can think of:
http://www.crashcourse.ca/wiki/index.php/Kernel_topics
for now, things will be fairly concise, i just want to collect the content. these wiki pages will be permanently publicly available, so it's not like i'm asking anyone to do the work, at which point i'll take the results and keep them for myself.
in addition, the *eventual* goal is to incorporate the results in some updated linux kernel programming courseware, which will all be released under the creative commons license so, again, at no point will any of this content suddenly disappear.
Any plans to include this content in kernelnewbies.org? It seems like tutorials on kernel programming should be linked from there.
at the moment, i'm working with karim yaghmour of opersys.com, who recently open-sourced all his courseware -- http://www.opersys.com/training -- and i'm working on updating the two linux courses for the 3.x kernel. when those linux course manuals are updated, they will be posted and will still be under the creative commons license.
in the end, i may reorganize the wiki content if i come up with a more accessible structure, but it will never disappear. so if you know of any excellent tutorials out there, let me know, and i'll add that to the wiki where everyone can take advantage.
and now, back to work ...
I wrote an tutorial for Linux magazine on how to get the Portland State Aerospace Society's USB sensor nodes working. I doesn't involve any kernel drivers, but it does involve using the userspace libusb interface to talk to the USB device. Unfortunately, it is old, and I'm not even sure the git repo links still work. I poke around and see if I find anything more recent. Sarah Sharp
regarding kernel programming tutorials i'm currently writing/updating: On Tue, 16 Oct 2012, Sarah Sharp wrote:
Any plans to include this content in kernelnewbies.org? It seems like tutorials on kernel programming should be linked from there.
that's a nice idea, but i have a selfish reason to host all of this at my (soon-to-be-revamped) website -- training is how i make a living, and having numerous tutorials on various aspects of kernel programming and device drivers and so on brings in readers and represents marketing for me. from a business perspective, it's nothing more than attracting eyeballs that might then hire me to teach a course. that said, all of this is going to be publicly available (creative commons license) so there won't be any restriction on who can read it. certainly, anyone is welcome to link to what eventually gets published at my site. over the next few weeks, much will be updated and re-organized, and i'll post pointers to whatever goes up. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
Robert, I like this: http://www.freesoftwaremagazine.com/articles/drivers_linux It is not current but not very old. Peter On Wed, Oct 17, 2012 at 12:38 AM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
regarding kernel programming tutorials i'm currently writing/updating:
On Tue, 16 Oct 2012, Sarah Sharp wrote:
Any plans to include this content in kernelnewbies.org? It seems like tutorials on kernel programming should be linked from there.
that's a nice idea, but i have a selfish reason to host all of this at my (soon-to-be-revamped) website -- training is how i make a living, and having numerous tutorials on various aspects of kernel programming and device drivers and so on brings in readers and represents marketing for me. from a business perspective, it's nothing more than attracting eyeballs that might then hire me to teach a course.
that said, all of this is going to be publicly available (creative commons license) so there won't be any restriction on who can read it. certainly, anyone is welcome to link to what eventually gets published at my site.
over the next few weeks, much will be updated and re-organized, and i'll post pointers to whatever goes up.
rday
--
======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca
Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Peter
On Thu, 18 Oct 2012, Peter Senna Tschudin wrote:
Robert,
I like this: http://www.freesoftwaremagazine.com/articles/drivers_linux
It is not current but not very old.
not bad ... definitely dated as it uses a parallel port as an example, and deprecated register_chrdev() for device registration. but not bad. what i'm after these days is more up-to-date and much more *focused* tutorials if people run across them. as in, rather than another example of how to write a character driver, i'm collecting writeups like this: http://www.ibm.com/developerworks/linux/library/l-tasklets/index.html that is, a solid coverage of a single topic in some detail, particularly if it can tie back into code taken from the kernel. anyway, off to write more tutorials. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Tue, 16 Oct 2012, Sarah Sharp wrote:
Any plans to include this content in kernelnewbies.org? It seems like tutorials on kernel programming should be linked from there.
at the risk of putting a few noses out of joint, a main reason why i'm not keen on adding more content to kernelnewbies is that what's there is, in many cases, spectacularly out of date, and newer content would just get lost in the shuffle. consider the links here: http://kernelnewbies.org/Documents follow some of those links and see where you end up. i mean, seriously, "working with the kernel source in CVS"?? and a number of other links there have very little remaining value. rather than trying to add more content, a higher priority would be to *cleanse* that documentation page of what obviously has little value, and start over. thoughts? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Thu, Oct 18, 2012 at 11:08 AM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:
On Tue, 16 Oct 2012, Sarah Sharp wrote:
Any plans to include this content in kernelnewbies.org? It seems like tutorials on kernel programming should be linked from there.
at the risk of putting a few noses out of joint, a main reason why i'm not keen on adding more content to kernelnewbies is that what's there is, in many cases, spectacularly out of date, and newer content would just get lost in the shuffle.
consider the links here:
http://kernelnewbies.org/Documents
follow some of those links and see where you end up. i mean, seriously, "working with the kernel source in CVS"?? and a number of other links there have very little remaining value.
rather than trying to add more content, a higher priority would be to *cleanse* that documentation page of what obviously has little value, and start over. thoughts?
That is pretty much state of most documentation about kernel. Most of text on drivers is not updated to the point that some of it wont even compile and links are broken. There is a lot of development and very little updated documentation.
rday
--
======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca
Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, Oct 18, 2012 at 06:08:55AM -0400, Robert P. J. Day wrote:
On Tue, 16 Oct 2012, Sarah Sharp wrote:
Any plans to include this content in kernelnewbies.org? It seems like tutorials on kernel programming should be linked from there.
at the risk of putting a few noses out of joint, a main reason why i'm not keen on adding more content to kernelnewbies is that what's there is, in many cases, spectacularly out of date, and newer content would just get lost in the shuffle.
consider the links here:
http://kernelnewbies.org/Documents
follow some of those links and see where you end up. i mean, seriously, "working with the kernel source in CVS"?? and a number of other links there have very little remaining value.
rather than trying to add more content, a higher priority would be to *cleanse* that documentation page of what obviously has little value, and start over. thoughts?
That's what I'm planning on doing to the wiki. You're right that it's out of date and very disorganized. So I'll take a crack at it and see if there's a better structure. Sarah Sharp
On Thu, 18 Oct 2012, Sarah Sharp wrote:
That's what I'm planning on doing to the wiki. You're right that it's out of date and very disorganized. So I'll take a crack at it and see if there's a better structure.
i'm going to take a different approach to reorganizing all of the tutorials at my site. first, i'm going to get all the useful stuff *out* of the wiki -- for this sort of thing, wikis are a waste of time. good for quick and dirty, utterly useless for anything else. instead, i'm going to move it all under drupal as books or stories or whatever is appropriate, where only i will have the authority to change the content, but people will be allowed to *comment* on individual articles. that way, i can post stuff and be notified down the road by people leaving comments that something's changed and needs updating (effectively crowdsourcing all of that work). at this point, i don't see any other way to do this that's as effective. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
participants (5)
-
Anuz Pratap Singh Tomar -
Ezequiel Garcia -
Peter Senna Tschudin -
Robert P. J. Day -
Sarah Sharp