i want to import the drom for thunderbolt 1 devices? https://gist.github.com/joevt/4f6d4d97b560efab9603ac509bf00122 |
linux and osx when using cb/tianocore is not detecting the ports property. in osx when i use retail bios i see 2 ports but with tianocore its 4. also the uid is the default 0x100000 instead of the acutal uid from the drom. then in linux the /sys/bus/thunderbolt/devices/0-0/device_name etc is missing. its suppose to read from drom in spi rom and put it somewhere in kmem |
the dmesg in retail shows |
1.302427] thunderbolt 0000:07:00.0: initializing Switch at 0x0 (depth: 0, up port: 5) |
[ 1.302945] thunderbolt 0000:07:00.0: 0: DROM version: 1 |
[ 1.304354] thunderbolt 0000:07:00.0: 0: uid: 0x100MYREALUID |
but in coreboot/tianocore it shows |
[ 0.921082] thunderbolt 0000:04:00.0: initializing Switch at 0x0 (depth: 0, up port: 5) |
[ 0.927997] thunderbolt 0000:04:00.0: acking hot plug event on 0:b |
[ 0.928119] thunderbolt 0000:04:00.0: acking hot plug event on 0:3 |
[ 0.928251] thunderbolt 0000:04:00.0: acking hot plug event on 0:c |
[ 0.960914] thunderbolt 0000:04:00.0: 0: uid: 0x1000000000000 |
[ 0.962948] thunderbolt 0000:04:00.0: Port 1: 8086:1547 (Revision |
the " 0: DROM version: 1 is missing " |
then port 10 is disabled in eeprom but does not get disabled under coreboot/tianocore |
1.340056] thunderbolt 0000:07:00.0: 0:a: disabled by eeprom |
tianocore/coreboot |
0.971374] thunderbolt 0000:04:00.0: Port 10: ffff:ffff (Revision: 3, TB Version: 1, Type: DP/HDMI (0xe0102)) |
[ 0.971376] thunderbolt 0000:04:00.0: Max hop id (in/out): 9/9 |
[ 0.971377] thunderbolt 0000:04:00.0: Max counters: 2 |
[ 0.971378] thunderbolt 0000:04:00.0: NFC Credits: 0x700000 |
[ 0.971379] thunderbolt 0000:04:00.0: Credits (total/control): 7/0 |