Commit Graph

11 Commits

Author SHA1 Message Date
Andre Richter
fb4a30f64c
Upgrade to Rust 2021 edition 2021-10-13 08:19:06 +02:00
Andre Richter
9f1920c2c6
Give the project a name
🦩
2021-04-04 22:30:40 +02:00
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.
2021-03-20 09:41:43 +01:00
Andre Richter
2f90304149
Add color and verbosity to Makefile 2021-03-12 23:44:10 +01:00
Andre Richter
53c1163c51
01: Remove LTO to fix linking bug.
For some reason, LTO caused "_start" to start at 0x00080020
instead of 0x00080000.
2020-12-27 00:20:24 +01:00
Andre Richter
e8d30392d0
Add LTO 2020-11-23 22:44:31 +01:00
Andre Richter
9e6ef76aeb
Make cortex-a platform specific dep 2020-10-28 11:45:28 +01:00
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.
2020-04-07 23:17:48 +02:00
Andre Richter
6588cd9be6
Refactor tutorial 01 2020-03-28 13:27:39 +01:00
Andre Richter
6119cf88b1
Actions: Add RPi4 build 2019-10-29 22:34:20 +01:00
Andre Richter
cb78e1c7cc
Add code for tutorial 01 2019-10-27 23:09:35 +01:00