Openwrt won't work with Dlink DCS-930L B1 Webcam

The page for this device https://openwrt.org/toh/d-link/dcs-930l says it works with OpenWRT.
I have tried many times - they always fail.
I know this camera is very old so nobody may be interested, but if anyone with the knowledge does, the serial log of a failed installation of OpenWRT is as follows-
(NB I renamed the file before uploading it)

U-Boot 1.1.3


Board: Ralink APSoC DRAM:  32 MB

relocate_code Pointer at: 81fb0000

spi_wait_nsec: 42 

spi device id: c2 20 16 c2 20 (2016c220)

find flash: MX25L3205D

raspi_read: from:30000 len:1000 

.*** Warning - bad CRC, using default environment


============================================ 

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.12 (2016-02-25)



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 

***** detect reset button pressed *****

raspi_read: from:40028 len:6 

.

Entering HTTP server.

do_httpsvr: argc = 1

do_httpsvr: 0:[httpsvr]

do_httpsvr: loadaddr = 0x80100000


 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!! 

Start HTTP server on port 80, 192.168.0.20

Running ...

NetInitTcp: port = 80

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

checksum bad

Got ARP REQUEST, return our IP

HandleTCP: Clear old session !!!

NetInitTcp: port = 80

send_syn_ack: iphdr->check = 0x41d4

send_syn_ack: tcphdr->check = 0x93a6

HttpHandler: prepare for new session!

HttpHandler: HEADER[GET / HTTP/1.1]

HttpHandler: End of header!

HttpHandler: got method GET!

HandleTCP: 0x00000200 = 0x685dc478 - 0x685dc278

HandleTCP: bufsize = 0x00000000

HandleTCP: Got FIN !!!!!

checksum bad

checksum bad

NetInitTcp: port = 80

HandleTCP: Clear old session !!!

NetInitTcp: port = 80

send_syn_ack: iphdr->check = 0x3dd4

send_syn_ack: tcphdr->check = 0x36bb

HttpHandler: prepare for new session!

HttpHandler: HEADER[GET / HTTP/1.1]

HttpHandler: End of header!

HttpHandler: got method GET!

HandleTCP: 0x00000200 = 0x90d8ce6a - 0x90d8cc6a

HandleTCP: bufsize = 0x00000000

HttpHandler: HEADER[POST / HTTP/1.1]

HttpHandler: End of header!

mpfd_decode: start, boundary = [---------------------------7e53b2820842], 39 bytes, clen = 4194637

mpfd_decode: FOUND [---------------------------7e53b2820842]

mpfd_decode: BOUNDARY end with []

mpfd_decode: PARTHEAD [Content-Disposition: form-data; name="firmware"; filename="openwrt-18-06-8-dcs-930l.bin"] 88

mpfd_decode: PARTHEAD [Content-Type: application/octet-stream] 38

mpfd_decode: PARTHEAD [] 0

mpfd_decode: entering MPFD_WAIT!

mpfd_decode: load_addr = 0x80100000

mpfd_decode: UPLOADED, upsize = 4194304

HttpHandler: DONE!!! upsize = 4194304

==============================================

 Image Name	: MIPS OpenWrt Linux-4.14.171

 Image Size	: 3612512

==============================================

HttpHandler: HEADER[]

HttpHandler: End of header!

HandleTCP: 0x00000360 = 0x90d8d1ca - 0x90d8ce6a

HandleTCP: bufsize = 0x00000000

Entering program & boot linux.

raspi_erase_write: offs:50000, count:371f60

raspi_erase: offs:50000 len:370000

.......................................................

raspi_write: to:50000 len:370000 

.......................................................

raspi_read: from:50000 len:10000 

.raspi_read: from:60000 len:10000 

.raspi_read: from:70000 len:10000 

.raspi_read: from:80000 len:10000 

.raspi_read: from:90000 len:10000 

.raspi_read: from:a0000 len:10000 

.raspi_read: from:b0000 len:10000 

.raspi_read: from:c0000 len:10000 

.raspi_read: from:d0000 len:10000 

.raspi_read: from:e0000 len:10000 

.raspi_read: from:f0000 len:10000 

.raspi_read: from:100000 len:10000 

.raspi_read: from:110000 len:10000 

.raspi_read: from:120000 len:10000 

.raspi_read: from:130000 len:10000 

.raspi_read: from:140000 len:10000 

.raspi_read: from:150000 len:10000 

.raspi_read: from:160000 len:10000 

.raspi_read: from:170000 len:10000 

.raspi_read: from:180000 len:10000 

.raspi_read: from:190000 len:10000 

.raspi_read: from:1a0000 len:10000 

.raspi_read: from:1b0000 len:10000 

.raspi_read: from:1c0000 len:10000 

.raspi_read: from:1d0000 len:10000 

.raspi_read: from:1e0000 len:10000 

.raspi_read: from:1f0000 len:10000 

.raspi_read: from:200000 len:10000 

.raspi_read: from:210000 len:10000 

.raspi_read: from:220000 len:10000 

.raspi_read: from:230000 len:10000 

.raspi_read: from:240000 len:10000 

.raspi_read: from:250000 len:10000 

.raspi_read: from:260000 len:10000 

.raspi_read: from:270000 len:10000 

.raspi_read: from:280000 len:10000 

.raspi_read: from:290000 len:10000 

.raspi_read: from:2a0000 len:10000 

.raspi_read: from:2b0000 len:10000 

.raspi_read: from:2c0000 len:10000 

.raspi_read: from:2d0000 len:10000 

.raspi_read: from:2e0000 len:10000 

.raspi_read: from:2f0000 len:10000 

.raspi_read: from:300000 len:10000 

.raspi_read: from:310000 len:10000 

.raspi_read: from:320000 len:10000 

.raspi_read: from:330000 len:10000 

.raspi_read: from:340000 len:10000 

.raspi_read: from:350000 len:10000 

.raspi_read: from:360000 len:10000 

.raspi_read: from:370000 len:10000 

.raspi_read: from:380000 len:10000 

.raspi_read: from:390000 len:10000 

.raspi_read: from:3a0000 len:10000 

.raspi_read: from:3b0000 len:10000 

.raspi_read: from:3c0000 len:10000 

.raspi_erase: offs:3c0000 len:10000

.

raspi_write: to:3c0000 len:10000 

.

raspi_read: from:3c0000 len:10000 

.Done!

do_reset ...



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 

.*** Warning - bad CRC, using default environment


============================================ 

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.12 (2016-02-25)



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.14.171

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3612448 Bytes =  3.4 MB

   Load Address: 80000000

   Entry Point:  80000000

raspi_read: from:50040 len:371f20 

........................................................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover



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 

.*** Warning - bad CRC, using default environment


============================================ 

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.12 (2016-02-25)



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.14.171

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3612448 Bytes =  3.4 MB

   Load Address: 80000000

   Entry Point:  80000000

raspi_read: from:50040 len:371f20 

........................................................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover



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 

.*** Warning - bad CRC, using default environment


============================================ 

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.12 (2016-02-25)



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.14.171

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3612448 Bytes =  3.4 MB

   Load Address: 80000000

   Entry Point:  80000000

raspi_read: from:50040 len:371f20 

........................................................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover



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 

.*** Warning - bad CRC, using default environment


============================================ 

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.12 (2016-02-25)



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.14.171

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3612448 Bytes =  3.4 MB

   Load Address: 80000000

   Entry Point:  80000000

raspi_read: from:50040 len:371f20 

........................................................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover



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 

.*** Warning - bad CRC, using default environment


============================================ 

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.12 (2016-02-25)



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.14.171

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3612448 Bytes =  3.4 MB

   Load Address: 80000000

   Entry Point:  80000000

raspi_read: from:50040 len:371f20 

........................................................   Verifying Checksum ...

can you interact with the console, or is it read only ?

Seems you tried ULing the image via the emergency web interface, did you try TFTP too ?

I didn't interact with the console.
I used the instructions on the OpenWRT page - holding down the reset button and using the emergency bootloader via ethernet served web page.
Everything was happening too fast for me to try interacting with the console (& I'm concerned about bricking it)

In that case, try 1 when you have the chance.

Hopefully all the info you need to try ULing an image using TFTP will be shown to you.

It will not work for the B1 version I think for now, but I finally managed to get OpenWrt working on the DCS-930L A1 version. See Support for the D-Link DCS-930L Webcam for more details. I have two B1 versions as well, so will try to get those working too. The official firmware provided through OpenWrt is never going to work for an initial flash, the kernel is way too big unfortunately.