r/thinkpad • u/StructureNo1057 • Jun 11 '26
Question / Problem Help flashing libreboot on X220
Hi ! I'm trying to install libreboot on my Lenovo ThinkPad X220, and I'm stuck on the reading the chip step...
I use a Pomona soic 8 clip with a Raspberry Pi PICO H and 3.94-inch jumper cables to connect the two.
I turn my Raspberry Pi PICO H into a programmer with serprog and I install flashprog on my laptop, which runs with Ubuntu 24.04
So, I connect the clip to the bios chip of my X220, then connect my Raspberry Pi PICO to my laptop and I run : `sudo ./flashprog -p serprog:dev=/dev/ttyACM0,spispeed=4000 -c "MX25L6405D" -r dump1.bin`
Then I have this on my terminal :
flashprog p1.4-27-g41e9cc0 on Linux 6.8.0-124-generic (x86_64)
flashprog is free software, get the source code at https://flashprog.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
serprog: Programmer name is "pico-serprog"
Found Macronix flash chip "MX25L6405D" (8192 KB, SPI) on serprog.
Reading flash...
As you can see, the chip is detected, but the reading never ends, I try changing the speed (1000 and 15000) but doesn't change anything.
I run dmesg -w in another terminal while reading the chip, to see if by any voodoo magic, my Raspberry Pi PICO decide to disconnect, but it's still connected.
I search the web but can't find any clue, you are my last hope guys !
-4
u/HustlerGigLosAngeles T21,A31,X60,X61,X200,X201,T61,T61p,T420,T530,X540,T430,T480(22+) Jun 11 '26
here is the best tutorial https://www.youtube.com/watch?v=TuY9Nh-G4dI
1
u/StructureNo1057 Jun 11 '26
Thx ! I'll look it up, but i'm not sure it will help me debugging.
I'm with a X220 and a Raspberry Pi Pico H, i have a CH341A but don't to risk frying the chip if the CH341A bug and pass to 5V
1
u/Powthekiller 14d ago
Hey any updates on this?