From b38a844ed9f6ad17d58db3e143ebc0c858762ec6 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Tue, 4 Jun 2024 19:11:20 -0500 Subject: Add checksum to boot sector --- hexedit/pico_persist.ld | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'hexedit/pico_persist.ld') 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 } -- cgit v1.2.3