Commit Graph

22 Commits

Author SHA1 Message Date
Berkus Decker d3c02f0f5b Add user-space support library 2021-01-27 19:19:36 +02:00
Berkus Decker d4b92b106a Update deps versions 2021-01-27 19:14:05 +02:00
Berkus Decker b2c99f52c7 [del] Add local copy of tock-registers with u128 impl of IntLike 2020-12-29 19:26:40 +02:00
Berkus Decker c75db1e2d6 [wip] Replace mashup! with paste! 2020-12-29 19:26:40 +02:00
Berkus Decker 333dece260 [wip] experiment with caps representation 2020-12-29 19:26:40 +02:00
dependabot-preview[bot] e6cea882dd Bump cortex-a from 5.0.0 to 5.1.0
Bumps [cortex-a](https://github.com/rust-embedded/cortex-a) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/rust-embedded/cortex-a/releases)
- [Commits](https://github.com/rust-embedded/cortex-a/commits/v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:54 +02:00
dependabot-preview[bot] ed568f8ca4 Bump register from 1.0.0 to 1.0.1
Bumps [register](https://github.com/rust-embedded/register-rs) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-embedded/register-rs/releases)
- [Changelog](https://github.com/rust-embedded/register-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-embedded/register-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:47 +02:00
dependabot-preview[bot] a267ad83ad Bump snafu from 0.6.9 to 0.6.10
Bumps [snafu](https://github.com/shepmaster/snafu) from 0.6.9 to 0.6.10.
- [Release notes](https://github.com/shepmaster/snafu/releases)
- [Changelog](https://github.com/shepmaster/snafu/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shepmaster/snafu/compare/0.6.9...0.6.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:47 +02:00
dependabot-preview[bot] 73bc383e23 Bump qemu-exit from 1.0.0 to 1.0.1
Bumps [qemu-exit](https://github.com/andre-richter/qemu-exit) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/andre-richter/qemu-exit/releases)
- [Commits](https://github.com/andre-richter/qemu-exit/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 18:36:47 +02:00
Berkus Decker 74303ac7c1 Bump cortex-a and register-rs dependencies 2020-11-24 22:28:40 +02:00
Berkus Decker 373f4753dc Disable alignment checks right on boot
Specifically, before we print any numbers - rust
core fmt_u64 uses a little optimisation that
ldrh/strh to unaligned addresses.
2020-11-14 17:33:43 +02:00
Berkus Decker dc2a73f6c6 Provide memory intrinsics via compiler builtins
Use unstable feature to remove rlibc crate dependency.
2020-11-14 17:33:43 +02:00
Berkus Decker ab696eca8e Implement Error type for traps module
Recommended by the clippy lint
https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err

Using snafu because it already has a no_std feature
unlike thiserror.
2020-10-28 21:38:53 +02:00
Berkus Decker fef66a0191 Bump cortex-a dependency to released version 2020-10-28 21:38:53 +02:00
Berkus Decker cecddea41e Add mini_uart implementation 2020-10-27 19:33:23 +02:00
Berkus Decker c3d8424a46 Update cortex-a dependency
While we wait for merge of master repository PRs.
2020-10-24 18:08:20 +03:00
Berkus Decker ded53c16a7 Add MMU init code
Switch to cortex-a git version temporarily
(waiting for PR to be merged) with support
for all necessary registers.
2020-10-15 22:36:52 +03:00
Berkus Decker d453d60e19 Bump qemu-exit to version 1.0 2020-10-07 13:00:30 +03:00
Berkus Decker 57e4b81e1c Implement power-efficient sleep after boot-up
* arch-based crates, inspired by Redox
* Do not burn cpu uselessly.
* Start using cortex-a registers.
* Important: initialise stack pointer!
2020-08-09 22:00:36 +03:00
Berkus Decker 57fc6e5aa5 Add QEMU configuration 2020-08-09 19:40:57 +03:00
Berkus Decker cb814b353b Add Raspberry Pi target configuration
* Use rlibc for memset/memcpy
* Create linker script for raspberry pi 3
* Add aarch64 target file inspired by Robigalia
* Force bitcode embedding for LTO
2020-08-09 19:35:09 +03:00
Berkus Decker a57833d2b1 Add basic structure
* Add default License
* Keep a changelog
* Add Code of Conduct
* Build tests as optimized for size ('s')
  * Otherwise boot code goes bonkers in qemu
2020-08-09 19:33:34 +03:00