I am trying to build the kernel for a Nexus 7 following these instructions:
http://source.android.com/source/building-kernels.html
I got most of the way through the instructions, but am getting a git error. I have explained my procedure below:
mkdir Android
cd Android
git clone https://android.googlesource.com/device/asus/grouper
git clone https://android.googlesource.com/kernel/tegra.git
cd grouper
git log --max-count=1 kernel
/home/doriad/Android/grouper $ git log --max-count=1 kernel
commit 954cdaf3b1671ccf49d42cd605e94b2b20d90e89
Author: Ed Tam <et...@google.com>
Date: Tue Jun 11 23:58:25 2013 -0700
grouper: update kernel prebuilt
1e8b3d8 ashmem: avoid deadlock between read and mmap calls
Bug: 9261835
Change-Id: Ib81a9419dfd1659520306011d0be37e6ffacec6f
cd ../tegra/
/home/doriad/Android/tegra $ git checkout 954cdaf3b1671ccf49d42cd605e94b2b20d90e89
fatal: reference is not a tree: 954cdaf3b1671ccf49d42cd605e94b2b20d90e89
That is the best I could gather from the instructions - have I done something wrong?
Thanks,
David