Skip to content

adamransom/bare_metal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi 3 Bare Metal Examples

This the repository for my corresponding blog over at adamransom.github.io. It will contain examples of things I learn whilst attempting to build an extremely bare-bones kernel for the Raspberry Pi 3.

Setup

In order to run these examples, you will most notably need a Raspberry Pi 3 Model B. Whilst a lot of the same code can be used on a Raspberry Pi 2, there are some big differences early on (for example when trying to turn on the ACT LED).

Secondly you will need the arm-none-eabi toolchain to assemble, link and generate a binary image to put on your SD card.

Finally you will need make if you want to make building the examples easier.

Usage

If you have make installed, all you need to do is cd into an example directory and run:

make

Then you will need to copy the generated kernel.img to your SD card, along with the Raspberry Pi boot files (bootcode.bin and start.elf), put the card carefully in your Pi and you are good to go!

About

Bare-metal examples on the Raspberry Pi 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published