dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

Flashing binary modified with smmstore tool results in being unable to change those options

Open m-iwanicki opened this issue 3 months ago • 1 comments

Component

Dasharo firmware, Dasharo Tools Suite

Device

Hardkernel Odroid H4

Dasharo version

v0.9.1

Dasharo Tools Suite version

v2.7.1

Test case ID

No response

Brief summary

Flashing smmstore modified binary results in being unable change BIOS configuration

How reproducible

100%

How to reproduce

  1. Flash v0.9.1

  2. Modify the same binary with smmstore tool and flash it

    smmstoretool hardkernel_odroid_h4_v0.9.1.rom set -g f0a30bc7-af08-4556-99c4001009c93a44 -n SecureBootEnabled -t bool -v true
    smmstoretool hardkernel_odroid_h4_v0.9.1.rom set -g dasharo -n LockBios -t uint8 -v 1
    smmstoretool hardkernel_odroid_h4_v0.9.1.rom set -g dasharo -n SmmBwp -t uint8 -v 1
    flashrom -p internal --ifd -i bios -w hardkernel_odroid_h4_v0.9.1.rom
    
  3. Reboot and try to change modified Dasharo System Features

Expected behavior

Can disable e.g. BIOS lock

Actual behavior

Submit Fail For Form

Screenshots

Image

Additional context

  • smmstore tool in DTS was built from this commit https://github.com/coreboot/coreboot/commit/602653abed391ae1b1445ad86d0f05b8b5b678cb
  • Secure boot state can be changed, but other options in Dasharo System Features also don't work if they were modified by smmstore tool e.g. Network Boot

Solutions you've tried

No response

m-iwanicki avatar Oct 15 '25 14:10 m-iwanicki

Should have been fixed with https://github.com/Dasharo/edk2/pull/276

mkopec avatar Oct 21 '25 10:10 mkopec