Commit Graph

125 Commits

Author SHA1 Message Date
Berkus Decker adbf5c413a Add RasPi4-specific target configuration for OpenOCD
Update and move rpi3 jtag configs.
Add rpi bringup doc - lists romtables for configuring.
2021-07-11 21:21:48 +03:00
Berkus Decker 0208b0f879 Update OpenOCD version
RTT patch has been merged, so use the latest 0.11.0-rc2+dev-01576-g0d9e8bd52-dirty
2021-07-11 21:21:48 +03:00
Berkus Decker e8baa13fc3 wip improve mmu mapping code 2021-07-11 21:21:48 +03:00
Berkus Decker 2b6f1bedf4 [temp] allow dead_code while this code is experimental and unused 2021-07-11 21:21:48 +03:00
Berkus Decker c1e0a8f3dd [sq] make error enum public 2021-07-11 21:21:48 +03:00
Berkus Decker b787a2224d [sq] fix iterator checks 2021-07-11 21:21:48 +03:00
Berkus Decker bf291b917f Switch to usize for alignment checks 2021-07-11 21:21:48 +03:00
Berkus Decker ff12867b02 [sq] fix unused Result 2021-07-11 21:21:48 +03:00
Berkus Decker cc163e6d61 [sq] add missing documentation 2021-07-11 21:21:48 +03:00
Berkus Decker 389a6971b7 [wip] comment out unported code 2021-07-11 21:21:48 +03:00
Berkus Decker e33f99786b [sq] use static_assertions 2021-07-11 21:21:48 +03:00
Berkus Decker 81974b40c7 [wip] reshuffle stuff around - to be finalized 2021-07-11 21:20:10 +03:00
Berkus Decker 6c77d0930c [sq] add missing Clone derives 2021-07-11 20:54:36 +03:00
Berkus Decker a6266dc385 Make boot info compile 2021-07-11 20:54:36 +03:00
Berkus Decker 15323fe7f3 Make features printing compile 2021-07-11 20:54:36 +03:00
Berkus Decker 55e1761492 [wip] directory levels traversal 2021-07-11 20:54:36 +03:00
Berkus Decker 3c6fcfcf10 [wip] memory map initialization 2021-07-11 20:54:36 +03:00
Berkus Decker 07d7f9cd9e Update todos 2021-07-11 20:54:36 +03:00
Berkus Decker 083711b61e [wip] Improve virt_page impl and add tests 2021-07-11 20:54:36 +03:00
Berkus Decker f26fa39265 [fixme] move those out 2021-07-11 20:54:36 +03:00
Berkus Decker d278383184 Move PageSize to a mod and implement it for phys frames and virt pages 2021-07-11 20:54:36 +03:00
Berkus Decker 1eed756d04 sq we use snafu already 2021-07-11 20:54:36 +03:00
Berkus Decker 633dbd191f Implement comparison for invalid virt address error
Similar to PhysAddrNotValid.
2021-07-11 20:54:36 +03:00
Berkus Decker e215f9d62c [wip] add to-kernel-space/from-kernel-space address conversion 2021-07-11 20:54:36 +03:00
Berkus Decker de91603059 [wip] necessary modifications 2021-07-11 20:54:36 +03:00
Berkus Decker 825806fdd7 Start moving code to a new mmu2 module 2021-07-11 20:54:36 +03:00
Berkus Decker 9b5d7b14d3 Document TODO steps 2021-07-11 20:52:12 +03:00
Berkus Decker bd4015679c drop obsolete stuff 2021-07-11 20:52:12 +03:00
Berkus Decker da52104b53 sq extract features 2021-07-11 20:52:12 +03:00
Berkus Decker 851e691534 [wip] extract virt_page code 2021-07-11 20:52:12 +03:00
Berkus Decker 35097458b2 [wip] extract phys_frame code 2021-07-11 20:52:12 +03:00
Berkus Decker fa10d649e4 [wip] extract mmu features printer 2021-07-11 20:52:12 +03:00
Berkus Decker 119017c703 [wip] Add boot memory regions info 2021-07-11 20:52:12 +03:00
Berkus Decker 3c3ce334ca [wip] mmu experiments 2021-07-11 20:52:12 +03:00
Berkus Decker 36b2d92515 Import interfaces only when used
Fixes clippy noserial check deny(unused_imports).
2021-07-11 20:27:41 +03:00
Berkus Decker 7af16897ec Relax several clippy checks 2021-07-11 19:58:57 +03:00
Berkus Decker 155ae413b4 Replace wildcard imports with specific ones 2021-07-11 17:00:00 +03:00
Berkus Decker e4b12e2c45 Update to latest versions of dependencies 2021-07-10 03:27:47 +03:00
Berkus Decker 1644f299fe Make long hex constants readable in align tests 2021-01-27 20:10:32 +02:00
Berkus Decker 82d44a9c62 Add ASID type 2021-01-27 20:10:32 +02:00
Berkus Decker 856c4a9e68 Fix PhysAddr test 2021-01-27 19:55:52 +02:00
Berkus Decker 6281204062 Split addr module 2021-01-27 19:55:52 +02:00
Berkus Decker d3f561d214 Implement shifts for PhysAddr 2021-01-27 19:55:52 +02:00
Berkus Decker 50e955c6a7 Print test names in test_runner
Based on os.phil-opp.com Testing chapter.
2021-01-27 19:22:48 +02:00
Berkus Decker 601cf7a784 Add documentation target
Type `just doc` to see documentation in browser.

Improve doc comments in code to support
rustdoc links format.
2021-01-27 19:22:48 +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
Berkus Decker 20363a7e25 Fix wasteful empty loop
Thanks, clippy!
2020-12-29 18:12:38 +02:00
Berkus Decker a53ede11af Rename nightly allocator API fns 2020-12-29 18:01:07 +02:00
Berkus Decker 74303ac7c1 Bump cortex-a and register-rs dependencies 2020-11-24 22:28:40 +02:00
Berkus Decker f3103126ab Add simple serial menu for playing with kernel 2020-11-20 04:35:06 +02:00