https://github.com/cirosantilli/raspberry-pi-bare-metal-blinker
Run one command, get a bare metal hello world blinker image that blinks the OK LED. Tested on Ubuntu 16.04 host, Raspberry Pi 2.
https://github.com/cirosantilli/raspberry-pi-bare-metal-blinker
Last synced: 8 days ago
JSON representation
Run one command, get a bare metal hello world blinker image that blinks the OK LED. Tested on Ubuntu 16.04 host, Raspberry Pi 2.
- Host: GitHub
- URL: https://github.com/cirosantilli/raspberry-pi-bare-metal-blinker
- Owner: cirosantilli
- Created: 2016-10-15T17:56:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-01T18:01:38.000Z (over 6 years ago)
- Last Synced: 2025-03-30T22:32:13.311Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 1.29 MB
- Stars: 22
- Watchers: 3
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raspberry Pi Bare Metal Blinker
Run one command, get a bare metal hello world blinker image that blinks the OK LED. Tested on Ubuntu 16.04 host, Raspberry Pi 2. Usage:
1. Insert SD card on host
1. Make the image:
./make.sh /dev/mmcblk0 p1
Where:
- `/dev/mmcblk0` is the device of the SD card
- `p1` is the first partition of the device (`/dev/mmcblk0p1`)1. Inset SD card on PI
1. Turn power off and on

There are many comprehensive bare metal resources out there, but it was hard to get the first example working, because you have to download some random blobs and put them together.
Making the first hello world easy is the only goal of this tutorial. The blinker code was adapted from: which was the most comprehensive Raspberry Pi bare metal resource available at the time.
Also explained at:
-
-