Skip to content

Commit

Permalink
[ot-container] Add changes for FPGA debugging on Berserker
Browse files Browse the repository at this point in the history
Signed-off-by: Pirmin Vogel <[email protected]>
  • Loading branch information
vogelpi committed Oct 28, 2024
1 parent 457750b commit 03a58ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rules/nonhermetic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ NONHERMETIC_ENV_VARS = [
"XILINX_VIVADO",
"XILINX_HLS",
"XILINXD_LICENSE_FILE",
"LD_PRELOAD",
]

def _nonhermetic_repo_impl(rctx):
Expand Down
2 changes: 1 addition & 1 deletion sw/host/opentitanlib/src/backend/chip_whisperer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn create<B: Board + 'static>(args: &BackendOpts) -> Result<Box<dyn Transpor
.uarts
.as_ref()
.map(|v| v.split(',').collect::<Vec<&str>>())
.unwrap_or_default();
.unwrap_or(vec!("/dev/ttyACM5", "/dev/ttyACM4"));

Ok(Box::new(ChipWhisperer::<B>::new(
args.usb_vid,
Expand Down
2 changes: 1 addition & 1 deletion sw/host/opentitanlib/src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mod verilator;
#[derive(Debug, Args)]
pub struct BackendOpts {
/// Name of the debug interface.
#[arg(long, default_value = "")]
#[arg(long, default_value = "cw310")]
pub interface: String,

/// Whether to disable DFT with a strapping config during reset. Only required in TestUnlocked*
Expand Down

0 comments on commit 03a58ab

Please sign in to comment.