BjornRuytenberg / tcfp

Thunderbolt Controller Firmware Patcher.
https://thunderspy.io
Other
64 stars 11 forks source link

PCI ID '0x15d3' PCI ID supported, but no patch pattern available for this SL signature. Aborting. #10

Open superchief opened 3 years ago

superchief commented 3 years ago

Hi BjornRuytenberg,

I also ran a parse command on a dumped Gigabyte Alpine Ridge (Rev 2.0) TB3 firmware and here was the output.

$ python3 tcfp.py parse AlpineOriginalFirmware-BlueChip.bin -v
2020-12-17 11:44:25,930 - DEBUG - Found PCI ID: 0x15d3 ('JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]')
2020-12-17 11:44:25,930 - DEBUG - Parsing DROM.
2020-12-17 11:44:25,930 - DEBUG - DROM declares bogus NVM version. Determining value using alternative method.
2020-12-17 11:44:25,930 - DEBUG - Got NVM version using alternative method: 20 (0x14)
2020-12-17 11:44:25,930 - DEBUG - Done parsing DROM.
2020-12-17 11:44:25,930 - DEBUG - Signature match:
2020-12-17 11:44:25,930 - DEBUG - pci-id : JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (0x15d3)
2020-12-17 11:44:25,930 - DEBUG - sl : 1
2020-12-17 11:44:25,930 - DEBUG - sig : [{'offset': 0x0, 'value': b'\x00'}, {'offset': 0x800, 'value': b'\x19'}]
2020-12-17 11:44:25,930 - DEBUG - patch : None
Vendor ID : 0xed
PCI ID : 0x15d3
PCI Device Name : JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
Model ID : 0xc019
NVM version : 20 (0x14)
Vendor : GIGABYTE
Device : GC-ALPINE RIDGE
Image type : Full
Security Level : SL1

I also ran the patch command on the dumped firmware and PCI ID supported, but no patch pattern available for this SL signature. Aborting.

python3 tcfp.pypatch AlpineOriginalFirmware-BlueChip.bin -v
2020-12-17 13:33:57,357 - DEBUG - Found PCI ID: 0x15d3 ('JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]')
2020-12-17 13:33:57,357 - DEBUG - Parsing DROM.
2020-12-17 13:33:57,357 - DEBUG - DROM declares bogus NVM version. Determining value using alternative method.
2020-12-17 13:33:57,357 - DEBUG - Got NVM version using alternative method: 20 (0x14)
2020-12-17 13:33:57,358 - DEBUG - Done parsing DROM.
2020-12-17 13:33:57,358 - DEBUG - Signature match:
2020-12-17 13:33:57,358 - DEBUG - pci-id : JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (0x15d3)
2020-12-17 13:33:57,358 - DEBUG - sl : 1
2020-12-17 13:33:57,358 - DEBUG - sig : [{'offset': 0x0, 'value': b'\x00'}, {'offset': 0x800, 'value': b'\x19'}]
2020-12-17 13:33:57,358 - DEBUG - patch : None
Vendor ID : 0xed
PCI ID : 0x15d3
PCI Device Name : JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
Model ID : 0xc019
NVM version : 20 (0x14)
Vendor : GIGABYTE
Device : GC-ALPINE RIDGE
Image type : Full
Security Level : SL1

AlpineOriginalFirmware-BlueChip.bin.zip