Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ See code for all available configurations.
| [Asus Zenbook Duo 14 UX481](asus/zenbook/ux481/nvidia/) | `<nixos-hardware/asus/zenbook/ux481/nvidia>` | `asus-zenbook-ux481-nvidia` |
| [Asus Zenbook Flip S13 UX371](asus/zenbook/ux371/) | `<nixos-hardware/asus/zenbook/ux371>` | `asus-zenbook-ux371` |
| [Asus Zenbook Pro 15 UX535](asus/zenbook/ux535/) | `<nixos-hardware/asus/zenbook/ux535>` | `asus-zenbook-ux535` |
| [Asrock Rack ALTRAD8UD-1L2T](asrock-rack/altrad8ud-1l2t) | `<nixos-hardware/asrock-rack/altrad8ud-1l2t>` | `asrock-rack-altrad8ud-1l2t` |
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | `beagleboard-pocketbeagle` |
| [Chuwi MiniBook X](chuwi/minibook-x) | `<nixos-hardware/chuwi/minibook-x>` | `chuwi-minibook-x` |
| [Deciso DEC series](deciso/dec) | `<nixos-hardware/deciso/dec>` | `deciso-dec` |
Expand Down
44 changes: 44 additions & 0 deletions asrock-rack/altrad8ud-1l2t/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# ASRock Rack ALTRAD8UD-1L2T

This is a popular motherboard for the [Ampere Altra](https://amperecomputing.com/briefs/ampere-altra-family-product-brief) family of CPUs.

It is used in for example the [System76 Thelio Astra](https://system76.com/desktops/thelio-astra-a1.1-n1/configure)

```shellsession
$ pciutils -nn
0000:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0000:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0001:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0001:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0002:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0002:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0002:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
0002:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
0002:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
0002:01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN850X NVMe SSD [15b7:5030] (rev 01)
0003:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0003:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0003:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
0003:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
0003:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
0003:01:00.0 PCI bridge [0604]: ASRock Incorporation Device [1849:1150] (rev 04)
0003:02:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41)
0003:03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller X550 [8086:1563] (rev 01)
0003:03:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller X550 [8086:1563] (rev 01)
0003:04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM3042 USB 3.2 Gen 1 xHCI Controller [1b21:3042]
0003:05:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
0004:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0004:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
0005:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
0005:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
000c:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
000c:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
000c:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
000c:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
000c:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
000d:00:00.0 Host bridge [0600]: Ampere Computing, LLC Altra PCI Express Root Complex A [1def:e100]
000d:00:01.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a0 [1def:e101] (rev 04)
000d:00:02.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a1 [1def:e102] (rev 04)
000d:00:03.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a2 [1def:e103] (rev 04)
000d:00:04.0 PCI bridge [0604]: Ampere Computing, LLC Altra PCI Express Root Port a3 [1def:e104] (rev 04)
```
10 changes: 10 additions & 0 deletions asrock-rack/altrad8ud-1l2t/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
imports = [ ../../common/networking/intel/x550 ];

boot.initrd.availableKernelModules = [
"xhci_pci"
"usb_storage"
"nvme"
];
nixpkgs.hostPlatform = "aarch64-linux";
}
36 changes: 36 additions & 0 deletions common/networking/intel/x550/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# The x550 supports 5G but the driver does not enable it by default
# https://forum.proxmox.com/threads/x550-x550-t2-duplex-auto-negotiation.116776/
{
systemd.network.links."80-x550" = {
matchConfig = {
Driver = "ixgbe";
Property = [
"ID_MODEL_ID=0x1563"
"ID_VENDOR_ID=0x8086"
];
};
linkConfig.Advertise = [
"100baset-full"
"1000baset-full"
"2500baset-full"
"5000baset-full"
"10000baset-full"
];
linkConfig.NamePolicy = [
"keep"
"kernel"
"database"
"onboard"
"slot"
"path"
];
linkConfig.AlternativeNamesPolicy = [
"database"
"onboard"
"slot"
"path"
"mac"
];
linkConfig.MACAddressPolicy = "persistent";
};
}
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
apple-macbook-pro-14-1 = import ./apple/macbook-pro/14-1;
apple-macmini-4-1 = import ./apple/macmini/4;
apple-t2 = import ./apple/t2;
asrock-rack-altrad8ud-1l2t = import ./asrock-rack/altrad8ud-1l2t;
asus-battery = import ./asus/battery.nix;
asus-ally-rc71l = import ./asus/ally/rc71l;
asus-fx504gd = import ./asus/fx504gd;
Expand Down Expand Up @@ -410,6 +411,7 @@
common-gpu-nvidia-nonprime = import ./common/gpu/nvidia;
common-gpu-nvidia-disable = import ./common/gpu/nvidia/disable.nix;
common-hidpi = import ./common/hidpi.nix;
common-networking-intel-x550 = import ./common/networking/intel/x550;
common-pc = import ./common/pc;
common-pc-hdd = import ./common/pc/hdd;
common-pc-laptop = import ./common/pc/laptop;
Expand Down
Loading