2020-11-28, 02:10
(2020-11-27, 23:28)Matt Devo Wrote:Wonderful, I tried it out and (after a few minor corrections) it worked like a charm!(2020-11-27, 19:22)sow07 Wrote: Hi there, long time user of the E-Z setup script here. I recently went to run this on a newly acquired Asus Chromebox CN60 and hit a roadblock. Further investigation points to a couple flashrom dependencies in https://www.mrchromebox.tech/files/util/flashrom.tar.gz
I am able to execute the built-in flashrom, but the downloaded one (with logging capability) errors our immediately. The two dependencies are:
LIB_PCI_3.5 (and 3.3)
GLIBC_2.27
It's looking for these in /usr/lib64/libpci.so.3 and /lib64/libc.so.6. I have versions libpci.so.3.1.10 and libc-2.19.so mapped to these libraries so it makes sense the script failed.
I was under the impression the downloaded flashrom would not have any external dependencies, but maybe something changed?
I checked into downloading updates to these packages but the basic chromebox linux doesn't have a package manager so I'm not sure how to solve that.
I did reset the chromebox by going in and out of developer mode and no changes. It's a fresh box as far as I can tell.
Screen picture of actual error:
Would it be possible to get a version of flashrom without dependencies? I modified the script to just use the internal flashrom which allowed me to get to the main menu, but failed later when trying to setup the standalone bios (traced to a spot where it attempted to check logs which we know aren't there). I was tempted to have it skip checking any logs which I assume would work but lose protections against any encountered errors. I didn't want to take that chance yet though.
ok, I just pushed a change to try and work around that. try clearing /tmp/boot/util and re-running the script
Needed these edits:
function.sh line 261 "if if" changed to "if"
function.sh line 263 add line "mv flashrom_old.tar.gz flashrom.tar.gz"
CN60 users are back in business. Thanks so much for the quick reply and fix!