flashrom does have built-in self tests and also supports external tests,
but apparently that is not well-known.

If your build VM supports flash chip host controller emulation and flash
chip emulation, you can run flashrom with root privileges against the
emulated hardware.

If you want to run only unprivileged code, the man page flashrom.8 has
you covered with multiple pages of explanations and option descriptions
and even working examples:

dummy programmer
              The dummy programmer operates on a buffer in memory only.
It provides a safe and fast way to test various aspects of flashrom and
is mainly used in development and while debugging.  It is able to
emulate some chips to a certain degree (basic identify/read/erase/write
operations work).
[...]

That feature is enabled by default if flashrom is built with the classic
Makefile. AFAIK the Meson build doesn't have feature parity yet, so that
feature might be missing (no promises).

Regards,
Carl-Daniel

Am 04.02.21 um 16:17 schrieb William Wilson:
> ** Description changed:
>
> + [Summary]
> + There are a few issues before we can MIR this package. The package does not 
> have a test suite that runs at build time, nor does it have a test suite that 
> runs as autopkgtest.
> +
>   [Availability]
>   Currently in universe.
> +
> + [Duplication]
> + There is no other package in main providing the same functionality.
>
>   [Rationale]
>   fwupd depends on libflashrom1 for its flashrom plugin, something that's 
> required to update Coreboot firmware.
>
>   [Security]
> - All known issues have bee resolved.
> + All known issues have been resolved.
>
>   [Quality Assurance]
> + Package builds and runs easily
>
>   [Dependencies]
>   N/A
>
>   [Standards Compliance]
> + Complies with FHS, though the organization of files in the source package 
> could be organized better.
> +
> + [Common blockers]
> + flashrom does NOT have a test suite that runs at build time.
> + flashrom does NOT have a test suite that runs as autopkgtest.
>
>   [Maintenance]
>   Actively maintained - https://github.com/flashrom/flashrom
>   Packaging - https://salsa.debian.org/myczko-guest/flashrom.git
>
> ** Description changed:
>
>   [Summary]
>   There are a few issues before we can MIR this package. The package does not 
> have a test suite that runs at build time, nor does it have a test suite that 
> runs as autopkgtest.
>
>   [Availability]
>   Currently in universe.
>
>   [Duplication]
>   There is no other package in main providing the same functionality.
>
>   [Rationale]
>   fwupd depends on libflashrom1 for its flashrom plugin, something that's 
> required to update Coreboot firmware.
>
>   [Security]
> - All known issues have been resolved.
> + No CVE's, but due to the nature of the package security should review.
>
>   [Quality Assurance]
>   Package builds and runs easily
>
>   [Dependencies]
>   N/A
>
>   [Standards Compliance]
>   Complies with FHS, though the organization of files in the source package 
> could be organized better.
>
>   [Common blockers]
>   flashrom does NOT have a test suite that runs at build time.
>   flashrom does NOT have a test suite that runs as autopkgtest.
>
>   [Maintenance]
>   Actively maintained - https://github.com/flashrom/flashrom
>   Packaging - https://salsa.debian.org/myczko-guest/flashrom.git
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1912371

Title:
  [MIR] flashrom

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashrom/+bug/1912371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to