raspberrypi / hats

BSD 3-Clause "New" or "Revised" License
659 stars 144 forks source link

RPI does not boot if HAT EEPROM is corrupted #33

Open hifiberry opened 8 years ago

hifiberry commented 8 years ago

I've seen a problem with a board where the EEPROM content wasn't written correctly. With older 3.x kernels the board boots, but not with the latest kernel/firmware. Is there any kernel parameter to ignore the ID PROM contents? This needs to be only temporary to write the correct EEPROM contents.

pelwell commented 8 years ago

You can disable the EEPROM reading using the config.txt setting force_eeprom_read=0. I'll take a look at the reading code to see why it doesn't boot. If you can read the EEPROM contents and upload it somewhere (or email it to me) I can use it as a test case.

hifiberry commented 8 years ago

Thanks, will test this. I will see that I can find a card with this problem and send you en EEPROM dump.

mlyle commented 8 years ago

Not corrupted, but here's a .EEP that fails to boot on Pi2. If I comment out the alternate functions GPIO lines it works.

(Had to zip this to attach it, even though it actually expands the file :P ) doesntwork.zip