Elektroda.pl
Elektroda.pl
X
Relpol
Proszę, dodaj wyjątek www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

Błąd w update firware D-link DNS-313

borys_mb 11 Gru 2009 11:08 3164 4
  • #1 11 Gru 2009 11:08
    borys_mb
    Poziom 10  

    Witam.
    Przy próbie wgrania nowego firmware do sieciowego dysku D-link DNS-313 wystapił błąd. Dysk sieciowy działa pod USB, ale w sieci nie mogę zlokalizować jegi IP. Program dostarczony przez D-Linka go nie wykrywa.
    Czy wie ktoś jak wgrać firmware jeszcze raz?
    Po rozkręceniu na płytce jest złącze do transmisji danych wiec mozna je wykorzystac.
    Kabelek takowy też można zrobić a nawet wykorzystać DKU-5 , tylko jakim programem to wgrać,?

    Błąd w update firware D-link DNS-313

    Dzięki za podpowiedź.

    0 4
  • Relpol
  • #2 11 Gru 2009 11:34
    @GUTEK@
    Poziom 30  

    Wydaje mi sie że najprościej jeśli skontaktujesz się z serwisem D-Linka, możliwe że podeślą ci jakiś program do wgrania. Ewentualnie może istnieje jeszcze coś takiego jak tryb Recovery Firmware, tak jak w routerach tego producenta. Włącza się go poprzez trzymanie resetu (o ile ten dysk sieciowy w ogóle ma taki przycisk) przez około 30s a potem wyłączenie i włączenie zasilania przy ciągłym trzymaniu resetu (tak przynajmniej było w routerze w którym tym sposobem wgrywałem firmware).

    Co do złącza na zdjęciu, to chyba myślimy o innym kablu DKU-5. Złącze przedstawione służy prawdopodobnie do podłączenia programatora jtag, niestety bez odpowiedniego oprogramowania obsługującego konkretnie ten model procesora nie uda ci sie wgrać firmwaru. Swego czasu walczyłem z routerem D-Linka i jedynym sposobem okazało się wylutowanie flasha i zaprogramowanie go w programatorze.

    0
  • Relpol
  • #3 11 Gru 2009 11:53
    borys_mb
    Poziom 10  

    @GUTEK@ napisał:
    Co do złącza na zdjęciu, to chyba myślimy o innym kablu DKU-5. Złącze przedstawione służy prawdopodobnie do podłączenia programatora jtag, niestety bez odpowiedniego oprogramowania obsługującego konkretnie ten model procesora nie uda ci sie wgrać firmwaru.


    Znalazlem na zagranicznej stronce schemat i podłączenie do płytki właśnie takim kablem
    http://translate.google.pl/translate?hl=pl&sl...Storlink%2BSL5312%2Bdns-313%26hl%3Dpl%26lr%3D

    Tylko programu brak ;(

    0
  • #4 11 Gru 2009 12:32
    @GUTEK@
    Poziom 30  

    Tylko że złącze które jest na twoim zdjęciu to nie to z tej strony. To na tej stronie to najzwyklejszy terminal (na MAX232) podłączany do portu COM i czy da się tym zaprogramować wątpie, terminal służy głównie do podglądu komunikacji, a program którego się zazwyczaj używa to HyperTerminal dostępny w WinXP, potrzebne parametry do uzyskania połączenia są na tej stronie podane.
    Jeśli jest jakaś szansa na wgranie firmwaru to jtag i to złącze 20pinowe. Z własnego doświadczenia wiem że w takich przypadkach cholernie trudno coś zrobić.

    0
  • #5 04 Lut 2018 19:05
    gradek83
    Poziom 37  

    borys_mb napisał:
    Czy wie ktoś jak wgrać firmware jeszcze raz?

    Sprawdź tym sposobem LINK
    borys_mb napisał:
    Po rozkręceniu na płytce jest złącze do transmisji danych wiec mozna je wykorzystac.
    Kabelek takowy też można zrobić a nawet wykorzystać DKU-5 , tylko jakim programem to wgrać,?


    Ustawienia terminala:
    19200 8-N-1 Xon/Xoff
    Błąd w update firware D-link DNS-313
    Przykładowy zrzut z terminala DYSK 2T

    Spoiler:
    Code:


    Storlink CIR Initialization
    Please reboot now.

    found magic num
    found magic num
    found magic num
     bootLoader made time: 1246548757
     bootLoader version: 1.04b01
    Waiting for disk ready & detect ...
    IDE 0 Detect disk 0
    Disk Drive: IDE-0, Device-0, 3907029168 Sectors [UDMA6] 2000 GB 526 MB
    Partition 1: Linux Swap
    Partition 2: HPFS/NTFS
    Partition 3: Linux 1012095 Sectors 518 MB
    Partition 4: Linux 401625 Sectors 205 MB
    foun file zImage


    Processor: SL3512c3
    CPU Rate: 300000000
    AHB Bus Clock:150MHz    Ratio:2/1
    MAC 1 Address: 00:26:5A:01:E7:3D
    MAC 2 Address: 00:50:C2:22:22:22
    inet addr: 0.0.0.0/255.255.255.0
    Kernel RAM Location: 0x00600000  Filename: /.boot/zImage
    Initrd RAM Location: 0x00800000  Filename: /.boot/ramdisk.bin.gz

    Andge Test Code 0.02 ...
    PHY 0 Addr 1 Vendor ID: 0x001cc912
    ==> enter ^C to abort booting within 2 seconds ......
    boot from ide
    tftp model name : DNS-313v2
    made time: 1246548776
    version: 1.04b05
    Load rd.gz  840902 ,fileSize is 840902...tftp model name : DNS-313v2
    made time: 1246548783
    version: 1.04b05
    Load zImage  1068108 ,fileSize is 1068108...tftp model name : DNS-313v2
    made time: 1246548775
    version: 1.04b05
    Uncompressing Linux.............................................................
    ........ done, booting the kernel.
    Linux version 2.6.15 (root@Linux53) (gcc version 3.4.4) #60 Thu Jul 2 11:31:16 E




    DT 2009
    CPU: FA526id(wb) [66015261] revision 1 (ARMv4)
    Machine: GeminiA
    Ignoring unrecognised tag 0x00000000
    Memory policy: ECC disabled, Data cache writeback
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets
    CPU0: D cache: 8192 bytes, associativity 2, 16 byte lines, 256 sets
    Built 1 zonelists
    Kernel command line: root=/dev/ram0 rw mem=32M console=ttySL0,19200 initrd=0x008
    00000,4M ramdisk_size=4096
    PID hash table entries: 256 (order: 8, 4096 bytes)
    Bus: 150MHz(2/1)
    Console: colour dummy device 80x30
    sl2312 console setup :
    Disable IDE...config to SATA mode
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Memory: 32MB = 32MB total
    Memory: 25812KB available (1743K code, 590K data, 84K init)
    Mount-cache hash table entries: 512
    *** Page_chain_cachep Init!***
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
    Freeing initrd memory: 4096K
    NET: Registered protocol family 16
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    io scheduler noop registered
    io scheduler deadline registered
    Real Time Clock Driver v0.10
    Gemini Gpio init
    g751 init
    flash probe init
    Register Gemini Power control
    Power event by Unknow Source
    Watchdog Timer Initialized
    ttySL0 at MMIO 0x42000000 (irq = 18) is a SL2312
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    loop: loaded (max 8 devices)
    VSC-switch not found
     ---> phy_vendor = 0x1CC912
    SL351x Giga Ethernet driver 0.1.6 built at Jul  2 2009 09:52:56
    sata_lepus1 version 0.1
    ata1: SATA max UDMA/133 cmd 0xC2800020 ctl 0xC2800036 bmdma 0xC2800000 irq 5
    scsi0 : sata_lepus1
    sata_lepus0 version 0.1
    ata2: SATA max UDMA/133 cmd 0xC2804020 ctl 0xC2804036 bmdma 0xC2804000 irq 4
    ata2: dev 0 ATA-9, max UDMA/133, 3907029168 sectors: LBA48
    HD speed:U6 (0x46)
    ata2: dev 0 configured for UDMA/133
    scsi1 : sata_lepus0
      Vendor: ATA       Model: WDC WD20EFRX-68E  Rev: 82.0
      Type:   Direct-Access                      ANSI SCSI revision: 05
    SCSI device sda: 3907029168 512-byte hdwr sectors (2000399 MB)
    SCSI device sda: drive cache: write back
    SCSI device sda: 3907029168 512-byte hdwr sectors (2000399 MB)
    SCSI device sda: drive cache: write back
     sda: sda1 sda2 sda3 sda4
    sd 1:0:0:0: Attached scsi disk sda
    sd 1:0:0:0: Attached scsi generic sg0 type 0
    SL2312 MTD Driver Init.......
    Not find EN29LV400A.
    Search for id:(01 22ba) interleave(1) type(2)
    Found: S29AL004DB
    SL2312 CFI Flash: Found 1 x16 devices at 0x0 in 16-bit bank
    number of JEDEC chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    Creating 3 MTD partitions on "SL2312 CFI Flash":
    0x00000000-0x00040000 : "RedBoot"
    0x00040000-0x00060000 : "MTD1"
    0x00060000-0x00080000 : "MTD2"
    SL2312 MTD Driver Init Success ......
    FTC_FOTG2XX : Init FOTG2XX Driver
    Init FOTG2xx driver
    FTC_FOTG2XX : >>> Found FOTG2XX ...
    pFTC_OTG c0bb83e0
    hcd->self.controller c0bbd400
    hcd end
    hcd_buffer_create
    ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX: new USB bus registered, assigned bus number 1

    usb_register_bus
    ghcd_FOTG2XX hcd c0bbd400
    hcd_irq_For_OTG
    ehci->caps->length 10, hcd->regs f6800000 , ehci->regs f6800010
    udev->state 1
    drivers/usb/host/ehci-hcd-FOTG2XX.c: USB support enabled, EHCI rev 101. 0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    FTC_FOTG2XX : >>> +FOTG2XX_get_otg_transceiver
    FTC_FOTG2XX : registered host c0bbd400
    OTG2XX act as HOST only (don't need to wait gadget driver)
    +(OTGC_Init)
    pFTC_OTG->otg.default_a=1
    +(OTGC_Init)
    pFTC_OTG->otg.default_a=1
    OTG_enable_VBUS
    FTC_FOTG2XX : >>> Drive VBUS ok...
    +OTGP_Close()
    OTG2XX act as HOST only (remove gadget function)
    +OTGH_Open()(0x30=0x0)
    OTG_enable_VBUS
    mdwOTGC_Control_A_VBUS_VLD_Rd 80000
    +OTGP_Close()
    OTG2XX act as HOST only (remove gadget function)
    +OTGH_Open()(0x30=0x0)
    ehci otg_set_host status 0
    FTC_FOTG200_udc_1 : Init USB device Lower driver
    FOTG200_BASE_ADDRESS = 0xf6900000
    ******reg_val = c0422037
    FTC_FOTG200_udc_1 : ***** FOTG200 Peripheral 2.0 Test program *****
    FTC_FOTG200_udc_1 : L0: System initial, Please wait...
    FTC_FOTG200_udc_1 : L1: System is ready(dev->EPUseDMA=0xff)...
    FTC_usb_probe_1 end
    Initializing USB Mass Storage driver...
    connect_change 1
    clear_bit
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    NET: Registered protocol family 2
    IP route cache hash table entries: 512 (order: -1, 2048 bytes)
    TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP reno registered
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    RAMDISK: Compressed image found at block 0
    EXT2-fs warning: checktime reached, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 84K
    init started:  BusyBox v1.00-pre1 (2008.03.07-06:35+0000) multi-call binary
    start S00
    Adding 506008k swap on /dev/sda1.  Priority:-1 extents:1 across:506008k
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    swapoff
    End of /linuxrc -- transfer to /sbin/init
    Link /var/spool to /tmp/spool
    Link /sys
    Link slboot.img
    Link web
    Link modules
    Link etc/hotplug
    ======= Run old shell script =======
    ** Johnson Poweron the system
    mount: Mounting /proc on /proc failed: Device or resource busy
    mount: Mounting none on /dev/pts failed: Device or resource busy
    mount tmpfs for hibernation
    mount: Mounting tmpfs on /var/spool failed: No such file or directory
    Check MTD block device V2.03.04242009
            MTDC: Mount MTD1 done.
            MTDC: Mount MTD2 done.
            MTDC: No need to copy file.
    ** copy mtd1 files
    cp: /sys/mtd1/firmwareupdate: No such file or directory
    cp: /sys/mtd1/codepage: No such file or directory
    cp: /sys/mtd1/hd_magic_num: No such file or directory
    cp: /sys/mtd1/onedisk: No such file or directory
    cp: /sys/mtd1/MountError: No such file or directory
    mv: /sys/mtd1/firmwareupdate: No such file or directory
    mv: /sys/mtd1/restore: No such file or directory
    mv: /sys/mtd1/format_ok: No such file or directory
    mv: /sys/mtd1/pls_sync: No such file or directory
    mv: /sys/mtd1/pls_chmod_a2: No such file or directory
    mv: /sys/mtd1/pls_chmod_b2: No such file or directory
    cp: /sys/mtd1/ftpgroup: No such file or directory
    mv: /tmp/hd_magic_num: No such file or directory
    ** link lib **
    ** link web **
    ** link /usr/bin **
    ** link /usr/sbin **
    ** link /usr/local/LPRng **
    cp: /sys/crfs/default/server-key-nopassword.pem: No such file or directory
    ** set loopback interface

    ALPHA Networks Incorporation, setmacid V1.00 program start ...
    found magic num
    found magic num
    found magic num
    Storlink egiga0 address = 00265A01E73D
    ** Johnson check the bootloader's version and update it
    tar: Invalid tar magic
    killapp: No such file or directory
    found magic num
    found magic num
    found magic num
    found magic num
    the file is /slboot.img
    found magic num
    found magic num
    found magic num
    now update slboot
    the firmware is not new than the board
    ** execute rc.init.sh
    Can't find version control
    GMAC-0 Addr 1 Vendor ID: 0x001cc912
    Link Down (0x7949) MII Link status: 00007949    Phy status: 00000000
    MII REG 10 = 0x0
    Flow Control Disable.
    Storlink egiga0 address = 00265A01E73D
    Disable MAC Flow Control...
    SIOCDELRT: No such process
    Setting hostname .... DNS-313
    fuse init (API version 7.8)
    fuse distribution version: 2.6.3
    ufsd_lbd: module license 'Commercial product' taints kernel.
    ufsd: driver loaded at bf00c000 built on Apr 10 2009 22:18:29
    UFSD version 7.02 (Apr 10 2009, 22:06:17)
    NTFS read/write support included
    $Id: ufsdvfs.c,v 1.204 2009/04/09 13:28:57 shura Exp $ (LBD=OFF)
    mounting /dev/sda2
    Build Shared Name Table version v1.04
    mounting /dev/sda4
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

    The number of cylinders for this disk is set to 243201.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
       (e.g., DOS FDISK, OS/2 FDISK)
    partitions = 4, sys_ind = 0x82
    exit status 0
    success
    Setting up swapspace version 1, size = 518156288 bytes
    Adding 506008k swap on /dev/sda1.  Priority:-2 extents:1 across:506008k
    Can't open /etc/raidtab2web !
    buf2=Volume_1
    Set Timezone=26
    cmd =cp /sys/crfs/zoneinfo/26Amsterdam /etc/localtime
    Sun Feb  4 18:17:06 CET 2018
    -------------------------
    1.Set Date & time ...(command: sntp -r ntp1.dlink.com &)
    2.Set Date & time ...(command: sntp -r ntp.dlink.com.tw &)
    3.Set Date & time ...(command: sntp -r ntp1.dlink.com &)
    4.Set Date & time ...(command: sntp -r ntp.dlink.com.tw &)
    crond[1118]: crond 2.3.2 dillon, started, log level 8

    1.04b05(11.32.07.02.2009)
    07/02/2009
    mfg_search
    /web/swap_a file exist(ext2)
    kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
    kill -l [exitstatus]
    ** Get MAC Addr

    UPnP(alpha) AV / MediaServer v2.00.0523.2008.

    No CodePage
    UUID[uuid:00009436-0384-4f94-f47e-00265a01e73d]
    UPNPAV_MGR: Generate key failed.
    UPNPMGR: Get ShareFolder=/mnt/HD_a2.
    upBefore changing the H/W address,please down the device.
    npav_patBefore changing the H/W address,please down the device.
    h=/mnt/HD_a2
    Have not diskA
    Have not diskB
    cp: /mnt/HD_a4/.wget.log: No such file or directory
    fancontrol: Temp 30
    rm: cannot remove `/tmp/set_ddns_done': No such file or directory
    rm: cannot remove `/tmp/set_ddns_error': No such file or directory
    rm: cannot remove `/web/ddns_start': No such file or directory
    rm: cannot remove `/tmp/aip.gz': No such file or directory
    PowerManagementState = 1
    time = 10
    kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
    kill -l [exitstatus]
    language=ENGLISH
    ======= end of old shell script =======
    op_server v2.01.06012006
    UUID= 00 26 5a 01 e7 3d c0 a8 00 de
    Enable SATA HDD Power Management
    PowerManagementState = 1
    time = 10
    -----------------PM0_PID 1194---------------


    BusyBox v1.00-pre1 (2008.03.07-06:35+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    -----------------UbuttonPid 1181---------------


    Jeśli chcemy wejść do Boot Menu przy starcie wciskamy Ctrl+C

    Spoiler:
    Code:
    Storlink CIR Initialization
    
    Please reboot now.

    found magic num
    found magic num
    found magic num
     bootLoader made time: 1246548757
     bootLoader version: 1.04b01
    Waiting for disk ready & detect ...
    IDE 0 Detect disk 0
    Disk Drive: IDE-0, Device-0, 3907029168 Sectors [UDMA6] 2000 GB 526 MB
    Partition 1: Linux Swap
    Partition 2: HPFS/NTFS
    Partition 3: Linux 1012095 Sectors 518 MB
    Partition 4: Linux 401625 Sectors 205 MB
    foun file zImage


    Processor: SL3512c3
    CPU Rate: 300000000
    AHB Bus Clock:150MHz    Ratio:2/1
    MAC 1 Address: 00:26:5A:01:E7:3D
    MAC 2 Address: 00:50:C2:22:22:22
    inet addr: 0.0.0.0/255.255.255.0
    Kernel RAM Location: 0x00600000  Filename: /.boot/zImage
    Initrd RAM Location: 0x00800000  Filename: /.boot/ramdisk.bin.gz

    Andge Test Code 0.02 ...
    PHY 0 Addr 1 Vendor ID: 0x001cc912
    ==> enter ^C to abort booting within 2 seconds ......

                                  Boot Menu
    ==============================================================================
    0: Reboot
    1: Start the Kernel Code
    5: Enter Command Line Interface
    6: Set IP Address
    8: Show Configuration
    I: Initialize IDE
    X: Upgrade Boot


    => Select:
                                  Boot Menu
    ==============================================================================
    0: Reboot
    1: Start the Kernel Code
    5: Enter Command Line Interface
    6: Set IP Address
    8: Show Configuration
    I: Initialize IDE
    X: Upgrade Boot


    => Select:


    Połączenie poprzez UART

    Błąd w update firware D-link DNS-313Błąd w update firware D-link DNS-313


    Dodatkowe informacje LINK
    Informacje na stronie producenta LINK

    W załączniku kopia czystego dysku z partycjami rozruchowymi

    1