Commit Graph

722 Commits

Author SHA1 Message Date
Andre Richter
69eac31e05 Switch to tock-registers: Sources for tutorial 15 2021-07-06 23:22:56 +02:00
Andre Richter
04e0f5bae0 Switch to tock-registers: Sources for tutorial 16 2021-07-06 23:22:56 +02:00
Andre Richter
8c2cec00be
Assembly: Use local label syntax for named labels
This prevents that they show up in the symbol table.
2021-07-04 15:50:46 +02:00
Andre Richter
5d6b68d710
rust-analyzer: Fix error with recent version 2021-07-04 15:27:34 +02:00
Andre Richter
7f666000ce
Init DRAM in assembly instead of Rust
See https://github.com/rust-embedded/cortex-m-rt/issues/300
2021-07-02 23:14:35 +02:00
Alex
39a066c246 Update Dockerfile
Use https when git clone qemu to avoid connect timeout errors.
2021-05-17 09:32:53 +02:00
Andre Richter
668e63fea5
CI: Explicitly add clippy 2021-04-30 09:14:33 +02:00
Andre Richter
aa0e194c75
CI: Use rust-toolchain
Latest nightly broke a dependency. Need to wait for it to be fixed. Pin the
toolchain for now.
2021-04-30 09:07:23 +02:00
Andre Richter
f6c48b5474
Remove -i; Add chainloader test to CI 2021-04-30 00:04:18 +02:00
Andre Richter
ad70dccab0
Add chainloader test to devtool 2021-04-29 23:53:33 +02:00
Andre Richter
80c88e4d6b
Bump toolchain version; Fix clippy warnings 2021-04-29 23:35:23 +02:00
Andre Richter
f6f668c781
Fix misspelled clippy lint 2021-04-29 23:08:49 +02:00
Andre Richter
389fde2aa5
Remove wrong public access control 2021-04-29 23:01:22 +02:00
Andre Richter
8982682d47
Add chainloader test
closes #101
2021-04-29 22:54:57 +02:00
Andre Richter
07fb63ae5f
Fix wrong order of range in comment 2021-04-05 15:16:06 +02:00
Andre Richter
29a58d7d51
Next attempt at integration test fix 2021-04-04 23:35:35 +02:00
Andre Richter
5fec597ae0
Fix filename 2021-04-04 23:26:53 +02:00
Andre Richter
86c041a41f
Fix integration test fail 2021-04-04 23:24:44 +02:00
Andre Richter
b418651798
Update dependencies 2021-04-04 23:02:48 +02:00
Andre Richter
ee76b2226e
typo 2021-04-04 22:56:03 +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
b025f5577c
Use raw string literal for logo 2021-03-31 22:48:02 +02:00
Andre Richter
37cb58a944
rubocop: Fix some errors 2021-03-31 22:45:17 +02:00
Andre Richter
d6e4a03189
Add missing cfg for test 2021-03-30 23:14:09 +02:00
Andre Richter
b4e3ebc606
Add tutorial 16 2021-03-30 23:04:37 +02:00
Andre Richter
7fee5f7114
fix typo 2021-03-30 22:55:06 +02:00
Andre Richter
035dd5421c
Add tutorial 15 2021-03-30 22:46:06 +02:00
Andre Richter
7c9b472e1e
Update readme 2021-03-30 22:13:18 +02:00
Andre Richter
02602a00df
Update readmes 2021-03-30 22:12:14 +02:00
Pius Friesch
b70b08d92e Update README.md 2021-03-28 16:10:55 +02:00
Andre Richter
f51c1afeeb
Workaround for failing test 2021-03-24 09:11:07 +01:00
Andre Richter
fd30d911d8
Run cargo fmt in parallel 2021-03-24 00:00:40 +01:00
Andre Richter
c0da8ab1b7
Remove confusing statement 2021-03-24 00:00:21 +01:00
Andre Richter
b4ed84dd77
Replace ldr pseudo-instruction with adrp/add 2021-03-22 22:54:08 +01:00
Andre Richter
f81eb7428d
Adapt tutorial numbers 2021-03-20 10:47:39 +01: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
6a9af3c202
change static type 2021-03-16 23:24:59 +01:00
Andre Richter
5887503f8a
Fix explanation 2021-03-16 23:12:21 +01:00
Andre Richter
223989adb9
Overhaul linker script 2021-03-16 22:36:06 +01:00
Andre Richter
fa4a2de331
MMIODescriptors are always physical 2021-03-15 22:20:26 +01:00
Andre Richter
d09374710d
Some rework on virtual memory code
- Mostly more spearation of concerns in 15.
- Cleanups in other parts.
2021-03-15 22:07:01 +01:00
Andre Richter
eb2bee6bb1
newline 2021-03-13 00:25:14 +01:00
Andre Richter
e7b890c084
test fix for CI tput errors 2021-03-13 00:18:18 +01:00
Andre Richter
2f90304149
Add color and verbosity to Makefile 2021-03-12 23:44:10 +01:00
Andre Richter
5e65a80145
Rework conditional compilation for lib.rs for tests 2021-03-11 23:14:08 +01:00
Andre Richter
e451d9d62c
Fix accidentally commited temp change 2021-03-07 21:14:15 +01:00
Andre Richter
aeadda4b7e
Bump dependencies 2021-03-07 21:06:48 +01:00
Andre Richter
6db8b2bc72
Update toolchain 2021-03-07 21:01:44 +01:00
Andre Richter
9d74e021ef
Docker utils: Bump various versions 2021-03-07 21:01:02 +01:00