Andre Richter
bd16dfe4b3
Demangle++: Pipe through rustfilt
4 years ago
Andre Richter
5c193d5803
Change to a simpler mutex API
4 years ago
Andre Richter
02f9f34af3
More sound Phantom in MMIO deref wrapper
4 years ago
Andre Richter
163e2010ab
GPIO: Fix RPi4 driver init
...
The RPi4 GPIO pull-up/pull down sequence is done differently than on the
RPi3. Switch to using the correct way.
Also, configure pull-ups for both UART pins.
Fixes #81
4 years ago
Andre Richter
098e19ecc4
Fix zero-sized bss handling
4 years ago
Andre Richter
b30bc518c4
Switch to GCC objdump and nm
...
The GCC versions of `objdump` and `nm` seem to have better out-of-the-box
support (for AArch64). Demangling works better, and instructions in objdump are
presented as 4 bytes instead of 4 * 1 bytes, which helps a lot.
Hence, switch to the GCC versions for now until LLVM has caught up.
4 years ago
Andre Richter
19763f8840
Chainloader: Fix runtime_init indirection symbol
4 years ago
Andre Richter
eb69b6f861
More chainloader cleanup
...
closes #79
4 years ago
Andre Richter
3944bba140
Fix the chainloader
4 years ago
Andre Richter
e7a13e81b8
Upgrade to cortex-a 4.x.x
4 years ago
Andre Richter
208f547f29
Remove needless extern C
4 years ago
Andre Richter
27a1d10cc3
Remove UB in linker script symbol <-> Rust handover
4 years ago
Andre Richter
8fc250fc08
Streamline READMEs
4 years ago
Andre Richter
677b274a1f
Add a panic version of the GPIO to panic!()
4 years ago
Andre Richter
22faff5229
Various finetunings
4 years ago
Andre Richter
37b9d1435e
Move anything wrt linker symbols to bsp::memory
...
Also, some rewording of data types.
4 years ago
Andre Richter
b585f64e30
Shuffle constant to more fitting module
4 years ago
Andre Richter
dfbcd444dd
Update some readmes
4 years ago
Andre Richter
3a0b676402
Use MMIODerefWrapper everywhere
4 years ago
Andre Richter
98d5d79acf
Don't check in binaries anymore
5 years ago
Andre Richter
bf8e6c36c7
Analyzer: Invoke cargo check through Makefile
5 years ago
Andre Richter
0a1616d8b2
Let cargo track changed files
...
This should enable incremental compilation monitored by cargo.
5 years ago
Andre Richter
a4266ba978
More Makefile fixes
5 years ago
Andre Richter
6eb9613ba2
Fix objcopy invocation
5 years ago
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.
5 years ago
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
5 years ago
Andre Richter
792b208643
Missed xdoc -> doc earlier
5 years ago
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.
5 years ago
Andre Richter
474f58ced0
Add README diffs
5 years ago
Andre Richter
48e4d135c2
Refactor tutorial 08
5 years ago
Andre Richter
37b4d8d51e
Minipush: Fix error in displaying number of pushed KiB
5 years ago
Andre Richter
840c72d11b
Bump UART to 230400 Baud
5 years ago
Andre Richter
bb78c779ca
Introducing Minipush, a raspbootcom replacement.
...
Gets rid of compiled C++, uses Ruby 💎
5 years ago
Andre Richter
e7bf7fab0e
Fix UART stats; Remove unneeded conversion.
5 years ago
Andre Richter
0e78932bf7
Treat clippy warnigs as error
5 years ago
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.
5 years ago
Andre Richter
c64dd1197a
For educational purposes, use own zero_bss().
5 years ago
Andre Richter
6d9641d05f
Fix possibility of (.bss size) mod 8 != 0
5 years ago
Andre Richter
e690f8e7e4
Copyright bump to 2020 🎆
5 years ago
Andre Richter
f6832bec31
Add ToC
5 years ago
Andre Richter
034e1f01d8
rename init() -> runtime_init()
5 years ago
Andre Richter
582d539212
Add console chars_read implementation
5 years ago
Andre Richter
10090900cc
Add missing source comments
5 years ago
Andre Richter
821c7e2103
QEMU: Don't spawn a VNC session
5 years ago
Andre Richter
54137e8b38
Relicense as dual MIT OR Apache-2.0
5 years ago
Andre Richter
d31c17d914
More idiomatic register-rs use
5 years ago
Andre Richter
1cc8152fa1
Use register 0.4.x register_structs macro
5 years ago
Andre Richter
79a2a202b2
Make println! raw and an info! having the timestamp.
5 years ago
Andre Richter
1cc034b364
Makefile changes
5 years ago
Andre Richter
b2219ca520
Housekeeping
5 years ago