Commit Graph

259 Commits

Author SHA1 Message Date
Berkus Decker 1bcbe3271a refactor: 📦 Replace cortex-a with aarch64-cpu 2023-07-29 04:08:18 +03:00
Berkus Decker b1bf9dc09d fix: 🐛 Restore libmachine tests
To make unit tests work we build libmachine as a
binary with test-runner.
2023-07-29 04:08:18 +03:00
Berkus Decker 78a864c433 refactor(linker): 📦 Share exception handlers 2023-07-29 04:08:18 +03:00
Berkus Decker 4598330506 refactor: 📦 Convert zellij config
Auto-close panes on quit.
2023-07-29 04:08:18 +03:00
Berkus Decker afbb317403 refactor: 📦 Improve boot code structure
Rename sections to not conflict during link.
Update linker script docs to align on PAGE_SIZE.
2023-07-29 04:08:18 +03:00
Berkus Decker 12f51399df feat: Do a Rust-only chainloader! 2023-07-29 04:08:18 +03:00
Berkus Decker 0cc683a50f refactor: 📦 Fix new clippy errors 2023-07-29 04:08:18 +03:00
Berkus Decker 227761c575 build(ci): 🛠 Add new lint task 2023-07-29 04:08:18 +03:00
Berkus Decker a4fea833bb fix: 🐛 Fix zellij layout path argument 2023-07-29 04:08:18 +03:00
Berkus Decker e95b01104a refactor(console): 📦 Improve console code 2023-07-29 04:08:18 +03:00
Berkus Decker e228a1cff4 chore: ♻️ Fix typos 2023-07-29 04:08:18 +03:00
Berkus Decker 4d8048f3d0 refactor(gpio): 📦 Refactor gpio code
Introduce changes to support new tock-registers
and rename the fields finally.
2023-07-29 04:08:18 +03:00
Berkus Decker 9660347688 docs: 📚 Update readme docs 2023-07-29 04:08:18 +03:00
Berkus Decker f964fea4c3 docs: 📚 Update safety docs 2023-07-29 04:08:18 +03:00
Berkus Decker 61762ccbf6 feat(qemu): Print QEMU run options 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 97fc7f6b3d feat(qemu): Generate QEMU logs 2023-07-29 04:08:18 +03:00
Berkus Decker 9b35283ca6 refactor(clippy): 📦 Fix clippy error with matches!() 2023-07-29 04:08:18 +03:00
Berkus Decker 3fd8c16b16 Merge pull-request #137 from metta-systems:misc/updates-and-fixes to develop
Misc updates and fixes
None

[close #137]
2022-06-11 02:31:02 +03:00
Berkus Decker 9ac097c3cf fix: 🐛 Fix warnings on newer rust toolchain 2022-06-11 01:44:58 +03:00
Berkus Decker 5b0dbbfb8f build(ci): 🛠 Depend test runs on clippy results 2022-06-11 01:42:03 +03:00
Berkus Decker a27e4b0661 build(deps): 🛠 Bump dependencies 2022-06-11 00:25:21 +03:00
Berkus Decker b4fcedc5e0 build(deps): 🛠 Add update-all-dependencies command 2022-06-11 00:25:21 +03:00
Berkus Decker 886cd0a18d fix: 🐛 Allow executing gdb from cargo-make
It was failing before because no tty was available.
2022-06-11 00:25:21 +03:00
Berkus Decker fc90fde4f0 feat: Add qemu-cb-gdb target 2022-06-11 00:25:21 +03:00
Berkus Decker b52c63796c fix: 🐛 Set GDB breakpoints by physical address 2022-06-11 00:25:21 +03:00
Berkus Decker 31d0ed9c57 chore: ♻️ Set release tags prefix 2022-06-11 00:25:21 +03:00
Berkus Decker aa00713049 chore: ♻️ Ignore non-conventional merge commits 2022-06-11 00:12:04 +03:00
Berkus Decker aa1356da43 chore: ♻️ Add wip conventional commit type 2022-06-11 00:07:16 +03:00
Berkus Decker f97e75d3bd Merge pull-request #133 from metta-systems:fix/nm-command to develop
Fix nm invocation
None

[close #133]
2022-05-13 01:01:24 +03:00
Berkus Decker 67db178c6f fix: 🐛 Invoke nm properly 2022-05-08 23:21:33 +03:00
Berkus Decker 2d5ea676cd Merge pull-request #124 from metta-systems:fix/enable-mmu to develop
Fix MMU enable code
Refactor MMU code structure, add some improvements.

- [x] Build and test on real RPi4.

[close #124]
2022-05-08 21:45:54 +03:00
Berkus Decker bc0cc2d93d fix: 🐛 Allow clippy warning 2022-05-08 21:08:29 +03:00
Berkus Decker ab95de393b fix: 🐛 Map VC memory to make `disp` command work 2022-05-08 12:15: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 07df330b62 feat: Implement MMU based on Andre Richter's tutorial
As per https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/tree/master/10_virtual_mem_part1_identity_mapping

Bring better separation of abstract, platform and BSP code.

Init MMU and traps after serial output.
2022-05-08 12:15:21 +03:00
Berkus Decker 4a02f5fd2c feat: Upgrade exception trap handler output 2022-05-08 12:11:12 +03:00
Berkus Decker 113b4abbc5 feat: Add UnsafeCell trick
It replaces old "C" style linker symbol references.
2022-05-08 12:11:12 +03:00
Berkus Decker 29d61f4bdb refactor: 📦 Rename access flag values 2022-05-08 12:11:12 +03:00
Berkus Decker bb40980419 refactor: 📦 Add formatter for memory::AttributeFields 2022-05-08 11:39:55 +03:00
Berkus Decker 248b17ff54 Merge pull-request #131 from metta-systems:fix/update-deps to develop
build(deps): 🛠 bump dependencies
None

[close #131]
2022-05-05 22:32:14 +03:00
Berkus Decker cbd6242470 build(deps): 🛠 bump dependencies 2022-05-05 22:04:24 +03:00
Berkus Decker 023ab89a43 Merge pull-request #123 from metta-systems:fix/add-chainboot-emoji to develop
Fix codegen and add chainboot emojis
None

[close #123]
2022-04-25 00:00:45 +03:00
Berkus Decker 92feb2d982 feat: Add emojis to the chainboot protocol 2022-04-24 22:10:59 +03:00
Berkus Decker 9dcc5b192a fix(codegen): 🐛 Disable FP/NEON features in the target file
This fixes the build warnings for the
new rustc nightly.
2022-04-24 22:10:23 +03:00
Berkus Decker ffc6e50dcf Merge pull-request #114 from metta-systems:feat/ci-deps to develop
Depend all CI steps on check_formatting
None

[close #114]
2022-03-27 23:00:13 +03:00
Berkus Decker 0464f7d95b build(ci): 🛠 depend all CI steps on check_formatting 2022-03-27 22:25:06 +03:00