Hello, I recently ran flashrom on my Lenovo V330-14ARR Laptop and got the following message asking me to make a report:
>$ sudo flashrom -r backup.rom -p internal
>flashrom on Linux 5.12.19_1 (x86_64)
>flashrom is free software, get the source code at https://flashrom.org
>Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
>Found chipset "AMD FP4".
>Enabling flash write... FCH device found but SMBus revision 0x61 does not match known values.
>Please report this to flashrom(a)flashrom.org and include this log and
>the output of lspci -nnvx, thanks!.
>Could not determine chipset generation.PROBLEMS, continuing anyway
>========================================================================
>You seem to be running flashrom on an unknown laptop. Some
>internal buses have been disabled for safety reasons.
>Laptops, notebooks and netbooks are difficult to support and we
>recommend to use the vendor flashing utility. The embedded controller
>(EC) in these machines often interacts badly with flashing.
>See the manpage and https://flashrom.org/Laptops for details.
>If flash is shared with the EC, erase is guaranteed to brick your laptop
>and write may brick your laptop.
>Read and probe may irritate your EC and cause fan failure, backlight
>failure and sudden poweroff.
>You have been warned.
>========================================================================
>No EEPROM/flash device found.
>Note: flashrom can never write if the flash chip isn't found automatically.
I have attached the output of lspci -nnvx.
For some context: the vendor firmware on this laptop is likely broken according to linux warning messages and it often fails to boot or even hangs with 100% CPU usage some time after boot. In fact, the reason I am running the 5.12 kernel is because newer kernels hardly boot at all anymore. For this reason I was trying to determine the viability of replacing the vendor firmware with coreboot.
Thank you kindly.
Murray.
Hello Ridagagu,
your email got filtered because of the huge attachments. As this
mailing list delivers to quite many people with all sorts of inboxes,
we have a limit of 200KiB for attachments.
About your problem: AFAICT, your device is not fully supported by
MrChromebox' firmware [1]. If you want to run Windows on such a
device, somebody first needs to write Windows-compatible firmware
for it.
Nico
[1] https://wiki.mrchromebox.tech/Supported_Devices#cite_note-glk-4
-------- Forwarded Message --------
Subject: unable to udpate my firmware
Date: Wed, 15 Dec 2021 18:55:58 -0600
From: Ridagagu <ridagagu(a)gmail.com>
To: flashrom(a)flashrom.org
Hi, Im not a super technical guy, i'm trying to change my OS to windows 10
on my chromebook Dell 3100, I already disabled the write protect, (since
there is no screw i used the command "#flashrom --wp-disable) i saw on a YT
video i had to select the second option on a ChromeOS Device utility
script, but since that option is blocked, i feel kinda stuck at the moment,
I let two images attached, thank for your help!
Hello
I'm trying to install heads and do the ME cleaning on a thinkpad x230 laptop. I was able to flash heads to the top chip, and that completed successfully. When I try to flash the bottom chip its being detected as a
MX25L6406E/MX25L6408E but the chip is actually a MX25L3206E. When I choose the proper chip I get a chip not detected message. I was able to successfully flash using the first chip definition but now the system does not post or boot.I was hoping you could help.
Thanks
Jason
Hello,
I am trying to program the bios chip with the ch341a but I can't erase it
successful with what software I tried. even with yours. Please could you
give me any advice? Thanks in advance.
Enter flashrom to probe for flash chips.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shroom --help
'flashroom' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --help
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Usage: flashrom [-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.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --progranner ch314a_spi[:read]
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom: unknown option -- progranner
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --progranner ch314a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom: unknown option -- progranner
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --programmer ch314a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Error: Unknown programmer "ch314a_spi". Valid choices are:
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi,
pickit2_spi,
ch341a_spi, digilent_spi, stlinkv3_spi.
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --programmer ch314a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Error: Unknown programmer "ch314a_spi". Valid choices are:
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi,
pickit2_spi,
ch341a_spi, digilent_spi, stlinkv3_spi.
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --programmer ch341a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found Macronix flash chip "MX25U8032E" (1024 kB, SPI) on ch341a_spi.
Reading flash... done.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla
shrom --programmer ch341a_spi --erase
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found Macronix flash chip "MX25U8032E" (1024 kB, SPI) on ch341a_spi.
Erasing and writing flash chip... FAILED at 0x0006df74! Expected=0xff,
Found=0xef, failed byte count from 0x0006d000-0x0006dfff: 0x1
ERASE FAILED!
Looking for another erase function.
FAILED at 0x0000da5b! Expected=0xff, Found=0xf7, failed byte count from
0x00008000-0x0000ffff: 0x1
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00010dc5! Expected=0xff, Found=0xfb, failed byte count from
0x00010000-0x0001ffff: 0x4
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00028bf9! Expected=0xff, Found=0x7b, failed byte count from
0x00000000-0x000fffff: 0x8
ERASE FAILED!
Looking for another erase function.
FAILED at 0x000046ed! Expected=0xff, Found=0xef, failed byte count from
0x00000000-0x000fffff: 0x9
ERASE FAILED!
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org, thanks!
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>
Regards,
Christos
Below message got filtered. I dropped the 500KiB log, didn't see
anything unusual.
Nico
-------- Forwarded Message --------
Subject: Re: Success report for Intel B360 chipset
Date: Thu, 09 Dec 2021 10:42:43 -0500
From: Michael Kincaid <mkincaid(a)mkincaid.com>
To: flashrom(a)flashrom.org
Passing along another success log for this board as an added data point.
On Sat, Sep 19, 2020, at 7:14 PM, Michael Kincaid wrote:
> Just successfully flashed Gigabyte B360N-GSM BIOS F15a from the link below. Log attached.
> https://www.gigabyte.com/us/Motherboard/B360N-GSM-rev-10/support#support-dl…
>
> Thanks for a great tool!
> Michael
>
> *Attachments:*
> * flash.log