# Third-party files and sources

Files in this repository that we did not write, or that are derived from someone else's work. License texts are in `licenses/`.

## Included, unmodified

| File here | Author | License | Source (commit) |
|---|---|---|---|
| `server/sbin/cmp-pcie-boot` | darkmaniac7 | MIT | darkmaniac7/cmp170hx-8gb-vfi-tools, `tools/pcie/` (`f422f80`) |
| `server/sbin/cmp-rmwalk` | darkmaniac7 | MIT | same |
| `server/sbin/cmp-e1steps` | darkmaniac7 | MIT | same |
| `server/sbin/cmp-gen4retrain` | darkmaniac7 | MIT | same |
| `server/sbin/cmp-gen23read` | darkmaniac7 | MIT | same |
| `server/sbin/cmp-gen-switch` | darkmaniac7 | MIT | same |
| `server/sbin/cmp-linkmon` | darkmaniac7 | MIT | same |
| `server/systemd/cmp-pcie-boot.service` | darkmaniac7 | MIT | same |
| `server/src/set_pcie_speed.c` | darkmaniac7 (after lixiangwuxian/170hx_tips) | MIT | darkmaniac7/cmp170hx-10gb-pcie-gen4, `tools/` (`33d7341`) |
| `server/vbios/check_rom.py` | polyuij42-del | MIT | polyuij42-del/cmp170hx-vbios-flash, `scripts/` (`943dfc5`) |

All of the above were compared byte for byte with the upstream files on 2026-11-27.

## Included, modified by us

| File here | Based on | Our change |
|---|---|---|
| `server/sbin/cmp-gen4retrain-fast` | `cmp-gen4retrain`, darkmaniac7, MIT | settle 60 s -> 10 s, one comment line |
| `server/tools/fbinfo.c` | `set_pcie_speed.c`, darkmaniac7, MIT | RM client setup kept; the speed request replaced by a read-only `FB_GET_INFO_V2` query |
| `server/systemd/cmp-pcie-boot.service.d/*.conf` | drop-ins for his unit | ours |

## Ours (MIT, see LICENSE)

`server/install.sh`, `server/sbin/cmp-pcie-fast`, `cmp-pcie-pre`, `cmp-bar1-boot`, `cmp-bar1set`,
`server/systemd/cmp-bar1-boot.service`, `server/modprobe/*`, `server/tools/smtest.cu`, `smtest8.sh`, `burn4.sh`,
`memtest-sel.sh`, `fuses.py`, `server/vbios/flash1.py`, `server/cmpunlocker/cmpunlocker-local.patch`
(a patch against GPL-2.0 code; the changed lines are ours and may be used under GPL-2.0 or MIT), all of `docs/`,
`README*`, `AGENTS*`.

`glitch/patches/*.patch` are our small changes to two MIT-licensed tools (dalzyu/pico-ga100vfi and
sayhellotojungle/cmp170hx-ffcalc); the tools themselves are not included.

## Referenced, not included

| What | Where | Why not here |
|---|---|---|
| cmpunlocker | https://github.com/amoghmunikote/cmpunlocker (GPL-2.0), commit `2c7e2ec` | fetched by `install.sh` from its author |
| `fb-geometry-80g.patch` | https://github.com/darkmaniac7/cmp170hx-8gb-vfi-tools `driver/` (MIT) | fetched by `install.sh` at a pinned commit, sha256 checked |
| vLLM patch set and launch scripts for Qwen3.8-Flash-Next | https://github.com/g4bwy/qwen3.8-flash-next-cmp-170hx | no license file |
| Gen3 tips | https://github.com/lixiangwuxian/170hx_tips | no license file |
| VBIOS images | your own card, or the TechPowerUp VBIOS collection | NVIDIA firmware |
| nvflash | TechPowerUp | NVIDIA utility |
| NVIDIA driver, open-gpu-kernel-modules | NVIDIA apt repository | fetched at install time |
| cuda_memtest, gpu_burn | linked in docs/05 | fetched by the user |
| Voltage-glitch tooling | dalzyu/pico-ga100vfi, darkmaniac7/cmp170hx-8gb-vfi-tools, sayhellotojungle/cmp170hx-ffcalc | use the originals |

Knowledge base used throughout: https://cmp.wiki (CC BY-SA 4.0).
