]> granicus.if.org Git - esp-idf/commitdiff
bootloader: modify bootloader dram start address to 0x3fff0000
authorLiu Zhi Fu <liuzhifu@espressif.com>
Fri, 6 Jan 2017 04:23:11 +0000 (12:23 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 6 Jan 2017 05:44:09 +0000 (13:44 +0800)
Modify bootloader dram_seg from address 0x3ffc0000 to 0x3fff0000, len from
0x20000 to 0x10000. Please be notified that this is just a workaround for
fixing app data overwrite bootloader data issue!

components/bootloader/src/main/esp32.bootloader.ld

index 6a77eb6adeb26f2962877e6cfe84b40bb7eb8522..0c57bdf48d97cc306709945318be5d4862c027a4 100644 (file)
@@ -17,7 +17,7 @@ MEMORY
   dport0_seg (RW) :                    org = 0x3FF00000, len = 0x10            /* IO */
   iram_seg (RWX) :                     org = 0x40080000, len = 0x400           /* 1k of IRAM used by bootloader functions which need to flush/enable APP CPU cache */ 
   iram_pool_1_seg (RWX) :           org = 0x40078000, len = 0x8000    /* IRAM POOL1, used for APP CPU cache. We can abuse it in bootloader because APP CPU is still held in reset, until we enable APP CPU cache */
-  dram_seg (RW) :                      org = 0x3FFC0000, len = 0x20000         /* Shared RAM, minus rom bss/data/stack.*/
+  dram_seg (RW) :                      org = 0x3FFF0000, len = 0x10000         /* Shared RAM, minus rom bss/data/stack.*/
 }
 
 /*  Default entry point:  */