Minix to Raspberry Pi 3 Branch rpi3

Branch rpi3

https://github.com/boricj/minix/compare/e79c7d0…boricj:rpi3

Commits

Fix ARM build on my machine

Showing 4 changed files with 7 additions and 7 deletions.

 

Initial creation of RPi image with U-Boot

Showing 3 changed files with 189 additions and 0 deletions.

 

Update U-Boot revision

Showing 1 changed file with 1 addition and 1 deletion.

releasetools/image.defaults

 

Boot until jump to high virtual addresses

Showing 18 changed files with 367 additions and 13 deletions.

minix/include/arch/earm/include/memory.h

minix/include/minix/board.h

minix/kernel/arch/earm/Makefile.inc

minix/kernel/arch/earm/bsp/rpi/Makefile.inc

minix/kernel/arch/earm/bsp/rpi/rpi_init.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr_registers.h

minix/kernel/arch/earm/bsp/rpi/rpi_padconf.c

minix/kernel/arch/earm/bsp/rpi/rpi_reset.c

minix/kernel/arch/earm/bsp/rpi/rpi_serial.c

minix/kernel/arch/earm/bsp/rpi/rpi_serial.h

minix/kernel/arch/earm/bsp/rpi/rpi_timer.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer_registers.h

minix/kernel/arch/earm/kernel.lds

minix/kernel/arch/earm/pre_init.c

minix/kernel/debug.h

releasetools/arm_sdimage_rpi3.sh

 

Add U-Boot boot script to SD image

Showing 1 changed file with 8 additions and 0 deletions.

releasetools/arm_sdimage_rpi3.sh

 

Working on hypervisor problem

Showing 5 changed files with 28 additions and 25 deletions.

minix/kernel/arch/earm/bsp/rpi/rpi_serial.c

minix/kernel/arch/earm/head.S

minix/kernel/arch/earm/pg_utils.c

minix/kernel/arch/earm/pre_init.c

releasetools/image.functions

 

Work

Showing 4 changed files with 51 additions and 26 deletions.

minix/include/minix/board.h

minix/kernel/arch/earm/bsp/rpi/rpi_serial.c

minix/kernel/arch/earm/pre_init.c

releasetools/arm_sdimage_rpi3.sh

 

Yet more work

Showing 9 changed files with 162 additions and 37 deletions.

minix/kernel/Makefile

minix/kernel/arch/earm/arch_clock.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr_registers.h

minix/kernel/arch/earm/bsp/rpi/rpi_serial.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer_registers.h

minix/kernel/arch/earm/head.S

minix/kernel/arch/earm/pre_init.c

 

Switching into supervisor mode. Finally.

Showing 7 changed files with 369 additions and 55 deletions.

.gitignore

minix/kernel/arch/earm/arch_clock.c

minix/kernel/arch/earm/head.S

minix/kernel/arch/earm/pre_init.c

minix/kernel/main.c

releasetools/arm_sdimage_rpi3.sh

releasetools/rpi-bootloader/bootloader.S

 

Add trace messages

Showing 5 changed files with 38 additions and 9 deletions.

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/pg_utils.c

minix/kernel/arch/earm/protect.c

minix/lib/libexec/exec_elf.c

minix/lib/libexec/exec_general.c

 

Fix crash due to overwriting secondary cpu boot code

Showing 1 changed file with 1 addition and 1 deletion.

minix/kernel/arch/earm/pre_init.c

 

Interrupts and clock running

Showing 10 changed files with 210 additions and 43 deletions.

minix/kernel/arch/earm/arch_clock.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr_registers.h

minix/kernel/arch/earm/bsp/rpi/rpi_timer.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer_registers.h

minix/kernel/arch/earm/include/cpufunc_timer.h

minix/kernel/arch/earm/pg_utils.c

minix/kernel/arch/earm/protect.c

minix/lib/libexec/exec_elf.c

minix/lib/libexec/exec_general.c

 

Interrupts and clock working for more than a second

Showing 2 changed files with 7 additions and 9 deletions.

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer.c

 

Gestion de UART pour rpi3

Showing 2 changed files with 6 additions and 5 deletions.

releasetools/arm_sdimage_rpi3.sh

releasetools/rpi-bootloader/bootloader.S

 

Makefiles: virtual address

Showing 11 changed files with 14 additions and 13 deletions.

minix/drivers/storage/memory/Makefile

minix/drivers/tty/tty/Makefile

minix/fs/mfs/Makefile

minix/fs/pfs/Makefile

minix/servers/ds/Makefile

minix/servers/pm/Makefile

minix/servers/rs/Makefile

minix/servers/sched/Makefile

minix/servers/vfs/Makefile

minix/servers/vm/Makefile

sbin/init/Makefile

 

TTY

Showing 4 changed files with 1,008 additions and 2 deletions.

minix/drivers/tty/tty/Makefile

minix/drivers/tty/tty/arch/earm/Makefile.inc

minix/drivers/tty/tty/arch/earm/pl011_serial.h

minix/drivers/tty/tty/arch/earm/rs232_rpi.c

 

tty working, minimalist ramdisk environment working

Showing 11 changed files with 77 additions and 27 deletions.

lib/libc/Makefile

minix/drivers/storage/ramdisk/Makefile

minix/drivers/storage/ramdisk/proto

minix/drivers/storage/ramdisk/rc

minix/drivers/tty/tty/Makefile

minix/drivers/tty/tty/arch/earm/pl011_serial.h

minix/drivers/tty/tty/arch/earm/rs232_rpi.c

minix/drivers/tty/tty/tty.c

 

first shot at fbdev

Showing 2 changed files with 344 additions and 1 deletion.

minix/drivers/video/fb/arch/earm/Makefile.inc

minix/drivers/video/fb/arch/earm/fb_arch_rpi.c

 

fix UART on real hardware

Showing 4 changed files with 12 additions and 2 deletions.

minix/drivers/tty/tty/arch/earm/pl011_serial.h

minix/drivers/tty/tty/arch/earm/rs232_rpi.c

minix/kernel/arch/earm/bsp/rpi/rpi_serial.c

releasetools/rpi-bootloader/bootloader.S

 

remove verbose messages

Showing 2 changed files with 11 additions and 14 deletions.

minix/kernel/arch/earm/pg_utils.c

releasetools/rpi-bootloader/bootloader.S

 

framebuffer

Showing 6 changed files with 59 additions and 57 deletions.

minix/commands/MAKEDEV/MAKEDEV.sh

minix/drivers/storage/ramdisk/proto

minix/drivers/storage/ramdisk/rc

minix/drivers/video/fb/Makefile

minix/drivers/video/fb/arch/earm/fb_arch_rpi.c

releasetools/rpi-bootloader/bootloader.S

 

cleanup kernel

Showing 11 changed files with 27 additions and 144 deletions.

minix/kernel/arch/earm/bsp/rpi/Makefile.inc

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/bsp/rpi/rpi_intr_registers.h

minix/kernel/arch/earm/bsp/rpi/rpi_serial.c

minix/kernel/arch/earm/bsp/rpi/rpi_serial.h

minix/kernel/arch/earm/bsp/rpi/rpi_timer.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer_registers.h

minix/kernel/arch/earm/pg_utils.c

minix/kernel/arch/earm/pre_init.c

minix/kernel/arch/earm/protect.c

minix/kernel/main.c

 

rework bootloader so it can boot on both rpi 2 and 3 at the same time

Showing 4 changed files with 58 additions and 19 deletions.

releasetools/arm_sdimage_rpi3.sh

releasetools/rpi-bootloader/bootloader2.S

releasetools/rpi-bootloader/bootloader3.S

releasetools/rpi-bootloader/bootloader.S

 

working framebuffer

Showing 1 changed file with 30 additions and 34 deletions.

minix/drivers/video/fb/arch/earm/fb_arch_rpi.c

 

gpio driver

Showing 8 changed files with 277 additions and 3 deletions.

minix/drivers/storage/ramdisk/Makefile

minix/drivers/storage/ramdisk/proto

minix/drivers/system/gpio/gpio.c

minix/include/minix/gpio.h

minix/include/minix/padconf.h

minix/kernel/arch/earm/bsp/rpi/rpi_padconf.c

minix/lib/libgpio/Makefile

minix/lib/libgpio/gpio_rpi3.c

 

cleanup tty

Showing 3 changed files with 29 additions and 296 deletions.

minix/drivers/tty/tty/arch/earm/Makefile.inc

minix/drivers/tty/tty/arch/earm/rs232_rpi.c

releasetools/arm_sdimage_rpi3.sh

 

partially unbreak omap build

Showing 35 changed files with 146 additions and 40 deletions.

minix/drivers/tty/tty/arch/earm/Makefile.inc

minix/drivers/video/fb/arch/earm/Makefile.inc

minix/include/arch/earm/include/memory.h

minix/kernel/Makefile

minix/kernel/arch/earm/Makefile.inc

minix/kernel/arch/earm/bsp/ti/Makefile.inc

minix/kernel/arch/earm/include/arch_proto.h

minix/kernel/arch/earm/include/archconst.h

minix/kernel/arch/earm/kernel-omap.lds

minix/kernel/arch/earm/memory.c

minix/kernel/arch/earm/pg_utils.c

minix/kernel/arch/earm/pre_init.c

minix/lib/libgpio/Makefile

releasetools/arm_sdimage_rpi3.sh

releasetools/image.defaults

releasetools/image.functions

releasetools/x86_cdimage.sh

releasetools/x86_hdimage.sh

releasetools/x86_ramimage.sh

releasetools/x86_usbimage.sh

A lot of moved and renamed files

 

Presentation

Showing 81 changed files with 40,488 additions and 4 deletions.

Check on compare link

 

Presentation

Showing 42 changed files with 243 additions and 108 deletions.

Check on compare link

 

kernel: add support for system timer

Showing 3 changed files with 86 additions and 11 deletions.

minix/kernel/arch/earm/bsp/rpi/rpi_intr.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer.c

minix/kernel/arch/earm/bsp/rpi/rpi_timer_registers.h