raspbian kernel


56 posts   Page 3 of 3   1, 2, 3
by Luke Wilkinson » Mon Jun 25, 2012 1:57 pm
great stuff.

the r-pi stock kernel is probably not a good match for the libraries it's being used with on my armel "sid" installation either.

what I meant to say in my previous post was that hardware floating point is something I need on my r-pi.

looks like raspbian is the way to go for me.

So currently can I assume that if i use this installer (http://archive.raspbian.org/installer/r ... -18-12.zip) I'll be getting the foundation kernel?

Also will the rpi-update script that gets installed provide the armfp closed source libs automatically or do I need to modify this?

Sorry, I can't check this for myself till later on.
Posts: 4
Joined: Mon Jun 25, 2012 10:23 am
by plugwash » Mon Jun 25, 2012 3:46 pm
rpi-update knows how to detect whether the system it's operating on is softfloat or hardfloat and install the correct libraries.

I haven't tried the installer myself, pre-prepared images are much easier.
Forum Moderator
Forum Moderator
Posts: 2174
Joined: Wed Dec 28, 2011 11:45 pm
by chrisw2 » Mon Jun 25, 2012 4:48 pm
Luke Wilkinson wrote:...
So currently can I assume that if i use this installer (http://archive.raspbian.org/installer/r ... -18-12.zip) I'll be getting the foundation kernel?
...

Yes that is correct. I used the installer and it worked very well. See: http://www.raspbian.org/RaspbianInstaller for instructions.
Posts: 106
Joined: Sat Apr 07, 2012 11:22 am
Location: Manchester, UK
by chrisw2 » Mon Jun 25, 2012 5:04 pm
I only discovered that you can specify which kernel to boot in /boot/config.txt. AFAIK the kernel(s) has to reside in the boot partition but does not need to be called kernel.img. I find this easier to follow than just copying the kernel to kernel.img. Apologies if everyone knew this anyway.

eg:
contents of /boot (note the lack of kernel.img)
Code: Select all
chris@RPI01:/boot$ ls -hl
total 20M
-rwxr-xr-x 1 root root 2.0M Jun 21 19:03 arm128_start.elf
-rwxr-xr-x 1 root root 2.0M Jun 21 19:03 arm192_start.elf
-rwxr-xr-x 1 root root 2.0M Jun 21 19:04 arm224_start.elf
-rwxr-xr-x 1 root root  17K Jun 21 18:44 bootcode.bin
-rwxr-xr-x 1 root root  119 Jun 11 16:36 cmdline.txt
-rwxr-xr-x 1 root root  288 Jun 24 19:02 config.txt
-rwxr-xr-x 1 root root   26 Apr 19 07:58 issue.txt
-rwxr-xr-x 1 root root 5.9M Jun 21 08:51 kernel.img-3.1.9-clw
-rwxr-xr-x 1 root root 6.0M Jun 21 19:06 kernel.img-3.1.9-rpf-cc5758b
-rwxr-xr-x 1 root root 269K Jun 21 18:45 loader.bin
-rwxr-xr-x 1 root root 2.0M Jun 21 18:43 start.elf

contents of /boot/config.txt (the stuff below the 2nd line uis just to illustrate you can still use all the other config.txt options)
Code: Select all
# Set kernel to boot
kernel=kernel.img-3.1.9-clw
#
# Set composite video to PAL
sdtv_mode=2
#
# HDMI video
# Set to DVI mode
hdmi_drive=1
# Set to DMT
hdmi_group=2
# Set to 1280 x 1024 @ 60Hz
hdmi_mode=35
# Disable overscan
disable_overscan=1
#
# Overclocking
arm_freq=900
sdram_freq=500
Posts: 106
Joined: Sat Apr 07, 2012 11:22 am
Location: Manchester, UK
by niko1986 » Thu Jun 28, 2012 10:33 am
I've had a few issues with the latest rpi-update kernel and my usb wifi adapter. I've seen it mentioned when googling that the rt2800usb drivers break with the latest linux kernel. I'm pretty new to linux and compiling drivers and kernels manually etc., right now I'm just not going to update the kernel.

In the long run what are my options? I don't want to inconvenience people with leading me by the hand with step by steps. But a point in the right direction, as to what I should be learning to make my drivers work with newer kernels would be helpful :D I've googled a lot myself but the subject is so vast and so many at times seemingly conflicting methods, that I give up in confusion.
Posts: 12
Joined: Thu Jun 28, 2012 10:21 am
by plugwash » Mon Jan 07, 2013 12:01 am
With vagrantc's help i've just updated the kernel packages in raspbian, we have also written a script that breaks out the raspberry pi changes into individual patches.

Please test this kernel and report any problems.

Note that this is still a 3.2 based kernel, we may also do a 3.6 kernel later.
Forum Moderator
Forum Moderator
Posts: 2174
Joined: Wed Dec 28, 2011 11:45 pm