Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add OpenTitan Earl Grey ROM_EXT board to KNOWN_BOARDS #116

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading