merge / skulls

pre-built coreboot images and documentation on how to flash them for Thinkpad Laptops
GNU General Public License v3.0
677 stars 66 forks source link

Please use flashrom v1.2 or later. You seem to use . #266

Closed SKELETONTOPROM closed 1 year ago

SKELETONTOPROM commented 1 year ago

My flashrom version is:

flashrom is already the newest version (1.3.0-2.1)

But I get this error when trying to update:

~/Downloads/skulls-1.0.7$ sudo '/home/myusername/Downloads/skulls-1.0.7/skulls.sh' -b x230 -v

Board: x230 Please use flashrom v1.2 or later. You seem to use .

matsura8 commented 1 year ago

I had the same problem (In my case, Kali 2023. When I ran 'flashrom -v' the output declared it was an unspecified version number even though it stated v1.3 when installing with apt. The version number must have not been specified properly in the release. I would try installing from another source or compiling your own flashrom files. Flashrom also has precompiled binaries for most distros.

matsura8 commented 1 year ago

It seems like ~/flashrom-1.3.0/util/getversion.sh --version is returning undefined all the time, so it would be ideal to modify code keep this issue from persisting in all other builds.

Edit: Sorry, didn't check on if code was modified before writing this. I'm new here.

matsura8 commented 1 year ago

The updated code though still gives error and does not allow to proceed. It appears the lack of version number was included in their release tarball. I have notified flashrom dev already.

matsura8 commented 1 year ago

After repairing the flashrom code myself... Screenshot_2023-06-04_17-51-34