18 Commits (master)

Author SHA1 Message Date
Andrew Cherry 6e3051e6fd Updated to reflect rename of link.ld to kernel.ld 2 years ago
Andre Richter d296ad4aa4
Minor fixes 3 years ago
Andre Richter 2432c0d283
Revert to assembly boot code
It is too risky to rely on the compiler to not insert any operations using the
stack.

Having a stack-setting call in Rust using the cortex-a crate as the first action
in a Rust-only _start() function does not work if you're subsequently using the
stack, because the compiler often inserts the operations to make room on the
stack to prepare a function call BEFORE the call to set the stack, which crashes
the boot process.

Hence, keep on using a small piece of assembly boot code throughout.
3 years ago
Andre Richter eb2bee6bb1
newline 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 4caf880e0c
Update README 3 years ago
Andre Richter 8fc250fc08
Streamline READMEs 4 years ago
Andre Richter 677b274a1f
Add a panic version of the GPIO to panic!() 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 6588cd9be6
Refactor tutorial 01 4 years ago
Andre Richter bb78c779ca
Introducing Minipush, a raspbootcom replacement.
Gets rid of compiled C++, uses Ruby 💎
4 years ago
Andre Richter f6832bec31
Add ToC 4 years ago
Andre Richter 6787f4b02c
Update README.md 5 years ago
Andre Richter eb5e0f0ae9
Update README.md 5 years ago
Andre Richter 28bd523851
Update README.md 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 294538e323
Change to new aarch64-unknown-none-softfloat target 5 years ago
Andre Richter 651097d55e
Add first bunch of README stubs 5 years ago