On 12/29/11 3:21 AM, Paul Menzel wrote:
Dear Philip,
Am Mittwoch, den 28.12.2011, 19:11 -0700 schrieb Philip Prindeville:
# flashrom flashrom v0.9.3-r1205 on Linux 2.6.39.4 (i586), built with libpci 3.1.7, GCC 4.5.4 20110808 (prerelease), little endian
[…]
could you test if that error shows also up with v0.9.4 or the latest code from the SVN repository [1]?
Thanks,
Paul
I tried 0.9.4 but it didn't seem to make a difference.
I have the LPC board connected to my Alix 6f2 so that I can at least boot from it, but I'm wondering if that might be interfering with Flash detection.
# /tmp/flashrom -p internal:laptop=force_I_want_a_brick -w /tmp/coreboot.rom flashrom v0.9.4-r1395 on Linux 2.6.39.4 (i586), built with libpci 3.1.7, GCC 4.5.4 20110808 (prerelease), little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. ======================================================================== 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=force_I_want_a_brick' 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 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 Found chipset "AMD CS5536". Enabling flash write... OK. WARNING: unexpected second chipset match: "AMD CS5536" ignoring, please report lspci and board URL to flashrom@flashrom.org with 'CHIPSET: your board name' in the subject line. This chipset supports the following protocols: Non-SPI. Found AMIC flash chip "A49LF040A" (512 kB, LPC) at physical address 0xfff80000. === This flash part has status UNTESTED for operations: WRITE The test status of this chip may have been updated in the latest development version of flashrom. If you are running the latest development version, please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash part. Please include the flashrom output with the additional -V option for all operations you tested (-V, -Vr, -Vw, -VE), and mention which mainboard or programmer you tested. Please mention your board in the subject line. Thanks for your help! Note: If the following flash access fails, try -m <vendor>:<mainboard>. Reading old flash chip contents... done. Erasing and writing flash chip... ERASE FAILED at 0x00000000! Expected=0xff, Read=0x03, failed byte count from 0x0000000 0-0x0000ffff: 0x12 ERASE FAILED! Reading current flash chip contents... done. ERASE FAILED at 0x00000000! Expected=0xff, Read=0x03, failed byte count fro m 0x00000000-0x0007ffff: 0xf5d1 ERASE FAILED! FAILED! Uh oh. Erase/write failed. Checking if anything changed. Good. It seems nothing was changed. Writing to the flash chip apparently didn't do anything. This means we have to add special support for your board, programmer or flash chip. Please report this on IRC at irc.freenode.net (channel #flashrom) or mail flashrom@flashrom.org! ------------------------------------------------------------------------------- You may now reboot or simply leave the machine running. #
I also tried flashrom -m "PC Engines:Alix.2c2" -w /tmp/coreboot.rom but that didn't work either.
# /tmp/flashrom -m "PC Engines:Alix.2c2" -w /tmp/coreboot.rom -p internal:laptop=force_I_want_a_brick flashrom v0.9.4-r1395 on Linux 2.6.39.4 (i586), built with libpci 3.1.7, GCC 4.5.4 20110808 (prerelease), little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. ======================================================================== 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=force_I_want_a_brick' 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 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 Found chipset "AMD CS5536". Enabling flash write... OK. WARNING: unexpected second chipset match: "AMD CS5536" ignoring, please report lspci and board URL to flashrom@flashrom.org with 'CHIPSET: your board name' in the subject line. This chipset supports the following protocols: Non-SPI.
Unknown vendor:board from -m option: PC Engines:Alix.2c2
No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically. #
Not sure why the -m argument didn't work, given that I get:
# /tmp/flashrom -L | grep -i alix PC Engines Alix.1c OK PC Engines Alix.2c2 OK PC Engines Alix.2c3 OK PC Engines Alix.3c3 OK PC Engines Alix.3d3 OK #