Firmware for my VoIP home phone.
cargo xbuild
Copy elf to binary if needed (no bootelf):
cargo objcopy -- -O binary target/$(TARGET)/release/home-path /tmp/home-phone.bin
TODO
https://github.com/xpack-dev-tools/qemu-arm-xpack/releases
# For output on UART1
qemu-system-aarch64 -M raspi4 -nographic -serial null -serial mon:stdio -kernel /path/to/binORelf
Or using the custom runner:
cargo xrun
Using the custom runner with QEMU:
# Binary unit tests and integration tests
cargo xtest
# Libary unit tests
cargo xtext -p lib
TODO
Using 64 bit U-boot:
TODO
Environment: TODO
TODO