Blink an LED on pi

This commit is contained in:
2025-05-19 18:33:13 +02:00
parent d4063f025d
commit 948cbf758f
11 changed files with 44 additions and 62 deletions

4
tools/build_debug.sh Executable file
View File

@@ -0,0 +1,4 @@
cd "$(dirname "$0")"
cd ".."
cargo build --target aarch64-unknown-none

4
tools/build_release.sh Executable file
View File

@@ -0,0 +1,4 @@
cd "$(dirname "$0")"
cd ".."
cargo build --target aarch64-unknown-none --release

3
tools/generate_kernel.sh Executable file
View File

@@ -0,0 +1,3 @@
cd "$(dirname "$0")"
llvm-objcopy -O binary ../target/aarch64-unknown-none/release/nova ../kernel8.img

View File

@@ -1,3 +1,3 @@
cd "$(dirname "$0")"
qemu-system-aarch64 -M raspi3b -cpu cortex-a53 -serial stdio -display none -kernel ../target/aarch64-unknown-none/debug/nova -s
qemu-system-aarch64 -M raspi3b -cpu cortex-a53 -serial stdio -display none -kernel ../target/aarch64-unknown-none/release/nova -s

3
tools/start_simulator_debug.sh Executable file
View File

@@ -0,0 +1,3 @@
cd "$(dirname "$0")"
qemu-system-aarch64 -M raspi3b -cpu cortex-a53 -serial stdio -display none -kernel ../target/aarch64-unknown-none/debug/nova -s