EBC Exercise 23 Configuring the Kernel

From eLinux.org
Revision as of 06:42, 31 March 2011 by Yoder (Talk | contribs)

Jump to: navigation, search

This is unfinished....

There are several ways to get and configure the kernel. In [[1]] you learned how to get and compile the kernel. Here we'll look at configuring it.

Let's first learn how to do it the bitbake way. First set up the environment and go to the kernel directory

$ source ~/BeagleBoard/oe/crossCompileEnv.sh
$ cd ~/BeagleBoard/oe/build/tmp-angstrom_2008_1/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r88+gitra6bad4464f985fdd3bed72e1b82dcbfc004d7869/git

One there try some of the make commands. Help is a good place to start.

$ make help | LESS

$ make xconfig

Trying another branch

Here's some notes on trying to get bitbake to compile the 2.6.32 version of the kernel.

$ cd BeagleBoard/oe
$ . source-me.txt
$ cd ${OETREE}
$ git checkout -b 2011.03-maintenance origin/2011.03-maintenance
$ bitbake