x220 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. swiftgeek said that GbE needs to be removed and disabled while ME is running
  2. 08:06:49 @swiftgeek | PHY_PCIE_EN=0b000 PHY_PCIEPORTSEL=0b000
  3. https://puri.sm/posts/neutralizing-intel-management-engine-on-librem-laptops/
  4. yeah, they're slimebags, but this is actually a pretty good article
  5. ./blobtool -d ifd-x200.spec your-real-sandy-descriptor.bin out.set
  6. that will decompile your sandy IFD assuming it has same layout as a X200
  7. some x220 have wson according to swiftfeek
  8. M25PX64 this flash chip
  9. system rescue cd
  10. or linux mint usb
  11. get your supplier to run flashrom -p internal on one of those
  12. or alpine linux live
  13. 17:54:00 felix_ | leah: the usb3 chip used in the i7 variant of the x220 is a uPD720200 or a uPD720200A and both
  14. have updateable firmware; i wrote some still buggy and currently unpublished firmware updater for
  15. it
  16. this is for X201 descriptor (page 800)
  17. http://www.intel.co.uk/content/dam/doc/datasheet/io-controller-hub-10-family-datasheet.pdf
  18. TODO: get NVM datasheet for NIC
  19. is x201 5 series or 6 series?
  20. if 6 series, see datasheet for 6 series in lbdev
  21. if 5 series, see datasheet linked above (pretty sure 5 series uses ich10)
  22. leah | 7 series datasheet is correct for ivybridge (thinkpad x230 then)
  23. 6 series is for sandybridge (thinkpad x220)
  24. __________
  25. ME region:
  26. http://www.slideshare.net/codeblue_jp/igor-skochinsky-enpub
  27. descriptor:
  28. check "spi programming guide" in lbdev directory, for intel 6 series
  29. 17:21:43 felix_ | leah: x220 is 6 series (qm67) with me7, x230 7 series (qm77) with me8
  30. 04:44:21 _x00 | $ lspci | nc termbin.com 9999 │ cantstanya
  31. 04:44:21 _x00 | http://termbin.com/os8g
  32. 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
  33. 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
  34. 00:04.0 Signal processing controller: Intel Corporation Device 0103 (rev 09)
  35. 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05)
  36. 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
  37. 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
  38. 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
  39. 00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
  40. 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
  41. 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
  42. 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
  43. 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
  44. 00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 05)
  45. 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
  46. 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
  47. 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
  48. 04:00.0 SD Host controller: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 07)
  49. https://gist.github.com/sixtyfive/1071556
  50. [muaddib@rih ~]$ sudo lspci
  51. 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
  52. 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
  53. 00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
  54. 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
  55. 00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
  56. 00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 04)
  57. 00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b4)
  58. 00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b4)
  59. 00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 (rev b4)
  60. 00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
  61. 00:1f.0 ISA bridge: Intel Corporation 6 Series Chipset Family LPC Controller (rev 04)
  62. 00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
  63. 00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 04)
  64. 03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)
  65. 0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04)
  66. coreboot d09dc6b442415d3dd0753483e4d4d72ce26ce56e
  67. this is a good known revision according to board status, for X220
  68. gbe:
  69. datasheet for nvm on nic for x220:
  70. http://www.intel.com/content/dam/doc/datasheet/82579-gbe-phy-datasheet-vol-2-1.pdf
  71. (I think. must check. this is based on lspci output from x220)
  72. it documents some of the gbe region in there. you can verify that it's accurate when you get a gbe dump from an x220 factory image
  73. flashrom has a tool called intel_descriptor_tool or flash_descriptor_tool or somoething like that
  74. which I'm told also had code for the descriptor. it, and ifdtool, might be worth looking into at least.
  75. ___________
  76. x200:
  77. https://www.coreboot.org/pipermail/coreboot/2017-February/083202.html
  78. and other boards
  79. cmos.layout changed