Commit Graph

44 Commits

Author SHA1 Message Date
Berkus Decker 6e3e618c12 wip: update lock file 2023-11-20 02:32:25 +02:00
Berkus Decker 8c3b7d3d0f build(deps): 🛠 Bump dependencies 2023-11-12 01:15:32 +02:00
Berkus Decker 2bbf3d4d45 build(deps): 🛠 Bump dependencies 2023-08-21 01:01:55 +03:00
Berkus Decker 577b0b74ee build(deps): 🛠 Bump dependencies 2023-08-08 00:44:31 +03:00
Berkus Decker 97145d8a8e build(deps): 🛠 Bump dependencies 2023-07-29 04:08:18 +03:00
Berkus Decker df135952e9 build(deps): 🛠 Bump dependencies 2023-07-29 04:08:18 +03:00
Berkus Decker 1bcbe3271a refactor: 📦 Replace cortex-a with aarch64-cpu 2023-07-29 04:08:18 +03:00
Berkus Decker 97ef3d355f build(deps): 🛠 Upgrade clap 2023-07-29 04:08:18 +03:00
Berkus Decker 526d9fa46d build(deps): 🛠 Bump dependencies 2023-07-29 04:08:18 +03:00
Berkus Decker dae26262bc feat(boot): Replace r0 dependency
Use pointer provenance to guarantee absence of UBs.
2023-07-29 04:08:18 +03:00
Berkus Decker 568fdcb649 build(deps): 🛠 Bump dependencies 2023-07-29 04:08:18 +03:00
Berkus Decker a27e4b0661 build(deps): 🛠 Bump dependencies 2022-06-11 00:25:21 +03:00
Berkus Decker ddf6d09136 feat: Switch mailboxes to correct DMA-backed storage by default
Allocate DmaBackedMailboxStorage out of DMA_ALLOCATOR.
Replace DMA bump_allocator with buddy_alloc.
2022-05-08 12:15:21 +03:00
Berkus Decker cbd6242470 build(deps): 🛠 bump dependencies 2022-05-05 22:04:24 +03:00
Berkus Decker 0b3973f58d build(deps): 🛠 bump dependencies 2022-03-27 21:33:54 +03:00
Berkus Decker 072a06e7bb fix: 🐛 update serialport-rs
Use version with fixed setup on macos.
2022-03-01 01:13:45 +02:00
Berkus Decker c9f3d68e81 build: 🛠 bump dependencies 2022-03-01 01:12:48 +02:00
Berkus Decker 19d9de4ac2 build: 🛠 Bump anyhow version 2022-02-23 14:25:17 +02:00
Berkus Decker b40530ea46 build: 🛠 Bump dependencies versions
Upgrade clap to new API.
2022-02-23 12:05:56 +02:00
Berkus Decker 30db2405ef build: Bump dependencies versions
Upgrade clap, crossterm, tokio.
2022-02-12 00:44:36 +02:00
Berkus Decker 162592beaa feat: Add chainofcommand
Works fine with a caveat that you need
to press ENTER after Ctrl+C, investigate.

Multiplex QEMU output for serial access.
2022-02-10 02:16:28 +02:00
Berkus Decker cfe4a230de feat: Add chainboot boot loader 2022-02-10 02:15:57 +02:00
Berkus Decker 4cdeeb8556 refactor: 📦 Split kernel into machine and nucleus
Move openocd task to upper level and remove kernel
build dependency - the qemu runner doesn't really
depend on it.
2022-02-10 02:14:07 +02:00
Berkus Decker 90389705a7 feat: Stabilise asm/global_asm
Requires rust 1.59.0 or later.
2021-12-20 21:46:09 +02:00
Berkus Decker d706b2edac chore: Bump dependencies 2021-11-17 17:16:58 +02:00
Berkus Decker e4b12e2c45 Update to latest versions of dependencies 2021-07-10 03:27:47 +03:00
Berkus Decker 77e3423273 Bump dependencies
Updating cortex-a v5.1.0 -> v5.1.6
    Updating qemu-exit v1.0.1 -> v1.0.2
    Updating quote v1.0.7 -> v1.0.9
    Updating register v1.0.1 -> v1.0.2
    Updating syn v1.0.48 -> v1.0.64
2021-03-22 01:37:59 +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