Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built . Also, Does this command below give me the latest kernel code ? I have tried to clone another repository using the command below git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git while building with this , I had to install gcc plugin-dev . I don't understand why ? I didn't have to do it last time I built the kernel Regards
Hi, On 01.02.2017 23:09, srishti sharma wrote:
Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built .
Also, Does this command below give me the latest kernel code ?
I have tried to clone another repository using the command below
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
for the recent mainline kernel use git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Regards, Lino
Thanks for replying , Does the one I cloned give me 2.6 kernel version , is this not being developed now ? Also why did I need to use gcc plugin-devs ? Regards On Thu, Feb 2, 2017 at 5:06 AM, Lino Sanfilippo <LinoSanfilippo@gmx.de> wrote:
Hi,
On 01.02.2017 23:09, srishti sharma wrote:
Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built .
Also, Does this command below give me the latest kernel code ?
I have tried to clone another repository using the command below
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
for the recent mainline kernel use git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Regards, Lino
On Thu, Feb 02, 2017 at 03:39:18AM +0530, srishti sharma wrote:
Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built .
Also, Does this command below give me the latest kernel code ?
I have tried to clone another repository using the command below
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
while building with this , I had to install gcc plugin-dev . I don't understand why ? I didn't have to do it last time I built the kernel You may use this link, https://www.kernel.org/doc/man-pages/linux-next.html In summary, first you clone main upstream tree then add linux-next tree. Whenever you want to create a patch, create a topic branch from the latest next-* tag.
Regards, Amit Kumar
Regards
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Thanks, I am running ubuntu 16.04 LTS On Thu, Feb 2, 2017 at 5:17 AM, Amit Kumar <free.amit.kumar@gmail.com> wrote:
On Thu, Feb 02, 2017 at 03:39:18AM +0530, srishti sharma wrote:
Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built .
Also, Does this command below give me the latest kernel code ?
I have tried to clone another repository using the command below
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
while building with this , I had to install gcc plugin-dev . I don't understand why ? I didn't have to do it last time I built the kernel You may use this link, https://www.kernel.org/doc/man-pages/linux-next.html In summary, first you clone main upstream tree then add linux-next tree. Whenever you want to create a patch, create a topic branch from the latest next-* tag.
Regards, Amit Kumar
Regards
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, Feb 02, 2017 at 03:39:18AM +0530, srishti sharma wrote:
Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built .
Also, Does this command below give me the latest kernel code ?
I have tried to clone another repository using the command below
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
while building with this , I had to install gcc plugin-dev . I don't understand why ? I didn't have to do it last time I built the kernel
Because you must have enabled the gcc-plugin kernel build options. Disable them if you do not wish to do this. thanks, greg k-h
Thanks for your reply Regards On Thu, Feb 2, 2017 at 12:42 PM, Greg KH <greg@kroah.com> wrote:
On Thu, Feb 02, 2017 at 03:39:18AM +0530, srishti sharma wrote:
Hey, I am an absolute newbie , I tried to clone greg kroah-hartman's staging tree repository , somehow I was not able to boot in the kernel I built .
Also, Does this command below give me the latest kernel code ?
I have tried to clone another repository using the command below
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
while building with this , I had to install gcc plugin-dev . I don't understand why ? I didn't have to do it last time I built the kernel
Because you must have enabled the gcc-plugin kernel build options. Disable them if you do not wish to do this.
thanks,
greg k-h
participants (4)
-
Amit Kumar -
Greg KH -
Lino Sanfilippo -
srishti sharma