Hello Albert, I am so glad to know that you solved everything by yourself, and unblocked your work. Well done again!
> Now if Ok for you, I need to your help and guidance because i’m not too > familiar with github, would you check my repo, how it is written, the info, > eventually load my release on your Apple to see if roughly it works. Any > constructive critics are welcome ;) Sorry to disappoint you, I am not doing any development on Apple and have never done it before. Out of the things you asked I did only one: opened your repo out of curiosity and looked there a bit :) But I have never written on swift before, I can't even comment on code style and things like that. But, it's good that we have this on the mailing list. Other people on the list could be interested in this topic and might join. I also never used GUI for flashrom, always run it from the command line. I didn't know about G-flash, I learned from you when you started this thread! But, the fact that people develop GUI tools for flashrom, I think it's so awesome! Few more specific points that you mentioned: > When I look at your site build instructions, it is actually not clear how we > could compile your code in another platform, maybe he found a trick but I do > not understand. What would be necessary to have an easier compilation on > MacOS with Xcode of your source code ? If our build instructions are incomplete (or incorrect), they can be updated. If you are interested, you can look into this doc: https://flashrom.org/how_to_add_docs.html . Or, in few weeks I will have time, I can try to build latest flashrom on Mac and see whether our build instructions cover everything. I done it before (building on Mac), but it was a while ago. > Technically is there a risk to not be able programming the chip which i’m > working, why the chip is not detected with its real name, what is the meaning > of « SFDP-capable chip» The chip can be handled as "SFDP-capable chip", it's not a problem. When the chip entry is not found in our database (as you noticed), then flashrom tries to talk to it via SFDP protocol, and if the chip supports the protocol then it's all good. About programming on the chip: we did have a report earlier about segfault when using macOS, however we didn't have a stacktrace. Later, a very similar bug was reported for OpenBSD and that one was with stacktrace and a patch! The latter now fixed, it is possible it was the same bug. Details here https://ticket.coreboot.org/issues/551 and here https://ticket.coreboot.org/issues/555 It's for programming the chip, reading is fine. So there is a bug that might affect you, it is present in v1.4 and fixed in v1.5 which is planned to be released soon, ETA 6th December. On Tue, Nov 19, 2024 at 7:38 PM Albert Roseiro <[email protected]> wrote: > > Hello Anastasia, > > I hope you remember our recent mail exchange regarding the MacOS version done > by GitHub german. > > I did open an issue to see whith him what could be done, he did upgrade > flashrom 1.2 to 1.4 but he stick to a psycho-rigid state of mind not willing > to solve all the issues. You’ll notice he closed the issue then re-opened > then closed even though it is clear he needs to modify part of hos Xcode > project: > https://github.com/MacThings/g-flash/issues/1 > > Anyway human nature so I’ve decided this morning (french time) to fork his > repo, understand what he did with Xcoe on MacOS, modify and got it working as > an application released now working fine with yoru 1.4 flashrom under Mojave, > Monterey. In fact, it is now easy for me to have it work with older versiosn > of MacOS but will let it with Mojave and above: > https://github.com/tantratron/flashrom-MacOS > > Now if Ok for you, I need to your help and guidance because i’m not too > familiar with github, would you check my repo, how it is written, the info, > eventually load my release on your Apple to see if roughly it works. Any > constructive critics are welcome ;) > > On a side note, I stil do not understand how the creator was able to compile > or patch your flashrom software, in the issue he describes patching then > later problem with brew > https://github.com/MacThings/g-flash/issues/1#issuecomment-2481298800 > https://github.com/MacThings/g-flash/issues/1#issuecomment-2482558997 > > When I look at your site build instructions, it is actually not clear how we > could compile your code in another platform, maybe he found a trick but I do > not understand. What would be necessary to have an easier compilation on > MacOS with Xcode of your source code ? > > Anyway your 1.4 version works fine under Mojave (MacOS 10.14), see attached > screenshot and same application works with Monterey > > Technically is there a risk to not be able programming the chip which i’m > working, why the chip is not detected with its real name, what is the meaning > of « SFDP-capable chip» > > When I type flashrom -L then I see its vhip name as ZD25V040 printed on my > PCB connected to my CH341A but your database lists ZD25D40 > Zetta Device ZD25D20 > 256 SPI > Zetta Device ZD25D40 > 512 SPI > Zetta Device ZD25LQ128 PREW > 16384 SPI > > Sorry for the confusion, just on my learning curve > > Best regards, Albert Roseiro > Mobile: (+33)-648-942-484 > > -- Anastasia. _______________________________________________ flashrom mailing list -- [email protected] To unsubscribe send an email to [email protected]
