Android OS Forum banner

1 - 1 of 1 Posts

·
Premium Member
Joined
·
223 Posts
Discussion Starter · #1 ·
I have put together what I call my kernel studio. This is what I use (minus the configs) to create all my kernels. It is pretty straightforward, there is a script in the kernel directory called setup, which will set all the environment variables for you. You will need to edit this file to point at your android toolchain directory, then run it like this:

Code:

$ . setup

then you can
Code:

$make sholes_defconfig

and then just

Code:

$make menuconfig

(to configure the kernel)
Code:

$make

this will produce the zImage that you will be using in the next scripts. return to the root directory and run (to create a GZIP-compressed boot.img that will boot gingerbread):

Code:

$gb_gogzip

to produce out/gb_boot.img (using the ramdisk contents in gb_ramdisk), and also copy the compiled zImage to out/gb_zImage

to create an LZMA-compressed froyo boot img (using the ramdisk contents in fr_ramdisk), run
Code:

$fr_golzma

you can probably figure out what the other go_* scripts do

http://rzdroid.com/ftp/kernels/RZK_studio.tar.bz2
 
1 - 1 of 1 Posts
Top