Commit Graph

42 Commits

Author SHA1 Message Date
Andre Richter
b585f64e30
Shuffle constant to more fitting module 2020-07-30 22:59:24 +02:00
Andre Richter
dfbcd444dd
Update some readmes 2020-07-21 17:48:07 +02:00
Andre Richter
3a0b676402
Use MMIODerefWrapper everywhere 2020-07-12 12:44:03 +02:00
Andre Richter
98d5d79acf
Don't check in binaries anymore 2020-04-16 22:47:19 +02:00
Andre Richter
bf8e6c36c7
Analyzer: Invoke cargo check through Makefile 2020-04-15 23:00:21 +02:00
Andre Richter
0a1616d8b2
Let cargo track changed files
This should enable incremental compilation monitored by cargo.
2020-04-14 23:16:35 +02:00
Andre Richter
a4266ba978
More Makefile fixes 2020-04-12 22:22:29 +02:00
Andre Richter
6eb9613ba2
Fix objcopy invocation 2020-04-12 11:54:13 +02:00
Andre Richter
089565762a
Makefiles: Docker USB passthrough in Linux only
Detect if we run on Linux. If so, dockerize Makefile targets that need access to
USB devices. If we run on anything else, attempt to execute natively.

This will enable non-Linux Unixes like macOS to run the chainboot target, given
they install the needed Ruby dependencies.
2020-04-11 12:22:52 +02:00
Andre Richter
3a794448ad
Set chainloader relocation address to 32 MiB
Apparently, this is needed according to #53 for compatibility to Pi3 A+ devices.

Fixes #53
2020-04-11 11:27:50 +02:00
Andre Richter
792b208643
Missed xdoc -> doc earlier 2020-04-09 21:27:14 +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
48e4d135c2
Refactor tutorial 08 2020-03-28 13:25:50 +01:00
Andre Richter
37b4d8d51e
Minipush: Fix error in displaying number of pushed KiB 2020-01-19 21:34:37 +01:00
Andre Richter
840c72d11b
Bump UART to 230400 Baud 2020-01-14 21:53:28 +01:00
Andre Richter
bb78c779ca
Introducing Minipush, a raspbootcom replacement.
Gets rid of compiled C++, uses Ruby 💎
2020-01-14 20:45:41 +01:00
Andre Richter
e7bf7fab0e
Fix UART stats; Remove unneeded conversion. 2020-01-11 22:12:35 +01:00
Andre Richter
0e78932bf7
Treat clippy warnigs as error 2020-01-09 22:11:39 +01:00
Andre Richter
d410529fa7
RPi4: Make chainloader more robust.
Sometimes, the RPi4 would not send a correct "OK" sequence of characters when
using `print!()`. Two separate `write_char()` calls seem to improve this
situation.

Not yet sure what the exact reason is, though.
2020-01-04 22:00:00 +01:00
Andre Richter
c64dd1197a
For educational purposes, use own zero_bss(). 2020-01-04 18:15:43 +01:00
Andre Richter
6d9641d05f
Fix possibility of (.bss size) mod 8 != 0 2020-01-03 21:11:25 +01:00
Andre Richter
e690f8e7e4
Copyright bump to 2020 🎆 2020-01-02 00:41:03 +01:00
Andre Richter
f6832bec31
Add ToC 2019-12-31 00:00:09 +01:00
Andre Richter
034e1f01d8
rename init() -> runtime_init() 2019-12-30 22:31:55 +01:00
Andre Richter
582d539212
Add console chars_read implementation 2019-12-25 17:29:51 +01:00
Andre Richter
10090900cc
Add missing source comments 2019-12-17 13:42:20 +01:00
Andre Richter
821c7e2103
QEMU: Don't spawn a VNC session 2019-12-01 23:55:13 +01:00
Andre Richter
54137e8b38
Relicense as dual MIT OR Apache-2.0 2019-11-25 19:54:05 +01:00
Andre Richter
d31c17d914
More idiomatic register-rs use 2019-11-16 00:01:52 +01:00
Andre Richter
1cc8152fa1
Use register 0.4.x register_structs macro 2019-11-14 08:44:21 +01:00
Andre Richter
79a2a202b2
Make println! raw and an info! having the timestamp. 2019-11-13 09:11:05 +01:00
Andre Richter
1cc034b364
Makefile changes 2019-11-13 08:40:23 +01:00
Andre Richter
b2219ca520
Housekeeping 2019-11-07 22:40:08 +01:00
Andre Richter
8c2b18e8ce
More robust, self-contained UART printing in panic! 2019-11-06 22:45:29 +01:00
Andre Richter
33b9b78f5e
Minor style fixes 2019-10-31 19:58:08 +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
dea5017128
move gpio funtion out of inner 2019-10-27 23:12:45 +01:00
Andre Richter
87797cec8f
Update README.md 2019-10-27 23:12:41 +01:00
Andre Richter
2fe2dcba6d
Add support for Raspberry Pi 4 🎉 2019-10-27 23:12:26 +01:00
Andre Richter
219493242c
Add code for tutorial 08 2019-10-27 23:12:24 +01:00