An open API service indexing awesome lists of open source software.

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.

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

![demo.gif](demo.gif)

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:

-
-