Guys, I need help in getting the kernel source code so I can make some changes.
As I said in my post above, I built the angstrom kernel to produce the kernel modules (e.g. wl12xx_sdio.ko) I need to support WLAN. I built the kernel by following the instructions here: http://www.angstrom-distribution.org/building-angstrom . This compiled the kernel and the modules that I need.
The steps that I followed in these instructions created a “setup-scripts” directory and a whole bunch of sub-directories. I expected to find the kernel source code somewhere in these directories, but I can’t. In particular, I want to make changes to the file arch/arm/mach-omap2/board-am335xevm.c (mentioned by Koen in a previous post), but I can’t find the file. There are other files that I expected to find (like sdio.c, used to produce wl12xx_sdio.ko) but they are not present either.
I’m guessing that the build steps must download the source code, apply some patches, build the kernel, and then delete the source code? How can I get the source code that these steps are using? Can I alter the instructions so that they will not delete the source code after building?
I looked for the kernel source here https://github.com/beagleboard but it seems to have only a README and a patch, not the kernel source.
Forgive me if this seems like an elementary question, but I’ve never used git and bitbake. When building other kernels in the past I’ve download the source code, ran “make menuconfig” to configure the kernel, then simply ran make to build. Building the angstrom kernel is a LOT different!
Thanks for your help.
Tim M