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 [email protected] <[email protected]> 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 <[email protected]>; Wu, Amin <[email protected]>; US00 > Krishna Shekar <[email protected]> > *Cc:* David Hendricks <[email protected]>; [email protected] > *Subject:* Re: [flashrom] Do you have support for W25Q128FW and W25Q256.W? > > > > Hi Shekar, > > > > Please help and feedback. > > > > Thx. > > > > Jack > ------------------------------ > > *From:* SM10 YLLi5 <[email protected]> > *Sent:* Wednesday, May 6, 2020 7:40 PM > *To:* Wu, Amin; US40 Jack Lee > *Cc:* David Hendricks; [email protected] > *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:[email protected] <[email protected]>] > *Sent:* Thursday, May 07, 2020 10:38 AM > *To:* SM10 YLLi5; David Hendricks > *Cc:* [email protected] > *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 <[email protected]> > *Sent:* Thursday, May 7, 2020 10:22 AM > *To:* David Hendricks <[email protected]>; Wu, Amin < > [email protected]> > *Cc:* [email protected] > *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:[email protected] > <[email protected]>] > *Sent:* Saturday, April 25, 2020 12:02 PM > *To:* Wu, Amin > *Cc:* AP A0PH mkt_online; [email protected] > *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 <[email protected]> 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 > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fflashrom.org%2F&data=02%7C01%7CAmin.Wu%40amd.com%7C0918f84b12cd4e6ccaa908d7f22d7c7c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637244149513350601&sdata=zPYtudefIHhxJ%2BC6cDnySYIVwQC30n4QvnuPa0xZbco%3D&reserved=0> > > > > 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' <[email protected]>; ' > [email protected]' <[email protected]> > *Cc:* '[email protected]' <[email protected]> > *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 <[email protected]> > *Cc:* [email protected] > *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 <[email protected]> > *Sent:* Tuesday, April 21, 2020 1:06 PM > *To:* Wu, Amin <[email protected]> > *Cc:* [email protected] > *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 <[email protected]> wrote: > > [AMD Official Use Only - Internal Distribution Only] > > > > Hi > > Do you have support for W25Q128FW and W25Q256.W? Thanks > > > > > > BR > > AMIN > > _______________________________________________ > flashrom mailing list -- [email protected] > To unsubscribe send an email to [email protected] > > > ------------------------------ > > > 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 -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ flashrom mailing list -- [email protected] To unsubscribe send an email to [email protected]
