Building Android Kernel

From OMAPpedia

Jump to: navigation, search
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
Views
  • Read
  • Edit
  • View history
Actions
Navigation
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version