stevePIman
Posts: 24
Joined: Tue May 29, 2012 8:07 am

Pi 3 Kernel Build

Thu Mar 03, 2016 5:32 pm

Hi,

I'd like to add the egalax touch screen module to the pi3 kernel so built the kernel as I have done before on wheezy/a pi1:

Code: Select all

git clone --depth=1 https://github.com/raspberrypi/linux
cd linux
make mrproper
make menuconfig  (add Device Drivers ->Input Device Support->Touch Screen->USB Touch Screen Driver <*>(Y) (eGalax))
cp arch/arm/configs/bcm2835_defconfig .config   { I guessed, perhaps incorrectly, that the 2835 is for the pi3 }
make
I've not had chance to test it yet, but how can I be sure that the wifi module for the pi3 onboard wifi is included?

Is there a better way to build the kernel that is more optimised for the pi3? This page https://www.raspberrypi.org/documentati ... uilding.md suggests there are different options for the pi2 but does not yet mention the pi3.

Thanks, Steve

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5794
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Pi 3 Kernel Build

Thu Mar 03, 2016 5:58 pm

stevePIman wrote:Is there a better way to build the kernel that is more optimised for the pi3? This page https://www.raspberrypi.org/documentati ... uilding.md suggests there are different options for the pi2 but does not yet mention the pi3.
There is no difference in kernel for Pi2 and Pi3, so just follow the building documentation for Pi2.

stevePIman
Posts: 24
Joined: Tue May 29, 2012 8:07 am

Re: Pi 3 Kernel Build

Sun Mar 13, 2016 12:47 am

Thanks. I compared my kernel .config to the one in the Pi2 procedure and realised that the eGalax module is already in there. I eventually managed to get the screen connected to the Pi3 and after calibrating the axis it just worked. No more kernel build needed.
Steve

vinifr
Posts: 3
Joined: Mon Jun 23, 2014 2:51 pm

Re: Pi 3 Kernel Build

Tue Jan 10, 2017 9:15 pm

dom wrote:
stevePIman wrote:Is there a better way to build the kernel that is more optimised for the pi3? This page https://www.raspberrypi.org/documentati ... uilding.md suggests there are different options for the pi2 but does not yet mention the pi3.
There is no difference in kernel for Pi2 and Pi3, so just follow the building documentation for Pi2.
What about support for built in(PI 3) wifi and bluetooth into kernel?

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3973
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi 3 Kernel Build

Tue Jan 10, 2017 9:21 pm

Using the standard RPi kernel configurations, the drivers for the WiFi and Bluetooth devices are built as kernel modules.

Return to “Advanced users”