Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-29 Thread Nico Huber
On 9/29/18 6:35 PM, Nico Huber wrote: > On 9/28/18 11:20 PM, ron minnich wrote: >> I spoke too soon. It just flat out does not work to have sf100 and 256Mbit >> part AFAICT > > Ah, crap. I just gave this another thought and now I'm convinced that it > can't work with the current code.

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-29 Thread Nico Huber
On 9/28/18 11:20 PM, ron minnich wrote: > I spoke too soon. It just flat out does not work to have sf100 and 256Mbit > part AFAICT Ah, crap. I just gave this another thought and now I'm convinced that it can't work with the current code. dediprog_spi uses its own functions for read/write that

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-29 Thread Nico Huber
On 9/28/18 1:16 AM, Peter Stuge wrote: > ron minnich wrote: >> yeah, also is there a programmer you recommend for 32MiB parts? > > I don't have a recommendation just yet, but a question: > > Speed aside, is single bit IO good enough for 32MiB, or is DIO/QIO required? SIO is generally enough.

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-28 Thread ron minnich
I spoke too soon. It just flat out does not work to have sf100 and 256Mbit part AFAICT On Fri, Sep 28, 2018 at 11:19 AM ron minnich wrote: > Got the fix. I used dpcmd to update the firmware on the FS100 to 5.5.3 > > Then flashrom can program it with ease. > > And, ironically, while dpcmd can

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-28 Thread ron minnich
Got the fix. I used dpcmd to update the firmware on the FS100 to 5.5.3 Then flashrom can program it with ease. And, ironically, while dpcmd can update the firmware, it still can't flash the part :-) ron -- coreboot mailing list: coreboot@coreboot.org

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread Peter Stuge
ron minnich wrote: > yeah, also is there a programmer you recommend for 32MiB parts? I don't have a recommendation just yet, but a question: Speed aside, is single bit IO good enough for 32MiB, or is DIO/QIO required? //Peter -- coreboot mailing list: coreboot@coreboot.org

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread Carl-Daniel Hailfinger
On 27.09.2018 22:34, Nico Huber wrote: > On 9/27/18 10:11 PM, ron minnich wrote: >> yeah, also is there a programmer you recommend for 32MiB parts? > Any programmer that can handle arbitrary SPI commands, e.g. single- > board computers with native SPI interface (RPi, BeagleBone Black etc.), >

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread Nico Huber
On 9/27/18 10:11 PM, ron minnich wrote: > yeah, also is there a programmer you recommend for 32MiB parts? Any programmer that can handle arbitrary SPI commands, e.g. single- board computers with native SPI interface (RPi, BeagleBone Black etc.), CH341A is popular but slow, FTDI based programmers

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread ron minnich
yeah, also is there a programmer you recommend for 32MiB parts? thanks ron On Thu, Sep 27, 2018 at 1:10 PM Nico Huber wrote: > Ah, dediprog... you happen to have the one programmer that is hard to > support. > > On 9/27/18 9:49 PM, ron minnich wrote: > > hmm, is this useful? > > > > Found

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread Nico Huber
Ah, dediprog... you happen to have the one programmer that is hard to support. On 9/27/18 9:49 PM, ron minnich wrote: > hmm, is this useful? > > Found Spansion flash chip "S25FL256S..0" (32768 kB, SPI) on dediprog. > Erasing and writing flash chip... 4-byte address requested but master can't

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread ron minnich
Erasing and writing flash chip... Erase/write done. Verifying flash... FAILED at 0x0100! Expected=0x00, Found=0xff, failed byte count from 0x-0x01ff: 0xffc000 Your flash chip is in an unknown state. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread ron minnich
hmm, is this useful? Found Spansion flash chip "S25FL256S..0" (32768 kB, SPI) on dediprog. Erasing and writing flash chip... 4-byte address requested but master can't handle 4-byte addresses. Looking for another erase function. On Thu, Sep 27, 2018 at 12:40 PM ron minnich wrote: >

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread ron minnich
Thanks, let me send you the output I got. I am looking at the code too. On Thu, Sep 27, 2018 at 12:29 PM Nico Huber wrote: > Hi Ron, > > On 9/27/18 8:05 PM, ron minnich wrote: > > sadly, they do not work ... > > what does work? does flashrom detect the chip reliably? > What programmer do you

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread Nico Huber
Hi Ron, On 9/27/18 8:05 PM, ron minnich wrote: > sadly, they do not work ... what does work? does flashrom detect the chip reliably? What programmer do you use? what is your physical setup? If these patches don't work, I would expect that the failure is not about the flash chip model. Nico --

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-27 Thread ron minnich
sadly, they do not work ... but many thanks for the pointer! On Wed, Sep 26, 2018 at 1:16 PM Angel Pons wrote: > Hello Ron, > > I do not have such chip, but I am aware there are three patches > regarding the S25FL256S: [1] > > Best regards, > > Angel Pons > > [1]:

Re: [coreboot] flashrom and 256 MiB S256FL256S

2018-09-26 Thread Angel Pons
Hello Ron, I do not have such chip, but I am aware there are three patches regarding the S25FL256S: [1] Best regards, Angel Pons [1]: https://review.coreboot.org/q/topic:"s25fl256s; -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot

[coreboot] flashrom and 256 MiB S256FL256S

2018-09-26 Thread ron minnich
we're trying to use a 32 MiB part with flashrom and failing, I just wanted to see if anyone else has had good luck here. It reads back as all FF, but there is no indication of trouble. ron -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot