i picked up this ThinkPad T420 for 60 euros on ebay, and wanted to give it a little more life. I gave it an aftermarket 3-cell battery, upgraded the RAM from 4 to 16GB, and added some storage, all of which was quite cheap and easy. But these laptops also have socketed CPUs, and though they never shipped with 3rd gen Ivy Bridge processors, the boards are theoretically compatible, just requiring a firmware flash. So this is my Journey of replacing the i5-2520M it came with, with an i7-3612QM.
The 3612QM is a 4 core vs the 2520M's two cores, whilst still keeping the 35W power rating. I was running Arch Linux and hoped that coreboot or libreboot would make the upgrade possible, cause ive heard of people doing upgrades to Ivy brigde.
Before changing the firmware, i checked the programmer's voltage and the clip connection, and I noticed it actually outputted 5v on some communication lines that wouldve fried the T420 chip. I was kind of mad, thinking id have to buy another controller. but I found this guide on how to mod my exact controller model to output only 3.3V, and had to relearn how to solder. I did pretty well, and after a cut trace and two wires the communication line was back to 3.3V, I was ready to go.
Disconnected all power, clamped the chip. flashrom worked just fine. I made several backups, and compared their checksums. everything matched. Then i flashed coreboot on it.
I actually reached SeaBIOS with the new CPU no problem, looked promising. But with the i7 installed, the machine kept restarting at the boot screen, or in memtest or wherever, after about ten seconds. The original i5 behaved normal. I switched to the known good 4GB stick, reseated the processor, but the problem remained.
I then used codex to help try different firmware builds and investigated whether the microcode and Intel's Management Engine settings could change anything. A forum report suggested that removing parts of the Management Engine firmware could cause shutdowns on a T420. Restoring an intact version was worth trying, but it did not help in this case.
What was very useful were extracting the boot logs. They went by really fast though, and i only had 10 seconds before the machine rebooted, so I first extracted text from a slow-motion video, which was the most scuffed operation ever, but kind of worked thanks to modern LLMs. then i did the grown up thing which means I added logging that could be read directly from the flash chip for my agent to review. It seemed the same two processor threads repeatedly failed to start. They belonged to one physical core, and the failure happened before Linux even loaded. This could mean my CPU is bad, but i wasnt too keen on buying either another chip, or another board to test.
I turned to the modern trend of reverse engineering using Ghidra, which helped codex examine Lenovo's firmware and find a way to limit the number of active physical cores. Simply skipping the missing threads in software had not worked. Disabling extra cores in hardware did: one core booted into arch perfectly well, and so did two cores. Three cores brought the reboot loop back. So i had to stop there and now im left with a working two-core i7 configuration.
im still considering whether to buy another cpu to test my hypothesis, but ive honestly spent enough money on this tinkering already. This was like two days of headaches. But im happy i made this work, even if its kind of hacky, cause its unique and i learned a lot from it.
Update from a few weeks later: I caved and got an i7-3540M, which is a dual core 35W Ivy Bride. I felt pretty confident it was gonna work, and behold, it worked perfectly fine. So im returning my 3612QM and I can still call this operation something like a success, though it cost me quite a bit of time and thermal paste going back and forth between all these CPUs.
How the three CPUs compared
sysbench 1.0.20 CPU test - 4 threads - 10 seconds per run. Higher is better.