git fetch and git merge stable kernel
Anand Moon
moon.linux at yahoo.com
Wed Apr 2 06:02:01 EDT 2014
Hi Greg,
I have performed following operations listed below.
amoon at 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 at 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 at moon-ubuntu:imx_3.05-udoo-back$ git branch -r
origin/HEAD -> origin/master origin/master
amoon at moon-ubuntu:imx_3.05-udoo-back$ git branch -a
* master remotes/origin/HEAD -> origin/master
remotes/origin/master
amoon at 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 at 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 at 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
More information about the Kernelnewbies
mailing list