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
#!/usr/bin/env python3 | |
import socket | |
import sys | |
import struct | |
if len(sys.argv) != 2: | |
print("usage: {} intf".format(sys.argv[0])) | |
print("interfaces:") | |
for idx, name in socket.if_nameindex(): | |
print("{}: {}".format(idx, name)) |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <time.h> | |
#if !defined(_WIN32) | |
#include <sys/socket.h> | |
#include <netdb.h> | |
#include <arpa/inet.h> | |
#include <net/if.h> |
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
Debug: 12382 1056 riscv-013.c:783 execute_abstract_command(): command=0x22100e; access register, size=32, postexec=0, transfer=1, write=0, regno=0x100e | |
Debug: 12383 1056 mpsse.c:630 mpsse_set_data_bits_high_byte(): - | |
Debug: 12384 1056 mpsse.c:445 buffer_write_byte(): 82 | |
Debug: 12385 1056 mpsse.c:445 buffer_write_byte(): 09 | |
Debug: 12386 1056 mpsse.c:445 buffer_write_byte(): 0b | |
Debug: 12387 1056 ftdi.c:424 ftdi_execute_scan(): IRSCAN type:2 | |
Debug: 12388 1056 ftdi.c:254 move_to_state(): start=RUN/IDLE goal=IRSHIFT | |
Debug: 12389 1056 ftdi.c:258 move_to_state(): tap_set_state(DRSELECT) | |
Debug: 12390 1056 ftdi.c:258 move_to_state(): tap_set_state(IRSELECT) | |
Debug: 12391 1056 ftdi.c:258 move_to_state(): tap_set_state(IRCAPTURE) |
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
// Copyright lowRISC contributors. | |
// Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
// SPDX-License-Identifier: Apache-2.0 | |
#include <stdbool.h> | |
#include "sw/device/lib/runtime/log.h" | |
#include "sw/device/lib/testing/test_framework/ottf_main.h" | |
#include "sw/device/silicon_creator/lib/drivers/lifecycle.h" | |
#include "sw/device/silicon_creator/lib/drivers/otp.h" |
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
# Copyright lowRISC contributors. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
load("//rules:splice.bzl", "bitstream_splice") | |
load("//rules:otp.bzl", "get_otp_images") | |
package(default_visibility = ["//visibility:public"]) | |
# By default, targets in this file will use cached artifacts from the GCP bucket |
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
def _rv_alias_impl(ctx): | |
files = ctx.attr.actual[DefaultInfo].files | |
runfiles = ctx.runfiles(files.to_list()) | |
return [DefaultInfo(files = files, runfiles = runfiles)] |
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
// Copyright lowRISC contributors. | |
// Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
// SPDX-License-Identifier: Apache-2.0 | |
// This file was automatically generated using opentitantool from: | |
// sw/device/silicon_creator/lib/cert/cdi_1.hjson | |
extern "C" { | |
#include "cdi_1.h" | |
} |
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
*** first_run.txt 2024-01-16 17:30:23.025313609 +0000 | |
--- second_run.txt 2024-01-16 17:30:26.157314885 +0000 | |
*************** | |
*** 70267,70287 **** | |
hash: "8518aa373b12ccb94ec2196fe2586544184496c635987217ce3293e4890c3b0b" | |
size_bytes: 7533 | |
hash_function_name: "SHA-256" | |
} | |
} | |
runner: "processwrapper-sandbox" |
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
diff --git a/sw/device/silicon_creator/lib/cert/uds.hjson b/sw/device/silicon_creator/lib/cert/uds.hjson | |
index 6a9ec3621b..238a672f1b 100644 | |
--- a/sw/device/silicon_creator/lib/cert/uds.hjson | |
+++ b/sw/device/silicon_creator/lib/cert/uds.hjson | |
@@ -98,6 +98,7 @@ | |
// https://pigweed.googlesource.com/open-dice/+/refs/heads/main/docs/specification.md#certificate-details | |
// The standard extensions are fixed by the specification. | |
basic_constraints: { ca: true }, | |
+ key_usage: { cert_sign: true }, | |
private_extensions: [ |
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
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock | |
index 2923d8acb2..2d0771949a 100644 | |
--- a/MODULE.bazel.lock | |
+++ b/MODULE.bazel.lock | |
@@ -13694,7 +13694,7 @@ | |
}, | |
"@@toolchains_llvm~//toolchain/extensions:llvm.bzl%llvm": { | |
"general": { | |
- "bzlTransitiveDigest": "i2QyNjD/qcSQlxaKhQjSN1uw8mm+ZusH07AWV6RnyQU=", | |
+ "bzlTransitiveDigest": "M4HHCg9Yz0gvoVQnnqi5wlJY1oxlqaj4Khqr94ZjtXo=", |