Attention is currently required from: Alexander Couzens, Angel Pons, Keith Hui.
Cleyton Silva has posted comments on this change by Cleyton Silva. ( https://review.coreboot.org/c/coreboot/+/83670?usp=email )
Change subject: mb/lenovo: Add IH61M mainboard ......................................................................
Patch Set 4:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/83670/comment/7459716a_6c617aa8?usp... : PS1, Line 13: 2MB+4MB
Huh, interesting.
./util/ifdtool -f rom.layout bkp-lenovo-h61.rom cat rom.layout 00000000:00000fff fd 00200000:005fffff bios 00001000:001fffff me 00fff000:00000fff gbe 00fff000:00000fff pd
(the gbe and pd regions do not exist in the vendor firmware, so in order to use the rom.layout with the flashrom I had to delete the last two lines)
https://review.coreboot.org/c/coreboot/+/83670/comment/d1923261_a0d02fe5?usp... : PS1, Line 43: - Internal flashing : - External flashing (in-circuit)
You might be able to flash internally with `--ifd -i bios`. […]
Yes, vendor firmware restricts internal flashing!
The flashrom outputs below are only from Version:4.2. Both versions have a “ME_DIS” jumper and when it is in position “1” it is possible to read the chips completely, but it is not possible to write in any region. In its original position “0” it is only possible to read the fd and bios regions, and it is also not possible to write in any region.
When trying to flash coreboot the flashrom outputs are…
-JUMPER ME_DIS=0 > https://pastebin.com/raw/4kARcANE -JUMPER ME_DIS=1 > https://pastebin.com/raw/iPT41tjB
The board has a “SPI_DEBUG1” header for external flashing. I connected the wires but I couldn’t communicate with the chips. I don’t know if I made a mistake…
BUT GOOD NEWS! After a few days of free time, I managed to flash the internal flash using CHIPSEC (uefi s3bootscript) following this tutorial: https://doc.coreboot.org/mainboard/lenovo/ivb_internal_flashing.html
I will update the commit message to this fact. I haven’t checked yet if it’s still possible to do this using the latest firmware version from the vendor.
Flashrom output of successful flashing (bios region only): https://pastebin.com/raw/QfyGTCui
Will it be necessary to make a specific flash tutorial for this motherboard?