How to fast master kernel
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___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to fast master kernel
On Tue, 10 May 2016, valdis.kletni...@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 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to fast master kernel
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 pgphidwDQP7l7.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to fast master kernel
On Tue, 10 May 2016, valdis.kletni...@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 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to fast master kernel
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.. :) pgpjsmdTxQXUI.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Submitting patches to non-staging
Hi, On Fri, 04 Mar 2016 21:52:53 +0530, Pratyush Patel wrote: > Is there a way to change the commit message given that I already > submitted the patch email (although it has not yet been accepted)? Just reply to the thread you actually opened on the mailing list with your new patch so that maintainers only have to apply it without modifications. Don't forget to modify patch version accordingly etc. All the best, -- Nahim `Naam` El AtmaniIf less(1) is more than more(1), most(1) is more than less(1). ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Is there anyone on MAC kernel
Hi, I am looking for some with whom i can discuss my mac kernel problems. If you know someone please mail me . Regards Clove ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: pr_debug
On Tue, May 10, 2016 at 09:33:46AM +0200, Greg KH wrote: > Please read Documentation/dynamic-debug-howto.txt thanks Greg, your are a gentleman. tobin ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: pr_debug
On Tue, May 10, 2016 at 05:21:35PM +1000, Tobin Harding wrote: > pr_debug messages do not appear in dmesg output (or via cat /proc/kmsg). I > have > set console level to 8 (cat /proc/sys/kernel/printk -> 8 1 4 8). > > Any suggestions please? Please read Documentation/dynamic-debug-howto.txt ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
pr_debug
pr_debug messages do not appear in dmesg output (or via cat /proc/kmsg). I have set console level to 8 (cat /proc/sys/kernel/printk -> 8 1 4 8). Any suggestions please? -- thanks, Tobin. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies