Failed to verify msm source code for Hammerhead Android kernel

To check the source code for msm Hammerhead Android kernel, I followed the steps below.

[1] I downloaded the msm kernel source for android.

$ git clone https://android.googlesource.com/kernel/msm.git

[2] Checked commit message for Hammerhead kernel in my AOSP.

commit 8b392a30f1228e890fa0f7b39598f3b1c73cea94

Author: Android Open Source Project
Date: Thu 5 Dec 15:38:00 2013 -0800

Snapshot to fc777b6d3b2b20ba7270059dd2df284c94844abf

Change-Id: I81ee5ccb10876cbc1413442a7bc256e888c0fcdd

[3] In the msm directory, where I downloaded the source code in [1],

git checkout fc777b6d3b2b20ba7270059dd2df284c94844abf

I get the following error

fatal: reference is not a tree: fc777b6d3b2b20ba7270059dd2df284c94844abf

How can I get the correct SHA1 for the msm kernel matching the kernel binaries?

+4
source share
1 answer

. Google AOSP. SHA1 .

msm.

[1] , device/lge/hammerhead-kernel.

bzgrep -a 'Linux version' vmlinux.bz2

[2] . SHA1 .

Linux version 3.4.0-gadb2201 (android-build@vpbs1.mtv.corp.google.com) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Nov 20 14:42:53 PST 2013
Linux version CIFS VFS Client for Linux<7>%s: sess setup type %d

[3] SHA1 - adb2201. : "g".

[4] SHA1 msm.

git checkout adb2201

, AOSP.

+7

Source: https://habr.com/ru/post/1525388/


All Articles