Hello Rudolf,
With your patch, I had a small compile issue (imc.c, function mbox_wait_ack, commented call to msg_pwarn).
I attempted to use the exe, but it cannot turn off IMC. Not sure what you need from here. I can change the code, or gather any data you want.
Output of flashrom execution:
./flashrom_imcpatch -p internal
flashrom v0.9.6.1-r1564 on Linux 2.6.32-5-686 (i686) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found chipset "AMD SB7x0/SB8x0/SB9x0". Enabling flash write... (Shutting down IMC failed!) FAILED! FATAL ERROR! Error: Programmer initialization failed.
Please let me know what you suggest we do next.
Thanks, Michel.
-----Original Message----- From: Racine, Michel Sent: Wednesday, March 27, 2013 9:36 AM To: Rudolf Marek; roxfan Cc: frederic.temporelli@bull.net; wmkamp@datakamp.de; flashrom@flashrom.org; Racine, Michel Subject: RE: [flashrom] AMD - SP5100 - take SPI ownership (1/2)
Hello Rudolf,
I'm assuming I only need to apply the a.patch you sent (not the imc.patch) to the source for 0.9.6.1. I will test this on an AMD Persimmon board (it won't boot currently, I need a dediProg because I bricked it).
I'll update soon, Cheers, Michel.
-----Original Message----- From: Rudolf Marek [mailto:r.marek@assembler.cz] Sent: Tuesday, March 26, 2013 9:36 AM To: roxfan Cc: frederic.temporelli@bull.net; wmkamp@datakamp.de; flashrom@flashrom.org; Racine, Michel Subject: Re: [flashrom] AMD - SP5100 - take SPI ownership (1/2)
Hi all
I tried with IMC activated on coreboot (Hudson chipset) and it works as expected. Attached patch only tweaks messages and removes now redundant check from sb600 SPI. If IMC is active and firmware handoff fails, then it exits with fatal error.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
It would be nice if someone else could test this (and dont forget to be able to recover from bad flash)
Thanks Rudolf