Hi All, Bellow git kernel point to different stable tags git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git My guess the current stable branch point to tag v3.13.8. I would like to fetch and merge the kernel from Linux-stable tags (v3.2.xx) to my kernel. Please suggest me a method to such a operation. -Anand Moon
On Tue, Apr 01, 2014 at 12:56:58PM -0700, Anand Moon wrote:
Hi All,
Bellow git kernel point to different stable tags
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
My guess the current stable branch point to tag v3.13.8.
I would like to fetch and merge the kernel from Linux-stable tags (v3.2.xx) to my kernel.
What exactly do you want to do here? That didn't parse very well, sorry. greg k-h
Hi Greg, I have kernel version 3.05 for particular ARM board. I want to fetch and merger from 3.05 --> 3.2.xx (i.e. 3.2.55) and see if how this new kernel works on the ARM board. Can some body guide me with some steps the do such a operations. Hope this clear my questions. -Anand Moon On Wednesday, April 2, 2014 3:23 AM, Greg KH <greg@kroah.com> wrote: On Tue, Apr 01, 2014 at 12:56:58PM -0700, Anand Moon wrote:
Hi All,
Bellow git kernel point to different stable tags
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
My guess the current stable branch point to tag v3.13.8.
I would like to fetch and merge the kernel from Linux-stable tags (v3.2.xx) to my kernel.
What exactly do you want to do here? That didn't parse very well, sorry. greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Apr 01, 2014 at 08:25:25PM -0700, Anand Moon wrote:
Hi Greg,
I have kernel version 3.05 for particular ARM board.
There is no "3.05" kernel, specifics matter here. There is a 3.5 kernel, is that what you are using? Or is it "3.0.5"? Big difference...
I want to fetch and merger from 3.05 --> 3.2.xx (i.e. 3.2.55) and see if how this new kernel works on the ARM board.
Can some body guide me with some steps the do such a operations.
git merge v3.2.55 when in your 3.0.5 branch should do what you want, have you tried that? But note, that's going to try to merge a lot of patches, be prepared for a mess if you were not really using a "clean" 3.0.5 kernel release... Hope this helps, greg k-h
Hi Greg, I have performed following operations listed below. amoon@moon-ubuntu:imx_3.05-udoo-back$ git remote add stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git amoon@moon-ubuntu:imx_3.05-udoo-back$ git fetch stable v3.2.55 warning: no common commits remote: Counting objects: 2268469, done. remote: Compressing objects: 100% (358926/358926), done. remote: Total 2268469 (delta 1894711), reused 2251941 (delta 1888257) Receiving objects: 100% (2268469/2268469), 454.48 MiB | 54.00 KiB/s, done. Resolving deltas: 100% (1894711/1894711), done. From git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable * tag v3.2.55 -> FETCH_HEAD amoon@moon-ubuntu:imx_3.05-udoo-back$ git branch -r origin/HEAD -> origin/master origin/master amoon@moon-ubuntu:imx_3.05-udoo-back$ git branch -a * master remotes/origin/HEAD -> origin/master remotes/origin/master amoon@moon-ubuntu:imx_3.05-udoo-back$ git merge FETCH_HEAD ..... ..... ..... Auto-merging Documentation/ABI/removed/o2cb CONFLICT (add/add): Merge conflict in Documentation/ABI/removed/o2cb Auto-merging Documentation/ABI/obsolete/proc-pid-oom_adj CONFLICT (add/add): Merge conflict in Documentation/ABI/obsolete/proc-pid-oom_adj Auto-merging Documentation/00-INDEX CONFLICT (add/add): Merge conflict in Documentation/00-INDEX Auto-merging CREDITS CONFLICT (add/add): Merge conflict in CREDITS Automatic merge failed; fix conflicts and then commit the result. amoon@moon-ubuntu:imx_3.05-udoo-back$ But their are too many confilits so no point in continue this way I will rather find patches from the old kernel and do some reverse engineering and apply them to latest stable kernel and lets see it it working. Any way I have learned some good thing from git, thank for your inputs. -Anand Moon On Wednesday, April 2, 2014 9:18 AM, Greg KH <greg@kroah.com> wrote: On Tue, Apr 01, 2014 at 08:25:25PM -0700, Anand Moon wrote:
Hi Greg,
I have kernel version 3.05 for particular ARM board.
There is no "3.05" kernel, specifics matter here. There is a 3.5 kernel, is that what you are using? Or is it "3.0.5"? Big difference... ------------------------------------------- You are right its 3.0.5 -------------------------------------------
I want to fetch and merger from 3.05 --> 3.2.xx (i.e. 3.2.55) and see if how this new kernel works on the ARM board.
Can some body guide me with some steps the do such a operations.
git merge v3.2.55 when in your 3.0.5 branch should do what you want, have you tried that? But note, that's going to try to merge a lot of patches, be prepared for a mess if you were not really using a "clean" 3.0.5 kernel release... Hope this helps, greg k-h
On Wed, 02 Apr 2014 03:02:01 -0700, Anand Moon said:
But their are too many confilits so no point in continue this way I will rather find patches from the old kernel and do some reverse engineering and apply them to latest stable kernel and lets see it it working.
Did you learn that you're probably better off getting your patches into the mainline kernel, so that henceforth anybody who changes APIs that affect your code has to also fix your code for you? Also, 3.2 was a *long* time ago - if your code isn't a driver, there's a good chance that there's new and better ways to fix your problem. And if it *is* a driver, submit it for upstream. Heck, we carried around an entire *architecture* (the old NCR Voyager SMP boxes) for one guy who had 2 systems....
On Wed, Apr 02, 2014 at 03:02:01AM -0700, Anand Moon wrote:
Hi Greg,
I have performed following operations listed below.
amoon@moon-ubuntu:imx_3.05-udoo-back$ git remote add stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
amoon@moon-ubuntu:imx_3.05-udoo-back$ git fetch stable v3.2.55 warning: no common commits
That's the problem right there. You aren't working on a tree that is actually based on the Linux kernel upstream tree. Merging into this tree is going to be an impossible task, as you have found out :( Please work with the company who gave you this tree to rebase it on top of the community tree in order to resolve this issue. good luck, greg k-h
participants (3)
-
Anand Moon -
Greg KH -
Valdis.Kletnieks@vt.edu