Bare programmation on the raspberry pi 3
boot_client | ||
asm_utils.S | ||
clock.c | ||
clock.h | ||
config.txt | ||
crt0.S | ||
debug.gdb | ||
delay.c | ||
delay.h | ||
fb.c | ||
fb.h | ||
font.psf | ||
gpio.h | ||
hello.c | ||
Makefile | ||
mbox.c | ||
mbox.h | ||
mmio.h | ||
Readme.md | ||
rpi3.ld | ||
static_tools.c | ||
static_tools.h | ||
uart.c | ||
uart.h | ||
utils.c | ||
utils.h |
A raspberry 3 OS
Support:
- UART
- Framebuffer
- update over serial
- Qemu
UART
Using GPIO 14 and 15
update over serial
You can update a kernel that is connected a given TTY with
TTY=/dev/MYTTY make update_serial
This is mainly usefull for kernel running on a real board but to use it with QEMU, you have to modify the serial opt to be
-serial pty
and then
TTY=/TTY_VERBOSED_BY_QEMU make update_serial
QEMU
You can test it with
make run
Qemu with a debugger
make debug
Install on sdcard
Create a FAT32 partion and copy kernel and kernel8.img