D-Link DCS-5020L A1

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

D-Link IP Camera DCS-5020L The D-Link DCS-5020L A1 is a IP Camera and and wireless repeater. It runs with a modified Linux 2.6 with MyD-Link. This camera have 2 axis, with stepper motors controled with a 8 darlington arrays.

Not supported.

The DSC-5020L has a supported SOC (Ralink RT3352F). An experimental image is in development here : Fork of OpenWrt to add support for DCS-5020L.

Everything works, except motors, video and IR.

For the moment, you will need a serial connection to flash the image (squashfs-sysupgrade) via TFTP.

You can download an experimental image here : Experimental image

CPU Ram Flash Network WLAN USB Serial JTag
Ralink RT3352 @ xxx MHz 64 MiB 8 MiB 1x 10/100 bgn No Yes ?

WARNING ! The values under the firmware section are not certain, don't use them !

Layer0 raw flash, 8 MiB
Layer1 mtd1
u-boot
192 KiB
mtd2
u-boot-env
64 KiB
mtd3
factory
64 KiB
mtd4
firmware
7872 KiB 0x7B0000
Layer2 mtd?
kernel
about 1.16 MiB 0x128F19
mtd5
rootfs
Layer3 /dev/root mtd?
rootfs_data
around 4.06 MiB

Uploading via the regular web interface does not work, but there is a “emergency room”. This emergency room can be access even with a broken firmware (rt :-D).

  • Disconnect Power
  • Press and hold “Reset”, connect Power and hold Reset until the blue LED goes out (about 3 seconds before the end of rotation).
  • Release reset
  • Configure your computer to 192.168.0.x
  • Fire up a web browser and connect to 192.168.0.20
  • Upload your new firmware in the “emergency room” web interface

After bootup, OpenWrt is reachable at 192.168.1.1 via LAN. Do not forget to reconfigure your network interface on the computer to DHCP. By default, OpenWrt hands out IP addresses on this interface.

generic.flashing.tftp

You have to host your tftp server on a computer. The camera will ask for his own ipv4 address and the ipv4 address of the server.

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ramips/openwrt-ramips-rt305x-dcs-5020l-a1-squashfs-sysupgrade.bin
sysupgrade /tmp/openwrt-ramips-rt305x-dcs-5020l-a1-squashfs-sysupgrade.bin

generic.debrick

Use the emergency web interface (instructions here).

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The D-Link DSC-5020L has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -
Architecture EXAMPLE MIPS
Vendor EXAMPLE Ralink
Bootloader EXAMPLE U-Boot
System-On-Chip EXAMPLE Ralink RT3052 - MIPS 24K V4.12
CPU/Speed EXAMPLE 451 MHz
Flash-Chip EXAMPLE unkown
Flash size EXAMPLE 8 MiB
RAM EXAMPLE 64 MiB
Wireless EXAMPLE RT2860v2 2.4GHz 802.11bgn
Ethernet EXAMPLE 10/100 Mbit/s w/ vlan support
USB EXAMPLE 1x 2.0
Serial EXAMPLE Yes
JTAG EXAMPLE Not populated

Front and back:

Note: This will void your warranty!

To open, you will need to remove the 4 black rubber feets. After removing the screws, the bottom can be removed.

To umount the upper part of the camera, you will need to remove the center ring just above the main pcb.

Main PCB:

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

Serial connection parameters
for D-Link DSC-5020L A1
57600, 8N1, 3.3V

U-Boot 1.1.3 Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fac000 spi_wait_nsec: 1e spi device id: ef 40 17 0 0 (40170000) find flash: W25Q64BV raspi_read: from:30000 len:1000 .*** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 3.5.2.0 -------------------------------------------- ASIC 3352_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: DDR2 DRAM_SIZE: 512 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_ýORY_SIZE: 64 MBytes Flash component: SPI Flash ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ##### The CPU freq = 400 MHZ #### estimate memory size =64 Mbytes Signature: DCS-940 5020L Release 1.01 (2012-07-12) Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. You choosed 3 3: System Boot system code via Flash. ## Booting image at bc050000 ... raspi_read: from:50000 len:40 . Image Name: Linux Kernel Image Created: 2015-09-09 10:17:14 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 7605935 Bytes = 7.3 MB Load Address: 80000000 Entry Point: 80391000 raspi_read: from:50040 len:740eaf ..................................................................................................................... Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80391000) ... ## Giving linux memsize in MB, 64 ................................. RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) rdm_major = 254 MAC_ADRH -- : 0x00000000 MAC_ADRL -- : 0x00000000 Ralink APSoC Ethernet Driver Initilization. v2.0 256 rx/tx descriptors allocated, mtu = 1500! ***** Init RF/MAC data from flash memory ***** LAN MAC: ** ** ** ** ** ** MAC_ADRH -- : 0x0000b*** MAC_ADRL -- : 0x54148*** PROC INIT OK! PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered NET: Registered protocol family 24 === pAd = c0019000, size = 534040 === <-- RTMPAllocAdapterBlock, Status=0 Wlan STA Mode Linux video capture interface: v2.00 block2mtd: version $Revision: 1.1.1.1 $ usbmon: debugfs is not available rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC). ALSA device list: No soundcards found. nf_conntrack version 0.5.0 (512 buckets, 4096 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 6332k freed usb 1-1: new high speed USB device using rt3xxx-ehci and address 2 init started: BusyBox v1.12.1 (2015-09-09 18:09Algorithmics/MIPS FPU Emulator v1.5 :55 CST) starting pid 630, tty '': '/etc_ro/rcS' usb 1-1: configuration #1 chosen from 1 choice iface_desc->desc.bNumEndpoints = 3 iface_desc->desc.bInterfaceNumber = 0 OV78X (05a9:0780) drivers/usb/usb_ov78x/usb_ov78x.c: USB Skeleton device now attached to USBOV78X-192 usbcore: registered new interface driver usbov78x USB Omnivision ov78x (v4.2.0.6) usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.0) <ov780: RESET (hold=120 ms)(retry=0)>usb 1-1: USB disconnect, address 2 drivers/usb/usb_ov78x/usb_ov78x.c: USB Skeleton #192 now disconnected usb 1-1: new high speed USB device using rt3xxx-ehci and address 3 usb 1-1: configuration #1 chosen from 1 choice iface_desc->desc.bNumEndpoints = 3 iface_desc->desc.bInterfaceNumber = 0 OV78X (05a9:0780) drivers/usb/usb_ov78x/usb_ov78x.c: USB Skeleton device now attached to USBOV78X-192 ov780: wait (/dev/usbov78x0)(/dev/usbov78x0 Ready) device = /dev/usbov78x0 .............................................................................................................................................................................................................................................................................................................................................................(Total=usb 1-1: USB disconnect, address 3 89088, Time=221 ms) drivers/usb/usb_ov78x/usb_ov78x.c: USB Skeleton #192 now disconnected usb 1-1: new high speed USB device using rt3xxx-ehci and address 4 usb 1-1: configuration #1 chosen from 1 choice Found format MJPEG. - 640x480 (30.0 fps) - 320x240 (30.0 fps) - 160x120 (30.0 fps) uvcvideo: Found UVC 1.00 device USB Camera Aoni (05a9:7885) uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. ov780: wait (/dev/video0)(/dev/video0 Ready) usbcore: registered new interface driver snd-usb-audio devpts: called with bogus options Welcome to _______ _______ ___ __ ____ _ _ ___ | ___ \| __ || | |__|| \ | || | / / | |___| || |__| || |__ __ | \| || |/ / | _ /| _ || || || |\ || \ |__| \__\|__| |__||______||__||_| \____||_|\___\ =System Architecture Department= wlan key: dfa57ae3 Thu Jan 1 00:00:00 UTC 2015 MJPEG frame count = 10 MJPEG frame size = 131028 H264 frame count = 8 H264 frame size = 184275 ***************** * INTERNET.SH * ***************** Password for 'admin' changed Disable LAN !!! telnetd/ftpd close !!! switch reg write offset=14, value=5555 switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=4c, value=1 switch reg write offset=50, value=2001 switch reg write offset=70, value=ffffffff switch reg write offset=98, value=7f7f switch reg write offset=e4, value=7f ifconfig ra0 0.0.0.0 ...... <-- RTMPAllocTxRxRingMemory, Status=0 SSID: SFR_23D0 Cfg PhyMode = 9 TxBurst = 1 pAd->ed_ap_scaned = 5 pAd->ed_current_ch_aps = 1 pAd->ed_rssi_threshold = -100 pAd->ed_threshold = 90 pAd->false_cca_threshold = 180 pAd->ed_block_tx_threshold = 2 Key1Str is Invalid key length(0) or Type(1) Key2Str is Invalid key length(0) or Type(1) Key3Str is Invalid key length(0) or Type(1) Key4Str is Invalid key length(0) or Type(1) HT_BW = BW_20 --> EEPROMAddressNum = 6 WLAN MAC: B0 C5 54 14 8E D0 *****> TxStream = 1, RxStream = 1 Country Region = 81 Phy Mode = 9 MCS Set = ff 00 00 00 00 <==== rt28xx_init, Status=0 0x1300 = 00064300 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== BBP_R61 -> 20 ifconfig lo up ...... ifconfig eth2 0.0.0.0 ...... device ra0 entered promiscuous mode device eth2 entered promiscuous mode **** wlan_init.sh *** apcli0 no private ioctls. brctl: iface apcli0: No such device ifconfig: ioctl 0x8913 failed: No such device ap-client stop............ brctl: iface ra1: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory AP stop..... @@@ RTMPDrvClose: go to ed_monitor_exit()!! @@@ ed_monitor_exit : ===> @@@ ed_monitor_exit : <=== ***** repeater mode ***** rt2860v2_ap: module license 'unspecified' taints kernel. === pAd = c00fc000, size = 475560 === <-- RTMPAllocAdapterBlock, Status=0 RX DESC a08e5000 size = 2048 <-- RTMPAllocTxRxRingMemory, Status=0 rt_profile = /etc_ro/Wireless/RT2860AP/RT2860.dat ApCfg PhyMode = 9 Cfg PhyMode = 9 CountryCode=EU pAd->ed_sta_threshold = 1 pAd->ed_ap_threshold = 1 pAd->ed_threshold = 90 pAd->false_cca_threshold = 180 pAd->ed_block_tx_threshold = 2 --> EEPROMAddressNum = 6 WLAN MAC: B0 C5 54 14 8E D0 *****> TxStream = 1, RxStream = 1 Country Region = 81 Phy Mode = 9 RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = ff 00 00 00 00 SYNC - BBP R4 to 20MHz.l Lan Link Up Speed: 1, Duplex: 1 led_operation = 0 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== BBP_R61 -> 20 Main bssid = b0:c5:54:14:8e:d0 <==== rt28xx_init, Status=0 0x1300 = 00064320 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== BBP_R61 -> 20 apclient_enable = 0 brctl: bridge br0: Invalid argument ap-client stop............ brctl: bridge br0: Invalid argument @@@ APStop: go to ed_monitor_exit()!! @@@ ed_monitor_exit : ===> @@@ ed_monitor_exit : <=== device ra1 entered promiscuous mode AP start........ RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra1! device ra1 left promiscuous mode br0: port 3(ra1) entering disabled state AP stop..... brctl: iface ra1: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory AP stop..... **** wlan.sh *** **** wlan_init.sh *** apcli0 no private ioctls. brctl: iface apcli0: No such device ifconfig: ioctl 0x8913 failed: No such device ap-client stop............ brctl: iface ra1: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory AP stop..... ***** lan link, so don't up wlan ***** lan link, so no action of apclient_onoff command! arping -c 6 -I br0 -s 0.0.0.0 1.1.1.1 arping: interface eth0 is down ifconfig: ioctl 0x8913 failed: No such device brctl: iface apcli0: No such device ap-client start.... lan link, so no action of repeater_on command! apcli0 no private ioctls. brctl: iface apcli0: No such device ifconfig: ioctl 0x8913 failed: No such device ap-client stop............ brctl: iface ra1: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory AP stop..... brctl: iface ra1: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory AP stop..... **** wlan.sh *** **** wlan_init.sh *** apcli0 no private ioctls. brctl: iface apcli0: No such device ifconfig: ioctl 0x8913 failed: No such device ap-client stop............ brctl: iface ra1: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory AP stop..... ***** lan link, so don't up wlan ***** Thu Jan 1 00:00:11 UTC 2015 *** nvram_daemon(lan up) -> mydlink *** lan link, so no action of apclient_onoff command! Enable LAN !!! *** begin lan.sh *** ifconfig: ioctl 0x8914 failed: Cannot assign requested address ifconfig: ioctl 0x8914 failed: Cannot assign requested address br0: port 2(eth2) entering learning state route: ioctl 0x890c failed: No such process opt.local stop ok. opt.local stop ok. opt.local start ok. CA refresh fail cause ca-update app not exist CA doesn't exist or overdue rm /tmp/mydlink/*.* rm: cannot remove '/tmp/mydlink/*.*': No such file or directory udhcpc (v1.12.1) started br0: topology change detected, propagating br0: port 2(eth2) entering forwarding state alphapd: Startup! total files=86 total file types=3 ext=js , num=3 ext=css , num=2 ext=htm , num=81 ***tftp server, listen port: 69*** alphapd: Running at address 192.168.0.20:80 mDNSResponder 192.168.0.20 DCS5020L8ED0 "DCS-5020L_148ED0" _http._tcp. 80 & Made Proxy Host Records for DCS5020L8ED0local Made Service Records for DCS-5020L_148ED0._http._tcp.local. Thu Jan 1 00:00:14 UTC 2015 *** lan.sh -> mydlink *** opt.local stop ok. opt.local stop ok. opt.local start ok. rm /tmp/mydlink/*.* CA refresh fail cause ca-update app not exist CA doesn't exist or overdue rm: cannot remove '/tmp/mydlink/*.*': No such file or directory *** end lan.sh *** Service DCS-5020L_148ED0._http._tcp.local. now registered and active Sending select for 192.168.0.212... Lease of 192.168.0.212 obtained, lease time 43200 *** begin dhcp.sh *** *** re-start dhcp client *** ifconfig: ioctl 0x8914 failed: Cannot assign requested address deleting route route: ioctl 0x890c failed: No such process route: ioctl 0x890c failed: No such process adding dns 192.168.0.100 alphapd: SIGTERM!udhcpc (v1.12.1) started alphapd: Shutdown! Sending select for 192.168.0.212... Lease of 192.168.0.212 obtained, lease time 43200 ifconfig: ioctl 0x8914 failed: Cannot assign requested address deleting route route: ioctl 0x890c failed: No such process adding dns 192.168.0.100 alphapd: Startup! total files=86 total file types=3 ext=js , num=3 ext=css , num=2 ext=htm , num=81 alphapd: Startup! alphapd: Running at address 192.168.0.212:80 route: ioctl 0x890b failed: File exists light sensor changed to Day ***tftp server, listen port: 69*** total files=86 total file types=3 ext=js , num=3 ext=css , num=2 ext=htm , num=81 SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! mkdir: cannot create directory '/tmp/mydlink': File exists SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! Thu Jan 1 00:00:20 UTC 2015 *** udhcpc.sh -> mydlink *** ***tftp server, listen port: 69*** SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! SSL: Unable to open SSL socket on port 443! save to header file : /var/run/audio.header uvc_stream : version (Sep 9 2015-18:12:14) SSL: Unable to open SSL socket on port 443! mkdir: cannot create directory '/tmp/mydlink': File exists opt.local stop ok. Thu Jan 1 00:00:20 UTC 2015 *** udhcpc.sh -> mydlink *** Write Reg 0xE3=0x5A, read=0x5A Write Reg 0xE3=0xA5, read=0xA5 Sensor Product ID : 7742 mDNSResponder 192.168.0.212 DCS5020L8ED0 "DCS-5020L_148ED0" _http._tcp. 80 & Made Proxy Host Records for DCS5020L8ED0local Made Service Records for DCS-5020L_148ED0._http._tcp.local. Sensor Manufacturer ID : 7FA2 uvc_stream: OV7740 Video Mode=0, AE=4, Gamma=5 opt.local stop ok. CA refresh fail cause ca-update app not exist opt.local start ok. rm /tmp/mydlink/*.* rm: cannot remove '/tmp/mydlink/*.*': No such file or directory mDNSResponder 192.168.0.212 DCS5020L8ED0 "DCS-5020L_148ED0" _http._tcp. 80 & Made Proxy Host Records for DCS5020L8ED0local Made Service Records for DCS-5020L_148ED0._http._tcp.local. CA doesn't exist or overdue alphapd: Can't open a socket on ports 80! alphapd: Shutdown! Service DCS-5020L_148ED0._http._tcp.local. now registered and active forked to background (1614) h264 : version (Sep 9 2015-18:12:13) h264: device=(/dev/video1), image quality=(-1), process sleep=(10ms) h264: record output file=(/etc_ro/web/h264.raw), record time=(0) h264: debug flag=( 0), drop frames=(2), frame rate duration=(180) h264: max frame size = 184275 h264: bit rate = 8 (2 Mbps) videomon: use signal (16) to restart video.sh file: /sbin/pt_fw.bin, version=(4) WT6703F: same firmware!(4) PT_motor_start swing: GoTo Pan=150, Tilt=52 swing: forked to background (1640) ***** g_wl_interface = ra0 ****** Thu Jan 1 00:00:25 UTC 2015 *** nvram_daemon(system ready) -> mydlink *** opt.local stop ok. opt.local stop ok. opt.local start ok. rm /tmp/mydlink/*.* rm: cannot remove '/tmp/mydlink/*.*': No such file or directory CA refresh fail cause ca-update app not exist CA doesn't exist or overdue PT_motor_stop ************************ * END OF INTERNET.SH * ************************ starting pid 1742, tty '/dev/ttyS1': '/bin/sh' BusyBox v1.12.1 (2015-09-09 18:09:55 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. # light sensor changed to Day ov780 -I -O 1491 -C 3 -S 2 -P0 150101 -P1 000040 <ov780 OSD Time = (150101)(000040)> OV780: Invalid (Class ID = 5) ov780 -I -O 1491 -C 5 -S 1 -P0 5 ov780 -I -O 1491 -C 5 -S 2 -P0 0 OV780: Invalid (Class ID = 5) ov780 -I -C 3 -S 9 <ov780 fw version = (1.2.23876)> gpio osd <ov780 OSD Time = (150101)(000040)> <ov780 OSD enabele = (1)> ov780 -I -C 3 -S 1 -P0 59 -P1 99 -P2 250 <ov780 OSD Color = (Y=59)(U=99)(V=250)> OSD is enabled ! start_DST == 0


U-Boot 1.1.3 Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fac000 spi_wait_nsec: 1e spi device id: ef 40 17 0 0 (40170000) find flash: W25Q64BV raspi_read: from:30000 len:1000 .raspi_read: from:30000 len:1000 .============================================ Ralink UBoot Version: 3.5.2.0 -------------------------------------------- ASIC 3352_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: DDR2 DRAM_SIZE: 512 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_MEMORY_SIZE: 64 MBytes Flash component: SPI Flash ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ##### The CPU freq = 400 MHZ #### estimate memory size =64 Mbytes Signature: DCS-940 5020L Release 1.01 (2012-07-12) Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 4 3 2 1 0 3: System Boot system code via Flash. ## Booting image at bc050000 ... raspi_read: from:50000 len:40 . Image Name: MIPS OpenWrt Linux-4.3.4 Created: 2016-02-26 16:42:52 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 2948035 Bytes = 2.8 MB Load Address: 80000000 Entry Point: 80000000 raspi_read: from:50040 len:2cfbc3 ............................................. Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ... [ 0.000000] Linux version 4.3.4 (erdnaxe@NAmSUS) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48747) ) #20 Fri Feb 26 16:44:49 UTC 2016 [ 0.000000] SoC Type: Ralink RT3352 id:1 rev:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc) [ 0.000000] MIPS: machine is D-Link DCS-5020L A1 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=000600b8 [ 0.000000] Readback ErrCtl register=000600b8 [ 0.000000] Memory: 59388K/65536K available (2720K kernel code, 114K rwdata, 640K rodata, 1828K init, 191K bss, 6148K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] CPU Clock: 400MHz [ 0.000000] clocksource_of_init: no matching clocksources found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.015660] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.100889] pid_max: default: 32768 minimum: 301 [ 0.110305] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.123367] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.144669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.164440] pinctrl core: initialized pinctrl subsystem [ 0.175992] NET: Registered protocol family 16 [ 0.221281] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.232367] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.247244] clocksource: Switched to clocksource MIPS [ 0.259740] NET: Registered protocol family 2 [ 0.269832] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.283692] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.296259] TCP: Hash tables configured (established 1024 bind 1024) [ 0.309046] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.320639] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.333529] NET: Registered protocol family 1 [ 3.729487] rt-timer 10000100.timer: maximum frequency is 4069Hz [ 3.743053] futex hash table entries: 256 (order: -1, 3072 bytes) [ 3.786235] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 3.797820] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 3.822721] io scheduler noop registered [ 3.830493] io scheduler deadline registered (default) [ 3.841035] ralink-usb-phy usbphy: invalid resource [ 3.851823] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 3.866537] console [ttyS0] disabled [ 3.873676] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 3.893374] console [ttyS0] enabled [ 3.893374] console [ttyS0] enabled [ 3.907164] bootconsole [early0] disabled [ 3.907164] bootconsole [early0] disabled [ 3.932509] spi spi0.0: force spi mode3 [ 3.940817] m25p80 spi0.0: s25fl064k (8192 Kbytes) [ 3.950520] 4 ofpart partitions found on MTD device spi0.0 [ 3.961498] Creating 4 MTD partitions on "spi0.0": [ 3.971100] 0x000000000000-0x000000030000 : "u-boot" [ 3.984100] 0x000000030000-0x000000040000 : "u-boot-env" [ 3.998269] 0x000000040000-0x000000050000 : "factory" [ 4.011774] 0x000000050000-0x000000800000 : "firmware" [ 4.066696] rt3050-esw 10110000.esw: link changed 0x00 [ 4.079700] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 4.097207] rt2880_wdt 10000120.watchdog: Initialized [ 4.109656] NET: Registered protocol family 10 [ 4.125534] NET: Registered protocol family 17 [ 4.134709] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 4.159970] 8021q: 802.1Q VLAN Support v1.8 [ 4.189189] Freeing unused kernel memory: 1828K (80367000 - 80530000) [ 4.224018] init: Console is alive [ 4.231393] init: - watchdog - [ 4.281107] usbcore: registered new interface driver usbfs [ 4.292371] usbcore: registered new interface driver hub [ 4.303275] usbcore: registered new device driver usb [ 4.318412] gpio-keys-polled gpio-keys-polled: missing platform data [ 4.331229] gpio-keys-polled: probe of gpio-keys-polled failed with error -22 [ 5.238821] init: - preinit - [ 5.430262] 8021q: adding VLAN 0 to HW filter on device eth0 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.978168] rt3050-esw 10110000.esw: link changed 0x01 [ 8.669035] procd: - early - [ 8.675039] procd: - watchdog - [ 9.279128] procd: - ubus - [ 10.287226] random: ubusd urandom read with 16 bits of entropy available [ 10.304359] procd: - init - Please press Enter to activate this console. [ 11.146030] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 11.179423] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68 [ 11.194273] Backport generated by backports.git backports-20151218-0-g2f58d9d [ 11.214962] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.242043] nf_conntrack version 0.5.0 (956 buckets, 3824 max) [ 11.312192] xt_time: kernel timezone is -0000 [ 11.433222] PPP generic driver version 2.4.2 [ 11.446760] NET: Registered protocol family 24 [ 11.499655] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3352, rev 0200 detected [ 11.515230] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 000c detected [ 21.430622] 8021q: adding VLAN 0 to HW filter on device eth0 [ 21.469190] device eth0 entered promiscuous mode [ 21.499411] br-lan: port 1(eth0) entered forwarding state [ 21.510362] br-lan: port 1(eth0) entered forwarding state [ 23.507336] br-lan: port 1(eth0) entered forwarding state BusyBox v1.24.1 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- DESIGNATED DRIVER (Bleeding Edge, r48747) ----------------------------------------------------- * 2 oz. Orange Juice Combine all juices in a * 2 oz. Pineapple Juice tall glass filled with * 2 oz. Grapefruit Juice ice, stir well. * 2 oz. Cranberry Juice ----------------------------------------------------- root@OpenWrt:/# cat /pro root@OpenWrt:/# cat /proc/meminfo MemTotal: 61216 kB MemFree: 48032 kB MemAvailable: 52812 kB Buffers: 0 kB Cached: 6916 kB SwapCached: 0 kB Active: 4708 kB Inactive: 3056 kB Active(anon): 888 kB Inactive(anon): 8 kB Active(file): 3820 kB Inactive(file): 3048 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 856 kB Mapped: 1600 kB Shmem: 48 kB Slab: 2848 kB SReclaimable: 668 kB SUnreclaim: 2180 kB KernelStack: 264 kB PageTables: 144 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 30608 kB Committed_AS: 2580 kB VmallocTotal: 1048372 kB VmallocUsed: 344 kB VmallocChunk: 1044308 kB root@OpenWrt:/#


  • The sources of the original firmware can be download here : D-Link GPL Source Code Support
  • You can modify RT288x_SDK/source/vendors/Ralink/RT3352/rcS to create your own “Telnet” stock firmware.
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2019/10/03 12:37
  • by tmomas