Building Android Kernel
From OMAPpedia
| How to get started building your own binaries for the Android OS on your OMAP Platform | ||||||||||
| Overview | Step 1 | Step 2 | Step 3 | Step 4 | Step 5 | Step 6 | Step 7 | Step 8 | Step 9 | |
- Step 3
[edit] Pull Kernel Source
cd ~/android_rls/ git clone git://git.omapzoom.org/kernel/omap.git kernel/android-2.6.35 cd ~/android_rls/kernel/android-2.6.35 git checkout -b <name-of-new-branch> <based-on-some-commit-ID>
- See Release_Notes for a commit ID
- For latest release switch to proper branch and build
[edit] Building Kernel
cd ~/android_rls/kernel/android-2.6.35 make ARCH=arm distclean make ARCH=arm <select_board_config>_defconfig make ARCH=arm uImage 2>&1 |tee $MYDROID/logs/kernel_make.out
- A complete list of board def_configs are located at:
cd ~/android-2.6.35/arch/arm/configs
For blaze or blaze tablet, use blaze_defconfig
[edit] Building Kernel Modules
cd ~/android_rls/kernel/android-2.6.35 make ARCH=arm modules 2>&1 |tee $MYDROID/logs/kernel_modules.out
|
|
|
| Previous | Home | Next |


