[flashrom] A quick hack to support AMD Family 16h SOC

Wei Hu wei at aristanetworks.com
Tue Jul 30 23:22:36 CEST 2013


On Tue, Jul 30, 2013 at 1:59 PM, Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2006 at gmx.net> wrote:
> This patch should work at normal speed and use the correct FIFO pointer
> registers on Kabini.
> The code is not exactly pretty, but functional and should (in theory)
> need no functional changes before commit.
>
> Please check if read/write works at the expected speed. -VV is
> sufficient this time.


Reading the 4MB flash took 18 seconds, whereas writing took almost 3
minutes. Is it normal? On another system with Intel PCH writes were
way faster. There's another FIFO register at offset 0x80 in the new
Kabini interface, which can hopefully speed up things, but the
description is quite dense.

I'm attaching two -VV logs, one from reading and the other from writing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: write.log
Type: application/octet-stream
Size: 51475 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20130730/0f863852/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read.log
Type: application/octet-stream
Size: 29340 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20130730/0f863852/attachment-0001.obj>


More information about the flashrom mailing list