logo elektroda
logo elektroda
X
logo elektroda
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Jak naprawić firmware w kamerze IP BCS-TIP3300IR-E-II?

-emwu- 19 Sie 2019 17:56 1710 1
  • #1 18123916
    -emwu-
    Poziom 14  
    Posty: 108
    Pomógł: 5
    Ocena: 12
    Witam,
    posiadam uszkodzoną kamerę IP BCS-TIP3300IR-E-II, początkowo myślałem że to efekt po burzy, lecz dusza drążyciela nie dała mi spać.
    A mianowicie kamera po podłączeniu do sieci jest wykrywana przez kilka sekund pod adresem fabrycznym 192.168.1.108, a następnie 'znika'.
    Log z UART'a:
    
    U-Boot 2010.06-svn2854 (Dec 12 2015 - 03:27:37)
    I2C:   ready
    DRAM:  110 MiB
    gBootLogPtr:00b80008.
    spinor flash ID is 0xc81840c8
    partition file version 2
    rootfstype squashfs root /dev/mtdblock5
    TEXT_BASE:01000000
    Net:   Detected MACID:3c:ef:8c:d1:39:88
    PHY:0x001cc816,addr:0x00
    phy RTL8201 init
    
    Using ambarella mac device
    TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
    Download Filename 'upgrade_info_7db780a713a4.txt'.
    Download to address: 0x5000000
    Downloading: *
    Retry count exceeded; starting again
    Try again use backup_serverip
    *** ERROR: `serverip' not set
    Failed to get info.txt
    Fail to get info file!
    Init error!
    Using ambarella mac device
    TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
    Download Filename 'failed.txt'.
    Download to address: 0x2000000
    Downloading: *
    Retry count exceeded; starting again
    state:ff,err_count:04
    SPI probe: 16384 KiB GD25Q128C at 0:0 is now current device
    ## Booting kernel from Legacy Image at 02000000 ...
       Image Name:   Linux-3.10.50
       Created:      2015-12-15   1:23:57 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1494768 Bytes = 1.4 MiB
       Load Address: 00208000
       Entry Point:  00208000
       Verifying Checksum ... OK
       Loading Kernel Image ...OK
    OK
    partition file version 2
    rootfstype squashfs root /dev/mtdblock5
    fail to load bootargsParameters.txt
    fail to load bootargsParameters.txt file
    get bootargs info failed
    
    Starting kernel ... 
    crashflasg:1, logmagic:54410011.
    unsupport spi flash id!!!
    


    Co któryś raz log jest inny:
    
    U-Boot 2010.06-svn2854 (Dec 12 2015 - 03:27:37)
    I2C:   ready
    DRAM:  110 MiB
    gBootLogPtr:00b80008.
    spinor flash ID is 0xc81840c8
    partition file version 2
    rootfstype squashfs root /dev/mtdblock5
    TEXT_BASE:01000000
    Net:   Detected MACID:3c:ef:8c:d1:39:88
    PHY:0x001cc816,addr:0x00
    phy RTL8201 init
    
    link down
    Using ambarella mac device
    TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
    Download Filename 'upgrade_info_7db780a713a4.txt'.
    Download to address: 0x5000000
    Downloading: *
    Retry count exceeded; starting again
    Try again use backup_serverip
    *** ERROR: `serverip' not set
    Failed to get info.txt
    Fail to get info file!
    Init error!
    Using ambarella mac device
    TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
    Download Filename 'failed.txt'.
    Download to address: 0x2000000
    Downloading: *
    Retry count exceeded; starting again
    state:ff,err_count:05
    SPI probe: 16384 KiB GD25Q128C at 0:0 is now current device
    ## Booting kernel from Legacy Image at 02000000 ...
       Image Name:   Linux-3.10.50
       Created:      2015-10-15  11:47:30 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    893200 Bytes = 872.3 KiB
       Load Address: 00208000
       Entry Point:  00208000
       Verifying Checksum ... OK
       Loading Kernel Image ...OK
    OK
    partition file version 2
    rootfstype squashfs root /dev/mtdblock5
    fail to load bootargsParameters.txt
    fail to load bootargsParameters.txt file
    get bootargs info failed
    
    Starting kernel ... 
    crashflasg:1, logmagic:54410011.
    
    init started: BusyBox v1.18.4 (2015-04-13 15:29:18 CST)
    mount: mounting none on /proc/bus/usb failed: No such file or directory
    mount: mounting tmpfs on /var failed: Invalid argument
    mount: mounting /dev/mtdblock3 on /mnt/custom failed: Invalid argument
    mount: mounting /dev/mtdblock4 on /mnt/pd failed: Invalid argument
    mount: mounting /dev/mtdblock8 on /mnt/afix/autoFix failed: Invalid argument
    mount: mounting /dev/mtdblock9 on /mnt/afix/autoFixBackup failed: Invalid argument
    
    
    BusyBox v1.18.4 (2015-04-13 15:29:18 CST) built-in shell (ash)
    Revision: 9308
    Enter 'help' for a list of built-in commands.
    
    /bin/sh: can't access tty; job control turned off
    ~ # UPGRADED_MSG: Do memlock
    [0;32;32m[libpdi] Support backup partition !!!
    [m[0;32;32m[libpdi]  Flashtype = 3,patSize = 40000,rwSize = 10000,ersSize = 10000 
    [mpPartionId = 9
    eth0:
    MAC: <3c:ef:8c:d1:39:88>
    [0;32;31m[libpdi] ERROR  (save_Attr_file|1269): open failed for PRIO[m[0;36m[libpdi] set eth0 as defaultEth
    [mIP: <10.20.30.24>		netmask: <255.255.255.0>
    [0;32;31m[libpdi] ERROR  (save_Attr_file|1269): open failed for HOSTIP[m[0;32;31m[libpdi] ERROR  (PDI_rtcWriteSram|162): Fail to ioctl rtc
    [m[0;32;31m[libpdi] ERROR  (SaveEthAttrInFile|1368): Fail to write ip paramenters
    [m[0;32;31m[libpdi] ERROR  (save_Attr_file|1269): open failed for SUBMASK[m[0;32;31m[libpdi] ERROR  (PDI_rtcWriteSram|162): Fail to ioctl rtc
    [m[0;32;31m[libpdi] ERROR  (SaveEthAttrInFile|1368): Fail to write ip paramenters
    SOCK_PACKET: Address family not supported by protocol
    [m[0;32;32m[libpdi] [libPDI] [mGateway: <10.20.30.8>
    [0;32;32m[libpdi] SetGateWay success
    [m[0;32;31m[libpdi] ERROR  (save_Attr_file|1269): open failed for GATEWAYIP[m[0;32;31m[libpdi] ERROR  (PDI_rtcWriteSram|162): Fail to ioctl rtc
    [m[0;32;31m[libpdi] ERROR  (SaveEthAttrInFile|1368): Fail to write ip paramenters
    SOCK_PACKET: Address family not supported by protocol
    [m[0;32;32m[libpdi] [libPDI] [mName: upgraded, bulid date: Apr 13 2015 15:03:44, svn: 492
    UPGRADED_MSG: start download file!
    


    Wygląda na uszkodzoną zawartość pamięci flash, i uboot poszukuje przez ftp ratunkowego wsadu, i tu pojawia się problem.
    Na serwerze ftp bcscctv nie ma tej wersji kamery, jest "BCS-TIP3300IR-E" a następnie "BCS-TIP3300IR-E-III", nie ma "BCS-TIP3300IR-E-II".

    Przeszukując internet bez problemu da się natrafić na tą usterkę, naprawa jest opisana na przykładzie kamery DAHUA.
    Nie chcę wklejać linków, wystarczy wpisać w wyszukiwarkę "Dahua IPC EASY unbricking / recovery over TFTP".

    Czy ktoś miał już taki przypadek? Gdzie szukać oprogramowania do tej kamery?
  • #2 18129158
    BCSCCTV

    Poziom 19  
    Posty: 194
    Pomógł: 40
    Ocena: 114
    Podeślij kamerkę do nas.
    Serwis ją ożywi.
    Niestety nie udostępniamy plików do debugowania urządzeń.

    Jeśli chodzi o pliki do aktualizacji to ostatnia wersja softu leży tutaj : ftp://ftp.bcscctv.pl/FIRMWARE/BCS%20Line/IPC/BCS-TIP3300IR-E-II/
    Konto firmowe:
    BCS Sp z.o.o
    Modularna 11, Warszawa, 02-285 | Strona WWW: https://www.bcs.pl
REKLAMA