Commit Graph

279 Commits

Author SHA1 Message Date
Berkus Decker b8e9617b06 chore: ♻️ Add source dividers template 2023-07-29 04:08:18 +03:00
Berkus Decker 13d6b2a037 chore: ♻️ Add QEMU tracing options for aarch64
Disabled for now, need to try them out.
2023-07-29 04:08:18 +03:00
Berkus Decker 157604d7c9 chore: ♻️ Drop bitcode embedding 2023-07-29 04:08:18 +03:00
Berkus Decker d37495bc01 fix: 🐛 Synchronise used features 2023-07-29 04:08:18 +03:00
Berkus Decker 9710866524 feat: Update panics, exit QEMU on exceptions 2023-07-29 04:08:18 +03:00
Berkus Decker 0e1c6669ac refactor: 📦 Use better code structure
As inspired by andre-richter's tutorials.
2023-07-29 04:08:18 +03:00
Berkus Decker 46d0c4cffc fix: 🐛 Add missing exception vectors start symbol 2023-07-29 04:08:18 +03:00
Berkus Decker 5356de7cbb fix: 🐛 Disable some make tasks
Allows running gdb and hopper tasks.
Enable QEMU task.
2023-07-29 04:08:18 +03:00
Berkus Decker 45e18de842 refactor: 📦 Rearrange kernel_main 2023-07-29 04:08:18 +03:00
Berkus Decker d78bc67d8f fix(build): 🐛 Allow building qemu-gdb target 2023-07-29 04:08:18 +03:00
Berkus Decker 1ca54d9ed6 fix(console): 🐛 Fix unicode character output
(At the expense of about 3kb code size.)
2023-07-29 04:08:18 +03:00
Berkus Decker 2c91e685bd fix(console): 🐛 Fix console I/O on the host side 2023-07-29 04:08:18 +03:00
Berkus Decker fa725c51cb fix: 🐛 Update cargo resolver to version 2 2023-07-29 04:08:18 +03:00
Berkus Decker e77c65632b chore: ♻️ Omit wip commits from the changelog
Add sq commits type for "to squash".
2023-07-29 04:08:18 +03:00
Berkus Decker b1bbdf087a feat: Use gdbgui for debug 2023-07-29 04:08:18 +03:00
Berkus Decker dfbd424bde chore: ♻️ Add sparkly magic 2023-07-29 04:08:18 +03:00
Berkus Decker 94d23a6a47 refactor: 📦 kernel_main should be the main entry point 2023-07-29 04:08:18 +03:00
Berkus Decker d6887bccee refactor(build): 📦 Use single gdb-config command 2023-07-29 04:08:18 +03:00
Berkus Decker 2313b0cf97 fix: 🐛 Make sdeject command more useful 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 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