Skip to content
bare metal programming with Raspberry Pi
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01-infinite-loop
02-counter
a64dis
.gitignore
99-c232.rules
LICENSE
README.md
c232hm-ddhsl-0.cfg
rpi3.cfg

README.md

baremetal-rpi

This repo contains bare metal examples to run on Raspberry Pi 3B+.

Sample projects in directories starting with a number are compiled with AArch64 ELF bare-metal target (aarch64-elf) GNU Toolchain.

This repo is complementary to my bare metal programming blog posts at https://metebalci.com.

  • c232hm-ddhsl-0.cfg and rpi3.cfg are config files for debugging through JTAG with openocd.
  • 99-c232.rules is udev rules (to be copied to /etc/udev/rules.d) that can be used in order to use openocd without sudo.
  • You can use a64dis project to disassemble the a64 binaries. It uses Capstone framework.
You can’t perform that action at this time.