I downloaded the whole ASOP soure tree by doing what was suggested on this webpage.
http://source.android.com/source/downloading.html After the repo sync command finished I ran 'lunch' , then 'make otapackage'. Everything compiled then I flashed the *.img files to the phone and everything worked as expected. ** But thats using the stock prebuilt kernel. I want to download the source and compile my own kernel..** That's what I cant seem to get working. The steps I mentioned above doesnt seem to work. The make command completes but the kernel doesnt boot when flashed to the phone. On Tuesday, March 19, 2013 6:25:14 AM UTC-4, Giveen wrote: > > An odd way to do things. I'm not sure if AOSP does inline kernel compiling. > Can you check your out/target/product/toro/root > > Since you never listed that you got the device tree of toro, it sounds > like you are missing many key init files. > > > On Mon, Mar 18, 2013 at 9:06 PM, Clarence H <[email protected]<javascript:> > > wrote: > >> I download the source then compile the kernel. Then I copy the new >> zImage to the ASOP tree.. or source area. Then I recompile the ASOP with >> the new kernel and flash the device. After that the phone never boots. It >> just gets stuck at the Google screen. >> >> >> >> >> ** I left out the 'make' command by mistake. ** >> >> >> ------------------------- >> mkdir /kernel_src >> cd /kernel_src >> >> git clone https://android.googlesource.**com/kernel/omap.git >> <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 >> make tuna_defconfig >> make >> cp arch/arm/boot/zImage /ICS_SOURCE/device/samsung/**tuna/kernel >> cd /ICS_SOURCE >> >> make >> cd /ICS_SOURCE/out/target/**product/toro >> >> ---------------------------------- >> >> >> >> On Monday, March 18, 2013 4:52:59 PM UTC-4, Giveen wrote: >>> >>> I'm a little confused on your steps. >>> So you download the kernel source and run make? >>> Or did you download the kernel source, and all the necessary device tree >>> files as well? >>> >>> >>> >>> >>> On Sun, Mar 17, 2013 at 11:47 PM, Clarence H <[email protected]> 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 >>>> <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 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> -- >>>> unsubscribe: android-kerne...@**googlegroups.com >>>> website: >>>> http://groups.google.com/**group/android-kernel<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 android-kerne...@**googlegroups.com. >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>>> >>>> >>> >>> -- >> -- >> unsubscribe: [email protected] <javascript:> >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- -- 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.
