Mailboxes -- and IRQs -- work :D
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 25 Aug 2016 02:23:08 +0000 (19:23 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 25 Aug 2016 02:23:08 +0000 (19:23 -0700)
arm_chainloader/main.c
arm_loader.c

index 6956fb2..00ee7a1 100644 (file)
@@ -46,7 +46,7 @@ void main() {
                          "mcr p15, 0, r3, C7, C10, 4\n" \\r
                          "mcr p15, 0, r3, C7, C10, 5\n");*/\r
         printf("\nPoking the VPU....\n");\r
-        mmio_write32(0x3E00B8A0, 0xA1755A01);\r
+        mmio_write32(0x7E00B8A0, 0xA1755A01);\r
 \r
        panic("Nothing else to do!");\r
 \r
index fe0ea44..6513956 100644 (file)
@@ -256,7 +256,7 @@ void arm_init() {
         * set the mem size for who knows what reason.\r
         */\r
        ARM_CONTROL0 |= 0x008 | ARM_C0_APROTSYST | ARM_C0_SIZ1G | ARM_C0_FULLPERI;\r
-        //ARM_CONTROL1 |= ARM_C1_PERSON;\r
+        ARM_CONTROL1 |= ARM_C1_PERSON;\r
 \r
         ARM_IRQ_ENBL3 |= ARM_IE_MAIL;\r
 \r
This page took 0.030318 seconds and 4 git commands to generate.