Bare programmation on the raspberry pi 3
Go to file
Mathieu Maret 7ca087a354 Add Readme
2022-05-01 23:07:05 +02:00
boot_client Add way to upload kernel by serial link 2022-03-22 23:06:10 +01:00
asm_utils.S Set Excution Level to 1 2022-04-13 17:06:21 +02:00
clock.c Add setClock 2022-03-17 22:35:47 +01:00
clock.h Add setClock 2022-03-17 22:35:47 +01:00
config.txt Initial import with uart 2022-03-14 11:28:49 +01:00
crt0.S Set Excution Level to 1 2022-04-13 17:06:21 +02:00
debug.gdb generate kernel.sym for debug 2022-03-21 21:50:42 +01:00
delay.c Add setClock 2022-03-17 22:35:47 +01:00
delay.h Add setClock 2022-03-17 22:35:47 +01:00
fb.c Fb can configure resolution 2022-03-21 14:45:31 +01:00
fb.h Fb can configure resolution 2022-03-21 14:45:31 +01:00
font.psf Add font rendering 2022-03-18 00:30:59 +01:00
gpio.h Initial import with uart 2022-03-14 11:28:49 +01:00
hello.c Set Excution Level to 1 2022-04-13 17:06:21 +02:00
Makefile Add way to upload kernel by serial link 2022-03-22 23:06:10 +01:00
mbox.c Add setClock 2022-03-17 22:35:47 +01:00
mbox.h Add setClock 2022-03-17 22:35:47 +01:00
mmio.h add puts 2022-03-14 20:28:46 +01:00
Readme.md Add Readme 2022-05-01 23:07:05 +02:00
rpi3.ld Add way to upload kernel by serial link 2022-03-22 23:06:10 +01:00
static_tools.c Add way to upload kernel by serial link 2022-03-22 23:06:10 +01:00
static_tools.h Add way to upload kernel by serial link 2022-03-22 23:06:10 +01:00
uart.c Uart: add receive 2022-03-21 21:53:08 +01:00
uart.h Uart: add receive 2022-03-21 21:53:08 +01:00
utils.c Add strcmp and readline 2022-03-21 21:54:58 +01:00
utils.h Set Excution Level to 1 2022-04-13 17:06:21 +02:00

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