Commit Graph

16 Commits

Author SHA1 Message Date
Andre Richter
5e3af39bdc
Change to aarch64-cpu crate 2022-11-06 22:03:32 +01:00
Andre Richter
7014c0cdfd
Bump dependencies 2022-09-26 23:15:07 +02:00
Andre Richter
7d02537515
Bump toolchain 2021-12-20 00:01:38 +01:00
Andre Richter
fb4a30f64c
Upgrade to Rust 2021 edition 2021-10-13 08:19:06 +02:00
Andre Richter
e1728636c1 Switch to tock-registers: Sources for tutorials 13..02 2021-07-06 23:22:56 +02:00
Andre Richter
d296ad4aa4
Minor fixes 2021-04-04 22:41:55 +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
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
c64dd1197a
For educational purposes, use own zero_bss(). 2020-01-04 18:15:43 +01:00
Andre Richter
6119cf88b1
Actions: Add RPi4 build 2019-10-29 22:34:20 +01:00
Andre Richter
678bec0eca
Various fixes
- Make cortex-a crate an optional dependecy of the rpi3 bsp
- Introduce wildcards for dependencies
- Change readme diff generation
2019-10-27 23:10:46 +01:00
Andre Richter
d6accd6c69
Add code for tutorial 02 2019-10-27 23:09:36 +01:00