Skip to content

Commit

Permalink
Merge pull request #116 from pqcfox/feat/add_opentitan_rom_ext_board
Browse files Browse the repository at this point in the history
feat: Add OpenTitan Earl Grey ROM_EXT board to KNOWN_BOARDS
  • Loading branch information
bradjc authored Jul 23, 2024
2 parents ddf0f86 + 8fb60c9 commit a347ba8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tockloader/board_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,18 @@ class BoardInterface:
"max_size": 0x00100000,
},
},
"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 half of maximum flash size, to keep image sizes smaller
# (also ensures room for data at end of flash).
"max_size": 0x00070000,
},
},
}

def __init__(self, args):
Expand Down

0 comments on commit a347ba8

Please sign in to comment.