Timeline for Write to spi EEPROM in Raspberry Pi 4
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 4, 2019 at 12:22 | comment | added | Ingo | No problem, was only a question to understand things :) | |
Oct 4, 2019 at 12:02 | comment | added | Dmitry Grigoryev | @Ingo the EEPROM is not mapped to CPU address space, so no, that won't be possible. On the other hand, it's only 512KB, so what's the problem with reading the whole thing? | |
Oct 4, 2019 at 11:58 | comment | added | Dmitry Grigoryev | @Mast This remark applies to any answer suggesting to write anything anywhere. | |
Oct 4, 2019 at 11:55 | comment | added | Ingo | I don't mean reading the raw data/image from the EEPROM. If I store information at the EEPROM, maybe setting a flag, how can I check/read this flag only in a program? Access it with a memory address? | |
Oct 4, 2019 at 11:49 | comment | added | Dmitry Grigoryev |
@Ingo flashrom supports reading the EEPROM contents as well.
|
|
Oct 4, 2019 at 11:48 | history | edited | Dmitry Grigoryev | CC BY-SA 4.0 |
added 829 characters in body
|
Oct 3, 2019 at 17:34 | comment | added | Ingo | Do you have an idea how to access/read the custom data from the EEPRPOM? | |
Oct 3, 2019 at 17:10 | comment | added | Mast | It's not the one update a day crowd I'm worried about. Somebody is going to read this answer and suggest a write every minute. Every couple of seconds. | |
Oct 3, 2019 at 15:37 | comment | added | Dmitry Grigoryev | @AlfredoPonsMenargues In current bootloader images, the last half seems empty. I'd try writing there for a start. | |
Oct 3, 2019 at 15:34 | comment | added | Dmitry Grigoryev | @Mast EEPROM chips are much more robust than consumer-grade flash, 100'000 write cycles is typical. That's one update per day for 273 years. I wouldn't worry about it. | |
Oct 3, 2019 at 15:30 | history | edited | Dmitry Grigoryev | CC BY-SA 4.0 |
added 233 characters in body
|
Oct 3, 2019 at 12:05 | comment | added | Alfredo Pons Menargues | But what size is available to use without damaging the bootloader? I'm looking for some information that indicates a range of addresses available for write. Available without corrupting the bootloader. | |
Oct 2, 2019 at 19:54 | comment | added | Mast | Is the bootloader ever updated? If so, this might eventually brick the Pi by going over the maximum amount of supported writes. EEPROM doesn't last forever. Of-course, this takes a while, but if somebody would continually write values to it... | |
Oct 2, 2019 at 11:39 | history | edited | Dmitry Grigoryev | CC BY-SA 4.0 |
added 142 characters in body
|
Oct 2, 2019 at 11:34 | history | answered | Dmitry Grigoryev | CC BY-SA 4.0 |