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.