Andre Richter
ec842133d9
Improve macOS support
...
macOS support is still not great, but this patch at least
fixes some import Makefile subtargets.
2 years ago
Andre Richter
840f6d6f42
Add Cargo.toml to dependencies
2 years ago
Andre Richter
e6c3790cac
Remove .got section again
...
It seems that whatever bug or config mistake gave us .got entries back then has
since been resolved. Also add a sanity check to recognize should this happen
again.
2 years ago
Andre Richter
821979be41
Fix wrong variable in Makefile
2 years ago
Andre Richter
8513ccfd8d
Various minor fixes
2 years ago
Andre Richter
1323c8245b
Remove RA helper target from Makefile
2 years ago
Andre Richter
e9a3c4b489
Rename main LD script to kernel.ld
2 years ago
Andre Richter
d3e5834e30
Linker: Use absolute library path
2 years ago
Andre Richter
b7cecafa1e
Non-phony kernel targets
...
Saves time on various targets that depend on the kernel ELF because calling
cargo can be completely skipped if nothing changed.
2 years ago
Andre Richter
cb4ae40ac2
Linker: Provide LD script folder via cmdline
...
This enables shorter relative paths for ld-internal INCLUDE, which adds more
flexibility wrt to directory structure.
3 years ago
Andre Richter
d901ae6cfe
Update copyright
3 years ago
Andre Richter
dee575bb18
Bump QEMU to 6.1; Tag Docker images from now on
3 years ago
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
4 years ago
Andre Richter
2f90304149
Add color and verbosity to Makefile
4 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.
4 years ago
Andre Richter
44bb3f8942
Update copyright year
4 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
5 years ago
Andre Richter
5a0d8de96b
Demangle in objdump
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
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
e8d787f627
Refactor tutorial 02
5 years ago
Andre Richter
bb78c779ca
Introducing Minipush, a raspbootcom replacement.
...
Gets rid of compiled C++, uses Ruby 💎
5 years ago
Andre Richter
0e78932bf7
Treat clippy warnigs as error
5 years ago
Andre Richter
e690f8e7e4
Copyright bump to 2020 🎆
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
d6accd6c69
Add code for tutorial 02
5 years ago