diff --git a/README.md b/README.md index f7c2974..59aba0a 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ The run-time memory layout and flash binary image layout shown above are achieve ![img/esp32h2-directboot.svg](img/esp32h2-directboot.svg) -ROM bootloader maps the 0 – 4 MB region of flash to the CPU address space: to the "ROM" region using the data cache and the instruction cache. +ROM bootloader maps the 0 – 4 MB region of flash to the CPU address space using the cache and the Flash MMU. The memory layout can be found in liker script ([ld/esp32h2/memory.ld](ld/esp32h2/memory.ld)). diff --git a/img/esp32h2-directboot.svg b/img/esp32h2-directboot.svg index 4ef10af..b8d91cc 100644 --- a/img/esp32h2-directboot.svg +++ b/img/esp32h2-directboot.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/ld/esp32h2/common.ld b/ld/esp32h2/common.ld index fbf802e..da58702 100644 --- a/ld/esp32h2/common.ld +++ b/ld/esp32h2/common.ld @@ -24,15 +24,10 @@ SECTIONS .rodata : { - *(.rodata .rodata.* .srodata .srodata.* .sdata2 .sdata2.* .gnu.linkonce.r.*) + *(.rodata .rodata1 .rodata.* .srodata .srodata.* .sdata2 .sdata2.* .gnu.linkonce.r.*) *(.rela.data .rela.data.* .rela.gnu.linkonce.r.*) } > rom - .rodata1 : - { - *(.rodata1) - } > rom - .init_array : { PROVIDE_HIDDEN (__init_array_start = .);