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 Darjeeling #59

Merged

Commits on Apr 8, 2024

  1. [ot] hw/opentitan: ot_mbx: add a dedicated address space for RAM

    HW implementation restricts MBOX memory to the MBOX SRAM. All other locations
    on the cross bar cannot be reached from the MBOX controller.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    3391311 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fae94e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    909c40d View commit details
    Browse the repository at this point in the history
  4. [ot] hw/opentitan: ot_dev_proxy.c: rework device enumeration

    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    6a5a7ef View commit details
    Browse the repository at this point in the history
  5. [ot] jtag: jtag_bitbang.c: add an option to manage remote VM termination

    `quit=[on|off]` can be used with `-jtag` option to enable or disable VM
    termination on JTAG request.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    558fe6c View commit details
    Browse the repository at this point in the history
  6. [ot] hw/riscv: dm.c: command errors should not be propagated as DMI e…

    …rror
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    4995bbe View commit details
    Browse the repository at this point in the history
  7. [ot] hw/riscv: dm.c: add DM name to all trace messages

    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    10305f2 View commit details
    Browse the repository at this point in the history
  8. [ot] hw/opentitan: dm.c: disable left-over debug trace

    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f8b9202 View commit details
    Browse the repository at this point in the history
  9. [ot] hw/riscv: dm.c: simplify trace message masking

    Also improve AARSIZE error reporting.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    1526657 View commit details
    Browse the repository at this point in the history
  10. [ot] hw/riscv: dm.c: register on DTM on realization, not on reset.

    This enables DM discovery even if the parent subsystem has not been
    reset.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    ea79962 View commit details
    Browse the repository at this point in the history
  11. [ot] hw/riscv: dm.c: code cleanup, add a new trace

    Enable abstractauto by default.
    Beware that current version of OpenOCD (2024/04) assumes this feature
    is always supported.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    c818978 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    558bdbb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b99e33b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d941d4d View commit details
    Browse the repository at this point in the history
  15. [ot] hw/riscv: add a new API for IbexIRQ initialization.

    Factorize a bit existing code.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    590fcb9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    204434d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    34c74bf View commit details
    Browse the repository at this point in the history
  18. [ot] hw/opentitan: ot_gpio: implement I/O as IbexIRQs

    Add initial support for Pinmux
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    37f8d77 View commit details
    Browse the repository at this point in the history
  19. [ot] hw/opentitan: ot_gpio: rework to support gpio variants

    This also reverts commit 266a493 for
    the Earlgrey version.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b4d3a29 View commit details
    Browse the repository at this point in the history
  20. [ot] hw/opentitan: remove useless header file inclusions

    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    8e9be80 View commit details
    Browse the repository at this point in the history
  21. [ot] hw/opentitan: ot_gpio_dj: add HW strap support

    + fix issues from 266a493
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    dc1091a View commit details
    Browse the repository at this point in the history
  22. [ot] hw/opentitan: ot_pwrmgr: add HW strap sampling

    + fix invalid state ordering in fast FSM
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    519bb5f View commit details
    Browse the repository at this point in the history
  23. [ot] hw/riscv: ot_darjeeling: connect HW strap signal from PwrMgr to …

    …GPIO
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    61f1899 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    55660ea View commit details
    Browse the repository at this point in the history
  25. [ot] scripts/opentitan: update Treillis script with new GPIO features.

    - Hi-Z support
    - Pull up/down settings
    - Remote-triggered wipe
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    966330f View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    35f940f View commit details
    Browse the repository at this point in the history
  27. [ot] hw/block: m25p80.c: implement Resettable API for SPI flash devices.

    Resettable API enables holding SPI flash device in reset if a reset pin
    is asserted. When the SPI flash device is held in reset, it should ignore
    SPI transfer and /CS signal.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    3072007 View commit details
    Browse the repository at this point in the history
  28. [ot] hw/block: m25p80.c: add a "RESET#" input GPIO to manage HW reset

    When the SPI flash device is held in reset, it ignores SPI transfers and
    /CS signal.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    c1d5ce7 View commit details
    Browse the repository at this point in the history
  29. [ot] hw/opentitan: dtm: add a sanity check for registering DMs

    DM registration can only be done once DTM has been realized.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    3229806 View commit details
    Browse the repository at this point in the history
  30. [ot] hw/opentitan: dm: register on DTM while resetting

    This enables realizing DTM and DM in any order. It is ok to register
    the same DM more than once, this action is simply ignored.
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f18c2ad View commit details
    Browse the repository at this point in the history
  31. [ot] hw/riscv: ot_darjeeling: fix DMI base address of RV DM

    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    cce452a View commit details
    Browse the repository at this point in the history
  32. [ot] hw/opentitan: jtag_bitbang: use info_report rather than qemu_log

    ... to report termination information
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    4267bca View commit details
    Browse the repository at this point in the history
  33. [ot] scripts/opentitan: pyot.py: fix invalid execution time with ext.…

    … commands
    
    Signed-off-by: Emmanuel Blot <[email protected]>
    rivos-eblot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    d27e05f View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    4d9aca6 View commit details
    Browse the repository at this point in the history