I am attempting to use OE and bitbake to build an Angstrom image. My question at this point is how do I find the difference between the different kernel versions? For example, I see some people do “bitbake virtual/kernel” and other people do “bitbake console-image” and even “bitbake systemd-image”. I can’t seem to find a list of these anywhere or any sort of description for them.
I have some code for a wifi driver I have to build against the kernel…I’ve downloaded and successfully built the Angstrom kernel with the bitbake program. However, when I try to point to the source files in the make file for my driver build I’m not seeing it in the fairly complex directory structure of the Angstrom build. Can I just downbload the 3.2.14 mainline kernel and use it?
I have some code for a wifi driver I have to build against the kernel…I’ve downloaded and successfully built the Angstrom kernel with the bitbake program. However, when I try to point to the source files in the make file for my driver build I’m not seeing it in the fairly complex directory structure of the Angstrom build. Can I just downbload the 3.2.14 mainline kernel and use it?
You need to apply the same patches Angstrom uses when building the kernel. Robert Nelson and Koen Kooi have been working on a universal kernel that works for both Angstrom and Ubuntu and they are posting the patches to https://github.com/beagleboard/kernel
Clone a copy of the mainline kernel from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git and run the patch.sh script from the above GIT repository.
I have some code for a wifi driver I have to build against the kernel…I’ve downloaded and successfully built the Angstrom kernel with the bitbake program. However, when I try to point to the source files in the make file for my driver build I’m not seeing it in the fairly complex directory structure of the Angstrom build. Can I just downbload the 3.2.14 mainline kernel and use it?
You need to apply the same patches Angstrom uses when building the kernel. Robert Nelson and Koen Kooi have been working on a universal kernel that works for both Angstrom and Ubuntu and they are posting the patches to https://github.com/beagleboard/kernel
I was reading through the script this morning, and there is no need to clone the mainline kernel separately as the script will do this for you. After you clone this script, you need to checkout the correct tag using git checkout origin/beagleboard-3.2 –b beagleboard-3.2 for BeagleBoard or git checkout origin/beaglebone-3.2 –b beaglebone-3.2 for Beaglebone. After that, just run the script and it will clone the mainline kernel and then patch it for you.
Clone a copy of the mainline kernel from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git and run the patch.sh script from the above GIT repository.