Skip to content

Commit

Permalink
fix: Set max_size to fill remainder of 512kB eFlash
Browse files Browse the repository at this point in the history
  • Loading branch information
pqcfox committed Jul 22, 2024
1 parent 2b04068 commit 8fb60c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tockloader/board_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,15 +291,16 @@ class BoardInterface:
"max_size": 0x00100000,
},
},
"opentitan_earlgrey_rom_ext": {
"description": "OpenTitan EarlGrey chip with ROM_EXT targeting the Earlgrey-M2.5.2-RC0 hardware",
"opentitan_earlgrey_secure_boot": {
"description": "OpenTitan EarlGrey chip targeting the Earlgrey-M2.5.2-RC0 hardware with secure boot",
"arch": "rv32imc",
"page_size": 512,
"no_attribute_table": True,
"address_translator": lambda addr: addr - 0x20010000,
"flash_file": {
# Set to the maximum flash size.
"max_size": 0x00100000,
# Set to the half of maximum flash size, to keep image sizes smaller
# (also ensures room for data at end of flash).
"max_size": 0x00070000,
},
},
}
Expand Down

0 comments on commit 8fb60c9

Please sign in to comment.