[flashrom] Issue with internal access to the W39V040FB

Andrey Korolyov andrey at xdel.ru
Sun Jan 3 19:44:43 CET 2016


> Hi Andrey,
>
> please post complete logs of a working and non-working probe as well as
> the exact flashrom version you are using. The output of lspci -nnv
> might become handy as well.
>


Thanks Stefan,

even giving out a fact that I am very lucky to hit very twisted issues
at all, this time it looks like chip eventually stopped to respond via
an appropriate interface (slight voltage change? bit-flip during a
board initialization? lack of a probe delay? ), so I think that the
initial report could be incorrect, as the flash is not responding
anymore even where is was supposed to. Nevertheless, the appropriate
log and lspci output are attached, please take a look on them if they
could be helpful.
-------------- next part --------------
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] Host Bridge [1022:2080] (rev 33)
        Flags: bus master, 66MHz, medium devsel, latency 248
        I/O ports at ac1c
        I/O ports at 9e00

00:01.1 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD] Geode LX Video [1022:2081] (prog-if 00 [VGA controller])
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
        Memory at ec000000 (32-bit, non-prefetchable)
        Memory at efff0000 (32-bit, non-prefetchable)
        Memory at effec000 (32-bit, non-prefetchable)
        Memory at effe8000 (32-bit, non-prefetchable)
        Memory at efff8000 (32-bit, non-prefetchable)

00:01.2 Entertainment encryption device [1010]: Advanced Micro Devices, Inc. [AMD] Geode LX AES Security Block [1022:2082]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
        Memory at efff4000 (32-bit, non-prefetchable)

00:0d.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139]
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at fc00
        Memory at effff000 (32-bit, non-prefetchable)
        Capabilities: [50] Power Management version 2

00:0f.0 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] ISA [1022:2090] (rev 03)
        Flags: 66MHz, medium devsel
        I/O ports at 6000
        I/O ports at 6100
        I/O ports at 6200
        I/O ports at 0000
        I/O ports at 9d00
        I/O ports at 9c00

00:0f.2 IDE interface [0101]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] IDE [1022:209a] (rev 01) (prog-if 80 [Master])
        Flags: bus master, 66MHz, medium devsel, latency 248
        I/O ports at ff00

00:0f.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] OHC [1022:2094] (rev 02) (prog-if 10 [OHCI])
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 5
        Memory at efffe000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 2

00:0f.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] EHC [1022:2095] (rev 02) (prog-if 20 [EHCI])
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 5
        Memory at efffd000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 2

-------------- next part --------------
flashrom -p internal:laptop=this_is_not_a_laptop -c W39V040FB -V
flashrom v0.9.7-r1711 on NetBSD 5.1 (i386)
flashrom is free software, get the source code at http://www.flashrom.org

flashrom was built with libpci 3.1.10, GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120), little endian
Command line (5 args): flashrom -p internal:laptop=this_is_not_a_laptop -c W39V040FB -V
Calibrating delay loop... OS timer resolution is 4 usecs, 133M loops per second, 10 myus = 14 us, 100 myus = 105 us, 1000 myus = 1079 us, 10000 myus = 10076 us, 16 myus = 22 us, OK.
Initializing internal programmer
No coreboot table found.
DMI string system-manufacturer: ""
DMI string system-product-name: ""
DMI string system-version: ""
DMI string baseboard-manufacturer: ""
DMI string baseboard-product-name: ""
DMI string baseboard-version: ""
DMI string chassis-type: ""
DMI chassis-type is not specific enough.
Found Winbond Super I/O, id 0x52
========================================================================
WARNING! You may be running flashrom on an unsupported laptop. We could
not detect this for sure because your vendor has not setup the SMBIOS
tables correctly. You can enforce execution by adding
'-p internal:laptop=this_is_not_a_laptop' to the command line, but
please read the following warning if you are not sure.

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 http://www.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.
========================================================================
Proceeding anyway because user forced us to.
Found chipset "AMD CS5536" with PCI ID 1022:2080. Enabling flash write... No MSR support for your OS yet.
FAILED!
Warning: unexpected second chipset match: "AMD CS5536"
ignoring, please report lspci and board URL to flashrom at flashrom.org
with 'CHIPSET: your board name' in the subject line.
The following protocols are supported: Non-SPI.
Probing for Winbond W39V040FB, 512 kB: probe_jedec_common: id1 0x25, id2 0x6b, id1 is normal flash content, id2 is normal flash content
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.


More information about the flashrom mailing list