Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashrom errors when using -p ite_ec:boardmismatch=force on known board #1172

Open
m-iwanicki opened this issue Dec 13, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working novacustom_ns5x/7x_adl NovaCustom NS5x/7xPU (12th Gen) novacustom_ns5x/7x_tgl NovaCustom NS5x/7xMU (11th Gen)

Comments

@m-iwanicki
Copy link

Component

other

Device

NovaCustom NS5x 11th Gen, other

Dasharo version

No response

Dasharo Tools Suite version

v2.1.0

Test case ID

No response

Brief summary

Flashrom fails with Unhandled programmer parameters when using boardmismatch=force on known board

How reproducible

100%

How to reproduce

use

flashrom -p ite_ec:boardmismatch=force,romsize=128K,autoload=disable -r /fw_backup/ec.bin
echo $?

on a board known by flashrom e.g. NS5xMU

Expected behavior

Return code should be 0

Actual behavior

flashrom exits with code 1 and Unhandled programmer parameters: boardmismatch=force error.

  • stdout:

    flashrom v1.2-1039-ga961af7a on Linux 6.6.21-yocto-standard (x86_64)
    flashrom is free software, get the source code at https://flashrom.org
    
    Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
    Mainboard EC Project: NS50MU
    Mainboard EC Version: 1.07.07
    Flash Part ID: ef 00 00 
    Found unknown Winbond flash chip
    
  • stderr:

    + flashrom -p ite_ec:boardmismatch=force,romsize=128K,autoload=disable -r /fw_backup/ec.bin
    Found PCI subsystem match for device CLEVO NS50MU/NS51MU
    Unhandled programmer parameters: boardmismatch=force,
    Aborting.
    Error: Programmer initialization failed.
    + return 1
    

Screenshots

No response

Additional context

No response

Solutions you've tried

Remove boardmismatch=force parameter from flashrom ite_ec commands on NS5x 11th gen

@m-iwanicki m-iwanicki added bug Something isn't working needs review labels Dec 13, 2024
@github-actions github-actions bot added novacustom_ns5x/7x_tgl NovaCustom NS5x/7xMU (11th Gen) novacustom_ns5x/7x_adl NovaCustom NS5x/7xPU (12th Gen) labels Dec 13, 2024
@m-iwanicki
Copy link
Author

Dasharo/dts-scripts#54 removes boardmismatch=force for NS5xMU in DTS but it feels like flashrom bug.

@miczyg1
Copy link
Contributor

miczyg1 commented Dec 16, 2024

@m-iwanicki check if this helps: Dasharo/flashrom#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working novacustom_ns5x/7x_adl NovaCustom NS5x/7xPU (12th Gen) novacustom_ns5x/7x_tgl NovaCustom NS5x/7xMU (11th Gen)
Projects
None yet
Development

No branches or pull requests

3 participants