Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RaspberryPi2 kernel from scratch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Thu Feb 11, 2016 11:28 am    Post subject: RaspberryPi2 kernel from scratch Reply with quote

Hi there

I have an working Raspberry Pi 2 with gentoo (uname -r 4.1.4-v7+). I cant remember how I built my current kernel and what sources I used (I guess the one from raspberry git).

For some reason I need to go back to an earlier kernel version lower than 4.1.2 (*). So I decided to emerge gentoo-sources-4.1.17. I copied my current .config to the new(older) source and run oldconfig.

Of cause it did not boot and I got this huge color box on the screen.

So I ask if it's possible to create an kernel from gentoo-sources instead from github.com/raspberrypi/linux? Gentoo-sources seems to not contain "bcm2709_defconfig". Can I prepare somehow gentoo-sources for raspberry?


(*)because my wlan stick driver only work 5Ghz with lower kernels currently
Back to top
View user's profile Send private message
dasPaul
Apprentice
Apprentice


Joined: 14 Feb 2012
Posts: 243
Location: Dresden

PostPosted: Thu Feb 11, 2016 2:39 pm    Post subject: Reply with quote

I used
Quote:
git clone --depth=1 -b rpi-4.1.y https://github.com/raspberrypi/linux.git

to get kernel 4.1.17, followed this guide and everything compiled and booted without problems.
Back to top
View user's profile Send private message
dataking
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 251

PostPosted: Tue Mar 22, 2016 9:24 pm    Post subject: Reply with quote

dasPaul wrote:
I used
Quote:
git clone --depth=1 -b rpi-4.1.y https://github.com/raspberrypi/linux.git

to get kernel 4.1.17, followed this guide and everything compiled and booted without problems.
So, to clarify, was this a method you used to work around compiling a custom, Gentoo kernel on RPi2? Or are you adding details to what was working before, and you are still waiting for advice on compiling a custom kernel on RPi2?
_________________
-= the D@7@k|n& =-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum