Bare programmation on the raspberry pi 3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Mathieu Maret 7ca087a354
Add Readme
11 months ago
boot_client Add way to upload kernel by serial link 1 year ago
Makefile Add way to upload kernel by serial link 1 year ago
Readme.md Add Readme 11 months ago
asm_utils.S Set Excution Level to 1 12 months ago
clock.c Add setClock 1 year ago
clock.h Add setClock 1 year ago
config.txt Initial import with uart 1 year ago
crt0.S Set Excution Level to 1 12 months ago
debug.gdb generate kernel.sym for debug 1 year ago
delay.c Add setClock 1 year ago
delay.h Add setClock 1 year ago
fb.c Fb can configure resolution 1 year ago
fb.h Fb can configure resolution 1 year ago
font.psf Add font rendering 1 year ago
gpio.h Initial import with uart 1 year ago
hello.c Set Excution Level to 1 12 months ago
mbox.c Add setClock 1 year ago
mbox.h Add setClock 1 year ago
mmio.h add puts 1 year ago
rpi3.ld Add way to upload kernel by serial link 1 year ago
static_tools.c Add way to upload kernel by serial link 1 year ago
static_tools.h Add way to upload kernel by serial link 1 year ago
uart.c Uart: add receive 1 year ago
uart.h Uart: add receive 1 year ago
utils.c Add strcmp and readline 1 year ago
utils.h Set Excution Level to 1 12 months ago

Readme.md

A raspberry 3 OS

Support:

  1. UART
  2. Framebuffer
  3. update over serial
  4. 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