[flashrom] AMD - SP5100 - take SPI ownership (1/2)

Martin Roth martin.roth at se-eng.com
Fri Apr 26 22:44:49 CEST 2013


Hi Wei,
   It's probably the xHCI controller code running.  I'm not sure when 
it's actually
active though - If you have any USB3 devices plugged into the system, 
you might want
to remove those and try flashing again.  It *MIGHT* be that simple, but 
we're probably
not that lucky.  If that *DOES* work, please let us know - I'd be very 
interested in
knowing that.

I didn't see what BIOS rom you were trying to flash - If it's an IBV 
BIOS, you could try
rebooting and disabling USB3 in the setup engine.  I'd expect that that 
would take care
of the problem.  Then we just need to figure out a way to disable this 
without disrupting
the system at runtime...

Hope this helps.
Martin

On 04/26/2013 01:04 PM, Wei Hu wrote:
> Hi Rudolf,
>
> I wanted to follow up with an issue on my AMD chipset. Here is my
> original question:
> http://www.flashrom.org/pipermail/flashrom/2013-April/010924.html.
> Basically the IMC bit in the LPC PCI config register at offset 0x40 is
> not set, but flashrom still finds something else is accessing the
> flash chip and decides to bail out.
>
> I was led to your patch so I gave it a try. I removed the IMC bit
> check in your patch but still the IMC seems to be indeed inactive,
> since mbox_port read 0. Also I noticed you wrote 0x5a to enter conf
> mode and 0xa5 to exit conf mode. According to the datasheet 0x55 and
> 0xaa should be written instead. I made that change but it didn't help
> either.
>
> Can someone think of any other possible things that's accessing the chip?
>
> Thanks,
> Wei
>
> _______________________________________________
> flashrom mailing list
> flashrom at flashrom.org
> http://www.flashrom.org/mailman/listinfo/flashrom
>





More information about the flashrom mailing list