Commit Graph

40 Commits

Author SHA1 Message Date
Andre Richter
44bb3f8942
Update copyright year 2021-01-01 11:28:32 +01:00
Andre Richter
d212348931
Bump compiler version.
We have to remove the `#[naked]` attribute from `_start` for now, since it emits
a warning now when used with non-asm statements in the function body. For now,
just hope for the compiler's mercy to not emit code using the stack pointer
before we've actually set up a stack.
2020-12-09 22:27:30 +01:00
Andre Richter
e8d30392d0
Add LTO 2020-11-23 22:44:31 +01:00
Andre Richter
2c3f705051
Update dependencies
register-rs 1.0.0 now uses UnsafeCell internally, which means we lost the Copy
derive on InMemoryRegister.

Therefore, a small set of changes was needed in the MMU driver to dance around
the static array init depending on a Copy type.
2020-11-23 22:34:20 +01:00
Andre Richter
9e6ef76aeb
Make cortex-a platform specific dep 2020-10-28 11:45:28 +01:00
Andre Richter
e7a13e81b8
Upgrade to cortex-a 4.x.x 2020-10-28 11:27:43 +01:00
Andre Richter
208f547f29
Remove needless extern C 2020-10-06 00:01:50 +02:00
Andre Richter
27a1d10cc3
Remove UB in linker script symbol <-> Rust handover 2020-10-05 23:47:18 +02:00
Andre Richter
8fc250fc08
Streamline READMEs 2020-10-04 22:30:07 +02:00
Andre Richter
22faff5229
Various finetunings 2020-09-29 21:43:31 +02:00
Andre Richter
37b9d1435e
Move anything wrt linker symbols to bsp::memory
Also, some rewording of data types.
2020-09-28 21:45:38 +02:00
Andre Richter
b585f64e30
Shuffle constant to more fitting module 2020-07-30 22:59:24 +02:00
Andre Richter
cfc3bfc996
Switch to new Rust inline asm! syntax 2020-06-29 22:27:31 +02:00
Andre Richter
82f97c000b
Switch to llvm_asm! to avoid future breakage 2020-04-22 21:38:34 +02:00
Andre Richter
681092829c
Bump to cortex-a 3.0.0 2020-04-16 22:54:08 +02: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
474f58ced0
Add README diffs 2020-03-28 15:42:42 +01:00
Andre Richter
771dfbab7f
Refactor tutorial 04 2020-03-28 13:27:03 +01:00
Andre Richter
72a4d28fc1
Bump to register 0.5.x 2020-01-16 22:06:43 +01:00
Andre Richter
c64dd1197a
For educational purposes, use own zero_bss(). 2020-01-04 18:15:43 +01:00
Andre Richter
e690f8e7e4
Copyright bump to 2020 🎆 2020-01-02 00:41:03 +01:00
Andre Richter
034e1f01d8
rename init() -> runtime_init() 2019-12-30 22:31:55 +01:00
Andre Richter
10090900cc
Add missing source comments 2019-12-17 13:42:20 +01:00
Andre Richter
54137e8b38
Relicense as dual MIT OR Apache-2.0 2019-11-25 19:54:05 +01:00
Andre Richter
1cc8152fa1
Use register 0.4.x register_structs macro 2019-11-14 08:44:21 +01:00
Andre Richter
33b9b78f5e
Minor style fixes 2019-10-31 19:58:08 +01:00
Andre Richter
6119cf88b1
Actions: Add RPi4 build 2019-10-29 22:34:20 +01:00
Andre Richter
9bebad4765
Misspell run 2019-10-29 08:54:03 +01:00
Andre Richter
9547bf77af
Fix diff script
Closes #32
2019-10-27 23:12:47 +01:00
Andre Richter
2fe2dcba6d
Add support for Raspberry Pi 4 🎉 2019-10-27 23:12:26 +01:00
Andre Richter
2933bcf162
Separate init from main 2019-10-27 23:12:23 +01:00
Andre Richter
56a650397d
Having a little code formatting party 2019-10-27 23:12:20 +01:00
Andre Richter
0ca114b408
Streamlining 2019-10-27 23:12:16 +01:00
Andre Richter
53f6b02787
Remove obsolete #[no_mange] 2019-10-27 23:12:11 +01:00
Andre Richter
038c558ac8
Big restructuring for more modularity
- Make architecture code separate from BSP code
- Make BSPs pull in drivers from a generic folder
    - Enables reuse of drivers between different BSPs.
2019-10-27 23:11:52 +01:00
Andre Richter
e7ae509376
minor streamlining 2019-10-27 23:10:57 +01:00
Andre Richter
515a96925d
Minor adaptions 2019-10-27 23:10:51 +01:00
Andre Richter
de3957009b
Use distinct path for interfaces 2019-10-27 23:10:47 +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
a851959f89
Add code for tutorial 04 2019-10-27 23:10:44 +01:00