31 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 224ac8d944
Use --headers for readelf 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 175d72ae8b
Refactor tutorial 03 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 9d77f46759
Some Makefile tweaks 5 years ago
Andre Richter 54137e8b38
Relicense as dual MIT OR Apache-2.0 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 6119cf88b1
Actions: Add RPi4 build 5 years ago
Andre Richter 2fe2dcba6d
Add support for Raspberry Pi 4 🎉 5 years ago
Andre Richter 0ca114b408
Streamlining 5 years ago
Andre Richter 294538e323
Change to new aarch64-unknown-none-softfloat target 5 years ago
Andre Richter 3d8f12f619
Add code for tutorial 03 5 years ago