A very simple OS for Raspberry Pi.
This README is quite bare. It exists so that I can remember how to set up a development environment.
The scripts in this repository expect the following to be available on your PATH:
- mjkillough/qemu-rpi (QEMU fork with Raspberry Pi support)
- GCC ARM EABI toolchain
$ brew install pkg-config glib automake libtool $ ./configure --target-list=arm-softmmu $ make $ make install
## Install embedded GCC ARM toolchain
Pre-compiled and source versions of this are available. Just download one and place it on your
# Develop / Run
$ make $ ./qemu.sh
To exit out of QEMU, hit: Ctrl + A, C, q, enter
To start QEMU with GDB stopped on the first instruction, pass
-s -S to
To launch GDB, run
arm-none-eabi-gdb from the root of the repo. (The repo contains a
.gdbinit file, which sets up symbols and connects to a running QEMU session).
- To enter the GDB curses UI, either press
C-x C-aor pass
- When debugging ASM,