Giter Site home page Giter Site logo

issue rpi-eeprom-config -e about dietpi HOT 2 CLOSED

Uli007git avatar Uli007git commented on June 4, 2024
issue rpi-eeprom-config -e

from dietpi.

Comments (2)

Uli007git avatar Uli007git commented on June 4, 2024 1

Thanks... great job :) !!!

I did the

apt install flashrom

from dietpi.

MichaIng avatar MichaIng commented on June 4, 2024

Fixed already:

Until the new package is live, either:

G_CONFIG_INJECT 'RPI_EEPROM_USE_FLASHROM=' 'RPI_EEPROM_USE_FLASHROM=0' /etc/default/rpi-eeprom-update

or:

apt install flashrom

Background:

  • Recently, support for flashrom has been integrated into rpi-eeprom-update to allow flashing the EEPROM binary directly, instead of having this done on reboot.
  • The variable RPI_EEPROM_USE_FLASHROM has been introduced to use or not use it, which defaults to 1 (use it).
  • When you did not set this to 0, but the flashrom tool/package is not installed, rpi-eeprom-update did output a warning whenever executed, even when it is just used to list the latest EEPROM image and not flash anything.
  • This warning message hence mixed in the output which should actually contain the latest EEPROM path only, causing an invalid path for rpi-eeprom-config to choke on.

The fix moved the warning form STDOUT to STDERR (so that is is not used by rpi-eeprom-config) and additionally the flashrom check is only done, when actually updating the EEPROM, not anymore when listing available EEPROM binaries or doing other things.

from dietpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.