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):

Dobry den,

vyvojari potvrdili ze problem byl vyresen v poslednim BIOSu pro tuto NAS, muzete na nej zkusit updatnout? Prikladam detailni navod - budete k nemu potrebovat pristup k SSH NASky, tam se dostanete napr. pres PuTTY ( www.putty.org ) - port 22, uzivatel admin:

Please follow below SOP to flash BIOS for TS-X53A.

Preparation:

  • Download package from below link:

N3150: http://download.qnap.com/Storage/tsd/bios/TS-x53A_QX47AR50.zip

N3160: http://download.qnap.com/Storage/tsd/bios/TS-x53A_QX47AR25.zip

  • Extract the compressed file, please upload below 3 files to shared folder, “Public”

    N3150: flashrom, QX47AR50.bin and QX47EC20.BIN

N3160: flashrom, QX47AR25 and QX47EC20.BIN

  • Follow below commands to complete the BIOS flash procedure.

1. Check current CPU name

There are two version of BIOS, QX47AR50.bin and QX47AR25.bin, corresponding to N3150 and N3160 respectively.

N3150 -> QX47AR50.bin

N3160 -> QX47AR25.bin

CAUTION:  Do NOT apply wrong version of BIOS, it will brick your machine.

[~] # 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

=== 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







2. Check current BIOS and EC version

CAUTION: User must downgrade EC firmware if EC version is higher than QX47EC20

[~] # dmidecode -s bios-version

QX47AD20

[~] # hal_app --get_ec_version

QX47EC22



3. Update BIOS

For different CPU, user should give different parameter to flashrom.

N3150: ./flashrom -p internal:laptop=this_is_not_a_laptop -w QX47AR50.bin

N3160: ./flashrom -p internal:laptop=this_is_not_a_laptop -w QX47AR25.bin

CAUTION:  Do NOT apply wrong version of BIOS, it will brick your machine.

[~] # cd /share/Public

[/share/Public] # chmod +x flashrom

[/share/Public] # ./flashrom -p internal:laptop=this_is_not_a_laptop -w QX47AR50.bin

flashrom v0.9.8-unknown on Linux 3.19.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... 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... Erase/write done.

Verifying flash... VERIFIED.

4. Update EC firmware

CAUTION: User must downgrade EC firmware if EC version higher than QX47EC20

[/share/Public] # hal_app --update_ec_fw file=QX47EC20.BIN



5. Reboot NAS with below command.

[/share/Public] # hal_app --reset_ec_fw

6. After the reboot, check BIOS/EC version again

[~] # dmidecode -s bios-version

QX47AR50


[~] # hal_app --get_ec_version

QX47EC20

7. Done.



Best regards,
Lukas Zemina
---------------------------
Disclaimer:

Our advice is strictly limited to the question(s) asked and is based on the information provided to us. QNAP Systems Inc. does not assume any responsibility or liability for the advice given and shall not be liable for any direct, indirect, special, incidental or consequential damages in connection with the use of this information. Any promise, action or solution we make for your questions does not constitute an agreement between you and QNAP unless a written agreement signed by authorized representative is provided. Please always back up your data. For more information, including technical information updates, please visit our website at http://www.qnap.com/

Ticket Details

Ticket ID: ZJW-196-68375
Department: Europe - Central & Eastern Europe, Greece, Russia

Helpdesk: https://helpdesk.qnap.com/index.php?