Add opentitanlib-based testing#316
Open
cfrantz wants to merge 5 commits into
Open
Conversation
9435880 to
fa26eec
Compare
e61982a to
c759aeb
Compare
Signed-off-by: Chris Frantz <cfrantz@google.com>
c759aeb to
ad950a4
Compare
moidx
approved these changes
Jul 10, 2026
Signed-off-by: Chris Frantz <cfrantz@google.com>
Signed-off-by: Chris Frantz <cfrantz@google.com>
Implement a functional host-based test harness for the `usbdfu` test. - Improve firmware to support DFU loopback (download/upload) on Alt 0. - firmware erases 64KB starting at 0xA0000 on block 0 of download, and programs subsequent blocks. - firmware supports upload on Alt 0 to read back programmed data. - Implement `host_usb_dfu_check.rs` host harness which reset target, captures serial number, claims DFU interface, and performs download/upload verification loop. - Add README.md describing the test. TAG=agy CONV=37898f8b-5d74-4dc6-95c2-98f7e13bd162
Document existing integration tests and provide a guide for writing new tests (both self-contained and host-harness-based). TAG=agy CONV=37898f8b-5d74-4dc6-95c2-98f7e13bd162
ad950a4 to
0f06d25
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.