Lying about memory isn't cool you know
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 2 Jan 2017 03:06:29 +0000 (19:06 -0800)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 2 Jan 2017 03:06:29 +0000 (19:06 -0800)
arm_chainloader/loader.cc

index deb59d2..97c7146 100644 (file)
@@ -114,8 +114,8 @@ struct LoaderImpl {
                 //uint32_t memmap[] = { 0x10000, 0x20000000 };
                 //uint8_t memmap[] = { 0x00, 0x00, 0x01, 0x00,
                 //                     0x00, 0x00, 0x00, 0x20 };
-                uint8_t memmap[] = { 0x00, 0x00, 0x10, 0x00,
-                                     0x10, 0x00, 0x00, 0x00 };
+                uint8_t memmap[] = { 0x00, 0x00, 0x01, 0x00,
+                                     0x30, 0x00, 0x00, 0x00 };
 
                 res = fdt_setprop(v_fdt, memory, "reg", (void*) memmap, sizeof(memmap));
                 //res = fdt_setprop(v_fdt, memory, "device_type", dtype, strlen(dtype) + 1);
This page took 0.024637 seconds and 4 git commands to generate.