How to configure Linux kernel source tree hierarchy



Hello, I have read some books on Linux kernel programming but did not
get myself more familiar with kernel programming under the help of
those books. I still do not know exactly how to have a Linux kernel
source tree hierarchy on my machine and do not know how to write the
very first "hello world" kernel program. I know C and how to program C
code in UNIX and Linux environment. I even searched for the related
keywords "Linux kernel source tree" on the web and Usenet, but did not
get much useful help. Could you please help a new beginner of Linux
kernel hacker and give some short but complete C code examples on:

1. How to configure Linux kernel source tree hierarchy (to set up the
development environment);

2. How to introduce my code into the kernel source (contribute myself
to Linux development and improve my C programming techniques).

Sincerely,
lovecreatesbea...@xxxxxxxxx

.



Relevant Pages

  • hi frnd pls guide me regarding how to compile in linux2.10.18
    ... im sathiyadev.t, new to kernel programming. ... pls clarify my issue. ... that i want to compile a module into the linux kernel in ...
    (comp.os.linux.development.system)
  • Re: I am able to load/unload module, I would like to attach permanently to kernel, how?
    ... command, I would like ot load this permanently (when the system boots, ... If you want your module to be loaded whenever your system boots ... Because AFAIT the more you read good books, ... Books like linux kernel development by Robert Love, ...
    (comp.os.linux.development.system)
  • Re: Learning Linux kernel "hacking"
    ... I recommend you the same books as the previous writer. ... >> I'd like to learn Linux kernel hacking, like fixing some bugs or writing ... >> my own device drivers. ... >> kernel hacking and device driver development. ...
    (comp.os.linux.development.system)
  • RE: how to use the new wait functions in wait.c?
    ... I hope those books could give a mountain view about Linux kernel. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: How start in Kernel Development
    ... > Understanding the Linux Kernel ISBN: ... > Linux Kernel Development ISBN: ... and unlike the above books it covers many features Linux ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)