Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mjkillough/ross
A simple OS for RaspberryPi
https://github.com/mjkillough/ross
Last synced: 2 days ago
JSON representation
A simple OS for RaspberryPi
- Host: GitHub
- URL: https://github.com/mjkillough/ross
- Owner: mjkillough
- Created: 2014-05-26T21:10:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-19T20:37:12.000Z (over 8 years ago)
- Last Synced: 2023-03-22T19:50:59.672Z (over 1 year ago)
- Language: C
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ross
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.
# Dependencies
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## Install qemu-rpi
To compile:
$ 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](https://launchpad.net/gcc-arm-embedded/+download). Just download one and place it on your `PATH`.
# Develop / Run
To develop/run:
$ make
$ ./qemu.shTo exit out of QEMU, hit: Ctrl + A, C, q, enter
## Debugging
To start QEMU with GDB stopped on the first instruction, pass `-s -S` to `./qemu.sh`.
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).
Useful tips:
* To enter the GDB curses UI, either press `C-x C-a` or pass `-tui`.
* When debugging ASM, `layout asm` and `stepi`/`si` are useful.