diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-06-04 19:11:20 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-06-04 19:11:20 -0500 |
commit | b38a844ed9f6ad17d58db3e143ebc0c858762ec6 (patch) | |
tree | 89d87405750455c7f00785647370a6a87d8b0f53 /hexedit/pico_persist.ld | |
parent | 86b72b11d6abcc602a93aa480f27644cc0b34373 (diff) |
Add checksum to boot sector
Diffstat (limited to 'hexedit/pico_persist.ld')
-rw-r--r-- | hexedit/pico_persist.ld | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hexedit/pico_persist.ld b/hexedit/pico_persist.ld index 32cc42f..9c37aba 100644 --- a/hexedit/pico_persist.ld +++ b/hexedit/pico_persist.ld @@ -1,11 +1,13 @@ MEMORY { FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M - SRAM(rx) : ORIGIN = 0x20041f00, LENGTH = 252 + SRAM(rx) : ORIGIN = 0x20041f00, LENGTH = 256 } SECTIONS { .text : { - *(.entry) - *(.text) + *(.entry); + *(.text); + . = 252; + *(.stage_2_crc); } >SRAM AT>FLASH } |