OpenWrt Forum Archive

Topic: D-Link DCS-930/932 IP Camera

The content of this topic has been archived between 19 Apr 2018 and 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

@maclord

I did not try any ...factory.bin image for a while. These were systematically non-functional back in May-June this year. No idea about the current status of factory images.

I did try sysupgrade images recently less then 2 weeks ago. Both Chaos Calmer 15.05 RC3 and the trunk were not truly working solutions. Camera boots these images, but cannot properly activate the overlay filesystem due to size limitations.
However, I believe the trunk image was 3670020 bytes when I downloaded it, but the current one is just 3407876 bytes. This could be a critical improvement!

I made several attempts to compile customized image from CC 15.05 and the trunk myself. I managed to build working image with proper /overlay and all the networking bells and whistles but faced a strange problem with mjpg_streamer - it failed with "Trace/breakpoint trap" error message every time I tried input_uvc.so as an input.

Finally, I gave up trying and fall back to self-built r45924 with ldpinney's patch.

I have now working mjpg_streamer and motion. I cannot send emails with images as I do not have space for this functionality. I did not try audio functionality.

P.S. Personally I would NOT recommend using OpenWRT with DCS-930L. While it is technically possible, the hardware limitations of this device do not justify using OpenWRT. Better save your time and money for something different.

an wrote:

P.S. Personally I would NOT recommend using OpenWRT with DCS-930L. While it is technically possible, the hardware limitations of this device do not justify using OpenWRT. Better save your time and money for something different.

I tend to agree....unless you upgrade the flash chip to 8 or 16M ... the A series has a BGA chip sad 
But the B series has SOP8 smile

So, i need help tongue

With usb-serial and solder skills, i get these bootlog on DCS930L A1:

"U-Boot 1.1.3

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fac000
config usb..

Set info->start[0]=BF000000
flash_protect ON: from 0xBF000000 to 0xBF021767
flash_protect ON: from 0xBF030000 to 0xBF030FFF
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.5.2.0
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: NOR Flash
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 320 MHZ ####
estimate memory size =32 Mbytes "




The "Signature" and other lines does not comes from serial.
And i have solid Red and Blue leds.

Any advises?
i have more 2 cams death (1 even shows up the red led..).

Thanks all in advance.

(Last edited by dmknob on 22 Aug 2015, 22:24)

I'm currently playing with a D-Link DCS-932L A1 In reading, it should be a snap to upload a firmware using the recovery webpage?

I tried both the openwrt-ramips-rt305x-dcs-930-squashfs-factory.bin and openwrt-ramips-rt305x-dcs-930-squashfs-sysupgrade.bin (assuming one of those were the correct ones) and both failed saying they were incorrect firmwares.

Am I missing something?

Cheers,
J

Edit: Error is:
FAILED TO UPLOAD IMAGE
Unable to upload the image, please make sure the uploaded file is the correct image.

(Last edited by CoolAcid on 26 Aug 2015, 06:00)

@ CoolAcid

TFTPing *-sysupgrade.bin image works (DCS-930L).

(Last edited by an on 26 Aug 2015, 06:23)

an wrote:

TFTPing *-sysupgrade.bin image works.

And this requires the serial connector, right?

I'll have to see if I can dig my kit out if it's not packed for moving wink

@ CoolAcid

Well, there are numerous reports on the web about successful flash of *-factory.bin images through D-Link emergency interface.
I cannot support these claims - I was unsuccessful and stopped trying. Opening the box and connecting serial was way less time consuming...

I'm working on a 933L A1.

Is it just me, or is in fact a RaLink RT3352F?  Problem is... if I use the RT3552F code eth0 doesn't work.  But if I use 3050, then eth0 does work.

Any ideas what video chip is on it?

after spending serveral hours installing openwrt on my 930L i thought i post my findings.

i could not get openwrt to flash via the emergency web interface. the original firmware works find. so if you want to go back you can do this via flashing from the emergency interface.

so i only managed to do it via serial console and flashing -sysupgrage via tftp.

with the stock 15.05 image you will get about 100k free space. this is not enough to do anything. can install mjpeg-streamer etc..

however the image contained packages that were not necessary for a webcam.

so the solution is download the imagebuilder and build your own image.
https://downloads.openwrt.org/chaos_cal … 64.tar.bz2

then edit the file include/target.mk
and remove every package from the line
DEFAULT_PACKAGES.router:=
this will remove the ability to run dns / dhcp and routing on the webcam. but this is a webcam so we dont need it.

then edit the file target/linux/ramips/rt305x/profiles/dlink.mk
find the entry for Profile/DCS930LB1
then i appended these packages:
mjpg-streamer libjpeg curl libcurl luci-mod-admin-full luci-theme-openwrt uhttpd libiwinfo-lua luci-app-mjpg-streamer
(i need curl for ftp upload but if you dont need it leave off curl and libcurl)

then to build the image run
make image PROFILE=DCS930LB1
this takes only about one minute.

the image will be under
bin/ramips

this will give you a webcam image with luci web interface and webcam server with about 500k space in the overlay filesystem.

if an openwrt developer read this. these should be the default packages for the dcs-930/932 webcam as nobody will use this device as a router.

for the ir leds i used the one from the 932l
http://www.aboehler.at/hg/lightSensor-daemon
but i had to change one thing in lightSensor-daemon.c   
the (buf[0] != '0')) had to be changed to (buf[0] != '1'))

@ veti

Thank you for your comments.

Did you manage to install your modified *-factory.bin images through D-Link emergency interface?

By the way, I do use one of my DCS-930L as a router smile The unique location of this particular camera helped me to provide wifi coverage for remote corner of the backyard smile And it works as a camera too.

P.S.: I decided NOT to have LuCi of the DCS-930L due to memory constrains. I spend some time configuring all the services first and then compiled a custom firmware build with all the configurations in the squashfs.

(Last edited by an on 4 Mar 2016, 21:52)

one thing i cant work out.

i have not installed motion for motion detection.

however the hotplug daemon seems to fire a motion event when movement is detected (not very sensitive)
and /etc/hotplug.d/usb/10-motion is called.

i cant find any information about this. does anybody know if the sensitivity can be modified?

an wrote:

Did you manage to install your modified *-factory.bin images through D-Link emergency interface?

By the way, I do use one of my DCS-930L as a router smile The unique location of this particular camera helped me to provide wifi coverage for remote corner of the backyard smile And it works as a camera too.

no i didnt try to install the factory image. since only the installed packages changed i did not think that it would make any difference.

you are running the webcam as a access point, and not as arouter. removing ppp, pppoe dns and dhcp servers would not impact the ap functionalty.

veti wrote:

no i didnt try to install the factory image. since only the installed packages changed i did not think that it would make any difference.

The image size might be the critical difference. Read earlier posts in the tread to get the idea.

veti wrote:

you are running the webcam as a access point, and not as a router.

That's a bold statement dude. I do know the difference between AP and router, and I do know, how I configured my cameras. And I run one of them as a router.

hello,

Do I understand correctly that I can install custom openwrt firmware and still get Camera working ? I mean get pure mjpeg stream ?

And will this firmware work on DCS-931L ? HW specs
SDRAM
• 64 MB
Flash Memory
• 8 MB

link to spec - http://ftp.dlink.ru/pub/Multimedia/DCS- … 00(WW).pdf

fxpester wrote:

Do I understand correctly that I can install custom openwrt firmware and still get Camera working ? I mean get pure mjpeg stream ?

Yes, it is possible for DCS-930L.

fxpester wrote:

And will this firmware work on DCS-931L ? HW specs

No idea. What SoC is it based on?

(Last edited by an on 8 Mar 2016, 07:17)

fxpester wrote:

And will this firmware work on DCS-931L ? HW specs

No idea. What SoC is it based on?


Didn`t found any info online, done my own DCS-931L photos - https://goo.gl/photos/H2L4ZCwxA17JBRv2A
This is Rev A1 camera, with RaLink RT3352F

@veti, @an: Thanks for all the infos.

I finally opened my DCS930B1 to access the serial interface and could flash sysupgrade images. But whether I use my own image or the stock images of 15.05, of 15.05.1, I cannot get the wifi to work. After enabling it in /etc/config/wireless, no OpenWrt access point is visible, but the wlan0 interface is present and has a MAC address. I tried configuring it as a client of my home wifi network, but this did not work either. Also, scanning does not return any SSID, which is wrong. I could not find anything abnormal in the logs. eth0 is working fine. Any hint?

$ cat /etc/config/wireless

config wifi-device  radio0
        option type     mac80211
        option channel  11
        option hwmode   11g
        option path     '10180000.wmac'
        option htmode   HT20

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

kernel log

[   16.240000] cfg80211: Calling CRDA to update world regulatory domain
[   16.270000] cfg80211: World regulatory domain updated:
[   16.280000] cfg80211:  DFS Master region: unset
[   16.280000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   16.300000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   16.320000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   16.340000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   16.350000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   16.370000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   16.390000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   16.400000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   16.420000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   16.540000] snd-usb-audio 2-1:1.2: no of_node; not parsing pinctrl DT
[   16.590000] usbcore: registered new interface driver snd-usb-audio
[   16.630000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   16.640000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[   16.660000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   20.500000] rt305x-esw 10110000.esw: link changed 0x00
[   22.120000] rt305x-esw 10110000.esw: link changed 0x01
[   25.840000] device eth0 entered promiscuous mode
[   25.860000] br-lan: port 1(eth0) entered forwarding state
[   25.870000] br-lan: port 1(eth0) entered forwarding state
[   27.870000] br-lan: port 1(eth0) entered forwarding state
[   29.290000] device wlan0 entered promiscuous mode
[   29.360000] br-lan: port 2(wlan0) entered forwarding state
[   29.370000] br-lan: port 2(wlan0) entered forwarding state
[   31.370000] br-lan: port 2(wlan0) entered forwarding state

system log:

Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 13 (io13) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 14 (io14) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.130000] rt2880-pinmux pinctrl: failed to lookup the sleep state
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.140000] rt2880_gpio 10000600.gpio: registering 22 gpios
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.150000] rt2880_gpio 10000600.gpio: registering 22 irq handlers
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.160000] Switched to clocksource systick
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.170000] NET: Registered protocol family 2
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.180000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.190000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.200000] TCP: Hash tables configured (established 1024 bind 1024)
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.220000] TCP: reno registered
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.250000] NET: Registered protocol family 1
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.260000] rt-timer 10000100.timer: maximum frequency is 7324Hz
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.270000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.270000] futex hash table entries: 256 (order: -1, 3072 bytes)
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.300000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.310000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.330000] msgmni has been set to 56
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.360000] io scheduler noop registered
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.360000] io scheduler deadline registered (default)
Wed Apr 20 20:28:57 2016 kern.warn kernel: [    0.370000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[147]
Wed Apr 20 20:28:57 2016 kern.warn kernel: [    0.390000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[161]
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.400000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.420000] serial8250 serial8250: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.420000] pinctrl core: add 1 pinmux maps
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: found group selector 3 for uartlite
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 15 (io15) for 10000c00.uartlite
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 16 (io16) for 10000c00.uartlite
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.420000] console [ttyS0] disabled
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.430000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.440000] console [ttyS0] enabled
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.460000] bootconsole [early0] disabled
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] pinctrl core: add 1 pinmux maps
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] pinctrl core: add 1 pinmux maps
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: found group selector 1 for spi
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: found group selector 6 for spi_cs1
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: request pin 3 (io3) for 10000b00.spi
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: request pin 4 (io4) for 10000b00.spi
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: request pin 5 (io5) for 10000b00.spi
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: request pin 6 (io6) for 10000b00.spi
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    0.480000] rt2880-pinmux pinctrl: request pin 27 (io27) for 10000b00.spi
Wed Apr 20 20:28:57 2016 kern.warn kernel: [    0.540000] m25p80 spi32766.0: found w25q32, expected mx25l3205d
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.550000] m25p80 spi32766.0: w25q32 (4096 Kbytes)
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.560000] 4 ofpart partitions found on MTD device spi32766.0
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.570000] Creating 4 MTD partitions on "spi32766.0":
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.580000] 0x000000000000-0x000000030000 : "u-boot"
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.590000] 0x000000030000-0x000000040000 : "u-boot-env"
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.600000] 0x000000040000-0x000000050000 : "factory"
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.620000] 0x000000050000-0x000000400000 : "firmware"
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.670000] 2 uimage-fw partitions found on MTD device firmware
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.680000] 0x000000050000-0x000000150924 : "kernel"
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.690000] 0x000000150924-0x000000400000 : "rootfs"
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.700000] mtd: device 5 (rootfs) set to be root filesystem
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.720000] 1 squashfs-split partitions found on MTD device rootfs
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.730000] 0x000000330000-0x000000400000 : "rootfs_data"
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.750000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.760000] rt2880_wdt 10000120.watchdog: Initialized
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.770000] TCP: cubic registered
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.780000] NET: Registered protocol family 17
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.790000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    0.820000] Bridge firewalling registered
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.820000] 8021q: 802.1Q VLAN Support v1.8
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.870000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
Wed Apr 20 20:28:57 2016 kern.info kernel: [    0.880000] Freeing unused kernel memory: 152K (802ea000 - 80310000)
Wed Apr 20 20:28:57 2016 user.info kernel: [    3.760000] init: Console is alive
Wed Apr 20 20:28:57 2016 user.info kernel: [    3.760000] init: - watchdog -
Wed Apr 20 20:28:57 2016 kern.info kernel: [    6.920000] usbcore: registered new interface driver usbfs
Wed Apr 20 20:28:57 2016 kern.info kernel: [    6.940000] usbcore: registered new interface driver hub
Wed Apr 20 20:28:57 2016 kern.info kernel: [    6.950000] usbcore: registered new device driver usb
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    6.960000] rt2880-pinmux pinctrl: request pin 0 (io0) for pio:0
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    6.960000] rt2880-pinmux pinctrl: request pin 20 (io20) for pio:20
Wed Apr 20 20:28:57 2016 kern.info kernel: [    6.960000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Wed Apr 20 20:28:57 2016 kern.info kernel: [    6.980000] ehci-platform: EHCI generic platform driver
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.190000] phy phy-usbphy.0: remote usb device wakeup disabled
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.200000] phy phy-usbphy.0: UTMI 16bit 30MHz
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.210000] ehci-platform 101c0000.ehci: EHCI Host Controller
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.220000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.240000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.270000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    7.280000] usb usb1: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    7.280000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.280000] hub 1-0:1.0: USB hub found
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.290000] hub 1-0:1.0: 1 port detected
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.300000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.320000] ohci-platform: OHCI generic platform driver
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.330000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.340000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.360000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    7.430000] usb usb2: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    7.430000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.430000] hub 2-0:1.0: USB hub found
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.440000] hub 2-0:1.0: 1 port detected
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    7.450000] rt2880-pinmux pinctrl: request pin 17 (io17) for pio:17
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    7.450000] rt2880-pinmux pinctrl: request pin 19 (io19) for pio:19
Wed Apr 20 20:28:57 2016 user.info kernel: [    7.790000] init: - preinit -
Wed Apr 20 20:28:57 2016 kern.info kernel: [    7.900000] usb 2-1: new full-speed USB device number 2 using ohci-platform
Wed Apr 20 20:28:57 2016 kern.debug kernel: [    8.150000] usb 2-1: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.info kernel: [    8.740000] rt305x-esw 10110000.esw: link changed 0x00
Wed Apr 20 20:28:57 2016 kern.notice kernel: [    9.070000] random: mktemp urandom read with 14 bits of entropy available
Wed Apr 20 20:28:57 2016 kern.info kernel: [   10.370000] rt305x-esw 10110000.esw: link changed 0x01
Wed Apr 20 20:28:57 2016 kern.notice kernel: [   12.650000] jffs2: notice: (321) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Wed Apr 20 20:28:57 2016 user.info kernel: [   12.680000] mount_root: switching to jffs2 overlay
Wed Apr 20 20:28:57 2016 user.info kernel: [   12.760000] procd: - early -
Wed Apr 20 20:28:57 2016 user.info kernel: [   12.770000] procd: - watchdog -
Wed Apr 20 20:28:57 2016 user.info kernel: [   13.770000] procd: - ubus -
Wed Apr 20 20:28:57 2016 user.info kernel: [   14.780000] procd: - init -
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.030000] i2c /dev entries driver
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.050000] Linux video capture interface: v2.00
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.080000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.090000] Backport generated by backports.git backports-20150129-0-gdd4a670
Wed Apr 20 20:28:57 2016 kern.debug kernel: [   16.130000] uvcvideo 2-1:1.0: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.130000] uvcvideo: Found UVC 1.00 device <unnamed> (1b3b:2970)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.140000] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.160000] input: UVC Camera (1b3b:2970) as /devices/101c1000.ohci/usb2/2-1/2-1:1.0/input/input0
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.180000] usbcore: registered new interface driver uvcvideo
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.190000] USB Video Class driver (1.1.1)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.240000] cfg80211: Calling CRDA to update world regulatory domain
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.270000] cfg80211: World regulatory domain updated:
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.280000] cfg80211:  DFS Master region: unset
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.280000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.300000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.320000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.340000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.350000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.370000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.390000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.400000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.420000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Wed Apr 20 20:28:57 2016 kern.debug kernel: [   16.540000] snd-usb-audio 2-1:1.2: no of_node; not parsing pinctrl DT
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.590000] usbcore: registered new interface driver snd-usb-audio
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.630000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
Wed Apr 20 20:28:57 2016 kern.info kernel: [   16.640000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
Wed Apr 20 20:28:57 2016 kern.debug kernel: [   16.660000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Wed Apr 20 20:28:58 2016 kern.info kernel: [   20.500000] rt305x-esw 10110000.esw: link changed 0x00
Wed Apr 20 20:29:00 2016 kern.info kernel: [   22.120000] rt305x-esw 10110000.esw: link changed 0x01
Wed Apr 20 20:29:01 2016 authpriv.info dropbear[721]: Not backgrounding
Wed Apr 20 20:29:02 2016 daemon.err uhttpd[759]: socket(): Address family not supported by protocol
Wed Apr 20 20:29:03 2016 user.emerg syslog: setting up led POWER
Wed Apr 20 20:29:03 2016 user.emerg syslog: setting up led WiFi
Wed Apr 20 20:29:03 2016 daemon.info procd: - init complete -
Wed Apr 20 20:29:04 2016 kern.info kernel: [   25.840000] device eth0 entered promiscuous mode
Wed Apr 20 20:29:04 2016 kern.info kernel: [   25.860000] br-lan: port 1(eth0) entered forwarding state
Wed Apr 20 20:29:04 2016 kern.info kernel: [   25.870000] br-lan: port 1(eth0) entered forwarding state
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'lan' is enabled
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'lan' is setting up now
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'lan' is now up
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'loopback' is enabled
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'loopback' is setting up now
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'loopback' is now up
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Network device 'eth0' link is up
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Bridge 'br-lan' link is up
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Network device 'lo' link is up
Wed Apr 20 20:29:04 2016 daemon.notice netifd: Interface 'loopback' has link connectivity
Wed Apr 20 20:29:06 2016 kern.info kernel: [   27.870000] br-lan: port 1(eth0) entered forwarding state
Wed Apr 20 20:29:07 2016 daemon.notice netifd: radio0 (800): Configuration file: /var/run/hostapd-phy0.conf
Wed Apr 20 20:29:07 2016 kern.info kernel: [   29.290000] device wlan0 entered promiscuous mode
Wed Apr 20 20:29:07 2016 daemon.notice netifd: radio0 (800): Using interface wlan0 with hwaddr b0:c5:54:**:**:** and ssid "OpenWrt"
Wed Apr 20 20:29:07 2016 kern.info kernel: [   29.360000] br-lan: port 2(wlan0) entered forwarding state
Wed Apr 20 20:29:07 2016 kern.info kernel: [   29.370000] br-lan: port 2(wlan0) entered forwarding state
Wed Apr 20 20:29:07 2016 daemon.notice netifd: radio0 (800): wlan0: interface state UNINITIALIZED->ENABLED
Wed Apr 20 20:29:07 2016 daemon.notice netifd: radio0 (800): wlan0: AP-ENABLED
Wed Apr 20 20:29:08 2016 daemon.notice netifd: Network device 'wlan0' link is up
Wed Apr 20 20:29:09 2016 kern.info kernel: [   31.370000] br-lan: port 2(wlan0) entered forwarding state
Wed Apr 20 20:29:11 2016 daemon.err uhttpd[759]: wc: /proc/net/nf_conntrack: No such file or directory
Wed Apr 20 20:29:11 2016 daemon.err uhttpd[759]: sysctl: error: 'net.nf_conntrack_max' is an unknown key
Wed Apr 20 20:29:47 2016 kern.notice kernel: [   69.500000] random: nonblocking pool is initialized

$ iw dev wlan0 info

Interface wlan0
    ifindex 6
    wdev 0x2
    addr b0:c5:54:**:**:**
    ssid OpenWrt
    type AP
    wiphy 0
    channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz

Thanks!

(Last edited by maclord on 20 Apr 2016, 23:50)

Hello, I just wanted to add two photos of my DCS-930L camera, purchased about a year agoe in Sweden. I will be trying to boot a custom OpenWRT build on it soon.

Back label information:

Model No.: DCS-930L
P/N: ECS930LEEU...A3
H/W Ver.: A3 F/W Ver.: 1.11
FCC ID: KA2CS932LA1
IC: 4216A-CS932LA1

https://wiki.openwrt.org/_media/media/dlink930l_pcb1.jpg
https://wiki.openwrt.org/_media/media/dlink930l_pcb2.jpg

The U12 chip is hard to read in the photo, markings are as follows:

DCS930LM.AG3
Winbond
W29GL032CB7S
6334646002
409G
U12
1CE3
veti wrote:

after spending serveral hours installing openwrt on my 930L i thought i post my findings.
...
so the solution is download the imagebuilder and build your own image.
https://downloads.openwrt.org/chaos_cal … 64.tar.bz2

Hi,

I'm working to install my own build OpenWRT on a DCS 930L B1 with ImageBuilder (15.05.1-ramips-rt305x) without  any success. I don't see any tips about my problem :

I've compiled my image on ubuntu 14.04 64bit with the command :

tar xf OpenWrt-ImageBuilder-15.05.1-ramips-rt305x.Linux-x86_64.tar.bz2
cd OpenWrt-ImageBuilder-15.05.1-ramips-rt305x.Linux-x86_64
make image PROFILE="DCS930LB1" PACKAGES=""
(no error from the build log on the screen)

The generated files are :

-rw-rw-r-- 1 broupsy broupsy  502 juin  10 10:28 md5sums
-rw-rw-r-- 1 broupsy broupsy 4,0M juin  10 10:28 openwrt-15.05.1-ramips-rt305x-dcs-930l-b1-squashfs-factory.bin
-rw-r--r-- 1 broupsy broupsy 3,3M juin  10 10:28 openwrt-15.05.1-ramips-rt305x-dcs-930l-b1-squashfs-sysupgrade.bin
-rw-rw-r-- 1 broupsy broupsy 2,2M juin  10 10:28 openwrt-15.05.1-ramips-rt305x-root.squashfs
-rw-r--r-- 1 broupsy broupsy 1,1M juin  10 10:28 openwrt-15.05.1-ramips-rt305x-uImage.bin
-rwxr-xr-x 1 broupsy broupsy 3,2M juin  10 10:28 openwrt-15.05.1-ramips-rt305x-vmlinux.bin
-rwxr-xr-x 1 broupsy broupsy 3,2M juin  10 10:28 openwrt-15.05.1-ramips-rt305x-vmlinux.elf
-rw-rw-r-- 1 broupsy broupsy  827 juin  10 10:28 sha256sums

When in want to boot the kernel (openwrt-15.05.1-ramips-rt305x-uImage.bin), with uBoot option 1 (TFTP=>RAM) the kernel loop just before printing MIPS machine version. Same thing without the empty package option that should generate the same image as the official one. (the official release work fine sad )

Where am I wrong ?

Thanks,

BS.


Boot log:

U-Boot 1.1.3

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb0000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 42
spi device id: c2 20 16 c2 20 (2016c220)
find flash: MX25L3205D
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 4.1.2.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 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 = 360 MHZ ####
estimate memory size =32 Mbytes

Signature: DCS-930 B1         L     Release 1.11 (2011-05-31)


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.
2
You choosed 1

0
raspi_read: from:40028 len:6
.
   
1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
    Input device IP (192.168.0.100) ==:192.168.0.100
    Input server IP (192.168.0.20) ==:192.168.0.20
    Input Linux Kernel filename (openwrt-15.05.1-ramips-rt305x-vmlinux.bin) ==:openwrt-15.05.1-ramips-rt305x-uImage.bin

netboot_common, argc= 3

NetTxPacket = 0x81FE4940

KSEG1ADDR(NetTxPacket) = 0xA1FE4940

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done


ETH_STATE_ACTIVE!!
TFTP from server 192.168.0.20; our IP address is 192.168.0.100
Filename 'openwrt-15.05.1-ramips-rt305x-uImage.bin'.

TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: Got ARP REQUEST, return our IP
Got ARP REQUEST, return our IP
Got ARP REPLY, set server/gtwy eth addr (00:0a:e4:fa:5a:fc)
Got it
#################################################################
     #################################################################
     #################################################################
     #########################
done
Bytes transferred = 1123725 (11258d hex)
NetBootFileXferSize= 0011258d
raspi_read: from:30000 len:10000
.Erasing SPI Flash...
raspi_erase: offs:30000 len:10000
.
Writing to SPI Flash...
raspi_write: to:30000 len:10000
.
done
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.23
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1123661 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1
...

As a work around, the ImageBuilder generated openwrt-15.05.1-ramips-rt305x-dcs-930l-b1-squashfs-sysupgrade.bin firmware work well, (but it erase the old one of course).

I confirm that the webcam send green picture (with motion or mjgp_streamer) if the camera is powered on with an ethernet cable plugged.

Is there any simple Openwrt package that could enable audio streaming too, in the same way that motion or mjpg_streamer (like the original D-link firmware do) ?

Thanks for all informations !

BS.

I tried flash tru recovery page (192.168.0.20) and allways end with "Lost connection" and after restart old oficial firmware is instaled. Like nothing hapened.
Tried:

openwrt-15.05.1-ramips-rt305x-dcs-930-initramfs-uImage.bin
openwrt-15.05.1-ramips-rt305x-dcs-930-squashfs-factory.bin
openwrt-15.05.1-ramips-rt305x-dcs-930-squashfs-sysupgrade.bin

Some of them end with error "Wrong file"
My camera: DCS-930L A1

Hi. Is it possible to install openwrt on the

"D-Link DCS-932L IP Kamera"  ?



i plan to make timelapse videos with this cam.

Is there another version available with external usb? i plan to upload the pictures though lte to a remote server.

(Last edited by rymn on 6 Oct 2016, 09:07)

So - if I read the thread rightly there was only one person that attempted to use a 933 camera with openwrt.  That camera seems like a good candidate since it's got H.264 encode (is it H/W?) along with sound and motion.  It also has WDS "out of the box" with the stock firmware, and while the range is not great it appears to work correctly.  I'd love to put DD on this and have more control over the functionality.

I've one DCS930L-A1 and DCS932L-A1 both with serial connection (3wires - T/R/G) and latest firmwares. When I access the serial ports of both cameras (57600 8N1) I get garbage chars. Any ideas why ???

did dlink changed anything in the latest firmware ?