Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Robert Nelson authored
Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
db69fdc3
This just a simple set of scripts to rebuild a known working kernel for ARM devices..

Config Notes:

v3.6-rc7
Beagle (omap3430/omap3530):
CONFIG_ARM_ERRATA_430973=y (arm+thumb interwork issues)
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set (hard locks on reboot)

Beagle xM (omap36xx/DM3730):

Panda (omap4430):
CONFIG_PL310_ERRATA_769419=y (USB: compare [hdparm -tT /dev/sda])
CONFIG_OMAP4_ERRATA_I688=y (silicon bug)
CONFIG_ARCH_HAS_BARRIERS=y

Panda ES (omap4460):

Script Bugs: "bugs@rcn-ee.com"

Supported Boards:
BeagleBoard Cx
BeagleBoard xM
PandaBoard
PandaBoard ES

Dependencies: GCC ARM Cross ToolChain

Ubuntu (for target "armel", prior to 12.04):
sudo apt-get install gcc-arm-linux-gnueabi
set: "CC=arm-linux-gnueabi-" in system.sh

Ubuntu (for target "armhf", 12.04+ is available in armhf):
sudo apt-get install gcc-arm-linux-gnueabihf
set: "CC=arm-linux-gnueabihf-" in system.sh

Linaro:
http://www.linaro.org/downloads/

Angstrom:
http://www.angstrom-distribution.org/simplified-development-setup

Dependencies: Linux Kernel Source

This git repo contains just scripts/patches to build a specific kernel for these
ARM devices. It doesn't any of the mainline kernel source, so it must clone a
local tree for use.

By default this script will clone the linux-stable tree, to ${HOME}/linux-src:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

If you've already cloned torvalds tree and would like to save some hard drive
space, just modify the LINUX_GIT variable in system.sh to point to your current
git clone.

Build Kernel Image:

./build_kernel.sh

Optional: Build Debian Package:

./build_deb.sh

Install Kernel Image to SD card: (requires MMC set in system.sh)

./tools/install_image.sh

Development/Hacking:

first run (to setup baseline tree): ./build_kernel.sh
then modify files under KERNEL directory
then run (to rebuild with your changes): ./tools/rebuild.sh