Skip to content

My code for Baking Pi - Operating Systems Development online course by Cambridge University (Raspberry Pi 3 update)

Notifications You must be signed in to change notification settings

mauri870/baking-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baking Pi - Operating Systems Development

Warning: the course target Raspberry Pi 1 and is not compatible with the Raspberry Pi 2/3. The code here is modified to work in Raspberry Pi 3

I'll keep this repository with my code for the online course Baking Pi - Operating Systems Development.

The code here is a modified version because I don't have a Pi 1 to test the code, so I've made some modifications to be able to run this on Raspberry Pi 3 Model B. You can view more info about the course on the Cambridge University website.

Requirements

Since the assembly code in this repo is targeting Raspberry Pi 3, you will need a Pi 3 for testing the actual code, but you don't need a Pi 3 to compile, you can use the gcc arm eabi toolchain.

You can install the ARM gcc with:

yaourt -S gcc-arm-none-eabi-bin
# or
apt-get install gcc-arm-none-eabi

Compiling and running on Raspberry Pi 3

# The lesson is a subfolder in src/
LESSON=ok01 make

NOTE: Since there's changes in the mailbox in the newer versions of the firmware this project will no longer work so use this commit tree which is guaranteed to work.

Copy the generated kernel8-32.img to your SD card, along with the Raspberry Pi boot files (bootloader.bin and start.elf).

About

My code for Baking Pi - Operating Systems Development online course by Cambridge University (Raspberry Pi 3 update)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published