A simple type-1 hypervisor on Raspberry Pi 3 (aarch64)
A simple type-1 hypervisor on Raspberry Pi 3 (aarch64)
Article about raspvisor is here (Japanese).
Warning: This is a hobby project and not for practical use.
First, write a Raspberry Pi OS (previously called Raspbian) image to your SD card to make partitions and install firmwares. Execute following commands to build. (GNU toolchain for aarch64-linux-gnu is required.)
$ export SD_BOOT_DIR=/path/to/bootpartiton/on/sdcard
$ export SD_ROOTFS_DIR=/path/to/rootfspartiton/on/sdcard
$ make install
Programs runs on a hypervisor startup are hard-coded in src/main.c
. I confirmed that programs in example
directory can be run on this hypervisor. In example
directory, following programs are found.
Enter each directory and make
to build. Then copy *.bin
file to SD_BOOT_DIR
.
UART is assigned to the hypervisor's console. Connect your cable to the GPIO 14/15 pins.
This software is licensed under the MIT license.
src/sd.c
, src/delays.c
, include/sd.h
and include/delays.h
) is from bzt's raspi3-tutorial.