- baud rate: 115200
- no parity
- 1 stop bit
$ screen /dev/tty.usbserial-0001 115200
ctrl-a d (detach)
$ screen -r (attach)
ctrl-a k (kill)
- sunxi-a64-h5-spl.bin
and customized BL31 image, which is compiled from ATF
$ make PLAT=sun50i_a64 SPD=opteed bl31
A statically typed programming language.
A library for synchronization.
A memory allocator crate, which uses buddy and slab allocator.
Under Construction
- or1k tool chain (for x86-64 only)
- https://github.com/crust-firmware/crust
$ export PATH="$PATH:/path/to/or1k-linux-musl-cross/bin/
$ git clone https://github.com/crust-firmware/crust
$ cd crust
$ export CROSS_COMPILE=or1k-linux-musl-
$ make pinephone_defconfig
$ make scp
$ ls build/scp/scp.bin
scp.bin
For x86-64.
$ export CROSS_COMPILE=aarch64-linux-gnu-
$ export ARCH=arm64
$ git clone https://gitlab.com/pine64-org/u-boot.git
$ cd u-boot
$ git fetch origin v2021.04
$ git checkout v2021.04
$ cp /path/to/bl31.bin .
$ cp /path/to/scp.bin .
$ make distclean
$ make pinephone_defconfig
$ make all
Install qemu.
$ brew install qemu
Compile and run.
$ cd kernel
$ make BSP=raspi3
$ qemu-system-aarch64 -M raspi3b -kernel kernel8.img -serial stdio