D-Link DNS-313

From TechInfoDepot
Jump to navigationJump to search
DNS-313 1-Bay Network Storage enclosure
Homepage Product page
Support Support page
Wikipedia D-Link
WikiDevi.wi-cat.ru D-Link DNS-313
3rd Party Firmware
dd-wrt Incompatible
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Incompatible
Platform
Brand • Model • Rev D-Link DNS-313
Type NAS, NAS enclosure
CPU1 ☒N Cortina Systems CS3512
CPU1 Speed 300 MHz
Flash1 Chip cFeon EN29LV400AB-70TCP
Flash1 Size 512 KiB 0.5 MiB <br />524,288 B <br />4,096 Kib <br />4 Mib <br />4.882812e-4 GiB <br />
RAM1 Size 64 MiB 67,108,864 B <br />524,288 Kib <br />65,536 KiB <br />512 Mib <br />0.0625 GiB <br />
RAM1 Chip Nanya NT5DS32M16BS-6K
ETH chip1 Cortina Systems CS3512
ETH chip2 Realtek RTL8211B
Ethernet Port Count 1-1GbE-LAN
Wired Standard IEEE 802.3i/3u/3ab
Stock bootloader RedBoot
Stock FW OS Linux 2.6.3
Expansion IF types USB 2.0 (slave), SATA
USB ports 1
SATA Ports 1
USB Hub Compatible no
Power 12 VDC, 3 A
Connector type barrel
Serial Port (UART) yes, 4-pin header, unpopulated, CON2, 3.3V TTL, (19200,8,N,1)

Flags:
RTC w/ battery backup

Additional chips
I/O Flash Type MCU w/ EEPROM;Holtek;HT48F06E;;1;
Digital Temperature Sensor;Global Mixed-mode Technology;G751-2f;;1;
2A Termination Regulator;Analog Integrations Corporation;AIC1383A;;1;
2A PWM Step-Down Converter;AXElite Technology;AX3106;;2;
Hex Inverter;Texas Instruments;SN54AC04;;1;

Other

Default IP address: 192.168.0.32
the IP 192.168.0.32 is used by 2 additional devices
of which 1 are D-Link devices

3rd Party Firmware Support OpenWrt • (List | Dev | DLs)
Retail
Availability End of Sale
(Est.) release date October 2007

For a list of all currently documented Cortina SoC's with specifications, see Cortina.
For a list of all currently documented Realtek chipsets with specifications, see Realtek.

For a list of all currently documented D-Link devices with specifications, see D-Link.

Overview

USB 2.0 Type B port is used exclusively for Direct Attached Storage function.

Links of Interest

Spec.

Flashing

Flashing OpenWrt

Target: gemini
Subtarget: generic
Package architecture: arm_fa526
Supported Since Commit
Support started version: 18.06.0
Current supported version: 25.12.5
LAN Comment: Realtek RTL8211B Phy
WLAN Comment: No WLAN
Installation method(s):
see devicepage
Recovery method(s):
see devicepage
Comment:
Useful page: https://dflund.se/~triad/krad/dlink-dns-313/ the Flash is 512KB and boots from harddrive; A second SATA header is available on the PCB
git • >>
gemini: add 4.14 support
This adds the patches to get fairly complete Gemini support
using kernel v4.14. It is mainly a backport of patches from
kernel v4.16 with omissions of things like graphics that require
substantial changes and will be better handled once we move
to the v4.16 kernel proper.
On top of this are some WIP patches for USB support.

Tested on Raidsonic NAS4220B and D-link DNS-313.

ChangeLog v4->v5:
- Fix ethernet single gmac usecase
- Fix USB reset (patch from Hans)
- Fix Raidsonic ethernet skew delay
- Fix kernel config (bridge, squashfs, jffs2, usb)
- Disable second usb port on Raidsonic board until fotg210_hcd is fixed

ChangeLog v3->v4:
- Make sure to use tabs rather than spaces in base-files.
- Use the dns313 image tool from the firmware-utils.
- Break out the addition of the v4.14 patches and the removal
  of the v4.4 patches to separate (big) patches.

ChangeLog v2->v3:
- Update the kernel config as indicated by Hauke Martens:
- Regenerate again after rebasing using kernel_oldconfig
  dropping a few optimization settings that are now generic
- Drop CFG80211 stuff (module)
- Drop CIFS stuff (module)
- Drop MAC80211 (module)
- Drop wireless drivers (module)
- Enabled OverlayFS
- Added proper DNS-313 boot image generation with the special
  file header tool.
- Disable CMA in the kernel
- Enable LZMA compression of the kernel
- Consequently name the nas4220b images nas4220b
- Update preinit MAC detection script to handle also DNS-313
- Add board.d/03_hdparm to set the disk to spin down after
  1 minute by default, if we have the hdparm tool installed

ChangeLog v1->v2:
- Processed config through kernel_oldconfig
- Processed patches through make target/linux/{clean,refresh} V=99

Signed-off-by: Linus Walleij
Signed-off-by: Roman Yeryomin

See also

List of NAS Devices • NAS
CPU: 1x @300MHz, 512KB/64MB
CPU: 2x @750MHz, 512KB/128MB
CPU: 1x @800MHz, 128MB/128MB
CPU: 1x @1.0GHz, 128MB/256MB
CPU: Marvell 88F5181 @500MHz, 8MB/64MB
CPU: 1x @1.2GHz, 128MB/256MB
CPU: 1x @1.2GHz, 128MB/512MB
CPU: Marvell 88F5281 @500MHz, 16MB/128MB
CPU: 1x @1.6GHz, 128MB/512MB