Hi Dave and Amin,

 

Just following up to ensure this programming issue was resolved at your end. Since the newer parts are supported on most commercial programmers and we did not hear back from you, we thought you have been able to program the parts successfully and have been able to use these parts on the AMD board. These parts are already supported on the AMD reference boards with Renoir. Thanks.

 

Regards,

Shekar

 

From: US00 Krishna Shekar
Sent: Friday, May 8, 2020 1:33 PM
To: Mike Banon <mikebdp2@gmail.com>
Cc: US40 Jack Lee <JLee2@winbond.com>; SM10 YLLi5 <YLLi5@winbond.com>; Wu, Amin <Amin.Wu@amd.com>; flashrom@flashrom.org; David Hendricks <david.hendricks@gmail.com>
Subject: RE: [flashrom] Re: Do you have support for W25Q128FW and W25Q256.W?

 

Copying Dave Hendricks………….

 

From: US00 Krishna Shekar
Sent: Friday, May 8, 2020 1:31 PM
To: Mike Banon <mikebdp2@gmail.com>
Cc: US40 Jack Lee <JLee2@winbond.com>; SM10 YLLi5 <YLLi5@winbond.com>; Wu, Amin <Amin.Wu@amd.com>; flashrom@flashrom.org
Subject: RE: [flashrom] Re: Do you have support for W25Q128FW and W25Q256.W?

 

Resending this message with datasheet links below

 

https://www.winbond.com/resource-files/W25Q256JW%20SPI%20RevG%2011252019%20Plus.pdf

https://www.winbond.com/resource-files/W25Q128JW_RevD_03132020%20Plus.pdf

 

From: US00 Krishna Shekar
Sent: Thursday, May 7, 2020 12:14 PM
To: Mike Banon <mikebdp2@gmail.com>
Cc: US40 Jack Lee <JLee2@winbond.com>; SM10 YLLi5 <YLLi5@winbond.com>; Wu, Amin <Amin.Wu@amd.com>; flashrom@flashrom.org
Subject: RE: [flashrom] Re: Do you have support for W25Q128FW and W25Q256.W?

 

W25Q128FW and W25Q256FW are older products and have been replaced by the latest W25Q128JW and W25Q256JW serial flash products. These newer datasheets are publicly available on the Winbond web site www.winbond.com. Please see these datasheets attached. Thanks.

 

Regards,

Shekar

 

From: Mike Banon [mailto:mikebdp2@gmail.com]
Sent: Thursday, May 7, 2020 12:01 PM
To: US00 Krishna Shekar <kcshekar@winbond.com>
Cc: US40 Jack Lee <JLee2@winbond.com>; SM10 YLLi5 <YLLi5@winbond.com>; Wu, Amin <Amin.Wu@amd.com>; flashrom@flashrom.org
Subject: Re: [flashrom] Re: Do you have support for W25Q128FW and W25Q256.W?

 

flashrom is really preferable: it's the open source (important!) software that supports a lot of programmers, including the inexpensive ones like CH341A which costs just $2. To add a support for W25Q128FW and W25Q256FW to flashrom - hopefully would be enough to create the correct chip definitions in flashchips.c / flashchips.h files using the datasheets for W25Q128FW and W25Q256FW. If these datasheets aren't publicly available yet, please provide them.

 

On Thu, May 7, 2020 at 4:23 PM kcshekar@winbond.com <kcshekar@winbond.com> wrote:

Hi Everyone,

 

The latest part numbers I would recommend your using are W25Q128JWSSIQ or W25Q128JWEIQ (128Mb serial flash) and W25Q256JWEIQ (256Mb serial flash) on your designs. The part numbers mentioned below are old parts and the part numbers are incomplete. The part numbers I have mentioned are supported on the AMD Renoir reference boards, and in turn supports all the CPUs that AMD offers today. If you have further questions about support for AMD products, please contact Jason Hawken at AMD, Toronto.

 

I am not sure if these are supported on Raspberry. Please take a look at the link below to look at the support provided by several programmer vendors for Winbond flash parts.

 

https://www.winbond.com/resource-files/AN0000012%20CodeStorageMemoryProgrammingSupport%20Guide%20v4.2%2002282020.pdf

 

I would recommend using Dediprog programmers - You are likely to find good support on Dediprog programmers for Winbond parts.

 

If you already have the W25Q128FW and W25Q256FW parts with you now, they are supported on the Dediprog programmers as well. Trust this information is helpful. Let us know if you need any further help. Thanks.

 

Regards,

Shekar

 

From: US40 Jack Lee
Sent: Wednesday, May 6, 2020 7:42 PM
To: SM10 YLLi5 <YLLi5@winbond.com>; Wu, Amin <Amin.Wu@amd.com>; US00 Krishna Shekar <kcshekar@winbond.com>
Cc: David Hendricks <david.hendricks@gmail.com>; flashrom@flashrom.org
Subject: Re: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

Hi Shekar,

 

Please help and feedback.

 

Thx.

 

Jack


From: SM10 YLLi5 <YLLi5@winbond.com>
Sent: Wednesday, May 6, 2020 7:40 PM
To: Wu, Amin; US40 Jack Lee
Cc: David Hendricks; flashrom@flashrom.org
Subject: FW: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

Hi Jack,

 

Here we have the question below. do you mind to answer for this? Thanks.

 

Do you have a plan to support flash bios for W25Q128FW and W25Q256.W via flashrom in Raspberry?

 

 

Regards,

Yulia

From: Wu, Amin [mailto:Amin.Wu@amd.com]
Sent: Thursday, May 07, 2020 10:38 AM
To: SM10 YLLi5; David Hendricks
Cc: flashrom@flashrom.org
Subject: RE: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

[AMD Official Use Only - Internal Distribution Only]

 

Thanks David.

I tried flashrom1.2 , W25Q128FW and W25Q256.W are not in the support list.

I want use Raspberry only to flash W25Q128FW and W25Q256.W.

 

Hi Yulia,

Can you add W25Q128FW and W25Q256.W to flashrom support list to use Raspberry only? Thanks for your responding.

 

 

 

 

BR

AMIN

From: Yulia Li <YLLi5@winbond.com>
Sent: Thursday, May 7, 2020 10:22 AM
To: David Hendricks <david.hendricks@gmail.com>; Wu, Amin <Amin.Wu@amd.com>
Cc: flashrom@flashrom.org
Subject: RE: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

[CAUTION: External Email]

Hi Amin,

 

Sorry for the late reply, do you still need any other support?

Thanks.

 

 

Regards,

Yulia

 

From: David Hendricks [mailto:david.hendricks@gmail.com]
Sent: Saturday, April 25, 2020 12:02 PM
To: Wu, Amin
Cc: AP A0PH mkt_online; flashrom@flashrom.org
Subject: Re: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

Hi Amin,

Please note that the W25Q128FW is a 1.8V chip, while Raspberry PI IOs are 3.3V.

 

For Dediprog, pass in the `voltage` parameter, e.g. `flashrom -p dediprog:voltage=1.8 -r foo.bin`

 

Also, as Mike mentioned it will help if we know the version of flashrom which you are trying to use. Some distributions provide very old versions.

 

On Wed, Apr 22, 2020 at 1:33 AM Wu, Amin <Amin.Wu@amd.com> wrote:

[AMD Official Use Only - Internal Distribution Only]

 

Hi David Hendricks,

“No EEPROM/flash device found” pop after I added below code to flashchips.c and flashchips.h to install flashrom in Raspberry 4B.

pi@raspberrypi:~ $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4096

flashrom  on Linux 4.19.57-v7l+ (armv7l)

flashrom is free software, get the source code at https://flashrom.org

 

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).

No EEPROM/flash device found.

Note: flashrom can never write if the flash chip isn't found automatically.

 

Do you have any suggestions? Thanks 😊

 

flashchips.h

#define WINBOND_NEX_W25Q128FW 0xef6018 /*W25Q128FW */

 

flashchips.c

         {

                  .vendor            = "Winbond",

                  .name               = "W25Q128FW",

                  .bustype  = BUS_SPI,

                  .manufacture_id     = WINBOND_NEX_ID,

                  .model_id        = WINBOND_NEX_W25Q128FW,

                  .total_size       = 16384,

                  .page_size       = 256,

                  /* supports SFDP */

                  /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */

                  .feature_bits   = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI,

                  .tested              = TEST_OK_PREW,

                  .probe              = probe_spi_rdid,

                  .probe_timing = TIMING_ZERO,

                  .block_erasers =

                  {

                          {

                                   .eraseblocks = { {4 * 1024, 4096} },

                                   .block_erase = spi_block_erase_20,

                          }, {

                                   .eraseblocks = { {32 * 1024, 512} },

                                   .block_erase = spi_block_erase_52,

                          }, {

                                   .eraseblocks = { {64 * 1024, 256} },

                                   .block_erase = spi_block_erase_d8,

                          }, {

                                   .eraseblocks = { {16 * 1024 * 1024, 1} },

                                   .block_erase = spi_block_erase_60,

                          }, {

                                   .eraseblocks = { {16 * 1024 * 1024, 1} },

                                   .block_erase = spi_block_erase_c7,

                          }

                  },

                  .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */

                  .unlock             = spi_disable_blockprotect,

                  .write                = spi_chip_write_256,

                  .read                 = spi_chip_read,

                  .voltage   = {1650, 1950},

         },

 

 

BR

AMIN

From: Wu, Amin
Sent: Wednesday, April 22, 2020 2:55 PM
To: 'David Hendricks' <david.hendricks@gmail.com>; 'mkt_online@winbond.com' <mkt_online@winbond.com>
Cc: 'flashrom@flashrom.org' <flashrom@flashrom.org>
Subject: RE: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

[AMD Official Use Only - Internal Distribution Only]

 

Hi Winbond,

Do you have a plan to support flash bios for W25Q128FW and W25Q256.W via flashrom in Raspberry?

 

 

BR

AMIN

From: Wu, Amin
Sent: Tuesday, April 21, 2020 1:32 PM
To: David Hendricks <david.hendricks@gmail.com>
Cc: flashrom@flashrom.org
Subject: RE: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

[AMD Official Use Only - Internal Distribution Only]

 

Hi David, Hendricks,

Can you share the flashrom link to download which support W25Q128FW and W25Q256.W?

Now I used DediProg to flash these bioschip. I can try with raspberry to flash when I get the flashrom from you. 😊

It is great help for me if flashrom support W25Q128FW and W25Q256.W. I tried edit flashchip.c and flashchip.h, but flash fail and fail.

Thank you flashrom developer. Good job! Flashrom~Yes~

 

 

BR

AMIN

 

From: David Hendricks <david.hendricks@gmail.com>
Sent: Tuesday, April 21, 2020 1:06 PM
To: Wu, Amin <Amin.Wu@amd.com>
Cc: flashrom@flashrom.org
Subject: Re: [flashrom] Do you have support for W25Q128FW and W25Q256.W?

 

[CAUTION: External Email]

Yes and yes :-)

 

On Mon, Apr 20, 2020 at 10:05 PM Wu, Amin <Amin.Wu@amd.com> wrote:

[AMD Official Use Only - Internal Distribution Only]

 

Hi

Do you have support for W25Q128FW and W25Q256.W? Thanks

 

 

BR

AMIN

_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-leave@flashrom.org

 



The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.

 



The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.

_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-leave@flashrom.org




The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.