1

I have cloned latest Torvalds kernel, compiled it for the Raspberry Pi 2 model B and generated deb packages as well. When I install them using dpkg -i *.deb the files under /boot/firmware are not updated.

Could you please support me to properly install the mainline kernel on a Raspberry Pi 2 model B?

1

1 Answer 1

1

Most likely this is because you are using the stock kernel. There is an official kernel building guide at the Raspberry Pi Foundation website that works well for compiling on your Pi, or on your (Linux) desktop for your Pi.

So as long as you follow that guide you should not have any problems.

1
  • Additionally the package rpikernelhack. is used for packaged updates of kernel and is necessary due to the file system of the boot partition and the details of dpkg . This question has a lot of great info raspberrypi.stackexchange.com/q/51410/71180
    – crasic
    Commented Jun 7, 2019 at 1:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.