#1 [Tool] Flashrom v1.2 [Win10] by st1cky 27.10.2020 08:54

avatar

Compiled with MinGW on Windows 10.

Name: flashrom.exe
Größe: 1062341 Bytes (1037 KiB)
CRC32: D08EF6D5
CRC64: 4CC66DD985E8172A
SHA256: DA408E3783E033FF908231EDC5DC97D67EBBC940FF13C03E95DE17818F89F74C
SHA1: 847A851A9EE945F16D78EC298B4199C4CED9284D
BLAKE2sp: 0BBCB29638C56E888936D70597144982DFAC4FDF14318DD3C510E0CFF98C4550

I'm not sure if it already exists here.

I tested it and it works fine with the CH341A SPI Programmer in Windows 10 64bit.

Github

#2 RE: [Tool] Flashrom v1.2 [Win10] by Lost_N_BIOS 27.10.2020 09:58

avatar

@st1cky - Thanks! Does this support " -p Internal"
@superb123 asked about that here - [Guide] How to flash a modded AMI UEFI BIOS (53)

#3 RE: [Tool] Flashrom v1.2 [Win10] by st1cky 27.10.2020 10:21

avatar

Zitat von Lost_N_BIOS im Beitrag #2
@st1cky - Thanks! Does this support " -p Internal"


Unfortunately it doesn't look like it.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
 flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
 
Usage: flashrom.exe [-h|-R|-L|
-p <programmername>[:<parameters>] [-c <chipname>]
(--flash-name|--flash-size|
[-E|(-r|-w|-v) <file>]
[(-l <layoutfile>|--ifd| --fmap|--fmap-file <file>) [-i <imagename>]...]
[-n] [-N] [-f])]
[-V[V[V]]] [-o <logfile>]
 
-h | --help print this help text
-R | --version print version (release)
-r | --read <file> read flash and save to <file>
-w | --write <file> write <file> to flash
-v | --verify <file> verify flash against <file>
-E | --erase erase flash memory
-V | --verbose more verbose output
-c | --chip <chipname> probe only for specified flash chip
-f | --force force specific operations (see man page)
-n | --noverify don't auto-verify
-N | --noverify-all verify included regions only (cf. -i)
-l | --layout <layoutfile> read ROM layout from <layoutfile>
--flash-name read out the detected flash name
--flash-size read out the detected flash size
--fmap read ROM layout from fmap embedded in ROM
--fmap-file <fmapfile> read ROM layout from fmap in <fmapfile>
--ifd read layout from an Intel Firmware Descriptor
-i | --image <name> only flash image <name> from flash layout
-o | --output <logfile> log output to <logfile>
--flash-contents <ref-file> assume flash contents to be <ref-file>
-L | --list-supported print supported devices
-p | --programmer <name>[:<param>] specify the programmer device. One of
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi,
pickit2_spi, ch341a_spi, digilent_spi, stlinkv3_spi.
 
You can specify one of -h, -R, -L, -E, -r, -w, -v or no operation.
If no operation is specified, flashrom will only probe for flash chips.
 



-p | --programmer <name>[:<param>] specify the programmer device. One of
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi,
pickit2_spi, ch341a_spi, digilent_spi, stlinkv3_spi.

#4 RE: [Tool] Flashrom v1.2 [Win10] by Lost_N_BIOS 27.10.2020 10:22

avatar

Thanks Can you rebuild one with the files he mentioned on the page I linked?
* Edit - Ohh, maybe not, maybe it's only possible with DOS?

#5 RE: [Tool] Flashrom v1.2 [Win10] by st1cky 27.10.2020 10:24

avatar

Yeah it looks like it was possible with flashrom 1.1.

1
 
On Intel ME enabled systems, internal flashing is allowed by default
 



I will check it out.

EDIT: If they removed the Code, maybe we can add it back. It was so exhausting to compile that Programm .

EDIT2: Actually maybe its working, i checked the makefile found this.

1
2
3
4
5
6
7
8
 

###############################################################################
# Default settings of CONFIG_* variables.
 
# Always enable internal/onboard support for now.
CONFIG_INTERNAL ?= yes
 

 



Flashrom V1.1 & V1.2

1
2
3
4
5
6
7
8
 

# For now we disable all PCI-based programmers on Windows/MinGW (no libpci).
ifeq ($(CONFIG_INTERNAL), yes)
UNSUPPORTED_FEATURES += CONFIG_INTERNAL=yes
else
override CONFIG_INTERNAL = no
endif
 
 



I think i need to switch 'UNSUPPORTED_FEATURES += CONFIG_INTERNAL=yes' to no. They have Disabled internal Flashing on Windows basis.
But could be, there will be some errors on compiling since there is no -> libpci Package for MinGW. Maybe thats why they have disabled it.

I will check it out.

#6 RE: [Tool] Flashrom v1.2 [Win10] by Lost_N_BIOS 27.10.2020 10:32

avatar

Thanks for checking it out! Ohh yeah, I can imagine how exhausting that was to do, I once had to use backtrack for some router beta testing, it was a major pain to get it all setup and then use >> Linux is not for me!

If you can't add back, maybe you can compile 1.1 version for superb123?

#7 RE: [Tool] Flashrom v1.2 [Win10] by ring00 28.12.2020 17:40

I need to reflash Lenovo Yoga NB BIOS after MB change. I met strange problem - notebook regards keyboard as big 102-keys with num pad, several keys don't work. In DOS also. Unfortunately Winflash64 refuses to flash the same version BIOS. Option /sv (skip version check) is absent now. What can You advise? BIOS file and winflash64 are attached

#8 RE: [Tool] Flashrom v1.2 [Win10] by headkaze 04.02.2021 23:34

Zitat von Lost_N_BIOS im Beitrag #4
Thanks Can you rebuild one with the files he mentioned on the page I linked?
* Edit - Ohh, maybe not, maybe it's only possible with DOS?

I've been trying to post a new DOS version here but I can't seem to. If you can give me the rights I'll make a post.

#9 RE: [Tool] Flashrom v1.2 [Win10] by Fernando 05.02.2021 00:01

avatar

@headkaze:
You can post a link with a space character in it.

#10 RE: [Tool] Flashrom v1.2 [Win10] by headkaze 05.02.2021 03:01

Zitat von Fernando im Beitrag #9
@headkaze:
You can post a link with a space character in it.

I posted my DOS version here.

Xobor Forum Software von Xobor
Datenschutz