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

Update OT Darjeeling support #62

Merged

Conversation

rivos-eblot
Copy link

  • Initial I2C support
  • Improved JTAG/DTM/DM Python modules
  • All Python modules are now Pylint-ed
  • Fix guest clock (-icount N is now muh more accurate)
  • Initial SRAM controller with SRAM content init and scrambling
  • Fix Ibex core definitions (MISA & extension support are now accurate)
  • Update HW definitions

rivos-eblot and others added 30 commits May 7, 2024 20:31
…tion space.

Default QEMU behavior is to zero-initialize parts of sections that are not
stored in the ELF file. For embedded SW, sections such as `.bss` should not
be initialized by the loader, but at runtime: destination memory may not be
available / reachable at QEMU load time.

Signed-off-by: Emmanuel Blot <[email protected]>
DevProxy needs to access both the RAM and the control registers.

Signed-off-by: Emmanuel Blot <[email protected]>
It is now possible to define, through the machine, if the vCPU(s) PC
are updated with the ELF entry point address, thanks to a new boolean
property 'ignore-elf-entry'.

Signed-off-by: Emmanuel Blot <[email protected]>
QEMU enables several RISC-V extensions on dynamic CPUs that require explicit
deactivation in custom cpu init functions.
This commit creates two static CPU configurations for the actual Ibex CPU
instances used: Ibex Demo and OpenTitan. The dynamic Ibex configuration will be
removed in a later commit.

Signed-off-by: Loïc Lefort <[email protected]>
Add a driver for the OpenTitan I2C Darjeeling controller that supports
host and target mode.

Signed-off-by: Duncan Laurie <[email protected]>
- configure the I2C instance in ot_darjeeling platform.

Signed-off-by: Duncan Laurie <[email protected]>
…ingle stepping"

This reverts commit b8c4153.

Testing ctx->cs->exception_index here makes no sense since this is part
of guest code generation, not execution.

Signed-off-by: Emmanuel Blot <[email protected]>
Copy link

@loiclefort loiclefort left a comment

Choose a reason for hiding this comment

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

LGTM (already reviewed and tested at Rivos)

@rivos-eblot rivos-eblot merged commit 060bca8 into lowRISC:ot-darjeeling-8.2.0 May 7, 2024
5 checks passed
@rivos-eblot rivos-eblot deleted the dev/ebl/dj_resync branch May 7, 2024 18:44
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.

2 participants