Skip to content

zeoneo/rpi3b-bare-metal

Repository files navigation

rpi3b-bare-metal Build Status

This tutorial supports only Raspberry Pi 3 B model and tutorial is target at 32 bits.

I am going to attempt bare metal programming on Raspberry Pi 3 B.

  1. Get UART0 working.
  2. Get ARM Timer working.
  3. Get Interrupt working.

How to COMPILE code.

For individual lessons:

  • Change directory to src/lesson-dir
  • Invoke make and it will build kernel8-32.img binary (This needs compiler arm-none-eabi-gcc compiler download it from here

For complete OS (using local compiler)

  • Change directory to rpi3b-meaty-skeleton
  • Invoke ./build.sh
  • Find binary in kernel folder.

For complete OS (using DOCKER IMAGE)

  • Get docker desktop for your host operating system
  • Change directory to rpi3b-meaty-skeleton
  • Invoke ./docker-build.sh
  • Find binary in kernel folder.

It's important to check files in Disk Image folder. Disk Image is ideal setup for lessons to work.

About

Raspberry Pi 3B (32 Bit) OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published