Skip to content

darebalogun/PiKernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiKernel

A bootable 64bit kernel for the raspberry pi 3.

Getting Started

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.

Prerequisites

  1. A Raspberry Pi 3 with memory card with NOOBS
  2. A monitor and HDMI cable
  3. UART to USB adapter
  4. Toolchain: Aarch64 ELF baremetal target cross compiler available here
  5. Qemu Emulator (optional)

Installation Instructions

  1. Clone this repository
$ git clone https://github.com/darebalogun/PiKernel.git
  1. cd into the repository folder
cd PiKernel
  1. cd into the build folder
cd build
  1. Make clean
make clean
  1. If running on Qemu: make run
make run
  1. If running on hardware: make
make
  1. Insert memory card into your PC and copy 'kernel8.img' onto the boot folder on the memory card
  2. Disable device tree by adding the following line to config.txt
device_tree=
  1. Replace the memory card in the RPi and power on to boot

Contributing

Contributions welcome through pull requests

Acknowledgements

About

Bootable kernel for the raspberrypi3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published