There is another thing, in addition to my previous message.
I looked into the patch which adds chip definitions (this one https://review.coreboot.org/c/flashrom/+/58025) and the reason it is pending is there are no links to datasheets (old links are not working anymore). It is unfortunate that the patch is pending since 2021, but I want to try to fix the situation now, in the year 2024.
Victor, maybe you know, is it possible to find datasheets for GD25LR256E and GD251R512ME? I could finish the old patch and get chips into the tree.
This is a separate question to Avinash's issue with internal programmer, but for this we need the very verbose log (which is log with -VVV option on command line).
Thank you!
On Thu, May 9, 2024 at 11:03 PM Anastasia Klimchuk aklm@chromium.org wrote:
Avinash, I read the thread and I see you are saying "I am attaching the log here" but I don't see the log? maybe you can re-send it again, now with the mailing list? (perhaps you sent it to Victor only?) Yes it is also important to know your board, since you are saying the chip worked successfully with dediprog, but not with the internal programmer.
Victor, thank you so much for helping!
On Mon, May 6, 2024 at 6:42 PM Vlim vlim@gigadevice.com wrote:
Thanks, Avinash,
Can you advise which board are you using? I have tested this patch with the USB programmer only since I do not have access to the motherboard.
Hi, Flashrom team, Can you also help on this?
Regards,
Victor Lim FAE Director GigaDevice Semiconductor 4088833856 vlim@gigadevice.com
From: Munduru, Avinash Avinash.Munduru@amd.com Sent: Monday, May 6, 2024 16:24 To: Vlim vlim@gigadevice.com; flashrom@flashrom.org flashrom@flashrom.org Subject: Re: Support for GD25LR512ME flash chip.
You don't often get email from avinash.munduru@amd.com. Learn why this is important 此为外部邮件,谨防钓鱼邮件,请注意邮件是否涉及敏感信息 This is an external email, beware of phishing emails. Please pay close attention to whether the email contains sensitive information
[AMD Official Use Only - General]
Hi Victor,
Thanks for sharing the patch. Here is an update after trying the shared patch.
Now, Flashrom can detect the flash chip. Using dediprog programmer I can read/write the flash chip successfully. Whereas with using the internal programmer i.e. "-p internal" the read/write is failing. I am attaching the log here. Please give your input on this.
Once again! Thanks for your help!
From: Vlim vlim@gigadevice.com Sent: Sunday, May 5, 2024 1:54 PM To: flashrom@flashrom.org flashrom@flashrom.org; Munduru, Avinash Avinash.Munduru@amd.com Subject: Re: Support for GD25LR512ME flash chip.
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Hi, Avinash,
Sorry that I am working on adding this part to Flashrom, but has not completed the entire process.
Can you please use the attached flashchips.c and flashshchips.h and replace that in flashrom distribution?
This is the process.
git clone "https://review.coreboot.org/flashrom"
meson setup builddir meson compile -C builddir meson test -C builddir meson install -C builddir
Please also refer to the following link for compilation of the code. https://flashrom.org/dev_guide/building_from_source.html
I have a compiled version for Ubuntu Linux, if that will help, I can share with you.
Regards,
Victor Lim GigaDevice Semiconductors Inc. 4088833856 vlim@gigadevice.com
From: Munduru, Avinash via flashrom flashrom@flashrom.org Sent: Tuesday, April 30, 2024 16:54 To: flashrom@flashrom.org flashrom@flashrom.org Subject: [flashrom] Re: Support for GD25LR512ME flash chip.
此为外部邮件,谨防钓鱼邮件,请注意邮件是否涉及敏感信息 This is an external email, beware of phishing emails. Please pay close attention to whether the email contains sensitive information
[AMD Official Use Only - General]
- attaching the output log
From: Munduru, Avinash Sent: Tuesday, April 30, 2024 2:04 PM To: flashrom@flashrom.org flashrom@flashrom.org Subject: Support for GD25LR512ME flash chip.
Hi,
Currently, flash chip support for GD25LR512ME is not supported in flashrom utility. Please share a patch if it is already available. If not let me know how I can modify it.
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
-- Anastasia.