Skip to content

Commit

Permalink
Add support for ASRock firmware flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
leviport committed Sep 13, 2023
1 parent b98de65 commit a548a0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions res/firmware.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ if "%2" == "bios" then
exit %lasterror%
endif

# Flash with ASRockAfuEfix64 and exit if possible
# For: thelio-spark-b1
if exist ASRockAfuEfix64.efi then
ASRockAfuEfix64.efi firmware.rom /P /B /N /K /X
exit %lasterror%
endif

# Flash with efiflash and exit if possible
if exist efiflash.efi then
efiflash.efi firmware.rom /C /NR \NoOemId
Expand Down

0 comments on commit a548a0e

Please sign in to comment.