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

Misleading error message when passing ROM as ./coreboot.rom #17

Open
krystian-hebel opened this issue Oct 3, 2024 · 0 comments
Open

Comments

@krystian-hebel
Copy link

It seems that either dcuc or dcu doesn't properly treat paths relative to current directory. This doesn't work and produces error about wrong sub-command:

(venv) [khebel@3M05 dcu]$ ./dcuc variable ./msi_ms7d25_v1.1.3_ddr4.rom --set SerialRedirection --value Enabled
Unknown sub-command: msi_ms7d25_v1.1.3_ddr4.rom
Usage: smmstoretool smm-store-file|rom sub-command
       smmstoretool -h|--help

Sub-commands:
 * get    - display current value of a variable
 * guids  - show GUID to alias mapping
 * help   - provide built-in help
 * list   - list variables present in the store
 * remove - remove a variable from the store
 * set    - add or updates a variable in the store

This works fine:

(venv) [khebel@3M05 dcu]$ ./dcuc variable msi_ms7d25_v1.1.3_ddr4.rom --set SerialRedirection --value Enabled
No firmware volume header present
No valid firmware volume was found

The variable store has not been found in the ROM image
and is about to be initialized. This situation is normal
for a release image, as the variable store is usually
initialized on the first boot of the platform.

Successfully created variable store in "msi_ms7d25_v1.1.3_ddr4.rom"
Successfully set variable SerialRedirection in the variable store.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant