All of lore.kernel.org
 help / color / mirror / Atom feed
* How to fast master kernel
@ 2016-05-10  2:58 Aric
  2016-05-10  8:32 ` Matthew Bobrowski
  2016-05-10 15:00 ` Valdis.Kletnieks at vt.edu
  0 siblings, 2 replies; 8+ messages in thread
From: Aric @ 2016-05-10  2:58 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

    I'm a newcomer, hope to learn linux kernel together. How can I contribute to kernel programming? Any good tutorials and tranings ? Why so silence this mail-alias.

/BRs

Aric Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160510/0d39e1a9/attachment.html 

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

* How to fast master kernel
  2016-05-10  2:58 How to fast master kernel Aric
@ 2016-05-10  8:32 ` Matthew Bobrowski
  2016-05-10 15:00 ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 8+ messages in thread
From: Matthew Bobrowski @ 2016-05-10  8:32 UTC (permalink / raw)
  To: kernelnewbies

Aric,

You might want to start by reading all the documentation and
correlated how to's on the following website:
http://kernelnewbies.org/. This would probably be a good start.

Happy kernel hacking.

--

Kind regards,
Matthew Bobrowski


On Tue, May 10, 2016 at 12:58 PM, Aric <583241212@qq.com> wrote:
> Hi all,
>
>     I'm a newcomer, hope to learn linux kernel together. How can I
> contribute to kernel programming? Any good tutorials and tranings ? Why so
> silence this mail-alias.
>
> /BRs
>
> Aric Wang
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

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

* How to fast master kernel
  2016-05-10  2:58 How to fast master kernel Aric
  2016-05-10  8:32 ` Matthew Bobrowski
@ 2016-05-10 15:00 ` Valdis.Kletnieks at vt.edu
  2016-05-10 20:58   ` Robert P. J. Day
  1 sibling, 1 reply; 8+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2016-05-10 15:00 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 10 May 2016 10:58:43 +0800, "Aric" said:

> I'm a newcomer, hope to learn linux kernel together. How can I contribute to
> kernel programming? Any good tutorials and tranings ? Why so silence this
> mail-alias.

Step 0: Figure out *why* you want to contribute.  The answer you seek
depends a lot on why you're asking the question....

Just because it sounds cool?

You bought something on Ebay and discovered it doesn't have a driver?

Your employer just told you that your company's new widget needs a driver?

You have a particular interest in filesystems, or crypto, or hypervisors, or
whatever?

You just want to give back to the community?

(If the latter, I suggest just building a new linux-next kernel every
week or so, and report any issues.  We need more testers more than we need
more code, and the learning curve for testing is a *lot* lower...)

In fact, here's the learning curve:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

$ git remote add linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next

(build and boot a test kernel)

... # later on a week or so later...

$ git remote update     (note that 'git pull' does *not* work for linux-next)
(mount and boot a test kernel)

Yeah, it really *is* that simple.. :)

-------------- 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/20160510/f1d26f07/attachment.bin 

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

* How to fast master kernel
  2016-05-10 15:00 ` Valdis.Kletnieks at vt.edu
@ 2016-05-10 20:58   ` Robert P. J. Day
  2016-05-10 21:58     ` Valdis.Kletnieks at vt.edu
  0 siblings, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2016-05-10 20:58 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 10 May 2016, Valdis.Kletnieks at vt.edu wrote:

> On Tue, 10 May 2016 10:58:43 +0800, "Aric" said:
>
> > I'm a newcomer, hope to learn linux kernel together. How can I
> > contribute to kernel programming? Any good tutorials and tranings
> > ? Why so silence this mail-alias.
>
> Step 0: Figure out *why* you want to contribute.  The answer you
> seek depends a lot on why you're asking the question....

... snip ...

  not sure who it was (maybe even valdis) who once said, "Saying you
want to get into kernel programming but have no idea where to start so
can someone give you suggestions is like saying you want to write a
book but don't know what to write about so can someone give you any
ideas."

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* How to fast master kernel
  2016-05-10 20:58   ` Robert P. J. Day
@ 2016-05-10 21:58     ` Valdis.Kletnieks at vt.edu
  2016-05-10 22:24       ` Robert P. J. Day
  0 siblings, 1 reply; 8+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2016-05-10 21:58 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 10 May 2016 16:58:26 -0400, "Robert P. J. Day" said:

>   not sure who it was (maybe even valdis) who once said, "Saying you
> want to get into kernel programming but have no idea where to start so
> can someone give you suggestions is like saying you want to write a
> book but don't know what to write about so can someone give you any
> ideas."

Yeah, that was me...

I'm also the one who said that we're approaching the point where the number
of people who are actually qualified to do serious hacking on the kernel
innards (like the scheduler, vfs, etc, not just a driver) is on the
same order of magnitude as the number of people qualified to be Formula-1
race car mechanics....
-------------- 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/20160510/8ad8d07f/attachment.bin 

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

* How to fast master kernel
  2016-05-10 21:58     ` Valdis.Kletnieks at vt.edu
@ 2016-05-10 22:24       ` Robert P. J. Day
  0 siblings, 0 replies; 8+ messages in thread
From: Robert P. J. Day @ 2016-05-10 22:24 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 10 May 2016, Valdis.Kletnieks at vt.edu wrote:

> On Tue, 10 May 2016 16:58:26 -0400, "Robert P. J. Day" said:
>
> >   not sure who it was (maybe even valdis) who once said, "Saying you
> > want to get into kernel programming but have no idea where to start so
> > can someone give you suggestions is like saying you want to write a
> > book but don't know what to write about so can someone give you any
> > ideas."
>
> Yeah, that was me...
>
> I'm also the one who said that we're approaching the point where the
> number of people who are actually qualified to do serious hacking on
> the kernel innards (like the scheduler, vfs, etc, not just a driver)
> is on the same order of magnitude as the number of people qualified
> to be Formula-1 race car mechanics....

  all those F-1 race cars run linux, anyway, so ... no big deal.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* How to fast master kernel
       [not found] <tencent_11C81A8B074E9D774D6DCA28@qq.com>
@ 2016-05-11 17:32 ` Valdis.Kletnieks at vt.edu
  0 siblings, 0 replies; 8+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2016-05-11 17:32 UTC (permalink / raw)
  To: kernelnewbies

On Wed, 11 May 2016 12:26:17 +0800, "Aric" said:

> But for each board, it have dedicated kernel code package. For example, what
> I want to do first, it I can write kernel drivers and kernel code freely. I can
> easily add a I2C (AT24C02) device and finished its driver in a short time.

Wel, that's only actually helpful for the kernel if somebody's already
done the port to that board (which it seems they have, since it already
has a kernel package), and failed to add an I2C driver already.

The other thing that you could do that would benefit the kernel is to take
the vendor's code (which is probably some ancient creeping horror like 3.4
or even a 2.6.something), and get the drivers up to 4.6 level and get them
upstreamed.

Greg KH is almost certainly reading this, and he *loves* helping get
drivers into the main kernel :)

Greg, meet Aric.  Aric, meet Greg.  :)
-------------- 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/20160511/fcfc78a7/attachment.bin 

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

* How to fast master kernel
@ 2016-05-11  5:07 Aric
  0 siblings, 0 replies; 8+ messages in thread
From: Aric @ 2016-05-11  5:07 UTC (permalink / raw)
  To: kernelnewbies

Hi all,
     I buy many boards, already on my hands boards: S3C6410, AR9331,AllWinner A20, H3. 
  
 But for each board, it have dedicated kernel code package. For example, what I want to do first, it I can write kernel drivers and kernel code freely. I can easily add a I2C (AT24C02) device and finished its driver in a short time.   Any good tutorial or good practise to guide me, make me easily to do that? If we have more small code example it will help? 
  Sorry all for my stupid questions.

 /BRs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160511/6fafa04b/attachment.html 

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

end of thread, other threads:[~2016-05-11 17:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-10  2:58 How to fast master kernel Aric
2016-05-10  8:32 ` Matthew Bobrowski
2016-05-10 15:00 ` Valdis.Kletnieks at vt.edu
2016-05-10 20:58   ` Robert P. J. Day
2016-05-10 21:58     ` Valdis.Kletnieks at vt.edu
2016-05-10 22:24       ` Robert P. J. Day
2016-05-11  5:07 Aric
     [not found] <tencent_11C81A8B074E9D774D6DCA28@qq.com>
2016-05-11 17:32 ` Valdis.Kletnieks at vt.edu

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.