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

Import latest changes from Darjeeling-9.1.0 branch #135

Merged

Conversation

rivos-eblot
Copy link

No description provided.

…tances

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 7d4a2ea)
…for SPI flash images

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 94b1585)
This service enables multiple Python applications to use a unified logging system.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 86607fe)
…stener.

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

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit ebc5028)
…ecords

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 4920b03)
… 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 <[email protected]>
(cherry picked from commit 5b49912)
…error message.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 587b76e)
…UDP log messages

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 16e65d6)
* bits & jtag: import latest version from pyjtagtools

(cherry picked from commit fb442de)
…ools.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 232dac3)
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 <[email protected]>
(cherry picked from commit 8831980)
…egister.

This is required for the IbexDemo project

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 5e0a4fe)
… nodelay

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 9e66fc4)
…ions

Virtual tests may be used to define multiple tests using the same binary
with different execution options/settings

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit b26f73b)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 53fff9a)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 3db0cf6)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit b99c923)
…other files

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 5e5ba9b)
return a tuple with the page along with the JEDEC ID code.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 0999b23)
…ields

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit aaecaa3)
- add a new option to select which partition(s) and fields(s) to show
  when decoding an OTP image file
- add a new option to hide the OTP image file version

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 5ddfffb)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit dcba1de)
…ed as a NamedTuple

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 34f9f78)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 19f0c8f)
…58a706da3

Address `TypeError: unhashable type: 'bytearray'` error message.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 801a433)
…on and retry count

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit e7a6918)
rivos-eblot and others added 20 commits February 4, 2025 13:59
…hen requested.

The power down command is not supported by the regular BootROM

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 1731304)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 4a27e9b)
…ral port value

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 124df2a)
(cherry picked from commit 58d2416)

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit e8b2d7f)
(cherry picked from commit 22e29e3)

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 30b4460)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 93634e7)
Partition with an underscore in their name could not be located.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit e1c0a43)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 3350cea)
… content.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit b370240)
This also removes a python3.10+ Python syntax

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 16a01f0)
…strings

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 1ecdb86)
…path

Do not emit result info on early failure when result mode is enabled

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 62beeb0)
…aries

Latest meson versions append an '-unsigned' suffix to the QEMU binaries.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 943a661)
…n hard-coded value

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 1548fde)
…state

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 5120132)
Despite the command opcodes being defined in the RTL code, there are never used.
What only matters is the index in the matching command info register.

Moreover, the CMD_INFO.VALID bit must be enforced for all commands, not only the
SW ones.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit af0964a)
Function name was confusing. It may also be called when no CS change occurs.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 12c6a1a)
Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 53ca0ed)
There may be more than on SPI device on a system

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit 468b0ee)
@rivos-eblot
Copy link
Author

I run OT tests from EG master branch (lowRISC/opentitan@97151d2d), there are no regression with these commits:

    INFO pyot.exec                      PASS count: 54
    INFO pyot.exec                      ERROR count: 19
    INFO pyot.exec                      ABORT count: 1
    INFO pyot.exec                      FAIL count: 50
    INFO pyot.exec                      TIMEOUT count: 48
    INFO pyot.exec                      Total count: 172, overall result: FAIL

@rivos-eblot rivos-eblot requested a review from jwnrt February 4, 2025 13:59
The lower bits of the destination register were not ignored, which led
to an invalid destination address.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit eb96992)
…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 <[email protected]>
(cherry picked from commit da26c59)
The smaller the delay, the faster the DMA transfer.

Signed-off-by: Emmanuel Blot <[email protected]>
(cherry picked from commit b2869e6)
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.

Obviously not reviewed in details due to the PR size but overall LGTM

@rivos-eblot rivos-eblot merged commit 5da377e into lowRISC:ot-earlgrey-9.1.0 Feb 5, 2025
6 of 7 checks passed
@rivos-eblot rivos-eblot deleted the dev/ebl/dj_backport branch February 5, 2025 10:03
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.

3 participants