Author Topic: Howto get the Raspbian kernel installed with headers (solution):  (Read 18539 times)

0 Members and 1 Guest are viewing this topic.

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1759
  • Country: dk
Howto get the Raspbian kernel installed with headers (solution):
« on: November 11, 2013, 06:02:05 pm »
The raspberry Pi Foundation doesn't have/make downloadable header packages for their linux kernels :-(

This means that making working modules for the kernel you are running is cubersome , and right now defective.

The solution is to use a kernel from (made by) , "Foundation does NOT use the kernels from them but build their own" wo. any kernel header packages.

This post (issue) , was the one hinting that the Raspbian kernel isn't the one - The foundtion uses

And this one might be the reason i can't get it to work , it seems like the foundation even have FSCK'ed up somewhere in the "Kludge" we need to do, in order get the right symbols for the kernel currently used on the RasPI.

Howto get the Raspian kernel installed with headers:

See :
Entry by : by plugwash ยป Fri Nov 08, 2013 10:22 pm

I use a standard "Foundation Noobs" as the base boot ....

Then apt-get the kernel below.

I use an unmodified sources.list (from the Noobs raspian)

$ cat /etc/apt/sources.list
deb wheezy main contrib non-free rpi

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
#initramfs initrd.img-3.2.0-4-rpi followkernel
initramfs initrd.img-3.6-trunk-rpi followkernel
************* SNIP ***********************

4: reboot
5: login
6: apt-get install linux-headers-rpi-rpfv

Done Kernel stuff



Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo