On 03/18/2013 01:47 AM, Clarence H wrote:
For some reason I cant seem to compile a kernel for my Googl Nexus. Im
able to build the ASOP with the stock kernel and flash it to the device
successfully. When I try to add my own kernel it doesn't work and all of
the directions I see on line are mostly incomplete. They assume you
know some part of the process. Its never step by step.
-----------
I can build the ASOP no problem
Android 4.2.2_r1
Google Nexus Verizon [toro]
Ubuntu 10.04
Java "1.6.0_39"
----------------
This is what I did to compile my kernel. Step by Step. If you do this
it will fail to work on a Google Nexus 4.2.2_r1.
mkdir /kernel_src
cd /kernel_src
|git clone https://android.googlesource.com/kernel/omap.git
cd omap
git branch -a
git checkout -b android-omap-tuna-3.0 remotes/origin/android-omap-tuna-3.0
cp arch/arm/boot/zImage /ICS_SOURCE/device/samsung/tuna/kernel
cd|||/ICS_SOURCE|
make
cd /ICS_SOURCE/out/target/product/toro
Then I flashed the *.img files to my Google Nexus and all it does it hang at
the Google boot up screen.
If you were able to get this to work with a Google Nexus can you post your step
by step directions?
Just FYI: I tried
remotes/origin/android-omap-tuna-3.0-ics-mr1
The correct branch for 4.2.2 is android-omap-tuna-3.0-jb-mr1.1
But the official AOSP guidance is to not rely on specific branches as
they aren't guaranteed to correspond to the prebuilt kernel; instead use
the hash you see in the git log message for that kernel.
cd device/samsung/tuna
git log kernel
(shows 9f818de as the hash)
cd kernel/omap
git checkout 9f818de
Described in:
http://source.android.com/source/building-kernels.html
--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.