Thanks! Never would have figured that out.Thanks for PM-ing me the files, I'll report the issue here, just in case it bites anybody else:
This is actually due to a bug in the very old (2007 copyright) version ofefirom
which you were using - it is treating filenames which start with/
(i.e. filenames specified starting at root) as options (!) and then complaining it is an invalid option. (You can test it, e.g.efirom -d /foo/bar
saysInvalid option specified: -foo/bar
.)
You can actually work round this, even with that version ofefirom
, by using the script's-t
option, e.g../vBiosInsert.sh -t temp -a vega56.rom EnableGop.efi vega56Gop.rom
will work. You can remove thetemp
dir and files afterwards.
Maybe (hopefully?) someone knowledgeable would be willing to post somewhat concise instructions for building efirom (I assume it would not be kosher to bundle a precompiled version with the script and that's why it was not included?). I easily found the EDK2 github but there wasn't anything in the readme about building on macOS and the instructions I found online were for building the entire repo which seemed like overkill when we just need the one file.
Edit: Or, if someone just wants to attach a newer pre-compiled version here somewhere that could work too 😅
Anyway, I will proceed with your modified instructions and flash my Vega56 tomorrow sometime. I'll report back with the results.
Thanks again
Last edited: