Kernel source for RevPi core 3 - Stretch version

Topics about the Software of Revolution Pi
Post Reply
ivan.chonin@axbul.bg
Posts: 44
Joined: 28 Oct 2020, 09:36

Kernel source for RevPi core 3 - Stretch version

Post by ivan.chonin@axbul.bg »

Hello,

I need to build locally KERNEL on RevPi Core 3 running Stretch Version.
Can you please let me know where is the proper source to get it working?
ivan.chonin@axbul.bg
Posts: 44
Joined: 28 Oct 2020, 09:36

Re: Kernel source for RevPi core 3 - Stretch version

Post by ivan.chonin@axbul.bg »

Thank you for the info. I managed to do it with this commands:
git clone --dept=1 https://github.com/revolutionpi/linux
cd linux
KERNEL=kernel17
make bcm2709_defconfig

make -j4 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img

make menuconfig
sudo apt-get install libncurses5-dev libncursesw5-dev
User avatar
p.rosenberger
Posts: 91
Joined: 03 Jul 2020, 11:07

Re: Kernel source for RevPi core 3 - Stretch version

Post by p.rosenberger »

ivan.chonin@axbul.bg wrote: 18 Apr 2022, 08:33 ...
make bcm2709_defconfig
...
Just as a hint. We provide the revpi-v7_defconfig. If you use a different defconfig it might happen that some features of our devices are not working.

Best regards,
Philipp
Post Reply