10 Commits (9f1920c2c6221c324b048c0cb4b899fbf3d33cf1)

Author SHA1 Message Date
Andre Richter 9f1920c2c6
Give the project a name
🦩
3 years ago
Andre Richter 2432c0d283
Revert to assembly boot code
It is too risky to rely on the compiler to not insert any operations using the
stack.

Having a stack-setting call in Rust using the cortex-a crate as the first action
in a Rust-only _start() function does not work if you're subsequently using the
stack, because the compiler often inserts the operations to make room on the
stack to prepare a function call BEFORE the call to set the stack, which crashes
the boot process.

Hence, keep on using a small piece of assembly boot code throughout.
3 years ago
Andre Richter 2f90304149
Add color and verbosity to Makefile 3 years ago
Andre Richter 53c1163c51
01: Remove LTO to fix linking bug.
For some reason, LTO caused "_start" to start at 0x00080020
instead of 0x00080000.
3 years ago
Andre Richter e8d30392d0
Add LTO 4 years ago
Andre Richter 9e6ef76aeb
Make cortex-a platform specific dep 4 years ago
Andre Richter c4f9432e13
Remove xbuild. Use upstream aarch64 rust-std 🎉 🦀
`rustup target add aarch64-unknown-none-softfloat` is now a thing.
It is no longer required to build rust-std on-demand with `xbuild`.

This reduces compile-times significantly.
4 years ago
Andre Richter 6588cd9be6
Refactor tutorial 01 4 years ago
Andre Richter 6119cf88b1
Actions: Add RPi4 build 5 years ago
Andre Richter cb78e1c7cc
Add code for tutorial 01 5 years ago