Yes, I do need to compile modules.
When you say “any latest 3.8” does that mean that I should grab it from kernel.org, or somewhere else?
If you follow Robert’s guide, and use his script. The scripts will do all this for you through github. If you are familiar with the process, you should be able to read through his guide and see what is happening. Passed that, you’ll have to dive in an decipher his build scripts. Personally, I never felt the need. Also, his scripts pull in, and apply numerous patches that are required for the beaglebone kernel.
BTW: One thing that I am not clear on is how to know if an “official” release from kernel.org has evolved
enough or when a specialized version is needed.
I’m not sure I understand what you mean here. But, the “official” kernel is just the kernel sources, with various patches applied to make it run on the beaglebone black. It is also compiled with various modules in mind. Pretty much everything that the beaglebone has, or can use is “built in” module wise.
Off the top of my head: Specialized / customized kernel would only be needed if:
- You need to minimize / reduce the size of the kernel because of size constraints.
- You need to build in your own custom kernel modules.
There are other possibilities too I’m sure, but none that jump out at me right at this moment. Also, just for the record if you do not know already. Robert builds / maintains the official kernels, scripts, etc . . . if that is important to you.
I currently have installed: arm-linux-gnueabi-gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1)
Adequate for compiling the kernel?
No. If you look on the link I gave you to Robert’s guide, it will say which compiler is needed. That, and it is best that you follow his guide, until you’re comfortable enough to make changes on your own. In short though, you need the gnueabihf( hard float ) compiler.
I saw a link on TI site for PRU assembler and C compiler which I assume I will also need.
I’m not absolutely 100% sure, but I believe all this is available via Robert’s APT repo. SO you could just add his repository to your APT config file, and then apt-get update followed by apt-cache search to find the appropriate package name. You can also find, and experiment( after installing) with kernels in this manner as well.
Anyhow, if it is not in Robert’s repo yet ( which I’m fairly sure it is ) Jason Kridner has a github project for all the PRU “stuff”. assembler, C compiler, etc.