Sunday, March 14, 2010

OpenEmbedded linux-omap Kernel

"bitbake linux-omap" will compile the latest kernel and deploy as uImage. However, if you have your own change, you have to follow the following steps. It is a summery from here.

bitbake linux-omap -c configure
cd tmp/work/beagle/linux-omap/git;
make menuconfig
cd $OETREE
bitbake linux-omap -c compile -f
bitbake linux-omap -c deploy

bitbake linux-omap -c configure : download all the source code, and put the source code in the tmp/work/linux-omap/git directory. If there is anything you need to change, you have to go to that directory and change it using make menuconfig.

bitbake will compile and deploy from the tmp directory. So all your changes you just made will be built into the kernel. However, if this build is permenent, you can save your kernel setup to your recipe. cp .config recipes/linux/linux-omap2-git/beagle/defconfig .

After that, you have to manually do the compile and deploy. There is not one line command to do that.

No comments:

Post a Comment