Commit Graph

18 Commits

Author SHA1 Message Date
Andrew Cherry
6e3051e6fd Updated to reflect rename of link.ld to kernel.ld 2022-04-19 22:49:06 +02:00
Andre Richter
d296ad4aa4
Minor fixes 2021-04-04 22:41:55 +02:00
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.
2021-03-20 09:41:43 +01:00
Andre Richter
eb2bee6bb1
newline 2021-03-13 00:25:14 +01:00
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.
2021-01-23 22:43:59 +01:00
Andre Richter
4caf880e0c
Update README 2020-12-27 00:35:47 +01:00
Andre Richter
8fc250fc08
Streamline READMEs 2020-10-04 22:30:07 +02:00
Andre Richter
677b274a1f
Add a panic version of the GPIO to panic!() 2020-09-30 21:51:31 +02:00
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.
2020-04-07 23:17:48 +02:00
Andre Richter
6588cd9be6
Refactor tutorial 01 2020-03-28 13:27:39 +01:00
Andre Richter
bb78c779ca
Introducing Minipush, a raspbootcom replacement.
Gets rid of compiled C++, uses Ruby 💎
2020-01-14 20:45:41 +01:00
Andre Richter
f6832bec31
Add ToC 2019-12-31 00:00:09 +01:00
Andre Richter
6787f4b02c
Update README.md 2019-10-27 23:12:36 +01:00
Andre Richter
eb5e0f0ae9
Update README.md 2019-10-27 23:12:29 +01:00
Andre Richter
28bd523851
Update README.md 2019-10-27 23:12:04 +01:00
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.
2019-10-27 23:11:52 +01:00
Andre Richter
294538e323
Change to new aarch64-unknown-none-softfloat target 2019-10-27 23:10:45 +01:00
Andre Richter
651097d55e
Add first bunch of README stubs 2019-10-27 23:10:39 +01:00