Building Kernel 3.8 (with Device Tree)
cd ~/
git clone git://github.com/RobertCNelson/linux-dev.git
cd linux-dev/
git checkout origin/am33x-v3.8 -b tmp
./build_kernel.sh
If ./build_kernel.sh
fails with ‘undefined references’ to some functions in files like ‘menubox.c’ try running: sudo apt-get install libncurses5 libncurses5-dev libelf-dev libncurses5 libncursesw5-dev
and then retry with ./build_kernel.sh.
Setting up Kernel 3.8.x for Android
Once in the Kernel Configuration Utility (kConfig) scroll down, and enter, ‘Device Drivers’.
Make sure the ‘Staging drivers’ are enabled, or enable them (an asterisk will appear between brackets)
Then, enter ‘Staging drivers’ -> ‘Android’. Enable all Android drivers. I recommend you to include them into the kernel, and not build them as module.
Exit ‘kConfig’ and the Kernel will begin building.
When it is done you will see something like