Skip to content

Compiling kernel.img

David Banks edited this page Feb 25, 2017 · 11 revisions

Make sure you are in the scripts directory: cd src/scripts

Run the makefile:

make -Bj

(The -B flag forces a clean build, the -j flags speeds up the build by allowing use of multiple cores to compiler)

There should be no errors or warnings, and the kernel should have been created. It's name depends on the Pi Model, and will be one of:

  • kernelrpizero.img
  • kernelrpi.img
  • kernelrpibplus.img
  • kernelrpi2.img
  • kernelrpi3.img

Next: Deploying on a Pi