09 Apr

Debian with Linux Kernel 3.19, Radeon and Broadcom wl.

Simple howto to install on Debian Testing new stable Kernel 3.19, Radeon fglrx Driver and wl Broadcom wifi driver. (Testing Laptop Lenovo Edge E545).
First we need to install new Kernel. Download Kernel source from https://www.kernel.org/.

1
2
$ wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.19.3.tar.xz
$ tar xf linux-3.19.3.tar.xz

Verify it against signature. You need to install some packages.

1
2
$ sudo apt-get install libncurses5-dev fakeroot kernel-package
$ cd linux-3.19.3

Copy the current kernel configuration to working directory as root user:

1
# cp /boot/config-#kernelversion-#arch .config

Make new Kernel conf:

1
# make menuconfig

Configure options for you new kernel with you hardware. Select what you want to add to new kernel. Don’t forget to load .config file in menu.(in new linux kernel folder). Save and exit. Clean the source tree.

1
# make-kpkg clean

Check cores of processor(with cat /proc/cpuinfo) and add +1. I have 2 cpu core and + 1 => 3

1
# export CONCURRENCY_LEVEL=3

CONCURRENCY_LEVEL will speed up the compilation time. Compile kernel and kernel headers with name, what you want.

1
# fakeroot make-kpkg --append-to-version "biotinkernel" --revision "1" --initrd kernel_image kernel_headers

It will create .deb packages of kernel and kernel headers, but in one folder up.

1
2
3
4
5
6
# cd ..
# cd ls
linux-3.19.3
linux-3.19.3.tar.xz
linux-headers-3.19.3biotinkernel_1_amd64.deb
linux-image-3.19.3biotinkernel_1_amd64.deb

Install deb files.

1
2
# dpkg -i linux-image-3.19.3biotinkernel_1_amd64.deb
# dpkg -i linux-headers-3.19.3biotinkernel_1_amd64.deb

Reboot.

Now we need to install wl Broadcom Drivers. Read some information about Broadcom Wireless Drivers from AskUbuntu. You can use something from this git source –bcmwl-ubuntu with patches. But for Kernel 3.19 you can download deb package from Ubuntu “Vivid” page. Vivit with 3.19 Kernel.

1
2
$ wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb
$ sudo dpkg -i bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb

Its working ;)

Now we need to instal proprietary Radeon – fglrx Drivers. Hier you can find simple guide.

1
2
3
4
5
6
7
8
9
10
11
$ sudo vim /etc/apt/sources.list.d/siduction.list
Add this repo to file deb http://packages.siduction.org/extra experimental main contrib non-free
$ sudo apt-get update
$ sudo apt -t experimental install fglrx-driver libgl1-fglrx-glx fglrx-modules-dkms
$ sudo vim /etc/X11/xorg.conf.d/20-fglrx.conf
Add this code

Section "Device"
   Identifier "My GPU"
   Driver "fglrx"
EndSection

Ok, now reboot. Testing new modules:

1
2
3
4
5
6
7
8
$ uname -a
Linux debian 3.19.3biotinkernel #1 SMP Mon Apr 6 21:49:31 CEST 2015 x86_64 GNU/Linux
$ lsmod
...
wl                   6298999  0
cfg80211              443817  1 wl
fglrx               12260669  131
...

That’s all :)

Tweet about this on TwitterShare on FacebookShare on Google+Share on RedditShare on VK