[flashrom] issue

2022-01-23 Thread John Evacristo
flashrom v1.2 on Linux 5.11.0-27-generic (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 Macronix flash chip "MX25L3206E/MX25L3208E" (4096 kB, SPI) on
ch341a_spi.
Erasing and writing flash chip... FAILED at 0x0001347f! Expected=0xff,
Found=0xef, failed byte count from 0x00013000-0x00013fff: 0x7
ERASE FAILED!
Looking for another erase function.
FAILED at 0x0098! Expected=0xff, Found=0xfe, failed byte count from
0x-0x: 0x4a7f
ERASE FAILED!
Looking for another erase function.
FAILED at 0x! Expected=0xff, Found=0x02, failed byte count from
0x-0x: 0x544f
ERASE FAILED!
Looking for another erase function.
FAILED at 0x! Expected=0xff, Found=0xbd, failed byte count from
0x-0x003f: 0x3e0c19
ERASE FAILED!
Looking for another erase function.
FAILED at 0x! Expected=0xff, Found=0xbb, failed byte count from
0x-0x003f: 0x3fffea
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@flashrom.org, thanks!
___
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org


[flashrom] Re: How to obtain a BIOS image from another computer use flashrom?

2022-01-23 Thread Mike Banon
Good day! The flashrom software has the "internal" mode - using which,
you may be able to access the BIOS chip directly from your OS, if your
hardware is supported. In example:

sudo flashrom -p
internal:laptop=force_I_want_a_brick,amd_imc_force=yes -r
./build/coreflop.rom

I think this mode is available only on Linux (may have to boot with
"iomem=relaxed" kernel flag) - however, you may boot a Linux LiveUSB
on your target PC to use Linux without the installation in a live
mode.

As for "how do I remotely obtain a BIOS image from another computer
using flashrom" - if this internal mode is available to you, and a
target PC is running Linux, you can remotely connect to this PC using
a SSH (or VPN + SSH), run the flashrom command to read a BIOS image
from a chip, and then - using scp - copy the obtained BIOS image to
your own PC


On Fri, Jan 21, 2022 at 3:26 AM zy <2018111...@bupt.cn> wrote:
>
> Hi,
>I'm a student from China and I've been learning flashrom,So I would like 
> to know whether the flashrom can support extracting BIOS firmware images 
> under Windows 7/10.
>If I don't have the Internet(Just LAN),how do I remotely obtain a BIOS 
> image from another computer use flashrom?
>Maybe my English not very well. Thank you very much.
>
>
>Looking forward to your reply.
>
>
> ___
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org



-- 
Best regards, Mike Banon
Open Source Community Manager of 3mdeb - https://3mdeb.com/
___
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org