30 Commits (de3ba3e871d57ae6b6c0776292a22b6bb1d110ee)

Author SHA1 Message Date
Andre Richter de3ba3e871 Refactor Tests and Makefile
- Carve out common files for tests
- Add boot tests starting tutorial 3
- Overhaul the Makefile for more structure
3 years ago
Andre Richter 223989adb9
Overhaul linker script 3 years ago
Andre Richter 2f90304149
Add color and verbosity to Makefile 3 years ago
Andre Richter e7cb61b389
Refactoring
- Don't wildcard-import from arch modules. Make it explicit.
- Put translation table code into its own module.
- Put boot code in boot.rs instead of cpu.rs
- Other minor changes, most memory subsystem.
3 years ago
Andre Richter 44bb3f8942
Update copyright year 3 years ago
Andre Richter bd16dfe4b3
Demangle++: Pipe through rustfilt 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 b585f64e30
Shuffle constant to more fitting module 4 years ago
Andre Richter 98d5d79acf
Don't check in binaries anymore 4 years ago
Andre Richter 5a0d8de96b
Demangle in objdump 4 years ago
Andre Richter bf8e6c36c7
Analyzer: Invoke cargo check through Makefile 4 years ago
Andre Richter 0a1616d8b2
Let cargo track changed files
This should enable incremental compilation monitored by cargo.
4 years ago
Andre Richter a4266ba978
More Makefile fixes 4 years ago
Andre Richter 6eb9613ba2
Fix objcopy invocation 4 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.
4 years ago
Andre Richter 792b208643
Missed xdoc -> doc earlier 4 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.
4 years ago
Andre Richter 326b43b2be
Refactor tutorial X1 4 years ago
Andre Richter bb78c779ca
Introducing Minipush, a raspbootcom replacement.
Gets rid of compiled C++, uses Ruby 💎
4 years ago
Andre Richter 0e78932bf7
Treat clippy warnigs as error 4 years ago
Andre Richter e690f8e7e4
Copyright bump to 2020 🎆 4 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 1cc8152fa1
Use register 0.4.x register_structs macro 5 years ago
Andre Richter 1cc034b364
Makefile changes 5 years ago
Andre Richter 8d6c58ad57
Add code for tutorial 09 5 years ago
Andre Richter 2a97946f92
Initial preparations for rewrite 5 years ago
Richard A. Healy cdfce0d01b add openocd argument and raspboot device vars 5 years ago
Andre Richter f13e6e4513
Change to new aarch64-unknown-none-softloat target.
Also, add safety docs where demanded by clippy.
5 years ago
Andre Richter 8da8c0e33f Add minimal JTAG boot 5 years ago