[coreboot] Flashrom won't work with DediProg SF100 fw 6.5.03

Steve Goodrich steve.goodrich at se-eng.com
Tue Jun 2 22:26:39 CEST 2015


Thank you all (David, Duncan, Vadim, and others in private messages) for
your help.  Just to speed things up, I'm going to avoid the VERIFY pass (-n
parameter).  This takes it from 18-20 minutes to under a minute.

This is workable for my short-term need, and I'll have time to look at in
when I'm on the plane.

     -- Steve G.

On Tue, Jun 2, 2015 at 1:51 PM, David Hendricks <dhendrix at google.com> wrote:

>
>
> On Tue, Jun 2, 2015 at 12:26 PM, Steve Goodrich <steve.goodrich at se-eng.com
> > wrote:
>
>> I'll give that a shot (thank you).
>>
>> I notice that the VERIFY is requesting 256 bytes at a time for all 8
>> MB... wouldn't it be better to use a page size from the flash chip (like 4
>> KB)?
>>
>
> Yes. There is actually a patch to read the whole flash which speeds things
> up a lot on Dediprog:
> https://chromium-review.googlesource.com/#/c/240543/
>
> Since that patch touches common code, though, the ME gremlin rears its
> ugly head and we need to be careful not to read into a read-protected
> region. So there's still a bit of work to be done (I started on that here:
> https://chromium-review.googlesource.com/#/c/257191/).
>
> If either/both of those patches help, feel free to hijack them and so we
> can make progress on this.
>
>
>> Thanks!
>>
>>      -- Steve G.
>>
>> On Tue, Jun 2, 2015 at 1:14 PM, Duncan Laurie <dlaurie at chromium.org>
>> wrote:
>>
>>> It looks like the code tries 12MHz by default but can be set to 24MHz
>>> which is worth a try.
>>>
>>> I think the syntax would just be "-p dediprog:speed=24"
>>>
>>> -duncan
>>>
>>>
>>> On Tue, Jun 2, 2015 at 11:38 AM, Steve Goodrich <
>>> steve.goodrich at se-eng.com> wrote:
>>>
>>>> I got the Chromium version of flashrom to work, but it takes 20 minutes
>>>> to flash/verify the 8 MB device.  So, while "working" is far better than
>>>> "not working", it is a bit sluggish.  :-)
>>>>
>>>> Any thoughts on speeding it up?
>>>>
>>>>      -- Steve G.
>>>>
>>>> On Tue, Jun 2, 2015 at 8:57 AM, Steve Goodrich <
>>>> steve.goodrich at se-eng.com> wrote:
>>>>
>>>>> Thanks, Duncan!  I'll have a look.
>>>>>
>>>>>      -- Steve G.
>>>>>
>>>>> On Tue, Jun 2, 2015 at 8:48 AM, Duncan Laurie <dlaurie at chromium.org>
>>>>> wrote:
>>>>>
>>>>>> On Tue, Jun 2, 2015 at 7:39 AM, Steve Goodrich <
>>>>>> steve.goodrich at se-eng.com> wrote:
>>>>>>
>>>>>>> I have a DediProg SF100 programmer that I want to use with flashrom
>>>>>>> under Linux.  Unfortunately, the SF100 has firmware version 6.5.03 and I
>>>>>>> can't use flashrom with it.
>>>>>>>
>>>>>>> I'm looking for a solution.  Does anyone have (or know where/how I
>>>>>>> can get):
>>>>>>> 1) A version of SF100 firmware that will work with flashrom?
>>>>>>> 2) A version of flashrom that will work with SF100 6.5.3?
>>>>>>> 3) A Linux tool -- other than flashrom -- that will work with the
>>>>>>> SF100 with its current firmware?
>>>>>>>
>>>>>>> Thanks for any help you can provide!
>>>>>>>      -- Steve G.
>>>>>>>
>>>>>>>
>>>>>> Hi Steve,
>>>>>>
>>>>>> There is a patch in the chromium flashrom tree that add support for
>>>>>> firmware 6.0+ (which may or may not include 6.5.3) that does not seem to be
>>>>>> in the upstream flashrom:
>>>>>>
>>>>>> https://chromium.googlesource.com/chromiumos/third_party/flashrom/+/543101a06832b4e3a0d89ec9bf81ec398ff5808e
>>>>>>
>>>>>> I suspect the chromium flashrom tree has diverged enough from
>>>>>> upstream that it will not apply cleanly there but it is only a 130 line
>>>>>> patch so it shouldn't be too bad to integrate if needed.
>>>>>>
>>>>>> -duncan
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>> --
>> coreboot mailing list: coreboot at coreboot.org
>> http://www.coreboot.org/mailman/listinfo/coreboot
>>
>
>
>
> --
> David Hendricks (dhendrix)
> Systems Software Engineer, Google Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150602/757dfd1d/attachment.html>


More information about the coreboot mailing list