TS-219P+ bricked

  • Hi
    i don't know German well, so i write in English (please, forgive me: my English too is not so good ;( ).
    My nas is out of warranty, Qnap repair would be too much expensive and ........... i want to play a bit with it, to learn something more.


    I tried all recovery methods suggested by Qnap with no luck.
    My suspect is that there is something wrong with nas hardware.


    So yesterday i tried this (i don't know the commands used in LiveCD recovery method, but i think the procedure is very similat to what follows).


    I installed a tftp server on a PC connected via Ethernet to the nas, copied this file: TS-219P+_20140612-4.1.0.Flash.img in the server folder (renamed to F_TS-219P+_20140612-4.1.0.img: i read somewhere this is the right name format for recovery files...) and started the tftp server.
    Then i connected another PC to the serial interface of the nas using Putty.


    I started the nas and in Putty window i got:


    Code
    __ __ _ _| \/ | __ _ _ ____ _____| | || |\/| |/ _` | '__\ \ / / _ \ | || | | | (_| | | \ V / __/ | ||_| |_|\__,_|_| \_/ \___|_|_|_ _ ____ _| | | | | __ ) ___ ___ | |_| | | |___| _ \ / _ \ / _ \| __|| |_| |___| |_) | (_) | (_) | |_\___/ |____/ \___/ \___/ \__| ** LOADER **** MARVELL BOARD: DB-88F6282A-BP LE TS-219P+ ,PHY=1.8vU-Boot 1.1.4 (Sep 20 2010 - 15:17:40) Marvell version: 3.5.3U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CD5C0Soc: 88F6282 A0CPU running @ 1600Mhz L2 running @ 533MhzSysClock = 533Mhz , TClock = 200MhzDRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7DRAM CS[0] base 0x00000000 size 256MBDRAM CS[1] base 0x10000000 size 256MBDRAM Total size 512MB 16bit widthAddresses 8M - 0M are saved for the U-Boot usage.Mem malloc Initialization (8M - 7M): Done[16384kB@f8000000] Flash: 16 MBCPU : Marvell Feroceon (Rev 1)USB 0: host modePEX 0: PCI Express Root Complex InterfacePEX interface detected Link X1PEX 1: interface detected no Link.Reset IDE:Marvell Serial ATA AdapterIntegrated Sata device foundNet: egiga0 [PRIME]Hit any key to stop autoboot: 0

    Here i stopped autoboot:


    Code
    QNAP: Recovery Button pressed: 0


    At this stage i issued these commands:


    Code
    1. Marvell>> setenv ipaddr 192.168.0.102. Marvell>> setenv serverip 192.168.0.1 (PC lan interface was already setted with this address)3. Marvell>> setenv ethaddr 00:08:9b:XX:XX:XX (XX from my nas mac address)4. Marvell>> saveenvSaving Environment to Flash....Un-Protected 1 sectorsErasing Flash....Erased 1 sectorsWriting to Flash... done.Protected 1 sectors


    Then i made a nas reset:


    Code
    5. Marvell>> reset


    I read in this forum that with these commands:


    Code
    1. Marvell>> tftpboot 0x800000 F_TS-219P+_20140612-4.1.0.img2. Marvell>> protect off bank 13. Marvell>> erase 0xf8200000 0xf8ffffff4. Marvell>> cp.b 0xa00000 0xf8200000 e000005. Marvell>> protect on bank 16. Marvell>> setenv bootcmd 'cp.b 0xf8200000 0x800000 0x200000;cp.b 0xf8400000 0xa00000 0x900000;bootm 0x800000'7. Marvell>> saveenv8. Marvell>> reset


    it is possible to restore the firmware on the nas.


    So i started from 1:


    Code
    1. Marvell>> tftpboot 0x800000 F_TS-219P+_20140612-4.1.0.img


    and i got:


    Code
    Using egiga0 deviceTFTP from server 192.168.0.1; our IP address is 192.168.0.10Filename 'F_TS-219P+_20140612-4.1.0.img'.Load address: 0x800000Loading: #####################################################################################################################################################################################################################################################################################################################################............................##################################################################################################################################################################doneBytes transferred = 14472729 (dcd619 hex)


    So i assumed that file was correctly loaded on nas flash.


    Then:


    Code
    2. Marvell>> protect off bank 1Un-Protect Flash Bank # 1................................................................ done


    and then:


    Code
    3. Marvell>> erase 0xf8200000 0xf8ffffff


    but at this point i get this:


    Code
    ...................Erase fail!
    Flash Base Address : 0xf8000000
    Flash Model : ST M25P128
    Manufacturer ID : 0x20
    Device Id : 0x2018
    Sector Size : 256K
    Number of sectors : 64
    Page Size : 256
    Write Protection : Off


    Now i am almost sure that, as suspected, my flash chip is damaged.
    Anyone here can confirm this?
    Can u suggest a way to solve my problem?
    I already bought a new flash chip but now i am stuck here.
    I have flash chip programmer (hardware and software) and hot air station to desolder/resolder chip on nas MB, but i am not able to prepare the correct file to put on the chip.


    TIA
    Slang


    PS: i am not sure about the file i loaded (this is a "flash" image and is much smaller than the complete firmware image).
    Did i choose the correct file?

    11 Mal editiert, zuletzt von it1slang ()