dom wrote:You've got to understand that no one who works for raspberry pi is a debian packaging expert (and the fact that there are very few people who work for raspberry pi).
@dom
Your answer makes sense.
Especially about doing the things you are best at , and not everyone has access to the Broadcomm NDA docs.
But i thought you (the foundation) had a "university" behind you , and a lot of .deb package knowledge.
That said ....
I had a feeling that one of the reactions here would be ... It's FOSS so please contribute to make it better.
My standard reply was "patches are welcome"
I'd say thanx for the offer but no thanx.
Even though i know how to make .deb packages, i'm not in the top thousand of that task.
So i'll stop whining here
And just use the raspbian.org kernels , they're quite easy to install after having installed the standard raspbian from NOOBS
Btw: The "debian way" of getting the correct headers, has to my best knowledge always been
sudo apt-get install linux-headers-$(uname -r)
Meaning that the headers was always dependant on the kernel vers. you were running when you asked for them.
I installed and activated my raspbian.org kernel just after doing a fresh raspbian (NOOBS) install.
Here are my notes for others
Code: Select all
We get the Raspbian package "metapackage linux kernel" , that has corresponding headers.
1: sudo apt-get update
2: sudo apt-get install linux-image-rpi-rpfv
3: In boot/config.txt append this at end of file , or it will boot the default "Foundation kernel"
************* SNIP ***********************
# Set params for "raspbian debian-style kernel" boot
#kernel=vmlinuz-3.2.0-4-rpi
#initramfs initrd.img-3.2.0-4-rpi followkernel
kernel=vmlinuz-3.6-trunk-rpi
initramfs initrd.img-3.6-trunk-rpi followkernel
************* SNIP ***********************
4: reboot
5: login
6: apt-get install linux-headers-rpi-rpfv
Done Kernel stuff
On my current raspian.org kernel the above "linux-headers-rpi-rpfv" should pull in the linux-headers-3.6-trunk-rpi package.
Based on this output.
Code: Select all
pi@raspberrypi-3 ~ $ uname -r
3.6-trunk-rpi
pi@raspberrypi-3 ~ $ sudo apt-cache search linux-headers-
linux-headers-3.2.0-4-all - All header files for Linux 3.2 (meta-package)
linux-headers-3.2.0-4-all-armhf - All header files for Linux 3.2 (meta-package)
linux-headers-3.2.0-4-common - Common header files for Linux 3.2.0-4
linux-headers-3.2.0-4-rpi - Header files for Linux 3.2.0-4-rpi
linux-headers-3.6-trunk-all - All header files for Linux 3.6 (meta-package)
linux-headers-3.6-trunk-all-armhf - All header files for Linux 3.6 (meta-package)
linux-headers-3.6-trunk-common - Common header files for Linux 3.6-trunk
linux-headers-3.6-trunk-rpi - Header files for Linux 3.6-trunk-rpi
linux-headers-rpi - Header files for Linux rpi configuration (meta-package)
linux-headers-rpi-rpfv - This metapackage will pull in the headers for the raspbian kernel based on
While i was porting versaloon (an arm jtag software) to the STM32VL-Discovery , the project owner always released OpenOCD patches against the current OOCD github tree , but never wrote witch OOCD git-revision the patch was made against.
This usualy meant that the patches failed shortly after his latest patch, as OOCD like the "Foundation kernel" is an evolving target.
So one thing that might help people that compiles modules against the "Foundation" kernel , would be to write what git-revision the current foundation kernel was pulled from.
Thanx to all for your efforts , the RasPI is a neat little board.
/Bingo