projects:t530

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
projects:t530 [2017/03/07 13:15] photonicsguyprojects:t530 [2017/03/07 14:04] photonicsguy
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-====== Lenovo T530 Laptop Wi-Fi upgrade ====== +====== Lenovo T530 Laptop WiFi upgrade ====== 
-BIOS VersionG4ET62WW (2.04 )+===== Introduction ===== 
 +I successfully installed an [[http://www.intel.com/content/www/us/en/wireless-products/dual-band-wireless-ac-7260-bluetooth.html|Intel Dual Band Wireless-AC 7260 wireless card]] by modifying the whitelist in the BIOS. I've compiled this step-by-step guide with references as I had trouble finding a similar resource online.{{ :projects:t530:programming.jpg?direct&300|}}
  
-Current Network card: Intel Corporation Centrino Wireless-N 2200 [8086:0891]+Living in Toronto, the 2.4GHz WiFi band is over saturated and my best wireless throughput was roughly 16Mbps, now with 5GHz Wireless AC, I get an average of 700Mbps. I decided not to upgrade to the latest BIOS and to attempt the whitelist modification on my current version, G4ET62WW (2.04).
  
-successfully installed an Intel Dual Band Wireless-AC 7260 wireless card by modifying the whitelist in the BIOS. I've compiled this step-by-step guide with references as I had trouble finding a similar resource online.+There are two flash memory chips, MX25L6406E (8MB) and MX25L3206E (4MB) (Under frame), according to various resources, need to flash the 4MB chipThere is also another flash memory chip on the underside which contains the bios settings and password which don't need to touch.
  
-<note> +VID:PID's 
-New Network card ID[[http://www.intel.com/content/www/us/en/wireless-products/dual-band-wireless-ac-7260-bluetooth.html|Dual Band Wireless-AC 7260]] +  * Intel Centrino Wireless-N 2200 [8086:0891(original) 
-  * Bluetooth: [8087:07DC+  * Intel Dual Band Wireless-AC 7260 [8086:08B1], Secondary: [8086:4070] (upgrade) 
-  * Wi-Fi: [8086:08B1], Secondary: [8086:4070] +    * Bluetooth: [8087:07DC] (built into the wireless card)
-</note> +
-IBM COMPATIBLE 486 BIOS COPYRIGHT Phoenix Technologies, Ltd +
-Phoenix BIOS SC-T v2.2+
  
-{{ :projects:t530:t530_overlay.jpg?direct&300|}} 
-{{:projects:t530:chip1.jpg?direct&100|MX25L6406E}}{{:projects:t530:chip0.jpg?direct&100|MX25L3206E}} 
-  * MX25L6406E (8MB) 
-  * MX25L3206E (4MB) (Under frame) (This is the BIOS chip I need to flash) 
-  * There is another EEPROM on the underside of the bios which contains the bios passwords which I am not going to touch. 
  
 ===== Required components ===== ===== Required components =====
   * Your Thinkpad laptop (of course)   * Your Thinkpad laptop (of course)
-  * New PCI-E Network card (Approx. $20 from eBay or Aliexpress)+  * New wireless card, I used the [[http://www.intel.com/content/www/us/en/wireless-products/dual-band-wireless-ac-7260-bluetooth.html|Intel Dual Band Wireless-AC 7260 wireless card]] (Approx. $20 from eBay or Aliexpress)
   * A second computer (I used another Linux computer. A Windows computer can work, but I haven't tried it)   * A second computer (I used another Linux computer. A Windows computer can work, but I haven't tried it)
 +    * Download [[https://www.flashrom.org/Downloads|Flashrom]]
 +    * Download [[https://github.com/LongSoft/UEFITool/releases/tag/0.21.5|UEFITool]] 
   * A high quality (small) Phillips screwdriver, all of the screws in the laptop are Phillips, and you don't want to accidentally strip any screws.   * A high quality (small) Phillips screwdriver, all of the screws in the laptop are Phillips, and you don't want to accidentally strip any screws.
-  * Hex driver for the studs on the SVGA connector+  * A Magnetic sheet - {{:projects:t530:magsheet.jpg?linkonly |useful for keeping screws in order}} 
 +  * Hex driver for the studs on the {{ :projects:t530:svga.jpg?linkonly |SVGA connector}}
   * CH341A programmer (Approx. $3 from eBay or Aliexpress)   * CH341A programmer (Approx. $3 from eBay or Aliexpress)
   * SOIC8 Test clip (Approx. $4 from eBay or Aliexpress)   * SOIC8 Test clip (Approx. $4 from eBay or Aliexpress)
 +  * Thermal compound (for the CPU heatsink)
 +  * Air duster (optional, for cleaning)
 +  * Tape (When reassembling and routing wires)
  
 ===== Steps ===== ===== Steps =====
 <note warning>Take plenty of photos as you disassemble your laptop, including cable routing, as well as which screws came from where. Also, Take your time, don't rush</note> <note warning>Take plenty of photos as you disassemble your laptop, including cable routing, as well as which screws came from where. Also, Take your time, don't rush</note>
-  - Determine current wireless card VID:PID via Linux: lspci -nn+  - Determine current wireless card VID:PID via Linux: lspci -nn (This is a useful reference when looking for the whitelist)
   - Download [[https://www.flashrom.org/Downloads|Flashrom]]   - Download [[https://www.flashrom.org/Downloads|Flashrom]]
   - Download [[https://github.com/LongSoft/UEFITool/releases/tag/0.21.5|UEFITool]]   - Download [[https://github.com/LongSoft/UEFITool/releases/tag/0.21.5|UEFITool]]
Line 39: Line 38:
   - Pin 1 of the test clip is the wire with the Red stripe, which goes towards the corner of the memory chip with the circle.   - Pin 1 of the test clip is the wire with the Red stripe, which goes towards the corner of the memory chip with the circle.
     - I was fortunate enough to have a similar memory chip from another device I was able to use to test the programmer connections ahead of time.     - I was fortunate enough to have a similar memory chip from another device I was able to use to test the programmer connections ahead of time.
-  - Connect the test clip to the programmer, {{:projects:t530:ch341.jpg?linkonly |(Facing downwards, in the top half of the ZIF socket)}}+  - Connect the test clip to the programmer (Facing downwardsin the top half of the ZIF socket) {{ :projects:t530:ch341.jpg?direct&200|CH341A}}
   - Read the existing BIOS   - Read the existing BIOS
     - flashrom -p ch341a_spi -c "MX25L3206E/MX25L3208E" -r ORIGINALBIOS.ROM     - flashrom -p ch341a_spi -c "MX25L3206E/MX25L3208E" -r ORIGINALBIOS.ROM
Line 84: Line 83:
       - Clean off the existing thermal compound, put new thermal compound on the CPU (and GPU if you have discrete graphics)       - Clean off the existing thermal compound, put new thermal compound on the CPU (and GPU if you have discrete graphics)
   - Note: I'm using a separate Bluetooth adaptor, so I'm not concerned about enabling the integrated Bluetooth (Which involves placing kaptop tape over a pin)   - Note: I'm using a separate Bluetooth adaptor, so I'm not concerned about enabling the integrated Bluetooth (Which involves placing kaptop tape over a pin)
- 
- 
-==== Bios from website ==== 
-  - Download matching firmware (Bootable CD) from [[http://support.lenovo.com/ca/en/downloads/ds029249|Lenovo website]] 
-  - Extract firmware 
-    - [[http://freecode.com/projects/geteltorito|geteltorito]] will extract the bootable disk image from the downloaded ISO Firmware files 
  
 ==== Current Whitelist ==== ==== Current Whitelist ====
 TODO: Revise list as I made an error in reading to hex file TODO: Revise list as I made an error in reading to hex file
 +
 ^Vender:Device^Description^ ^Vender:Device^Description^
 |8086:4238|Centrino(R) Ultimate N 6300| |8086:4238|Centrino(R) Ultimate N 6300|
Line 116: Line 110:
     * flashrom -p ch341a_spi -V     * flashrom -p ch341a_spi -V
   * [[https://www.coreboot.org/Board:lenovo/t530|T530 flashing directions on Coreboot.org]]   * [[https://www.coreboot.org/Board:lenovo/t530|T530 flashing directions on Coreboot.org]]
-    * It should be safe to read/flash the chip in situ... +<note>After reading the flashing instructions on coreboot.orgI decided it would be safer to attempt this without removing the memory chip from the system boardIf I had access to a hot air rework stationI would have removed to chip to reduce risk of damaging the system board.</note
-**Tested on a similar flash chip** +===== Files ===== 
-<code> +  * {{ :projects:t530:t530_g4et62ww_bios.tgz |t530_g4et62ww_bios.tgz}} - My original and modified bios dump 
-# flashrom -p ch341a_spi -c "MX25L3206E/MX25L3208E" -r T530_BIOS_MX25L3206E -V +  * {{ :projects:t530:t530_hardware_maintenance_manual.pdf |}} Thinkpad T530 Hardware maintenance manual 
-flashrom v0.9.9-r1955 on Linux 3.16.0-4-686-pae (i686) +  * {{ :projects:t530:bios_error.jpg?linkonly |}} - BIOS error message after my first attempt 
-flashrom is free softwareget the source code at https://flashrom.org +  * {{ :projects:t530:programming.jpg?linkonly |}} - System board connected to the CH341A programmer
- +
-flashrom was built with GCC 4.9.2, little endian +
-Command line (7 args): flashrom -p ch341a_spi -c MX25L3206E/MX25L3208E -r T530_BIOS_MX25L3206E -V +
-Calibrating delay loop... OS timer resolution is 2 usecs, 745M loops per second, 10 myus = 12 us, 100 myus = 101 us, 1000 myus = 1006 us, 10000 myus = 9992 us, 8 myus = 10 us, OK. +
-Initializing ch341a_spi programmer +
-Device revision is 3.0.4 +
-The following protocols are supported: SPI. +
-Probing for Macronix MX25L3206E/MX25L3208E, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x2016 +
-Found Macronix flash chip "MX25L3206E/MX25L3208E" (4096 kB, SPI) on ch341a_spi. +
-Chip status register is 0x00. +
-Chip status register: Status Register Write Disable (SRWDSRP, ...) is not set +
-Chip status register: Bit 6 is not set +
-Chip status register: Block Protect 3 (BP3) is not set +
-Chip status register: Block Protect 2 (BP2) is not set +
-Chip status register: Block Protect 1 (BP1) is not set +
-Chip status register: Block Protect 0 (BP0) is not set +
-Chip status register: Write Enable Latch (WEL) is not set +
-Chip status register: Write In Progress (WIP/BUSY) is not set +
-This chip may contain one-time programmable memory. flashrom cannot read +
-and may never be able to write it, hence it may not be able to completely +
-clone the contents of this chip (see man page for details). +
-Reading flash... done. +
-</code+
-===== Coreboot project ===== +
-  *  +
-  * [[https://github.com/coreboot/coreboot/tree/master/util/ifdtool|ifdtool]] +
- +
-=== BIOS Files === +
- +
-  * xxx.PAT are CPU Microcode files +
-  * xxx.hsh are CPU Microcode hash files +
-  * something.FL1 the actual BIOS image. +
-  * There's also .FL2, that'the Embedded controller((http://www.endeer.cz/bios.tools/bios.html))+
  
 ===== Reference ===== ===== Reference =====
  • projects/t530.txt
  • Last modified: 2021/07/06 07:15
  • by 127.0.0.1