A bootable 64bit kernel for the raspberry pi 3.
Follow the instructions below to install this kernel on your physical Raspberry Pi 3(RPi3) device or alternatively emulate it using Qemu. As of the time of writing this Qemu still does not support certain RPi3 peripherals like the system timer within the GPU so certain features will not work.
- A Raspberry Pi 3 with memory card with NOOBS
- A monitor and HDMI cable
- UART to USB adapter
- Toolchain: Aarch64 ELF baremetal target cross compiler available here
- Qemu Emulator (optional)
- Clone this repository
$ git clone https://github.com/darebalogun/PiKernel.git
- cd into the repository folder
cd PiKernel
- cd into the build folder
cd build
- Make clean
make clean
- If running on Qemu: make run
make run
- If running on hardware: make
make
- Insert memory card into your PC and copy 'kernel8.img' onto the boot folder on the memory card
- Disable device tree by adding the following line to config.txt
device_tree=
- Replace the memory card in the RPi and power on to boot
Contributions welcome through pull requests