Skip to content

Conversation

rivos-eblot
Copy link

@rivos-eblot rivos-eblot commented Dec 5, 2024

  • Fix SPI host implementation (and make it faster)
    • Do not immediately refill the RX FIFO when not needed, preventing the whole FSM to be re-evaluated on each read out
    • Fix SPIEVENT IRQ management
    • Fix a bug that could lead to read one extra byte from the device
  • Add options to DMA
  • Improve pyot.py script
    • UDP logger support (to gather logs from child scripts)
    • Discard log messages for all tests that have passed, when the message of a failing test are flushed
  • Rework JTAG API (and make scans faster)
    • BitSequence rewritten from scratch, with Python integer backend
    • Fix latency issues with Remote BitBang Protocol over TCP
    • New pack-and-scan API to reduce comm packets and improve latency

…tances

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…block size

The property expects a value between 8 (256 bytes) and 20 (1MiB).
The higher the value, the faster the DMA transfer, the higher the latency
to handle other device requests using the I/O thread.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
The smaller the delay, the faster the DMA transfer.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…read out

Refill the RX FIFO only when it is about to be empty or when its level reaches
the specified RX watermark level. This reduces the overhead required for filling
up the RX FIFO.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Should be closer to real HW.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Replace previous boolean-based state with an enumeration, as
non-executing command can be either about to execute or in finalization
stage.

This enables differentiation of zero length command which can either be
a 1-byte command to be executed, or a command whose all bytes have been
processed.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…for SPI flash images

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
This service enables multiple Python applications to use a unified logging system.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…stener.

This service enables applications spawn in execution context to log messages
into the pyot log stream.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…ecords

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
… after each test.

This enables only reporting all log messages of a test that fails, not all the log
messages from all previously succeeded tests.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…error message.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…UDP log messages

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
* bits & jtag: import latest version from pyjtagtools
…ools.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
It is now possible to use a PyFtdi URL as the socket specifier,
e.g. ftdi://ftdi:2232/1 for a Digilent Arty board

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
…egister.

This is required for the IbexDemo project

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
… nodelay

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
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 (reviewed internally)

@rivos-eblot rivos-eblot merged commit 9e66fc4 into lowRISC:ot-darjeeling-9.1.0 Dec 9, 2024
6 checks passed
@rivos-eblot rivos-eblot deleted the dev/ebl/uprev branch December 9, 2024 08:10
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