datasone / setup_var.efi

UEFI command-line tool for read/write access of variables
Apache License 2.0
210 stars 7 forks source link

Error parsing arguments when I haven't provided any #21

Open reedog117 opened 2 months ago

reedog117 commented 2 months ago

I'm receiving the following error just running setup_var.efi inside my EFI shell without any arguments (v2.2.0)

Error parsing arguments:
Error loading options: InvalidString(InteriorNul(14))

When I run ver inside my EFI shell I get this:

EFI Specification Revision : 2.5.0
EFI Vendor : EDK II BIOS ID:S1200SP.86B.03.01.5049.111220210556
EFI Revision : 1.0

I've also tried using various arguments and running commands like setup_var.efi 0x5D -n PcSetupGeneration to read values from my BIOS but I get the same InvalidString error.

I downloaded setup_var.efi directly from Github - could this be an issue with my EFI shell? How can I get around this?

reedog117 commented 2 months ago

This seems to be a similar issue to https://github.com/datasone/setup_var.efi/issues/7#issuecomment-1354525720