Skip to content

Conversation

wsipak
Copy link
Contributor

@wsipak wsipak commented Sep 5, 2024

This allows using tockloader to create flash files and install applications for VeeR EL2 (see related PR: tock/tock#4118)

Signed-off-by: Wojciech Sipak <[email protected]>
@wsipak wsipak marked this pull request as ready for review September 5, 2024 15:00
Comment on lines +165 to +170
"veer_el2_sim": {
"description": "VeeR EL2 running on Verilated simulation",
"arch": "rv32imc",
"no_attribute_table": True,
"address_translator": lambda addr: addr - 0x20000000,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm definitely not an expert here, but the litex_sim example above this is also a Verilated simulation and has a flash_file parameter. Is that also required here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary, but a good sanity check that ensures we're not creating huge binaries and throwing an error if we would overflow the target's emulated ROM memory region.

@bradjc bradjc merged commit 2a500cb into tock:master Sep 24, 2024
2 checks passed
@kgugala kgugala deleted the wsip/veer_el2 branch October 28, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants