#1 [Tool] Flashrom v1.2 [DOS] [AMD] by headkaze 05.02.2021 02:58

Here's a compiled version of flashrom with Ryzen support (https://github.com/tolga9009/flashrom/tree/ryzen). It includes the libpci library so it supports the -p internal flag. It's possible to compile libpci on Windows using MinGW and DJGPP so I've also attached the "libpci-libgetopt" folder with the pre-compiled libraries included so you can compile your own version easily.

Use this to compile it from MSYS:

1
 
make CC=i586-pc-msdosdjgpp-gcc STRIP=i586-pc-msdosdjgpp-strip LIBS_BASE=../libpci-libgetopt CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no
 



I've also included a version of Rufus that will create an MS-DOS boot disk. NOTE: You may need to enable the Compatibility Support Module (CSM) in your BIOS to boot it.

To backup your BIOS:

1
 
flashrom -p internal -r BACKUP.ROM
 



To write your own custom BIOS:

1
 
flashrom -p internal -w MOD.ROM
 

#2 RE: [Tool] Flashrom v1.2 [DOS] [AMD] by dsanke 05.02.2021 04:37

avatar

No AM4 mainboards handy now, will test it later and update result here.

#3 RE: [Tool] Flashrom v1.2 [DOS] [AMD] by dsanke 05.02.2021 04:48

avatar

Is it possible to create an EFI Shell version flashrom to flash Ryzen platform?
Some laptop do not have CSM.

#4 RE: [Tool] Flashrom v1.2 [DOS] [AMD] by headkaze 05.02.2021 05:04

Zitat von dsanke im Beitrag #3
Is it possible to create an EFI Shell version flashrom to flash Ryzen platform?
Some laptop do not have CSM.

flashrom requires DOS. If you don't have the CSM option in your BIOS you can try setup_var to set CSM and / or disable BIOS Lock if you need to.

Xobor Forum Software von Xobor
Datenschutz