Skip to contentSkip to conversation

More flash eeprom fun on a Thinkpad

DISCUSSION [email protected] 3 participants 9 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I found this interesting. A guy took apart his Thinkpad 600X (one of the lm-sensors vulnerable ones) and pulled out the Atmel Flash EEPROM to reflash it:

http://www.ja.olm.net/unlock/key_for_600x.htm

You can get the datasheet for the AT24RF08C RFID flash eeprom here:

http://www.ja.olm.net/unlock/key_for_600e.htm

Strange serial eeprom device. It lives in 0x54-0x57. It's not clear to me how the chip responds to 'quick' SMBus accesses we use during probing, or how it would like being driven by our eeprom module.

Anyways, note that people who have had their Thinkpad 240's killed by Lm_sensors get the error: 0188: Invalid RFID Serialization Area

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Phil

Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [email protected] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A
#1 lore raw

Some other related info:

A rant by Joe about the sensitivity of the Atmel 24rf08 causing Thinkpads to go dead:

http://groups.google.com/groups?q=rfid+thinkpad&start&hl=en&lr=&ie=UTF-8&oe=UTF-8&selmS231e6e.0205061456.19e72ef2%40posting.google.com&rnum

A user describing his EEPROM getting fried on his TP770 when doing a routine update (which wrote to the eeprom):

http://groups.google.com/groups?q=rfid+thinkpad&start&hl=en&lr=&ie=UTF-8&oe=UTF-8&selmS231e6e.0205061456.19e72ef2%40posting.google.com&rnum

Phil

Quoted 35 lines · Mark D. Studebaker

Jackpot.
It looks to me like a standard 8K I2C eeprom, but with an RF side as well.
Not clear why they'd misbehave.
I'll order some samples and we can play with them.

Quoted 27 lines · [email protected] wrote:

I found this interesting. A guy took apart his Thinkpad 600X (one of the lm-sensors vulnerable ones) and pulled out the Atmel Flash EEPROM to reflash it:

http://www.ja.olm.net/unlock/key_for_600x.htm

You can get the datasheet for the AT24RF08C RFID flash eeprom here:

http://www.ja.olm.net/unlock/key_for_600e.htm

Strange serial eeprom device. It lives in 0x54-0x57. It's not clear to me how the chip responds to 'quick' SMBus accesses we use during probing, or how it would like being driven by our eeprom module.

Anyways, note that people who have had their Thinkpad 240's killed by Lm_sensors get the error: 0188: Invalid RFID Serialization Area

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Phil

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A

Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [email protected] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A
#2 lore raw
In reply to [email protected]
Quoted 1 line · Mark D. Studebaker

The second link was the same as the first...

Oops! Here it is:

http://groups.google.com/groups?q=thinkpad+770+crc&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm69C5256.520E1331%40premier1.net&rnum=1

Yeah, it could be a quick-write to 0x5C screwing things up (or a module's probing routine).

Phil

Quoted 65 lines

Looked closer at the datasheet.
At 54-57 it is a standard 8K eeprom.
But it also responds at 0x5c, where it has the access protection registers.
My guess is that a write quick is trashing one of the access protection registers.
But it could also be some probe in sensors-detect.

Quoted 56 lines · [email protected] wrote:

Some other related info:

A rant by Joe about the sensitivity of the Atmel 24rf08 causing Thinkpads to go dead:

http://groups.google.com/groups?q=rfid+thinkpad&start&hl=en&lr=&ie=UTF-8&oe=UTF-8&selmS231e6e.0205061456.19e72ef2%40posting.google.com&rnum

A user describing his EEPROM getting fried on his TP770 when doing a routine update (which wrote to the eeprom):

http://groups.google.com/groups?q=rfid+thinkpad&start&hl=en&lr=&ie=UTF-8&oe=UTF-8&selmS231e6e.0205061456.19e72ef2%40posting.google.com&rnum

Phil

Quoted 7 lines · Mark D. Studebaker

Jackpot.
It looks to me like a standard 8K I2C eeprom, but with an RF side as well.
Not clear why they'd misbehave.
I'll order some samples and we can play with them.

Quoted 28 lines
Quoted 27 lines · [email protected] wrote:

I found this interesting. A guy took apart his Thinkpad 600X (one of the lm-sensors vulnerable ones) and pulled out the Atmel Flash EEPROM to reflash it:

http://www.ja.olm.net/unlock/key_for_600x.htm

You can get the datasheet for the AT24RF08C RFID flash eeprom here:

http://www.ja.olm.net/unlock/key_for_600e.htm

Strange serial eeprom device. It lives in 0x54-0x57. It's not clear to me how the chip responds to 'quick' SMBus accesses we use during probing, or how it would like being driven by our eeprom module.

Anyways, note that people who have had their Thinkpad 240's killed by Lm_sensors get the error: 0188: Invalid RFID Serialization Area

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Phil

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A

Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [email protected] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A
#3 lore raw
In reply to [email protected]

I think DIMM eeproms with SPD data can be anywhere from 0x50-0x57 (allowing for up to 8 DIMM slots per I2C/SMBus). The addresses are set by hardwiring certain pins on the DIMM slots which are in turn connected to the address pins on the eeprom. Some CPU's, like Xeons have eeproms on them which show up at higher addresses. For example, it's not uncommon to see a Xeon box with only 4 DIMM slots, but have eeproms showing up at 0x50, 0x51, and 0x57.

BTW-Did you try dumping the contents of the 0x57 to see what was in it?

Phil

Quoted 10 lines · Jean Delvare
Quoted 3 lines

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Just for information, it seems that recent Sony Vaio laptops (at least mine) have an information eeprom at 0x57.

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [email protected] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A
#4 lore raw
In reply to [email protected]
Quoted 3 lines

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Just for information, it seems that recent Sony Vaio laptops (at least mine) have an information eeprom at 0x57.

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to [email protected]
Quoted 3 lines

BTW-Did you try dumping the contents of the 0x57 to see what was in it?

Of course I did, some times ago. The eeprom contains information about the laptop such as model and serial number, but there are still data I'm not able to interpret. I asked Sony for information but they told me to go to hell (I still got the mails if you want details). See my script lm_sensors2/prog/eeprom/decode-vaio.pl if you are interested.

BTW testers are still wanted for this script, preferably before I start updating sensors-detect and sensors to support Vaio eeproms. Nobody with a Vaio laptop around willing to help?

Signature · 2 lines
Jean "Khali" Delvare
http://www.ensicaen.ismra.fr/~delvare/
#6 lore raw
In reply to [email protected]

Jackpot.
It looks to me like a standard 8K I2C eeprom, but with an RF side as well.
Not clear why they'd misbehave.
I'll order some samples and we can play with them.

Quoted 27 lines · [email protected] wrote:

I found this interesting. A guy took apart his Thinkpad 600X (one of the lm-sensors vulnerable ones) and pulled out the Atmel Flash EEPROM to reflash it:

http://www.ja.olm.net/unlock/key_for_600x.htm

You can get the datasheet for the AT24RF08C RFID flash eeprom here:

http://www.ja.olm.net/unlock/key_for_600e.htm

Strange serial eeprom device. It lives in 0x54-0x57. It's not clear to me how the chip responds to 'quick' SMBus accesses we use during probing, or how it would like being driven by our eeprom module.

Anyways, note that people who have had their Thinkpad 240's killed by Lm_sensors get the error: 0188: Invalid RFID Serialization Area

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Phil

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A

#7 lore raw
In reply to [email protected]

The second link was the same as the first...

Looked closer at the datasheet.
At 54-57 it is a standard 8K eeprom.
But it also responds at 0x5c, where it has the access protection registers.
My guess is that a write quick is trashing one of the access protection registers.
But it could also be some probe in sensors-detect.

Quoted 56 lines · [email protected] wrote:

Some other related info:

A rant by Joe about the sensitivity of the Atmel 24rf08 causing Thinkpads to go dead:

http://groups.google.com/groups?q=rfid+thinkpad&start&hl=en&lr=&ie=UTF-8&oe=UTF-8&selmS231e6e.0205061456.19e72ef2%40posting.google.com&rnum

A user describing his EEPROM getting fried on his TP770 when doing a routine update (which wrote to the eeprom):

http://groups.google.com/groups?q=rfid+thinkpad&start&hl=en&lr=&ie=UTF-8&oe=UTF-8&selmS231e6e.0205061456.19e72ef2%40posting.google.com&rnum

Phil

Quoted 7 lines · Mark D. Studebaker

Jackpot.
It looks to me like a standard 8K I2C eeprom, but with an RF side as well.
Not clear why they'd misbehave.
I'll order some samples and we can play with them.

Quoted 28 lines
Quoted 27 lines · [email protected] wrote:

I found this interesting. A guy took apart his Thinkpad 600X (one of the lm-sensors vulnerable ones) and pulled out the Atmel Flash EEPROM to reflash it:

http://www.ja.olm.net/unlock/key_for_600x.htm

You can get the datasheet for the AT24RF08C RFID flash eeprom here:

http://www.ja.olm.net/unlock/key_for_600e.htm

Strange serial eeprom device. It lives in 0x54-0x57. It's not clear to me how the chip responds to 'quick' SMBus accesses we use during probing, or how it would like being driven by our eeprom module.

Anyways, note that people who have had their Thinkpad 240's killed by Lm_sensors get the error: 0188: Invalid RFID Serialization Area

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Phil

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A

#8 lore raw
In reply to [email protected]

I'm hoping that the corruption is only in the
24RF08 "access protection page" which is at 0x5C. That's what Australia Joe thinks and I'm inclined to agree. Since the portion of the chip at 0x54-57 is just a regular-old 24C08, it stands to reason that the problem is in the other part. Stay tuned...

Quoted 21 lines · [email protected] wrote:

I think DIMM eeproms with SPD data can be anywhere from 0x50-0x57 (allowing for up to 8 DIMM slots per I2C/SMBus). The addresses are set by hardwiring certain pins on the DIMM slots which are in turn connected to the address pins on the eeprom. Some CPU's, like Xeons have eeproms on them which show up at higher addresses. For example, it's not uncommon to see a Xeon box with only 4 DIMM slots, but have eeproms showing up at 0x50, 0x51, and 0x57.

BTW-Did you try dumping the contents of the 0x57 to see what was in it?

Phil

Quoted 6 lines · Jean Delvare
Quoted 3 lines

Could we simply blacklist the 0x54-0x57 area unless the user explicitly 'forces' regular usage of that area?

Just for information, it seems that recent Sony Vaio laptops (at least mine) have an information eeprom at 0x57.