117 Commits (master)

Author SHA1 Message Date
Andre Richter 44bb3f8942
Update copyright year 3 years ago
Andre Richter 53c1163c51
01: Remove LTO to fix linking bug.
For some reason, LTO caused "_start" to start at 0x00080020
instead of 0x00080000.
3 years ago
Andre Richter e8d30392d0
Add LTO 4 years ago
Andre Richter bd16dfe4b3
Demangle++: Pipe through rustfilt 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 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 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
am009 2a63c5880a Add README.CN.md for 02_runtime_init.
Fix some translation.
4 years ago
Andre Richter 224ac8d944
Use --headers for readelf 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 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 f0513a6b0c
Upgrade to Rust nightly-2020-03-19 4 years ago
Andre Richter 474f58ced0
Add README diffs 4 years ago
Andre Richter e8d787f627
Refactor tutorial 02 4 years ago
Andre Richter 9a02e86960
Switch to rust-analyzer 4 years ago
Andre Richter 72a4d28fc1
Bump to register 0.5.x 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 c64dd1197a
For educational purposes, use own zero_bss(). 4 years ago
Andre Richter 6d9641d05f
Fix possibility of (.bss size) mod 8 != 0 4 years ago
Andre Richter e690f8e7e4
Copyright bump to 2020 🎆 4 years ago
Andre Richter f6832bec31
Add ToC 4 years ago
Andre Richter fad90e8bb1
Update/force explicit toolchain 4 years ago
Andre Richter 034e1f01d8
rename init() -> runtime_init() 4 years ago
Andre Richter 10090900cc
Add missing source comments 4 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 f9ff346c9e
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 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 70f82ccce4
Add vscode settings 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 d6accd6c69
Add code for tutorial 02 5 years ago