From 9fe3a51ae320e33bda44d9ee79b12fb8358a0f7a Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Tue, 30 Jan 2024 12:30:50 -0700 Subject: [PATCH] addw4: Add Adder WS 4 Signed-off-by: Tim Crawford --- CHANGELOG.md | 1 + models/README.md | 1 + models/addw4/IntelGopDriver.efi | 3 + models/addw4/IntelGopDriver.inf | 9 + models/addw4/README.md | 12 + models/addw4/README.md.in | 1 + models/addw4/chip.txt | 1 + models/addw4/coreboot-collector.txt | 326 ++++++++++++++++++++++++++++ models/addw4/coreboot.config | 19 ++ models/addw4/ec.config | 1 + models/addw4/ecspy.txt | 89 ++++++++ models/addw4/edk2.config | 9 + models/addw4/fd.rom | 3 + models/addw4/me.rom | 3 + models/addw4/vbt.rom | 3 + 15 files changed, 481 insertions(+) create mode 100644 models/addw4/IntelGopDriver.efi create mode 100644 models/addw4/IntelGopDriver.inf create mode 100644 models/addw4/README.md create mode 100644 models/addw4/README.md.in create mode 100644 models/addw4/chip.txt create mode 100644 models/addw4/coreboot-collector.txt create mode 100644 models/addw4/coreboot.config create mode 100644 models/addw4/ec.config create mode 100644 models/addw4/ecspy.txt create mode 100644 models/addw4/edk2.config create mode 100644 models/addw4/fd.rom create mode 100644 models/addw4/me.rom create mode 100644 models/addw4/vbt.rom diff --git a/CHANGELOG.md b/CHANGELOG.md index ba879fb..b6954be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ features apply to your model and firmware version, see the - rpl: Fixed `SLP_S0#` counter frequency - tgl: Fixed TBT ACPI - Fixed RTC being reset on boot during February 29th +- addw4: Added initial release of open firmware with System76 EC ## 2024-01-18 diff --git a/models/README.md b/models/README.md index c0bcafe..6f75ea3 100644 --- a/models/README.md +++ b/models/README.md @@ -5,6 +5,7 @@ - [addw1](./addw1) - System76 Adder Workstation (addw1) - [addw2](./addw2) - System76 Adder WS (addw2) - [addw3](./addw3) - System76 Adder WS (addw3) +- [addw4](./addw4) - System76 Adder WS (addw4) - [bonw14](./bonw14) - System76 Bonobo WS (bonw14) - [bonw15](./bonw15) - System76 Bonobo WS (bonw15) - [darp5](./darp5) - System76 Darter Pro (darp5) diff --git a/models/addw4/IntelGopDriver.efi b/models/addw4/IntelGopDriver.efi new file mode 100644 index 0000000..9532396 --- /dev/null +++ b/models/addw4/IntelGopDriver.efi @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:131c32cadb6716dba59d13891bb70213c6ee931dd1e8b1a5593dee6f3a4c2cbd +size 142528 diff --git a/models/addw4/IntelGopDriver.inf b/models/addw4/IntelGopDriver.inf new file mode 100644 index 0000000..39b2eb9 --- /dev/null +++ b/models/addw4/IntelGopDriver.inf @@ -0,0 +1,9 @@ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = IntelGopDriver + FILE_GUID = 767222f4-a9f4-41ba-9faa-edaa1405a486 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + +[Binaries.X64] + PE32|IntelGopDriver.efi|* diff --git a/models/addw4/README.md b/models/addw4/README.md new file mode 100644 index 0000000..827b1da --- /dev/null +++ b/models/addw4/README.md @@ -0,0 +1,12 @@ +# System76 Adder WS (addw4) + +## Contents + +- [EC](./ec.rom) + - *Read Error: No such file or directory (os error 2)* +- [FD](./fd.rom) + - Size: 4 KB + - HAP: false +- [ME](./me.rom) + - Size: 3944 KB + - Version: 16.1.30.2255 diff --git a/models/addw4/README.md.in b/models/addw4/README.md.in new file mode 100644 index 0000000..69f9eb5 --- /dev/null +++ b/models/addw4/README.md.in @@ -0,0 +1 @@ +# System76 Adder WS (addw4) diff --git a/models/addw4/chip.txt b/models/addw4/chip.txt new file mode 100644 index 0000000..ef16711 --- /dev/null +++ b/models/addw4/chip.txt @@ -0,0 +1 @@ +GD25Q256D diff --git a/models/addw4/coreboot-collector.txt b/models/addw4/coreboot-collector.txt new file mode 100644 index 0000000..7e93475 --- /dev/null +++ b/models/addw4/coreboot-collector.txt @@ -0,0 +1,326 @@ +## PCI ## +PCI Device: 0000:00:00.0: Class 0x00060000, Vendor 0x8086, Device 0xA702, Revision 0x01 +PCI Device: 0000:00:01.0: Class 0x00060400, Vendor 0x8086, Device 0xA70D, Revision 0x01 +PCI Device: 0000:00:02.0: Class 0x00030000, Vendor 0x8086, Device 0xA788, Revision 0x04 +PCI Device: 0000:00:04.0: Class 0x00118000, Vendor 0x8086, Device 0xA71D, Revision 0x01 +PCI Device: 0000:00:08.0: Class 0x00088000, Vendor 0x8086, Device 0xA74F, Revision 0x01 +PCI Device: 0000:00:0a.0: Class 0x00118000, Vendor 0x8086, Device 0xA77D, Revision 0x01 +PCI Device: 0000:00:0e.0: Class 0x00010400, Vendor 0x8086, Device 0xA77F, Revision 0x00 +PCI Device: 0000:00:14.0: Class 0x000C0330, Vendor 0x8086, Device 0x7A60, Revision 0x11 +PCI Device: 0000:00:14.2: Class 0x00050000, Vendor 0x8086, Device 0x7A27, Revision 0x11 +PCI Device: 0000:00:14.3: Class 0x00028000, Vendor 0x8086, Device 0x7A70, Revision 0x11 +PCI Device: 0000:00:15.0: Class 0x000C8000, Vendor 0x8086, Device 0x7A4C, Revision 0x11 +PCI Device: 0000:00:15.1: Class 0x000C8000, Vendor 0x8086, Device 0x7A4D, Revision 0x11 +PCI Device: 0000:00:15.3: Class 0x000C8000, Vendor 0x8086, Device 0x7A4F, Revision 0x11 +PCI Device: 0000:00:16.0: Class 0x00078000, Vendor 0x8086, Device 0x7A68, Revision 0x11 +PCI Device: 0000:00:1c.0: Class 0x00060400, Vendor 0x8086, Device 0x7A3A, Revision 0x11 +PCI Device: 0000:00:1f.0: Class 0x00060100, Vendor 0x8086, Device 0x7A0C, Revision 0x11 +PCI Device: 0000:00:1f.3: Class 0x00040380, Vendor 0x8086, Device 0x7A50, Revision 0x11 +PCI Device: 0000:00:1f.4: Class 0x000C0500, Vendor 0x8086, Device 0x7A23, Revision 0x11 +PCI Device: 0000:00:1f.5: Class 0x000C8000, Vendor 0x8086, Device 0x7A24, Revision 0x11 +PCI Device: 0000:01:00.0: Class 0x00030000, Vendor 0x10DE, Device 0x2820, Revision 0xA1 +PCI Device: 0000:01:00.1: Class 0x00040300, Vendor 0x10DE, Device 0x22BD, Revision 0xA1 +PCI Device: 0000:02:00.0: Class 0x00020000, Vendor 0x10EC, Device 0x8168, Revision 0x15 +PCI Device: 10000:e0:1d.0: Class 0x00088000, Vendor 0x8086, Device 0x09AB, Revision 0x00 +PCI Device: 10000:e0:1d.4: Class 0x00060400, Vendor 0x8086, Device 0x7A34, Revision 0x11 +PCI Device: 10000:e1:00.0: Class 0x00010802, Vendor 0x144D, Device 0xA80A, Revision 0x00 +## GPIO ## +600 Series PCH +GPP_I0 (0x6E,0x00) 0x84000200 0x00000018 0x00000000 0x00000000 +GPP_I1 (0x6E,0x02) 0x82000500 0x00000019 0x00000000 0x00000000 +GPP_I2 (0x6E,0x04) 0x86880100 0x0000001a 0x00000000 0x00000000 +GPP_I3 (0x6E,0x06) 0x82000502 0x0000001b 0x00000000 0x00000000 +GPP_I4 (0x6E,0x08) 0x84000200 0x0000001c 0x00000000 0x00000000 +GPP_I5 (0x6E,0x0A) 0x44000200 0x0000001d 0x00000000 0x00000000 +GPP_I6 (0x6E,0x0C) 0x44000200 0x0000001e 0x00000000 0x00000000 +GPP_I7 (0x6E,0x0E) 0x44000200 0x00000020 0x00000000 0x00000000 +GPP_I8 (0x6E,0x10) 0x44000102 0x00000021 0x00000000 0x00000000 +GPP_I9 (0x6E,0x12) 0x44000200 0x00000022 0x00000000 0x00000000 +GPP_I10 (0x6E,0x14) 0x44000200 0x00000023 0x00000000 0x00000000 +GPP_I11 (0x6E,0x16) 0x44000102 0x00000024 0x00000000 0x00000000 +GPP_I12 (0x6E,0x18) 0x44000102 0x00000025 0x00000000 0x00000000 +GPP_I13 (0x6E,0x1A) 0x44000902 0x00000026 0x00000000 0x00000000 +GPP_I14 (0x6E,0x1C) 0x44000902 0x00000027 0x00000000 0x00000000 +GPP_I15 (0x6E,0x1E) 0x44000200 0x00000028 0x00000000 0x00000000 +GPP_I16 (0x6E,0x20) 0x44000200 0x00000029 0x00000000 0x00000000 +GPP_I17 (0x6E,0x22) 0x44000200 0x0000002a 0x00000000 0x00000000 +GPP_I18 (0x6E,0x24) 0x44000200 0x0000002b 0x00000000 0x00000000 +GPP_I19 (0x6E,0x26) 0x44000200 0x0000002c 0x00000000 0x00000000 +GPP_I20 (0x6E,0x28) 0x44000200 0x0000002d 0x00000000 0x00000000 +GPP_I21 (0x6E,0x2A) 0x44000200 0x0000002e 0x00000000 0x00000000 +GPP_I22 (0x6E,0x2C) 0x44000200 0x00000030 0x00000000 0x00000000 +GPP_R0 (0x6E,0x32) 0x44000600 0x00000031 0x00000000 0x00000000 +GPP_R1 (0x6E,0x34) 0x44000600 0x00003c32 0x00000000 0x00000000 +GPP_R2 (0x6E,0x36) 0x44000600 0x00003c33 0x00000000 0x00000000 +GPP_R3 (0x6E,0x38) 0x44000500 0x00003c34 0x00000000 0x00000000 +GPP_R4 (0x6E,0x3A) 0x44000600 0x00000035 0x00000000 0x00000000 +GPP_R5 (0x6E,0x3C) 0x44000200 0x00000036 0x00000000 0x00000000 +GPP_R6 (0x6E,0x3E) 0x44000200 0x00000037 0x00000000 0x00000000 +GPP_R7 (0x6E,0x40) 0x44000200 0x00000038 0x00000000 0x00000000 +GPP_R8 (0x6E,0x42) 0x44000100 0x00000039 0x00000000 0x00000000 +GPP_R9 (0x6E,0x44) 0x44000702 0x0000003a 0x00000000 0x00000000 +GPP_R10 (0x6E,0x46) 0x44000200 0x0000003b 0x00000000 0x00000000 +GPP_R11 (0x6E,0x48) 0x44000200 0x0000003c 0x00000000 0x00000000 +GPP_R12 (0x6E,0x4A) 0x44000200 0x0000003d 0x00000000 0x00000000 +GPP_R13 (0x6E,0x4C) 0x44000200 0x0000003e 0x00000000 0x00000000 +GPP_R14 (0x6E,0x4E) 0x44000200 0x0000003f 0x00000000 0x00000000 +GPP_R15 (0x6E,0x50) 0x44000200 0x00000040 0x00000000 0x00000000 +GPP_R16 (0x6E,0x52) 0x44000200 0x00000041 0x00000000 0x00000000 +GPP_R17 (0x6E,0x54) 0x44000200 0x00000042 0x00000000 0x00000000 +GPP_R18 (0x6E,0x56) 0x44000200 0x00000043 0x00000000 0x00000000 +GPP_R19 (0x6E,0x58) 0x44000102 0x00000044 0x00000000 0x00000000 +GPP_R20 (0x6E,0x5A) 0x44000200 0x00000045 0x00000000 0x00000000 +GPP_R21 (0x6E,0x5C) 0x44000200 0x00000046 0x00000000 0x00000000 +GPP_J0 (0x6E,0x60) 0x44000500 0x00000047 0x00000000 0x00000000 +GPP_J1 (0x6E,0x62) 0x44000700 0x00000048 0x00000000 0x00000000 +GPP_J2 (0x6E,0x64) 0x44000500 0x00000049 0x00000000 0x00000000 +GPP_J3 (0x6E,0x66) 0x44000502 0x0000304a 0x00000000 0x00000000 +GPP_J4 (0x6E,0x68) 0x44000500 0x0000004b 0x00000000 0x00000000 +GPP_J5 (0x6E,0x6A) 0x44000500 0x0000304c 0x00000000 0x00000000 +GPP_J6 (0x6E,0x6C) 0x44000500 0x0000004d 0x00000000 0x00000000 +GPP_J7 (0x6E,0x6E) 0x44000500 0x0000004e 0x00000000 0x00000000 +GPP_J8 (0x6E,0x70) 0x44000102 0x00000050 0x00000000 0x00000000 +GPP_J9 (0x6E,0x72) 0x44000200 0x00000051 0x00000000 0x00000000 +GPP_J10 (0x6E,0x74) 0x44000200 0x00000052 0x00000000 0x00000000 +GPP_J11 (0x6E,0x76) 0x44000200 0x00000053 0x00000000 0x00000000 +GPP_B0 (0x6D,0x00) 0x40100102 0x00003050 0x00000000 0x00000000 +GPP_B1 (0x6D,0x02) 0x44000102 0x00000051 0x00000000 0x00000000 +GPP_B2 (0x6D,0x04) 0x44000102 0x00000052 0x00000000 0x00000000 +GPP_B3 (0x6D,0x06) 0x84000201 0x00000053 0x00000000 0x00000000 +GPP_B4 (0x6D,0x08) 0x44000200 0x00000054 0x00000000 0x00000000 +GPP_B5 (0x6D,0x0A) 0x44000200 0x00000055 0x00000000 0x00000000 +GPP_B6 (0x6D,0x0C) 0x44000200 0x00000056 0x00000000 0x00000000 +GPP_B7 (0x6D,0x0E) 0x44000200 0x00000057 0x00000000 0x00000000 +GPP_B8 (0x6D,0x10) 0x44000200 0x00000058 0x00000000 0x00000000 +GPP_B9 (0x6D,0x12) 0x44000200 0x00000059 0x00000000 0x00000000 +GPP_B10 (0x6D,0x14) 0x44000200 0x0000005a 0x00000000 0x00000000 +GPP_B11 (0x6D,0x16) 0x44000200 0x0000005b 0x00000000 0x00000000 +GPP_B12 (0x6D,0x18) 0x44000200 0x0000005c 0x00000000 0x00000000 +GPP_B13 (0x6D,0x1A) 0x44000700 0x0000005d 0x00000000 0x00000000 +GPP_B14 (0x6D,0x1C) 0x44000500 0x0000005e 0x00000000 0x00000000 +GPP_B15 (0x6D,0x1E) 0x44000200 0x0000005f 0x00000000 0x00000000 +GPP_B16 (0x6D,0x20) 0x44000200 0x00000060 0x00000000 0x00000000 +GPP_B17 (0x6D,0x22) 0x44000200 0x00000061 0x00000000 0x00000000 +GPP_B18 (0x6D,0x24) 0x04000702 0x00000062 0x00000000 0x00000000 +GPP_B19 (0x6D,0x26) 0x44000201 0x00000063 0x00000000 0x00000000 +GPP_B20 (0x6D,0x28) 0x44000200 0x00000064 0x00000000 0x00000000 +GPP_B21 (0x6D,0x2A) 0x44000200 0x00000065 0x00000000 0x00000000 +GPP_B22 (0x6D,0x2C) 0x44000200 0x00000066 0x00000000 0x00000000 +GPP_B23 (0x6D,0x2E) 0x44000102 0x00000067 0x00000800 0x00000000 +GPP_G0 (0x6D,0x30) 0x44000200 0x00000068 0x00000000 0x00000000 +GPP_G1 (0x6D,0x32) 0x44000200 0x00000069 0x00000000 0x00000000 +GPP_G2 (0x6D,0x34) 0x44000200 0x0000006a 0x00000000 0x00000000 +GPP_G3 (0x6D,0x36) 0x44000102 0x0000006b 0x00000000 0x00000000 +GPP_G4 (0x6D,0x38) 0x44000102 0x0000006c 0x00000000 0x00000000 +GPP_G5 (0x6D,0x3A) 0x44000600 0x0000006d 0x00000000 0x00000000 +GPP_G6 (0x6D,0x3C) 0x44000100 0x0000006e 0x00000000 0x00000000 +GPP_G7 (0x6D,0x3E) 0x44000100 0x0000006f 0x00000000 0x00000000 +GPP_H0 (0x6D,0x40) 0x44000102 0x00000070 0x00000000 0x00000000 +GPP_H1 (0x6D,0x42) 0x44000200 0x00000071 0x00000000 0x00000000 +GPP_H2 (0x6D,0x44) 0x44000102 0x00000072 0x00000000 0x00000000 +GPP_H3 (0x6D,0x46) 0x44000300 0x00000073 0x00000000 0x00000000 +GPP_H4 (0x6D,0x48) 0x44000700 0x00000074 0x00000000 0x00000000 +GPP_H5 (0x6D,0x4A) 0x44000702 0x00000075 0x00000000 0x00000000 +GPP_H6 (0x6D,0x4C) 0x44000702 0x00000076 0x00000000 0x00000000 +GPP_H7 (0x6D,0x4E) 0x44000700 0x00000077 0x00000000 0x00000000 +GPP_H8 (0x6D,0x50) 0x44000702 0x00000018 0x00000000 0x00000000 +GPP_H9 (0x6D,0x52) 0x44000700 0x00000019 0x00000000 0x00000000 +GPP_H10 (0x6D,0x54) 0x44000200 0x00000020 0x00000000 0x00000000 +GPP_H11 (0x6D,0x56) 0x44000200 0x00000021 0x00000000 0x00000000 +GPP_H12 (0x6D,0x58) 0x44000200 0x00000022 0x00000000 0x00000000 +GPP_H13 (0x6D,0x5A) 0x44000200 0x00000023 0x00000000 0x00000000 +GPP_H14 (0x6D,0x5C) 0x44000200 0x00000024 0x00000000 0x00000000 +GPP_H15 (0x6D,0x5E) 0x44000200 0x00000025 0x00000000 0x00000000 +GPP_H16 (0x6D,0x60) 0x44000200 0x00000026 0x00000000 0x00000000 +GPP_H17 (0x6D,0x62) 0x44000200 0x00000027 0x00000000 0x00000000 +GPP_H18 (0x6D,0x64) 0x44000200 0x00000028 0x00000000 0x00000000 +GPP_H19 (0x6D,0x66) 0x44000200 0x00000029 0x00000000 0x00000000 +GPP_H20 (0x6D,0x68) 0x44000200 0x0000002a 0x00000000 0x00000000 +GPP_H21 (0x6D,0x6A) 0x44000200 0x0000002b 0x00000000 0x00000000 +GPP_H22 (0x6D,0x6C) 0x44000200 0x0000002c 0x00000000 0x00000000 +GPP_H23 (0x6D,0x6E) 0x44000200 0x0000002d 0x00000000 0x00000000 +GPD0 (0x6C,0x00) 0x04000702 0x00003060 0x00000000 0x00000000 +GPD1 (0x6C,0x02) 0x04000702 0x00003c61 0x00000000 0x00000000 +GPD2 (0x6C,0x04) 0x44000200 0x00000062 0x00000000 0x00000000 +GPD3 (0x6C,0x06) 0x04000702 0x00003063 0x00000010 0x00000000 +GPD4 (0x6C,0x08) 0x04000600 0x00000064 0x00000000 0x00000000 +GPD5 (0x6C,0x0A) 0x04000600 0x00000065 0x00000000 0x00000000 +GPD6 (0x6C,0x0C) 0x44000600 0x00000066 0x00000000 0x00000000 +GPD7 (0x6C,0x0E) 0x44000200 0x00000067 0x00000800 0x00000000 +GPD8 (0x6C,0x10) 0x04000700 0x00000068 0x00000000 0x00000000 +GPD9 (0x6C,0x12) 0x04000200 0x00000069 0x00000000 0x00000000 +GPD10 (0x6C,0x14) 0x44000600 0x0000006a 0x00000000 0x00000000 +GPD11 (0x6C,0x16) 0x44000200 0x0000006b 0x00000000 0x00000000 +GPD12 (0x6C,0x18) 0x44000200 0x0000006c 0x00000000 0x00000000 +GPP_A0 (0x6B,0x12) 0x44000700 0x00003018 0x00000000 0x00000000 +GPP_A1 (0x6B,0x14) 0x44000702 0x00003019 0x00000000 0x00000000 +GPP_A2 (0x6B,0x16) 0x44000700 0x00003020 0x00000000 0x00000000 +GPP_A3 (0x6B,0x18) 0x44000700 0x00003021 0x00000000 0x00000000 +GPP_A4 (0x6B,0x1A) 0x44000700 0x00003022 0x00000000 0x00000000 +GPP_A5 (0x6B,0x1C) 0x44000700 0x00001023 0x00000000 0x00000000 +GPP_A6 (0x6B,0x1E) 0x44000700 0x00000024 0x00000000 0x00000000 +GPP_A7 (0x6B,0x20) 0x44000200 0x00000025 0x00000000 0x00000000 +GPP_A8 (0x6B,0x22) 0x44000200 0x00000026 0x00000000 0x00000000 +GPP_A9 (0x6B,0x24) 0x44000200 0x00000027 0x00000000 0x00000000 +GPP_A10 (0x6B,0x26) 0x44000702 0x00003028 0x00000000 0x00000000 +GPP_A11 (0x6B,0x28) 0x44000102 0x00003029 0x00000000 0x00000000 +GPP_A12 (0x6B,0x2A) 0x44000200 0x0000002a 0x00000000 0x00000000 +GPP_A13 (0x6B,0x2C) 0x44000200 0x0000002b 0x00000000 0x00000000 +GPP_A14 (0x6B,0x2E) 0x44000200 0x0000002c 0x00000000 0x00000000 +GPP_C0 (0x6B,0x32) 0x44000502 0x0000002d 0x00000000 0x00000000 +GPP_C1 (0x6B,0x34) 0x44000502 0x0000002e 0x00000000 0x00000000 +GPP_C2 (0x6B,0x36) 0x44000102 0x0000002f 0x00000800 0x00000000 +GPP_C3 (0x6B,0x38) 0x44000d02 0x00000030 0x00000000 0x00000000 +GPP_C4 (0x6B,0x3A) 0x44000d02 0x00000031 0x00000000 0x00000000 +GPP_C5 (0x6B,0x3C) 0x44000200 0x00000032 0x00000000 0x00000000 +GPP_C6 (0x6B,0x3E) 0x44000902 0x00000033 0x00000000 0x00000000 +GPP_C7 (0x6B,0x40) 0x44000902 0x00000034 0x00000000 0x00000000 +GPP_C8 (0x6B,0x42) 0x44000102 0x00000035 0x00000000 0x00000000 +GPP_C9 (0x6B,0x44) 0x44000200 0x00000036 0x00000000 0x00000000 +GPP_C10 (0x6B,0x46) 0x44000200 0x00000037 0x00000000 0x00000000 +GPP_C11 (0x6B,0x48) 0x44000200 0x00000038 0x00000000 0x00000000 +GPP_C12 (0x6B,0x4A) 0x44000200 0x00000039 0x00000000 0x00000000 +GPP_C13 (0x6B,0x4C) 0x44000200 0x0000003a 0x00000000 0x00000000 +GPP_C14 (0x6B,0x4E) 0x44000200 0x0000003b 0x00000000 0x00000000 +GPP_C15 (0x6B,0x50) 0x44000200 0x0000003c 0x00000000 0x00000000 +GPP_C16 (0x6B,0x52) 0x44000502 0x0000003d 0x00000000 0x00000000 +GPP_C17 (0x6B,0x54) 0x44000502 0x0000003e 0x00000000 0x00000000 +GPP_C18 (0x6B,0x56) 0x44000502 0x0000003f 0x00000000 0x00000000 +GPP_C19 (0x6B,0x58) 0x44000502 0x00000040 0x00000000 0x00000000 +GPP_C20 (0x6B,0x5A) 0x44000200 0x00000041 0x00000000 0x00000000 +GPP_C21 (0x6B,0x5C) 0x44000200 0x00000042 0x00000000 0x00000000 +GPP_C22 (0x6B,0x5E) 0x44000200 0x00000043 0x00000000 0x00000000 +GPP_C23 (0x6B,0x60) 0x44000200 0x00000044 0x00000000 0x00000000 +GPP_S0 (0x6A,0x00) 0x44000200 0x01800030 0x00000000 0x00000000 +GPP_S1 (0x6A,0x02) 0x44000200 0x01800031 0x00000000 0x00000000 +GPP_S2 (0x6A,0x04) 0x44000200 0x01800032 0x00000000 0x00000000 +GPP_S3 (0x6A,0x06) 0x44000200 0x01800033 0x00000000 0x00000000 +GPP_S4 (0x6A,0x08) 0x44000a00 0x01800034 0x00000000 0x00000000 +GPP_S5 (0x6A,0x0A) 0x44000900 0x01800035 0x00000000 0x00000000 +GPP_S6 (0x6A,0x0C) 0x44000200 0x01800036 0x00000000 0x00000000 +GPP_S7 (0x6A,0x0E) 0x44000200 0x01800037 0x00000000 0x00000000 +GPP_E0 (0x6A,0x10) 0x44000200 0x00000038 0x00000000 0x00000000 +GPP_E1 (0x6A,0x12) 0x44000200 0x00000039 0x00000000 0x00000000 +GPP_E2 (0x6A,0x14) 0x44000102 0x0000003a 0x00000000 0x00000000 +GPP_E3 (0x6A,0x16) 0x44000102 0x0000003b 0x00000000 0x00000000 +GPP_E4 (0x6A,0x18) 0x44000200 0x0000003c 0x00000000 0x00000000 +GPP_E5 (0x6A,0x1A) 0x44000200 0x0000003d 0x00000000 0x00000000 +GPP_E6 (0x6A,0x1C) 0x44000200 0x0000003e 0x00000000 0x00000000 +GPP_E7 (0x6A,0x1E) 0x80100102 0x0000003f 0x00000000 0x00000000 +GPP_E8 (0x6A,0x20) 0x44000600 0x00000040 0x00000000 0x00000000 +GPP_E9 (0x6A,0x22) 0x44000102 0x00000041 0x00000800 0x00000000 +GPP_E10 (0x6A,0x24) 0x44000102 0x00000042 0x00000800 0x00000000 +GPP_E11 (0x6A,0x26) 0x44000102 0x00000043 0x00000800 0x00000000 +GPP_E12 (0x6A,0x28) 0x44000102 0x00000044 0x00000000 0x00000000 +GPP_E13 (0x6A,0x2A) 0x44000200 0x00000045 0x00000000 0x00000000 +GPP_E14 (0x6A,0x2C) 0x44000200 0x00000046 0x00000000 0x00000000 +GPP_E15 (0x6A,0x2E) 0x44000200 0x00000047 0x00000000 0x00000000 +GPP_E16 (0x6A,0x30) 0x44000200 0x00000048 0x00000000 0x00000000 +GPP_E17 (0x6A,0x32) 0x44000102 0x00000049 0x00000000 0x00000000 +GPP_E18 (0x6A,0x34) 0x44000201 0x0000004a 0x00000000 0x00000000 +GPP_E19 (0x6A,0x36) 0x44000200 0x0000004b 0x00000000 0x00000000 +GPP_E20 (0x6A,0x38) 0x44000200 0x0000004c 0x00000000 0x00000000 +GPP_E21 (0x6A,0x3A) 0x44000200 0x0000004d 0x00000000 0x00000000 +GPP_K0 (0x6A,0x3E) 0x42800102 0x0000004e 0x00000000 0x00000000 +GPP_K1 (0x6A,0x40) 0x44000200 0x00000050 0x00000000 0x00000000 +GPP_K2 (0x6A,0x42) 0x44000200 0x00000051 0x00000000 0x00000000 +GPP_K3 (0x6A,0x44) 0x84000201 0x00000052 0x00000000 0x00000000 +GPP_K4 (0x6A,0x46) 0x44000200 0x00003053 0x00000000 0x00000000 +GPP_K5 (0x6A,0x48) 0x44000200 0x00000054 0x00000000 0x00000000 +GPP_K6 (0x6A,0x4A) 0x44000a02 0x00000055 0x00000000 0x00000000 +GPP_K7 (0x6A,0x4C) 0x44000a02 0x00000056 0x00000000 0x00000000 +GPP_K8 (0x6A,0x4E) 0x44000700 0x00000057 0x00000000 0x00000000 +GPP_K9 (0x6A,0x50) 0x44000700 0x00000058 0x00000000 0x00000000 +GPP_K10 (0x6A,0x52) 0x44000a02 0x00000059 0x00000000 0x00000000 +GPP_K11 (0x6A,0x54) 0x44000200 0x0000005a 0x00000000 0x00000000 +GPP_F0 (0x6A,0x5C) 0x44000300 0x0000005b 0x00000000 0x00000000 +GPP_F1 (0x6A,0x5E) 0x44000200 0x0000005c 0x00000000 0x00000000 +GPP_F2 (0x6A,0x60) 0x44000200 0x0000005d 0x00000000 0x00000000 +GPP_F3 (0x6A,0x62) 0x44000200 0x0000005e 0x00000000 0x00000000 +GPP_F4 (0x6A,0x64) 0x44000200 0x00000060 0x00000000 0x00000000 +GPP_F5 (0x6A,0x66) 0x44000300 0x00000061 0x00000000 0x00000000 +GPP_F6 (0x6A,0x68) 0x44000200 0x00000062 0x00000000 0x00000000 +GPP_F7 (0x6A,0x6A) 0x80100100 0x00000063 0x00000000 0x00000000 +GPP_F8 (0x6A,0x6C) 0x84000100 0x00000064 0x00000000 0x00000000 +GPP_F9 (0x6A,0x6E) 0x44000200 0x00000065 0x00000000 0x00000000 +GPP_F10 (0x6A,0x70) 0x44000102 0x00000066 0x00000000 0x00000000 +GPP_F11 (0x6A,0x72) 0x44000200 0x00000067 0x00000000 0x00000000 +GPP_F12 (0x6A,0x74) 0x44000200 0x00000068 0x00000000 0x00000000 +GPP_F13 (0x6A,0x76) 0x44000200 0x00000069 0x00000000 0x00000000 +GPP_F14 (0x6A,0x78) 0x44000200 0x0000006a 0x00000000 0x00000000 +GPP_F15 (0x6A,0x7A) 0x44000100 0x0000006b 0x00000000 0x00000000 +GPP_F16 (0x6A,0x7C) 0x80100100 0x0000006c 0x00000000 0x00000000 +GPP_F17 (0x6A,0x7E) 0x44000102 0x0000006d 0x00000000 0x00000000 +GPP_F18 (0x6A,0x80) 0x44000200 0x0000006e 0x00000000 0x00000000 +GPP_F19 (0x6A,0x82) 0x44000700 0x0000006f 0x00000000 0x00000000 +GPP_F20 (0x6A,0x84) 0x44000700 0x00000070 0x00000000 0x00000000 +GPP_F21 (0x6A,0x86) 0x44000700 0x00000071 0x00000000 0x00000000 +GPP_F22 (0x6A,0x88) 0x44000200 0x00000072 0x00000000 0x00000000 +GPP_F23 (0x6A,0x8A) 0x44000200 0x00000073 0x00000000 0x00000000 +GPP_D0 (0x69,0x20) 0x44000200 0x00000026 0x00000000 0x00000000 +GPP_D1 (0x69,0x22) 0x44000200 0x00000027 0x00000000 0x00000000 +GPP_D2 (0x69,0x24) 0x44000200 0x00000028 0x00000000 0x00000000 +GPP_D3 (0x69,0x26) 0x44000200 0x00000029 0x00000000 0x00000000 +GPP_D4 (0x69,0x28) 0x44000200 0x0000002a 0x00000000 0x00000000 +GPP_D5 (0x69,0x2A) 0x44000200 0x0000002b 0x00000000 0x00000000 +GPP_D6 (0x69,0x2C) 0x44000200 0x0000002c 0x00000000 0x00000000 +GPP_D7 (0x69,0x2E) 0x44000200 0x0000002d 0x00000000 0x00000000 +GPP_D8 (0x69,0x30) 0x40000300 0x00000000 0x00000000 0x00000000 +GPP_D9 (0x69,0x32) 0x40000702 0x00003c00 0x00000000 0x00000000 +GPP_D10 (0x69,0x34) 0x40000700 0x00003c00 0x00000000 0x00000000 +GPP_D11 (0x69,0x36) 0x40000700 0x00003c00 0x00000000 0x00000000 +GPP_D12 (0x69,0x38) 0x40000702 0x00003c00 0x00000000 0x00000000 +GPP_D13 (0x69,0x3A) 0x40000702 0x00003c00 0x00000000 0x00000000 +GPP_D14 (0x69,0x3C) 0x40000702 0x00003c00 0x00000000 0x00000000 +GPP_D15 (0x69,0x3E) 0x40000700 0x00003c00 0x00000000 0x00000000 +GPP_D16 (0x69,0x40) 0x40000700 0x00003c00 0x00000800 0x00000000 +GPP_D17 (0x69,0x42) 0x40000700 0x00003c00 0x00000000 0x00000000 +GPP_D18 (0x69,0x44) 0x40000700 0x00003c00 0x00000000 0x00000000 +GPP_D19 (0x69,0x46) 0x40000700 0x00003c00 0x00000000 0x00000000 +GPP_D20 (0x69,0x48) 0x40000700 0x00000000 0x00000000 0x00000000 +GPP_D21 (0x69,0x4A) 0x40000700 0x00000000 0x00000000 0x00000000 +GPP_D22 (0x69,0x4C) 0x40000700 0x00000000 0x00000000 0x00000000 +GPP_D23 (0x69,0x4E) 0x40000700 0x00000000 0x00000000 0x00000000 +## HDAUDIO ## +hdaudioC0D0 + vendor_name: Realtek + chip_name: ALC245 + vendor_id: 0x10ec0245 + subsystem_id: 0x15580353 + revision_id: 0x100001 + 0x12: 0x90a60130 + 0x13: 0x40000000 + 0x14: 0x90170110 + 0x17: 0x411111f0 + 0x18: 0x411111f0 + 0x19: 0x411111f0 + 0x1a: 0x411111f0 + 0x1b: 0x411111f0 + 0x1d: 0x40689b2d + 0x1e: 0x411111f0 + 0x21: 0x04211020 +hdaudioC0D2 + vendor_name: Intel + chip_name: Raptorlake HDMI + vendor_id: 0x80862818 + subsystem_id: 0x80860101 + revision_id: 0x100000 + 0x04: 0x18560010 + 0x06: 0x18560010 + 0x08: 0x18560010 + 0x0a: 0x18560010 + 0x0b: 0x18560010 + 0x0c: 0x18560010 + 0x0d: 0x18560010 + 0x0e: 0x18560010 + 0x0f: 0x18560010 +hdaudioC1D0 + vendor_name: Nvidia + chip_name: GPU a6 HDMI/DP + vendor_id: 0x10de00a6 + subsystem_id: 0x10de0000 + revision_id: 0x100100 + 0x04: 0x185600f0 + 0x05: 0x585600f0 + 0x06: 0x585600f0 + 0x07: 0x585600f0 diff --git a/models/addw4/coreboot.config b/models/addw4/coreboot.config new file mode 100644 index 0000000..7ba7ffa --- /dev/null +++ b/models/addw4/coreboot.config @@ -0,0 +1,19 @@ +CONFIG_VENDOR_SYSTEM76=y +CONFIG_BOARD_SYSTEM76_ADDW4=y +CONFIG_CCACHE=y +CONFIG_CONSOLE_SERIAL=n +CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS=y +CONFIG_HAVE_IFD_BIN=y +CONFIG_HAVE_ME_BIN=y +CONFIG_IFD_BIN_PATH="$(FIRMWARE_OPEN_MODEL_DIR)/fd.rom" +CONFIG_ME_BIN_PATH="$(FIRMWARE_OPEN_MODEL_DIR)/me.rom" +CONFIG_PAYLOAD_ELF=y +CONFIG_PAYLOAD_FILE="$(FIRMWARE_OPEN_UEFIPAYLOAD)" +CONFIG_PCIEXP_HOTPLUG_MEM=0x2000000 +CONFIG_PCIEXP_HOTPLUG_PREFETCH_MEM=0x20000000 +CONFIG_POST_IO=n +CONFIG_SMMSTORE=y +CONFIG_SMMSTORE_V2=y +CONFIG_USE_OPTION_TABLE=y +CONFIG_VALIDATE_INTEL_DESCRIPTOR=y +#CONFIG_CONSOLE_SYSTEM76_EC=y diff --git a/models/addw4/ec.config b/models/addw4/ec.config new file mode 100644 index 0000000..b4e1103 --- /dev/null +++ b/models/addw4/ec.config @@ -0,0 +1 @@ +BOARD=system76/addw4 diff --git a/models/addw4/ecspy.txt b/models/addw4/ecspy.txt new file mode 100644 index 0000000..b85a780 --- /dev/null +++ b/models/addw4/ecspy.txt @@ -0,0 +1,89 @@ +id 5570 rev 7 +A0: data 1 mirror 1 pot 0 control 00 +A1: data 0 mirror 0 pot 0 control 80 +A2: data 0 mirror 0 pot 0 control 00 +A3: data 1 mirror 1 pot 0 control 80 +A4: data 0 mirror 0 pot 0 control 00 +A5: data 0 mirror 0 pot 0 control 00 +A6: data 0 mirror 0 pot 0 control 00 +A7: data 1 mirror 0 pot 0 control 00 +B0: data 0 mirror 0 pot 0 control 84 +B1: data 1 mirror 1 pot 0 control 84 +B2: data 1 mirror 1 pot 0 control 80 +B3: data 1 mirror 1 pot 0 control 80 +B4: data 1 mirror 1 pot 0 control 40 +B5: data 0 mirror 0 pot 0 control 80 +B6: data 1 mirror 1 pot 0 control 44 +B7: data 1 mirror 1 pot 0 control 80 +C0: data 1 mirror 1 pot 0 control 80 +C1: data 1 mirror 1 pot 0 control 04 +C2: data 1 mirror 1 pot 0 control 04 +C3: data 1 mirror 1 pot 0 control 04 +C4: data 0 mirror 0 pot 0 control 84 +C5: data 1 mirror 1 pot 0 control 04 +C6: data 1 mirror 1 pot 0 control 40 +C7: data 1 mirror 1 pot 0 control 44 +D0: data 1 mirror 1 pot 0 control 44 +D1: data 1 mirror 1 pot 0 control 44 +D2: data 1 mirror 1 pot 0 control 00 +D3: data 0 mirror 0 pot 0 control 40 +D4: data 0 mirror 0 pot 0 control 80 +D5: data 1 mirror 1 pot 0 control 44 +D6: data 1 mirror 1 pot 0 control 02 +D7: data 1 mirror 1 pot 0 control 02 +E0: data 1 mirror 1 pot 0 control 04 +E1: data 1 mirror 1 pot 0 control 44 +E2: data 0 mirror 0 pot 0 control 84 +E3: data 1 mirror 1 pot 0 control 40 +E4: data 1 mirror 1 pot 0 control 42 +E5: data 1 mirror 1 pot 0 control 40 +E6: data 0 mirror 0 pot 0 control 80 +E7: data 1 mirror 1 pot 0 control 04 +F0: data 0 mirror 0 pot 0 control 44 +F1: data 1 mirror 1 pot 0 control 44 +F2: data 1 mirror 1 pot 0 control 44 +F3: data 1 mirror 1 pot 0 control 40 +F4: data 1 mirror 1 pot 0 control 04 +F5: data 1 mirror 1 pot 0 control 04 +F6: data 0 mirror 0 pot 0 control 40 +F7: data 0 mirror 0 pot 0 control 40 +G0: data 1 mirror 1 pot 0 control 40 +G1: data 1 mirror 1 pot 0 control 44 +G2: data 1 mirror 1 pot 0 control 80 +G3: data 0 mirror 0 pot 0 control 00 +G4: data 0 mirror 0 pot 0 control 00 +G5: data 0 mirror 0 pot 0 control 00 +G6: data 0 mirror 0 pot 0 control 40 +G7: data 0 mirror 0 pot 0 control 00 +H0: data 1 mirror 1 pot 0 control 80 +H1: data 0 mirror 0 pot 0 control 82 +H2: data 0 mirror 0 pot 0 control 40 +H3: data 1 mirror 1 pot 0 control 44 +H4: data 1 mirror 1 pot 0 control 80 +H5: data 1 mirror 1 pot 0 control 40 +H6: data 1 mirror 1 pot 0 control 80 +H7: data 1 mirror 1 pot 0 control 80 +I0: data 0 mirror 0 pot 0 control 00 +I1: data 0 mirror 0 pot 0 control 00 +I2: data 0 mirror 0 pot 0 control 80 +I3: data 0 mirror 0 pot 0 control 00 +I4: data 0 mirror 0 pot 0 control 00 +I5: data 0 mirror 0 pot 0 control 00 +I6: data 0 mirror 0 pot 0 control 00 +I7: data 0 mirror 0 pot 0 control 00 +J0: data 0 mirror 0 pot 0 control 40 +J1: data 1 mirror 1 pot 0 control 40 +J2: data 0 mirror 0 pot 0 control 40 +J3: data 0 mirror 0 pot 0 control 82 +J4: data 1 mirror 1 pot 0 control 40 +J5: data 1 mirror 1 pot 0 control 80 +J6: data 0 mirror 0 pot 0 control 44 +J7: data 1 mirror 1 pot 0 control 40 +M0: data 0 mirror 0 control 06 +M1: data 0 mirror 1 control 06 +M2: data 1 mirror 1 control 06 +M3: data 1 mirror 1 control 06 +M4: data 0 mirror 1 control 06 +M5: data 0 mirror 0 control 00 +M6: data 1 mirror 1 control 86 +M7: data 0 mirror 0 control 00 diff --git a/models/addw4/edk2.config b/models/addw4/edk2.config new file mode 100644 index 0000000..b237808 --- /dev/null +++ b/models/addw4/edk2.config @@ -0,0 +1,9 @@ +BOOTLOADER=COREBOOT +DISABLE_SERIAL_TERMINAL=TRUE +PLATFORM_BOOT_TIMEOUT=2 +PS2_KEYBOARD_ENABLE=TRUE +SECURE_BOOT_ENABLE=TRUE +SERIAL_DRIVER_ENABLE=FALSE +SHELL_TYPE=NONE +TPM_ENABLE=TRUE +#SYSTEM76_EC_LOGGING=TRUE diff --git a/models/addw4/fd.rom b/models/addw4/fd.rom new file mode 100644 index 0000000..d6f0207 --- /dev/null +++ b/models/addw4/fd.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bed8c140b89f113093db568b49fe845cb3cdde25906d83d9b1fed81e1d6ab142 +size 4096 diff --git a/models/addw4/me.rom b/models/addw4/me.rom new file mode 100644 index 0000000..72b764f --- /dev/null +++ b/models/addw4/me.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73c5f348c402c2d7ee9b47845f80e11b09ab281eb82e3a4ba88c1c952032bc95 +size 4038656 diff --git a/models/addw4/vbt.rom b/models/addw4/vbt.rom new file mode 100644 index 0000000..e9c4525 --- /dev/null +++ b/models/addw4/vbt.rom @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70ac6f75c096e59d1026f721040bc46e29a7f449c096878f677d1de977226362 +size 8704