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 | |
# | |
# Simple Intel x520 EEPROM patcher | |
# Modifies the EEPROM to unlock the card for non-intel branded SFP modules. | |
# | |
# Copyright 2020,2021,2022 Andreas Thienemann <[email protected]> | |
# | |
# Licensed under the GPLv3 | |
# | |
# Based on research described at https://forums.servethehome.com/index.php?threads/patching-intel-x520-eeprom-to-unlock-all-sfp-transceivers.24634/ |
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
unqualified-search-registries = ['docker.io'] | |
[[registry]] | |
prefix = "docker.io" | |
location = "registry-1.docker.io" | |
[[registry.mirror]] | |
location = "mirror.gcr.io" | |
[[registry.mirror]] | |
location = "registry.ipv6.docker.com" |
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
dave@dave-arm-dev-1:~$ lscpu | |
Architecture: aarch64 | |
CPU op-mode(s): 64-bit | |
Byte Order: Little Endian | |
CPU(s): 4 | |
On-line CPU(s) list: 0-3 | |
Vendor ID: ARM | |
Model name: Neoverse-N1 | |
Model: 1 | |
Thread(s) per core: 1 |
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
List of pre-defined events (to be used in -e): | |
cpu-cycles OR cycles [Hardware event] | |
alignment-faults [Software event] | |
bpf-output [Software event] | |
cgroup-switches [Software event] | |
context-switches OR cs [Software event] | |
cpu-clock [Software event] | |
cpu-migrations OR migrations [Software event] |
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
[dave@dave-mac ~]$ sudo perf list | |
List of pre-defined events (to be used in -e): | |
alignment-faults [Software event] | |
bpf-output [Software event] | |
cgroup-switches [Software event] | |
context-switches OR cs [Software event] | |
cpu-clock [Software event] | |
cpu-migrations OR migrations [Software event] |
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
alignment-faults [Software event] | |
bpf-output [Software event] | |
cgroup-switches [Software event] | |
context-switches OR cs [Software event] | |
cpu-clock [Software event] | |
cpu-migrations OR migrations [Software event] | |
dummy [Software event] | |
emulation-faults [Software event] | |
major-faults [Software event] | |
minor-faults [Software event] |
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
alignment-faults [Software event] | |
bpf-output [Software event] | |
cgroup-switches [Software event] | |
context-switches OR cs [Software event] | |
cpu-clock [Software event] | |
cpu-migrations OR migrations [Software event] | |
dummy [Software event] | |
emulation-faults [Software event] | |
major-faults [Software event] | |
minor-faults [Software event] |
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
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x413fd0c1] | |
[ 0.000000] Linux version 5.15.0-1013-gcp (buildd@bos02-arm64-029) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #18-Ubuntu SMP Sun Jul 3 05:04:03 UTC 2022 (Ubuntu 5.15.0-1013.18-gcp 5.15.39) | |
[ 0.000000] efi: EFI v2.70 by EDK II | |
[ 0.000000] efi: SMBIOS=0xffff0000 TPMFinalLog=0x4385e0000 ACPI 2.0=0x4385d0018 MEMATTR=0x43a366418 MOKvar=0x43a43a000 TPMEventLog=0x43815b018 RNG=0x43bfdee18 MEMRESERVE=0x4384fca18 | |
[ 0.000000] efi: seeding entropy pool | |
[ 0.000000] random: fast init done | |
[ 0.000000] secureboot: Secure boot disabled | |
[ 0.000000] ACPI: Early table checksum verification disabled | |
[ 0.000000] ACPI: RSDP 0x00000004385D0018 000024 (v02 Google) | |
[ 0.000000] ACPI: XSDT 0x00000004385DFE98 000074 (v01 Google GOOGFACP 00000001 01000013) |
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 bash | |
# | |
# Run parallel commands and fail if any of them fails. | |
# | |
set -eu | |
pids=() | |
for x in 1 2 3; do |