All of lore.kernel.org
 help / color / mirror / Atom feed
* Resources to teach from C to Kernel Development?
@ 2014-08-28 19:49 Ed Holmes
  2014-09-02  1:03 ` Raphael Philipe
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ed Holmes @ 2014-08-28 19:49 UTC (permalink / raw)
  To: kernelnewbies

Can you recommend me any books or online resources to teach a C programmer Kernel development? I can program in C but I don't really know where to go from there. I've tried the Eucalyptus challenge but it just suggests things to try. No actual tutorial. 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Resources to teach from C to Kernel Development?
  2014-08-28 19:49 Resources to teach from C to Kernel Development? Ed Holmes
@ 2014-09-02  1:03 ` Raphael Philipe
  2014-09-02 15:37 ` Valdis.Kletnieks at vt.edu
  2014-09-02 18:24 ` John de la Garza
  2 siblings, 0 replies; 5+ messages in thread
From: Raphael Philipe @ 2014-09-02  1:03 UTC (permalink / raw)
  To: kernelnewbies

Do you mean Eudyptula Challenge?

You should definitely take a look at this book:
http://lwn.net/Kernel/LDD3/ . There is a printed version that you can
buy too. It is worth.

If you want see the examples of the book that run in a newer Kernel
version, look at this: https://github.com/duxing2007/ldd3-examples-3.x

Another great resource is the Linux Kernel Source code. Dig into the
code from drivers that you known and use. Read the documents in the
Documentation folder of the Linux Source Code:
http://lxr.free-electrons.com/source/Documentation/

Regards,

On Thu, Aug 28, 2014 at 4:49 PM, Ed Holmes <ed.holmes@icloud.com> wrote:
> Can you recommend me any books or online resources to teach a C programmer Kernel development? I can program in C but I don't really know where to go from there. I've tried the Eucalyptus challenge but it just suggests things to try. No actual tutorial.
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Resources to teach from C to Kernel Development?
  2014-08-28 19:49 Resources to teach from C to Kernel Development? Ed Holmes
  2014-09-02  1:03 ` Raphael Philipe
@ 2014-09-02 15:37 ` Valdis.Kletnieks at vt.edu
  2014-09-02 18:22   ` nick
  2014-09-02 18:24 ` John de la Garza
  2 siblings, 1 reply; 5+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-09-02 15:37 UTC (permalink / raw)
  To: kernelnewbies

On Thu, 28 Aug 2014 20:49:01 +0100, Ed Holmes said:

> Can you recommend me any books or online resources to teach a C programmer
> Kernel development? I can program in C but I don't really know where to go from
> there. I've tried the Eucalyptus challenge but it just suggests things to try.
> No actual tutorial.

Kernel development is a field that isn't very friendly to people who need
tutorials, sorry.  There's a few things like LDD3 and the Eudyptula stuff, but
in general you really need to be the sort of programmer who can figure this
stuff out for themselves, because APIs are *constantly* being changed, updated,
and added/removed.  LDD3 is pretty much as good as it gets, and even that gets
outdated because we're moving along at about a million lines a release.  So
there's a good amount of "sink or swim" involved here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140902/b1cb04a5/attachment.bin 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Resources to teach from C to Kernel Development?
  2014-09-02 15:37 ` Valdis.Kletnieks at vt.edu
@ 2014-09-02 18:22   ` nick
  0 siblings, 0 replies; 5+ messages in thread
From: nick @ 2014-09-02 18:22 UTC (permalink / raw)
  To: kernelnewbies



On 14-09-02 11:37 AM, Valdis.Kletnieks at vt.edu wrote:
> On Thu, 28 Aug 2014 20:49:01 +0100, Ed Holmes said:
> 
>> Can you recommend me any books or online resources to teach a C programmer
>> Kernel development? I can program in C but I don't really know where to go from
>> there. I've tried the Eucalyptus challenge but it just suggests things to try.
>> No actual tutorial.
> 
> Kernel development is a field that isn't very friendly to people who need
> tutorials, sorry.  There's a few things like LDD3 and the Eudyptula stuff, but
> in general you really need to be the sort of programmer who can figure this
> stuff out for themselves, because APIs are *constantly* being changed, updated,
> and added/removed.  LDD3 is pretty much as good as it gets, and even that gets
> outdated because we're moving along at about a million lines a release.  So
> there's a good amount of "sink or swim" involved here.
> 
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 
I agree a lot with Valdis and after getting  banned from the list to not doing my own 
work, I can state that doing your own work is very important and even more so in some-
thing as complex as the Linux kernel is. Also try and find an area you are interested
in and focus on that. As for me I am learning btrfs, usb and the networking stack.
Mostly btrfs through :).
Nick 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Resources to teach from C to Kernel Development?
  2014-08-28 19:49 Resources to teach from C to Kernel Development? Ed Holmes
  2014-09-02  1:03 ` Raphael Philipe
  2014-09-02 15:37 ` Valdis.Kletnieks at vt.edu
@ 2014-09-02 18:24 ` John de la Garza
  2 siblings, 0 replies; 5+ messages in thread
From: John de la Garza @ 2014-09-02 18:24 UTC (permalink / raw)
  To: kernelnewbies

On Thu, Aug 28, 2014 at 08:49:01PM +0100, Ed Holmes wrote:
> Can you recommend me any books or online resources to teach a C programmer Kernel development? I can program in C but I don't really know where to go from there. I've tried the Eucalyptus challenge but it just suggests things to try. No actual tutorial. 

These helped me get started:

http://www.jamesmolloy.co.uk/tutorial_html/ or http://gnudd.com/wd/thos.pdf

These are tiny kernels that you can fully understand.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-02 18:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28 19:49 Resources to teach from C to Kernel Development? Ed Holmes
2014-09-02  1:03 ` Raphael Philipe
2014-09-02 15:37 ` Valdis.Kletnieks at vt.edu
2014-09-02 18:22   ` nick
2014-09-02 18:24 ` John de la Garza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.