I have an ASRock X470 Master SLI/ac board that previously ran a 2700x on
old/stock firmware. I upgraded to a 5700x which required newer firmware, so
I also ugpraded the firmware to P4.40. I did this using the manufacturer's
standard tool, not flashrom. This version removes support for the 2000
series CPUs.

I later upgraded the mainboard for the 5700x as well, and then I was
planning on using this X470 board + my older 2700x (which I still had
laying around) for my homelab/secondary computer. But of course it won't
POST since it's now running the newer firmware for the 5700x.

I tried using flashrom to downgrade to P3.40 (the newest version that
supports 2000 series) since the manufacturer's tools don't let you
downgrade normally. I ran into a couple hurdles, and finally an error, so
now I'm stuck.


1. There were three chips reported by flashrom. They were all mapped to the
same physical address so I assumed it didn't matter which one to pick, and
chose the -35F one:

Found Macronix flash chip "MX25U25635F" (32768 kB, SPI) mapped at physical
address 0x00000000fe000000.
Found Macronix flash chip "MX25U25643G" (32768 kB, SPI) mapped at physical
address 0x00000000fe000000.
Found Macronix flash chip "MX25U25645G" (32768 kB, SPI) mapped at physical
address 0x00000000fe000000.


2. The dumps for all three chips are different despite having the same
physical address. Not sure if this is expected.

$ sha256sum MX*
e14ce07966a1d4ee0a96a154d2fbe8e69579512286f66e3e245d1aba0adbf332
 MX25U25635F.rom
7d88f910042d42f70f49c1eec467f5d1508d524be62ca0a18340373dceb069bb
 MX25U25643G.rom
e70c35775d12a515aa5e82039456f4d103be652fa27633a3fcdca1c7c795cbb3
 MX25U25645G.rom


3. The image from the manufacturer is only 16 MiB while the reported
capacity is 32 MiB. So I padded it by appending it to itself to get to 32
MiB.


4. Finally, I get an error when flashing:

$ sudo flashrom -p internal -c MX25U25635F -w v340padded.rom
...
Reading old flash chip contents... done.
Updating flash chip contents... FAILED at 0x00c01000! Expected=0xff,
Found=0x4e, failed byte count from 0x00c01000-0x00c01fff: 0x100
ERASE FAILED!
Erase/write done from 0 to 1ffffff
Write Failed!Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
Your flash chip is in an unknown state.


I get similar errors with the -43G and -45G chips.

Any insight would be appreciated!
_______________________________________________
flashrom mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to