I got an issue with my PCIe bus settings after unlocking Chipset menu on my Asrock-Rack C226WS; it insists that “PCIE Port 1 is assigned to LAN” which is wrong, it should be port 3.
VarStore list for Chipset:
0x74428 Guid: [0F0B1735-87A0-4193-B266-538C38AF48CE] {5F 15 35 17 0B 0F A0 87 93 41 B2 66 53 8C 38 AF 48 CE 03 20 00}
0x7443D Guid: [0F0B1735-87A0-4193-B266-538C38AF48CE] {5F 15 35 17 0B 0F A0 87 93 41 B2 66 53 8C 38 AF 48 CE 04 00 00}
0x74452 Default Store: , DefaultId: 0x0 {5C 06 00 00 00 00}
0x74458 VarStore: VarStoreId: 0x1 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x50C, Name: Setup {24 1C 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 01 00 0C 05 53 65 74 75 70 00}
0x74474 VarStore: VarStoreId: 0x2 [E770BB69-BCB4-4D04-9E97-23FF9456FEAC], Size: 0x1, Name: SystemAccess {24 23 69 BB 70 E7 B4 BC 04 4D 9E 97 23 FF 94 56 FE AC 02 00 01 00 53 79 73 74 65 6D 41 63 63 65 73 73 00}
0x74497 VarStore: VarStoreId: 0x3 [9CF0F18E-7C7D-49DE-B5AA-BBBAD6B21007], Size: 0x2, Name: AMICallback {24 22 8E F1 F0 9C 7D 7C DE 49 B5 AA BB BA D6 B2 10 07 03 00 02 00 41 4D 49 43 61 6C 6C 62 61 63 6B 00}
0x744B9 VarStore: VarStoreId: 0x4 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x10, Name: SetupPlatformData {24 28 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 04 00 10 00 53 65 74 75 70 50 6C 61 74 66 6F 72 6D 44 61 74 61 00}
0x744E1 VarStore: VarStoreId: 0x5 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0xC, Name: SbPlatformData {24 25 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 05 00 0C 00 53 62 50 6C 61 74 66 6F 72 6D 44 61 74 61 00}
0x74506 VarStore: VarStoreId: 0x6 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x14, Name: NBPlatformData {24 25 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 06 00 14 00 4E 42 50 6C 61 74 66 6F 72 6D 44 61 74 61 00}
0x7452B VarStore: VarStoreId: 0x7 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x2, Name: UsbMassDevNum {24 24 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 07 00 02 00 55 73 62 4D 61 73 73 44 65 76 4E 75 6D 00}
0x7454F VarStore: VarStoreId: 0x8 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x10, Name: UsbMassDevValid {24 26 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 08 00 10 00 55 73 62 4D 61 73 73 44 65 76 56 61 6C 69 64 00}
0x74575 VarStore: VarStoreId: 0x9 [EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9], Size: 0x22, Name: UsbSupport {24 21 43 D6 87 EC A4 EB B5 4B A1 E5 3F 3E 36 B2 0D A9 09 00 22 00 55 73 62 53 75 70 70 6F 72 74 00}
0x74596 VarStore: VarStoreId: 0xA [560BF58A-1E0D-4D7E-953F-2980A261E031], Size: 0x1, Name: SerialPortsEnabledVar {24 2C 8A F5 0B 56 0D 1E 7E 4D 95 3F 29 80 A2 61 E0 31 0A 00 01 00 53 65 72 69 61 6C 50 6F 72 74 73 45 6E 61 62 6C 65 64 56 61 72 00}
0x745C2 VarStore: VarStoreId: 0xB [97CA1A5B-B760-4D1F-A54B-D19092032C90], Size: 0x1, Name: DebuggerSerialPortsEnabledVar {24 34 5B 1A CA 97 60 B7 1F 4D A5 4B D1 90 92 03 2C 90 0B 00 01 00 44 65 62 75 67 67 65 72 53 65 72 69 61 6C 50 6F 72 74 73 45 6E 61 62 6C 65 64 56 61 72 00}
Relevant menu part:
0x76DF0 QuestionId: 0x269 equals value 0x0 {12 06 69 02 00 00}
0x76DF6 Ref: PCI Express Root Port 1, VarStoreInfo (VarOffset/VarName): 0xFFFF, VarStore: 0x0, QuestionId: 0x82, FormId: 0x43A {0F 0F E1 02 E2 02 82 00 00 00 FF FF 00 3A 04}
0x76E05 End If {29 02}
0x76E07 Suppress If {0A 82}
0x76E09 QuestionId: 0x269 equals value 0x0 {12 86 69 02 00 00}
0x76E0F Not {17 02}
0x76E11 End {29 02}
0x76E13 Text: Statement.Prompt: PCIE Port 1 is assigned to LAN, TextTwo: {03 08 0E 03 83 04 83 04}
0x76E1B End If {29 02}
0x76E1D Suppress If {0A 82}
0x76E1F QuestionId: 0x8A equals value 0x0 {12 86 8A 00 00 00}
0x76E25 QuestionId: 0x269 equals value 0x1 {12 06 69 02 01 00}
0x76E2B Or {16 02}
0x76E2D End {29 02}
0x76E2F Ref: PCI Express Root Port 2, VarStoreInfo (VarOffset/VarName): 0xFFFF, VarStore: 0x0, QuestionId: 0x83, FormId: 0x43B {0F 0F E3 02 E4 02 83 00 00 00 FF FF 00 3B 04}
0x76E3E End If {29 02}
0x76E40 Suppress If {0A 82}
0x76E42 QuestionId: 0x8A equals value 0x0 {12 86 8A 00 00 00}
0x76E48 QuestionId: 0x269 equals value 0x1 {12 06 69 02 01 00}
0x76E4E Not {17 02}
0x76E50 Or {16 02}
0x76E52 End {29 02}
0x76E54 Text: Statement.Prompt: PCIE Port 2 is assigned to LAN, TextTwo: {03 08 0F 03 83 04 83 04}
0x76E5C End If {29 02}
0x76E5E Suppress If {0A 82}
0x76E60 QuestionId: 0x8A equals value 0x0 {12 86 8A 00 00 00}
0x76E66 QuestionId: 0x269 equals value 0x2 {12 06 69 02 02 00}
0x76E6C Or {16 02}
0x76E6E End {29 02}
0x76E70 Ref: PCI Express Root Port 3, VarStoreInfo (VarOffset/VarName): 0xFFFF, VarStore: 0x0, QuestionId: 0x84, FormId: 0x43C {0F 0F E5 02 E6 02 84 00 00 00 FF FF 00 3C 04}
0x76E7F End If {29 02}
0x76E81 Suppress If {0A 82}
0x76E83 QuestionId: 0x8A equals value 0x0 {12 86 8A 00 00 00}
0x76E89 QuestionId: 0x269 equals value 0x2 {12 06 69 02 02 00}
0x76E8F Not {17 02}
0x76E91 Or {16 02}
0x76E93 End {29 02}
0x76E95 Text: Statement.Prompt: PCIE Port 3 is assigned to LAN, TextTwo: {03 08 10 03 83 04 83 04}
0x76E9D End If {29 02}
And at the end of Chipset section I can find the QuestionId I believe I need to change as a checkbox.
0x80538 Disable If {1E 82}
0x8053A True {46 02}
0x8053C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x0, VarStore: 0x2, QuestionId: 0x25D {06 8E 00 00 00 00 5D 02 02 00 00 00 00 00}
0x8054A End {29 02}
0x8054C Checkbox: , VarStoreInfo (VarOffset/VarName): 0xD, VarStore: 0x6, QuestionId: 0x25E {06 8E 00 00 00 00 5E 02 06 00 0D 00 00 00}
0x8055A End {29 02}
0x8055C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x9, VarStore: 0x6, QuestionId: 0x25F {06 8E 00 00 00 00 5F 02 06 00 09 00 00 00}
0x8056A End {29 02}
0x8056C Checkbox: , VarStoreInfo (VarOffset/VarName): 0xA, VarStore: 0x6, QuestionId: 0x260 {06 8E 00 00 00 00 60 02 06 00 0A 00 00 00}
0x8057A End {29 02}
0x8057C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x5, VarStore: 0x6, QuestionId: 0x261 {06 8E 00 00 00 00 61 02 06 00 05 00 00 00}
0x8058A End {29 02}
0x8058C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x4, VarStore: 0x6, QuestionId: 0x262 {06 8E 00 00 00 00 62 02 06 00 04 00 00 00}
0x8059A End {29 02}
0x8059C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x4BC, VarStore: 0x1, QuestionId: 0x263 {06 8E 00 00 00 00 63 02 01 00 BC 04 00 00}
0x805AA End {29 02}
0x805AC Checkbox: , VarStoreInfo (VarOffset/VarName): 0x4C0, VarStore: 0x1, QuestionId: 0x264 {06 8E 00 00 00 00 64 02 01 00 C0 04 00 00}
0x805BA End {29 02}
0x805BC Checkbox: , VarStoreInfo (VarOffset/VarName): 0x7, VarStore: 0x6, QuestionId: 0x265 {06 8E 00 00 00 00 65 02 06 00 07 00 00 00}
0x805CA End {29 02}
0x805CC Checkbox: , VarStoreInfo (VarOffset/VarName): 0x6, VarStore: 0x6, QuestionId: 0x266 {06 8E 00 00 00 00 66 02 06 00 06 00 00 00}
0x805DA End {29 02}
0x805DC Checkbox: , VarStoreInfo (VarOffset/VarName): 0x8, VarStore: 0x6, QuestionId: 0x267 {06 8E 00 00 00 00 67 02 06 00 08 00 00 00}
0x805EA End {29 02}
0x805EC Checkbox: , VarStoreInfo (VarOffset/VarName): 0x1, VarStore: 0x1, QuestionId: 0x268 {06 8E 00 00 00 00 68 02 01 00 01 00 00 00}
0x805FA End {29 02}
0x805FC Checkbox: , VarStoreInfo (VarOffset/VarName): 0x1, VarStore: 0x5, QuestionId: 0x269 {06 8E 00 00 00 00 69 02 05 00 01 00 00 00}
0x8060A End {29 02}
0x8060C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x4, VarStore: 0x5, QuestionId: 0x26A {06 8E 00 00 00 00 6A 02 05 00 04 00 00 00}
0x8061A End {29 02}
0x8061C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x2, VarStore: 0x5, QuestionId: 0x26B {06 8E 00 00 00 00 6B 02 05 00 02 00 00 00}
0x8062A End {29 02}
0x8062C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x227, VarStore: 0x1, QuestionId: 0x26C {06 8E 00 00 00 00 6C 02 01 00 27 02 00 00}
0x8063A End {29 02}
0x8063C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x226, VarStore: 0x1, QuestionId: 0x26D {06 8E 00 00 00 00 6D 02 01 00 26 02 00 00}
0x8064A End {29 02}
0x8064C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x2EC, VarStore: 0x1, QuestionId: 0x26E {06 8E 00 00 00 00 6E 02 01 00 EC 02 00 00}
0x8065A End {29 02}
0x8065C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x4E, VarStore: 0x1, QuestionId: 0x26F {06 8E 00 00 00 00 6F 02 01 00 4E 00 00 00}
0x8066A End {29 02}
0x8066C Checkbox: , VarStoreInfo (VarOffset/VarName): 0x5, VarStore: 0x5, QuestionId: 0x270 {06 8E 00 00 00 00 70 02 05 00 05 00 00 00}
0x8067A End {29 02}
0x8067C End If {29 02}
I’ve tried editing SbPlatformData with ru.efi but my edit gets overwritten at reboot.
Please help, attaching original BIOS for reference.
Org_bios.zip (3.34 MB)