Fall 2021, Fudan University.
This project is based on https://github.com/Hongqin-Li/rpi-os.
(WIP)
- Ubuntu 20.04
- CMake
gcc-aarch64-linux-gnu
gdb-multiarch
qemu-system-arm
qemu-efi-aarch64
qemu-utils
mtools
dosfstools
- (not required)
git submodule update --init --recursive
- (not required)
(cd libc && export CROSS_COMPILE=$(CROSS) && ./configure --target=$(ARCH))
Run rpi-os in QEMU:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
$ make qemu
...
Hello, rpi-os!
Hello, world!