Skip to content
Votary Tech edited this page Aug 9, 2017 · 12 revisions

Boot up steps for Raspberry pi 3 Kernel-4.12.3 64bit ARMv8 using bcm2837 dts.

Whenever NOOBs installed into sdcard and inserting into pi-3 board, by-default pi-3 board booting up with bcm2708-rpi-3-b.dtb kernel-4.4.38 32bit ARMv7.

But procedure is different If you want to boot up kernel-4.12.3 64bit ARMv8 on pi-3.

Note : Keep remain sdcard with noobs installed and just replace below files only. Now follow below steps.

Step1: Cross compile your kernel with 64bit.
       # make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcmrpi3_defconfig
       # make -j 12 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-

Step2: Copy File into sdcard boot dir.
       # cp arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dtb  /media/(path to sdcard)/boot/
       # cp arch/arm64/boot/dts/overlays/*.dtbo /media/(path to sdcard)/boot/overlays/
       # cp arch/arm64/boot/Image /media/(path to sdcard)/boot/kernel8.img

Step3: Copy modules into sdcard root dir.
       # make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-  INSTALL_MOD_PATH=/(path to sdcard)/root/ modules_install

Step4: Mention these two line into "config.txt". without it won't boot up.

       device_tree=bcm2837-rpi-3-b.dtb
       kernel=kernel8.img
Clone this wiki locally