Hello,
I have problem after trying flash QNAP TS-453A
[~] # hal_app --se_sys_get_system_info NAS display name = TS-453A NAS CPU_0 Model Name = Intel(R) Celeron(R) CPU N3150 @ 1.60GHz NAS CPU_0 running speed = 1601 MHz === Slot1 Mem Info. Channed Id is 1, Slot Addr is 0x50 === Mem Type: DDR3_SDRAM Module Type: SO_DIMM Ram Size: 2048 MB Speed: 1600 MHz Module Manufacture: Transcend Information ECC Support: No === Slot2 Mem Info. Channed Id is 2, Slot Addr is 0x51 === Mem Type: DDR3_SDRAM Module Type: SO_DIMM Ram Size: 2048 MB Speed: 1600 MHz Module Manufacture: Transcend Information ECC Support: No [~] # dmidecode -s bios-version QX47AR12 [~] # hal_app --get_ec_version QX47EC23[~] # cd /share/Public/Temp
[/share/Public/Temp] # chmod +x flashrom [/share/Public/Temp] # ./flashrom -p internal:laptop=this_is_not_a_laptop -w QX47AR50.bin flashrom v0.9.8-unknown on Linux 4.2.8 (x86_64) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Active config mode, unknown reg 0x20 ID: 85. Please send the output of "flashrom -V -p internal" to flashrom@flashrom.org with W836xx: your board name: flashrom -V as the subject to help us finish support for your Super I/O. Thanks. ======================================================================== 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 "Intel Braswell". This chipset is marked as untested. If you are using an up-to-date version of flashrom *and* were (not) able to successfully update your firmware with it, then please email a report to flashrom@flashrom.org including a verbose (-V) log. Thank you! Enabling flash write... Warning: BIOS region SMM protection is enabled! Warning: Setting Bios Control at 0x0 from 0x2a to 0x09 failed. New value is 0x2a. Warning: SPI Configuration Lockdown activated. OK. Found Macronix flash chip "MX25U6435E/F" (8192 kB, SPI) mapped at physical address 0xff800000. === This flash part has status UNTESTED for operations: PROBE READ ERASE 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 chip. Please include the flashrom log file for all operations you tested (see the man page for details), and mention which mainboard or programmer you tested in the subject line. Thanks for your help! Reading old flash chip contents... done. Erasing and writing flash chip... Transaction error! spi_block_erase_20 failed during command execution at address 0x300000 Reading current flash chip contents... done. Looking for another erase function. spi_block_erase_52 failed during command execution at address 0x300000 Reading current flash chip contents... done. Looking for another erase function. spi_block_erase_d8 failed during command execution at address 0x300000 Reading current flash chip contents... done. Looking for another erase function. spi_chip_erase_60 failed during command execution Reading current flash chip contents... done. Looking for another erase function. spi_chip_erase_c7 failed during command execution Looking for another erase function. No usable erase functions left. FAILED! Uh oh. Erase/write failed. Checking if anything has changed. Reading current flash chip contents... done. Apparently at least some data has changed. Your flash chip is in an unknown state. Get help on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org with the subject "FAILED: <your board name>"! ------------------------------------------------------------------------------- DO NOT REBOOT OR POWEROFF! [/share/Public/Temp] #
what I can do now?
Br Martin Gawryš
Dne 30.3.2017 v 17:40 QNAP Technical Support napsal(a):
Hello Martin,
On 18.04.2017 20:36, Martin wrote:
this means the chipset has a write protection configured that makes flashrom unusable. Don't ask me why QNAP thinks it could work. Maybe they modified flashrom to circumvent some security-by-obscurity.
If you made a backup, you can try to write that back. I would expect it to work. The flash chip is actually not only used for the BIOS but some Intel chipset configuration and firmware too. That it failed at 0x300000 probably means that the chipset part was written but the BIOS part not (due to the write protection mentioned above).
If you need further guidance please run
./flashrom -p internal:laptop=this_is_not_a_laptop -o logfile
which will gather additional information and write it into `logfile`. Please attach that file.
In any case please report to QNAP support that their instructions didn't work. If you want help flashrom to better support this device, ask them for the source code of the flashrom binary they packaged.
Regards, Nico