G'day, sodface!
I very much appreciate your willingness to advise me in this situation! Meanwhile, I am considering looking into trying Windows with the programmer, if I can find the PC drivers for the CH341A programmer and a Windows version of flashrom.
Indeed -- I believe you've said you've been doing all this with Alpine from the CLI, whereas MrChromebox compiled his version of flashrom for Ubuntu flavors of Linux -- like Mint, which I am using with a full GUI. I figured that if I followed MrChromebox's Ubuntu-inspired syntax, I'd be fine, so I've always typed his programmer identification command verbatim:
(I note that in my earlier message in this thread, I had a typo where I wrote "ch341a_sp1" instead of "ch341a_spi" -- but I have been typing the correct command while using the programmer kit. Sorry for any confusion -- I was just tired last night when I was writing in this thread.)
True enough, but with a read-only CD as your operating system, you are stuck with whatever was included in the ISO file that you burned to the CD... The Alpine distro ISOs I found don't appear to include flashrom as default software, so I was stuck: unless I could get a full OS install onto a read-write hard drive, I couldn't add your repository or public key to Alpine, nor could I download and install your version (or any other version) of flashrom. The Alpine "live CD" allows me to play around on the CLI, but not much else. I would have preferred a GUI, but of course I couldn't install a display manager or any GUI on a read-only CD. I actually went through the entire "alpine-setup" procedure to get to the full HD install option -- the last step was choosing an appropriate install partition on the target machine, and I must have guessed wrong. I took the first option offered, to install Alpine to "sys" and take up the entire hard drive, but this resulted in an unbootable system on the MacBook. It doesn't even recognize the Alpine CD as bootable anymore! I vaguely recall this is a known risk with these old MacBooks, based on the peculiarities of how they use UEFI boot partitions and Apple authenticity checks. Sigh. I'll try to reinstall Mint on it later, but that's a very low priority for me right now, since I have another laptop with Mint.
I'm beginning to wonder if CH341A drivers might still be issue with certain Linux flavors? Perhaps Mint is sufficiently abbreviated from full Ubuntu that it simply doesn't recognize the USB programmer when it's plugged in. That might explain the mysterious errors that flashrom gives me whenever I try to use MrChromebox's command to identify if my programmer is properly connected to the AOPEN chip...
I had hoped that you would have instantly recognized the CLI output in my earlier screenshot as proof of "operator error" on my part. In other words, that such output was the result of me simply not getting the clip to properly contact the AOPEN chip pins. Now I think those weird control characters in the error output are evidence of a very confused machine -- perhaps one that doesn't realize that my CH341A even exists?
Or is it more likely that I just NEVER have gotten those clip contacts properly aligned after a dozen attempts?
I very much appreciate your willingness to advise me in this situation! Meanwhile, I am considering looking into trying Windows with the programmer, if I can find the PC drivers for the CH341A programmer and a Windows version of flashrom.
I don't understand the syntax error you are seeing, makes me think the format of your command line is incorrect but I can't tell for sure from your post. Almost looks like the flashrom binary you are using is compiled for a different architecture??
Code:
sudo ./flashrom -p ch341a_spi
As far as Alpine goes, you _should_ be able to boot the extended iso from USB and just use it running out of RAM without installing to disk, so you could do that with a newer machine without much risk of borking your normal OS install.
I'm beginning to wonder if CH341A drivers might still be issue with certain Linux flavors? Perhaps Mint is sufficiently abbreviated from full Ubuntu that it simply doesn't recognize the USB programmer when it's plugged in. That might explain the mysterious errors that flashrom gives me whenever I try to use MrChromebox's command to identify if my programmer is properly connected to the AOPEN chip...
I had hoped that you would have instantly recognized the CLI output in my earlier screenshot as proof of "operator error" on my part. In other words, that such output was the result of me simply not getting the clip to properly contact the AOPEN chip pins. Now I think those weird control characters in the error output are evidence of a very confused machine -- perhaps one that doesn't realize that my CH341A even exists?
Or is it more likely that I just NEVER have gotten those clip contacts properly aligned after a dozen attempts?
Comment