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
9e6ef76aeb
Make cortex-a platform specific dep
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
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
1d46dd40b6
Run of prettier over whole repo
4 years ago
Andre Richter
224ac8d944
Use --headers for readelf
4 years ago
Andre Richter
f46c742289
Update README.md
4 years ago
Andre Richter
325599c8b7
Fix arch and target for VS Code
4 years ago
Andre Richter
cfc3bfc996
Switch to new Rust inline asm! syntax
4 years ago
Andre Richter
82f97c000b
Switch to llvm_asm! to avoid future breakage
5 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
f0513a6b0c
Upgrade to Rust nightly-2020-03-19
5 years ago
Andre Richter
474f58ced0
Add README diffs
5 years ago
Andre Richter
175d72ae8b
Refactor tutorial 03
5 years ago
Andre Richter
9a02e86960
Switch to rust-analyzer
5 years ago
Andre Richter
72a4d28fc1
Bump to register 0.5.x
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
c64dd1197a
For educational purposes, use own zero_bss().
5 years ago
Andre Richter
a41190e298
Ensure kernel panic starts on newline
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
fad90e8bb1
Update/force explicit toolchain
5 years ago
Andre Richter
034e1f01d8
rename init() -> runtime_init()
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
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
19744bdb61
New binaries: rustc 2019-11-04
5 years ago
Andre Richter
8c2b18e8ce
More robust, self-contained UART printing in panic!
5 years ago
Andre Richter
6cab68ec3a
Built with new compiler version
5 years ago
Andre Richter
6119cf88b1
Actions: Add RPi4 build
5 years ago
Andre Richter
9bebad4765
Misspell run
5 years ago
Andre Richter
9547bf77af
Fix diff script
...
Closes #32
5 years ago
Andre Richter
7c92445a64
Update README.md
5 years ago
Andre Richter
a507bba9da
Update README.md
5 years ago
Andre Richter
2fe2dcba6d
Add support for Raspberry Pi 4 🎉
5 years ago
Andre Richter
2933bcf162
Separate init from main
5 years ago
Andre Richter
56a650397d
Having a little code formatting party
5 years ago
Andre Richter
29d992615d
Adapt tooling settings
5 years ago
Andre Richter
0ca114b408
Streamlining
5 years ago
Andre Richter
d57cf418bf
Add arch use clause
5 years ago
Andre Richter
038c558ac8
Big restructuring for more modularity
...
- Make architecture code separate from BSP code
- Make BSPs pull in drivers from a generic folder
- Enables reuse of drivers between different BSPs.
5 years ago
Andre Richter
be787f967c
Tiny rustfmt and vscode changes
5 years ago
Andre Richter
e7ae509376
minor streamlining
5 years ago
Andre Richter
8d29a14023
Add rustfmt.toml
5 years ago
Andre Richter
515a96925d
Minor adaptions
5 years ago
Andre Richter
70f82ccce4
Add vscode settings
5 years ago
Andre Richter
de3957009b
Use distinct path for interfaces
5 years ago
Andre Richter
678bec0eca
Various fixes
...
- Make cortex-a crate an optional dependecy of the rpi3 bsp
- Introduce wildcards for dependencies
- Change readme diff generation
5 years ago
Andre Richter
294538e323
Change to new aarch64-unknown-none-softfloat target
5 years ago
Andre Richter
dd4a132259
Change linker scripts
5 years ago
Andre Richter
651097d55e
Add first bunch of README stubs
5 years ago
Andre Richter
8b6a4f1819
Add Rust embedded logo for docs
5 years ago
Andre Richter
3d8f12f619
Add code for tutorial 03
5 years ago