Building Android Kernel

From OMAPpedia

(Difference between revisions)
Jump to: navigation, search
(Building Kernel)
(Building Kernel)
 
Line 37: Line 37:
* A complete list of board def_configs are located at:
* A complete list of board def_configs are located at:
  cd ~/android-2.6.35/arch/arm/configs
  cd ~/android-2.6.35/arch/arm/configs
 +
For blaze or blaze tablet, use blaze_defconfig
==Building Kernel Modules==
==Building Kernel Modules==

Latest revision as of 16:00, 9 November 2011

Android Logov2.jpg
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>

[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
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

Left arrow1.png Android Logov2.jpg Right arrow1.png
Previous Home Next
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox