Build Kernel for Galaxy Nexus

1,840 views
Skip to first unread message

Mars Alucard

unread,
Jan 5, 2012, 6:15:42 PM1/5/12
to Android Building
Dear sir,

I've downloaded kernel source for Galaxy Nexus via,

git clone https://android.googlesource.com/kernel/omap
cd omap
git checkout origin/android-omap-tuna-3.0-mr0

Which build commands (like make defXXX) should I use to generate
working kernel (like factory image on code.google.com) for Galaxy
Nexus?

Many thanks,

Mars Alucard

Arun Raghavan

unread,
Jan 5, 2012, 7:27:16 PM1/5/12
to android-...@googlegroups.com

Hi,

The config file is tuna_defconfig. You need to run make with ARCH=arm and CROSS_COMPILE=arm-none-eabi- for the config and bzImage build steps.

Cheers,
Arun.

Mars Alucard

unread,
Jan 5, 2012, 7:41:33 PM1/5/12
to Android Building
Dear Arun,

Thanks for the useful information.

Many thanks,

Mars Alucard

On Jan 6, 8:27 am, Arun Raghavan <arunissa...@gmail.com> wrote:
> Hi,
>
> On Jan 6, 2012 4:55 AM, "Mars Alucard" <K...@cis.nctu.edu.tw> wrote:
>
>
>
> > Dear sir,
>
> > I've downloaded kernel source for Galaxy Nexus via,
>
> > git clonehttps://android.googlesource.com/kernel/omap

Ben Bodenmiller

unread,
Mar 2, 2012, 5:47:00 AM3/2/12
to android-...@googlegroups.com
When running:

make ARCH=arm CROSS_COMPILE=arm-none-eabi-

I'm getting the error:

make: arm-none-eabi-gcc: Command not found

Any ideas why? 

I tried using make ARCH=arm CROSS_COMPILE=~/WORKING_DIRECTORY/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- and then fastboot flash zimage zImage but it gets stuck with "Google" on the screen.

Gatesjunior

unread,
Mar 2, 2012, 10:25:07 AM3/2/12
to Android Building
O.k., well the first thing you need to do is run:

make tuna_defconfig

then run your make commands to follow...

On Mar 2, 5:47 am, Ben Bodenmiller <bbodenmil...@gmail.com> wrote:
> When running:
>
> make ARCH=arm CROSS_COMPILE=arm-none-eabi-
>
>
>
> I'm getting the error:
>
> make: arm-none-eabi-gcc: Command not found
>
>
>
> Any ideas why?
>
> I tried using make ARCH=arm
> CROSS_COMPILE=~/WORKING_DIRECTORY/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
> and then fastboot flash zimage zImage but it gets stuck with "Google" on
> the screen.
>
>
>
>
>
>
>
> On Thursday, January 5, 2012 4:27:16 PM UTC-8, Arun Raghavan wrote:
>
> > Hi,
>
> > On Jan 6, 2012 4:55 AM, "Mars Alucard" <K...@cis.nctu.edu.tw> wrote:
>
> > > Dear sir,
>
> > > I've downloaded kernel source for Galaxy Nexus via,
>
> > > git clonehttps://android.googlesource.com/kernel/omap
Reply all
Reply to author
Forward
0 new messages