Commit Graph

39 Commits

Author SHA1 Message Date
Berkus Decker 9765f3e081 [wip] Debugging display/boot problems 2019-01-20 02:24:59 +02:00
Berkus Decker f39ff81922 Add write_to helper 2019-01-20 02:24:38 +02:00
Berkus Decker fac5bf1f50 Add Color helpers 2019-01-20 02:23:54 +02:00
Berkus Decker 64b2afaaa6 [sq] mailbox cleanup 2019-01-19 02:52:43 +02:00
Berkus Decker 351d77d4dc Disable UART since writing to it seems to cause troubles - INVESTIGATE 2019-01-19 02:52:33 +02:00
Berkus Decker 7974c645a2 [sq] cosmetic boot updates 2019-01-19 02:50:55 +02:00
Berkus Decker f0c022deb0 [sq, DISP] Implement clippy suggestions in display 2019-01-18 17:08:06 +02:00
Berkus Decker f8fe6cf9e5 If started in EL1, just straight run 2019-01-18 17:07:34 +02:00
Berkus Decker d931e70b89 Copy swio explanation from bztsc's tutorials (see issue#) 2019-01-18 17:07:17 +02:00
Berkus Decker 185f6916ac [wip] Enable aarch64 exceptions 2019-01-17 22:42:05 +02:00
Berkus Decker c2bdfafb43 Gate uart enable behind cargo feature 2019-01-17 22:42:05 +02:00
Berkus Decker 3831a411b9 Replace uart.puts() with writeln!() 2019-01-17 22:42:05 +02:00
Berkus Decker 67b3b95d9a Use boot code from japaric/andre-richter 2019-01-17 22:42:05 +02:00
Berkus Decker 1e37fc791c Add qemu_aarch64_exit 2019-01-15 02:26:23 +02:00
Berkus Decker dc3369a8c2 [VC WIP] fiddling with uart again 2019-01-15 02:26:23 +02:00
Berkus Decker f079b380ee [VC] Set alpha mode 2019-01-15 02:25:15 +02:00
Berkus Decker 28ca96da7b [VC, sq] VC rustfmt 2019-01-15 02:25:15 +02:00
Berkus Decker 5d78f15823 [VC, wip] depth woes 2019-01-15 02:25:15 +02:00
Berkus Decker 26652f30dc [VC, sq] pixel order stuff works on pi 2019-01-15 02:25:15 +02:00
Berkus Decker 37c942626f [VC, wip] change depth for testing 2019-01-15 02:25:15 +02:00
Berkus Decker be7bfd842b [VC, wip] VC rustfmt 2019-01-15 02:25:15 +02:00
Berkus Decker 1c0243ef58 [wip] ignore mbox call error 2019-01-15 02:25:15 +02:00
Berkus Decker d43a4d5b08 [wip] match rect size 2019-01-15 02:25:15 +02:00
Berkus Decker a424300aa2 [VC WIP] disable uart everywhere - WORKS
without uart the thing seems to work fine, so what is wrong?
2019-01-15 02:25:15 +02:00
Berkus Decker 94f61b6a8a [wip] more uart output 2019-01-15 02:25:15 +02:00
Berkus Decker 4367a53b91 [VC WIP] Add depth support to Display 2019-01-15 02:25:15 +02:00
Berkus Decker 3ec600c6bb Add VC module 2019-01-15 02:24:01 +02:00
Berkus Decker d34b214ed0 [MAILBOX WIP] disable uart everywhere - WORKS
without uart the thing seems to work fine, so what is wrong?
2019-01-15 02:21:50 +02:00
Berkus Decker 9d3ee6ab06 Add Mailbox communication with VideoCore 2019-01-15 02:21:31 +02:00
Berkus Decker 1be4059fd0 [DISP] never inline display fns to investigate that self.depth problem 2019-01-15 02:20:53 +02:00
Berkus Decker dfcf7093b9 [DISP] refactor putpixel 2019-01-15 02:20:53 +02:00
Berkus Decker 0221f3128d [DISP] but any access to self.depth in this lambda causes a failure! 2019-01-15 02:20:53 +02:00
Berkus Decker 72d4e52009 [DISP] Works on raspi this way 2019-01-15 02:20:53 +02:00
Berkus Decker 0ecdb774f5 [DISP] Add depth support to Display 2019-01-15 02:20:53 +02:00
Berkus Decker 59c079dbbd Add Display module 2019-01-15 02:20:53 +02:00
Berkus Decker 3a8043a617 Add UART module 2019-01-15 02:19:27 +02:00
Berkus Decker 80ab7d9fa6 Add GPIO module 2019-01-15 02:18:52 +02:00
Berkus Decker 60d61d4e7a Add RPi3 hardware addresses
* Add phys2bus/bus2phys conversions
2019-01-15 02:18:52 +02:00
Berkus Decker 072e0a05aa Add rust skeleton code and build system
* panic_fmt lang-item
* arch-based crates, inspired by Redox
* Port over target files from Robigalia, add aarch64
* Use rlibc for memset/memcpy
* Create linker script for raspberry pi 3
* Implement primitive dmb()
* Important: initialize stack pointer!

Kernel interface is to be defined in a separate crate.
2019-01-15 02:18:52 +02:00