Hi, I tried flashrom on my netbook with this result No EEPROM/flash device found.
:( netbook still works :)
I'm attaching the result of: sudo ./flashrom -p internal:laptop=force_I_want_a_brick -V > flashrom.txt
flashrom version: ubuntu@ubuntu:~/flashrom$ svn info Path: . URL: svn://coreboot.org/flashrom/trunk Repository Root: svn://coreboot.org/flashrom Repository UUID: 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 Revision: 1109 Node Kind: directory Schedule: normal Last Changed Author: mkarcher Last Changed Rev: 1109 Last Changed Date: 2010-07-25 00:50:54 +0200 (nie, 25 lip 2010)
Best Regards Paweł
Hi Paweł,
On 26.07.2010 23:49, Paweł Stawicki wrote:
I tried flashrom on my netbook with this result No EEPROM/flash device found.
:( netbook still works :)
I'm attaching the result of: sudo ./flashrom -p internal:laptop=force_I_want_a_brick -V > flashrom.txt
Thanks.
flashrom v0.9.2-r1109 on Linux 2.6.32-21-generic (i686), built with libpci 3.0.0, GCC 4.4.3, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OS timer resolution is 2 usecs, 374M loops per second, 10 myus = 11 us, 100 myus = 95 us, 1000 myus = 938 us, 10000 myus = 10079 us, 8 myus = 9 us, OK. Initializing internal programmer No coreboot table found. DMI string system-manufacturer: "Hewlett-Packard" DMI string system-product-name: "HP 2133" DMI string system-version: "F.06" DMI string baseboard-manufacturer: "Hewlett-Packard" DMI string baseboard-product-name: "3030" DMI string baseboard-version: "KBC Version 07.17" DMI string chassis-type: "Notebook" Laptop detected via DMI Found chipset "VIA VT8237S", enabling flash write... chipset PCI ID is 1106:3372, MMIO base at = 0xfed02000 0x6c: 0xffff (CLOCK/DEBUG) Programming OPCODES... program_opcodes: preop=5006 optype=463b opmenu=05d80302c79f0190
The opmenu has opcodes 05 d8 03 02 c7 9f 01 90
Setting BBAR is not implemented for VIA yet. done OK. This chipset supports the following protocols: LPC,FWH,SPI. Probing for Atmel AT25DF021, 256 KB: Opcode 9f not found. run OPCODE 0x9f failed
And here flashrom complains about an opcode that should be present. Very odd. We will need to investigate this.
Thanks for your report.
Regards, Carl-Daniel
On 27.07.2010 00:51, Carl-Daniel Hailfinger wrote:
Hi Paweł,
On 26.07.2010 23:49, Paweł Stawicki wrote:
I tried flashrom on my netbook with this result No EEPROM/flash device found.
:( netbook still works :)
I'm attaching the result of: sudo ./flashrom -p internal:laptop=force_I_want_a_brick -V > flashrom.txt
Thanks.
flashrom v0.9.2-r1109 on Linux 2.6.32-21-generic (i686), built with libpci 3.0.0, GCC 4.4.3, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OS timer resolution is 2 usecs, 374M loops per second, 10 myus = 11 us, 100 myus = 95 us, 1000 myus = 938 us, 10000 myus = 10079 us, 8 myus = 9 us, OK. Initializing internal programmer No coreboot table found. DMI string system-manufacturer: "Hewlett-Packard" DMI string system-product-name: "HP 2133" DMI string system-version: "F.06" DMI string baseboard-manufacturer: "Hewlett-Packard" DMI string baseboard-product-name: "3030" DMI string baseboard-version: "KBC Version 07.17" DMI string chassis-type: "Notebook" Laptop detected via DMI Found chipset "VIA VT8237S", enabling flash write... chipset PCI ID is 1106:3372, MMIO base at = 0xfed02000 0x6c: 0xffff (CLOCK/DEBUG) Programming OPCODES... program_opcodes: preop=5006 optype=463b opmenu=05d80302c79f0190
The opmenu has opcodes 05 d8 03 02 c7 9f 01 90
Setting BBAR is not implemented for VIA yet. done OK. This chipset supports the following protocols: LPC,FWH,SPI. Probing for Atmel AT25DF021, 256 KB: Opcode 9f not found. run OPCODE 0x9f failed
And here flashrom complains about an opcode that should be present. Very odd. We will need to investigate this.
I suspect that we're not handling some lockdown correctly. Could you do a short check for us? Insert directly before ichspi.c line 1068: ichspi_lock = 1;
Then please recompile and run again in verbose mode. I don't expect success, but I think we have a good chance to learn more.
Regards, Carl-Daniel
I suspect that we're not handling some lockdown correctly. Could you do a short check for us? Insert directly before ichspi.c line 1068: ichspi_lock = 1;
changed to:
spi_controller = SPI_CONTROLLER_VIA; ichspi_lock = 1; ich_init_opcodes();
return 0; }
Then please recompile and run again in verbose mode. I don't expect success, but I think we have a good chance to learn more.
attaching output: ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p internal:laptop=force_I_want_a_brick -V > flashrom2.txt delay loop is unreliable, trying to continue ======================================================================== WARNING! You seem to be running flashrom on a laptop. 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 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 specified laptop=force_I_want_a_brick Mapping VT8237S MMIO registers at 0xfed02000, unaligned size 0x70. ubuntu@ubuntu:~/flashrom$
Regards Paweł