ZyXEL NSA310S

From TechInfoDepot
Jump to navigationJump to search
multiple revisions of this device, use caution
NSA310S 1-Bay Media Server
Support Support page
Wikipedia ZyXEL
WikiDevi.wi-cat.ru ZyXEL NSA310S
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
BrandModelRev ZyXEL NSA310S
Type NAS enclosure
CPU1 checkY Marvell 88F6702
CPU1 Type ARMv5 Feroceon core
CPU1 Speed 1.0 GHz
Flash1 Chip Samsung K9F1G08U0D-SCB0
Flash1 Size 128 MiB 134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br /> (NAND)
RAM1 Size 256 MiB 268,435,456 B <br />2,097,152 Kib <br />262,144 KiB <br />2,048 Mib <br />0.25 GiB <br />
RAM1 Chip Nanya NT5TU128M8GE-AC x 2
ETH chip1 Marvell 88F6702
ETH chip2 Marvell 88E1318
Ethernet Port Count 1-1GbE-LAN
Wired Standard IEEE 802.3i/3u/3ab

Ethernet OUI: 28:28:5D (4 E, 1 W)

Stock bootloader U-Boot 1.1.4 Marvell 3.6.0
Stock FW OS Linux 2.6.31.8 KW LSP release 5.1.3 patch 30
Expansion IF types USB 2.0, SATA II
USB ports 2
SATA Ports 1
USB Hub Compatible Untested
Power 12 VDC, 2.5 A
Connector type barrel
Serial Port (UART) yes, 4-pin header, populated, J1, 3.3V TTL, (115200 8N1)

Flags:
RTC w/ battery backup

Additional chips
8-bit MCU with EEPROM;Holtek;HT66F30;;1;
4-port USB Hub Controller;Genesys Logic;GL850G;;1;
2A, 18V, 340kHz Synchronous Step-Down Converter;RIchtek;RT7237A;;1;
I2C/3-Wire Real Time Clock;Holtek;HT1382;;1;
2A, 4.5V to 18V Synchronous Step-Down Converter;Texas Instruments;TPS54229;;4;

Other

Default IP address: acquired via DHCP
the IP acquired via DHCP is used by 256 additional devices
of which 5 are ZyXEL devices
Default login user: admin
Default login password: 1234
admin:1234 credentials used by 190 additional devices
of which 68 are ZyXEL devices

3rd Party Firmware Support Debian
Retail
Availability End of Life
Country of manuf China
 CPU1 brandFLA1RAM1
ZyXEL NSA310Marvell128 MiB134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br />256 MiB268,435,456 B <br />2,097,152 Kib <br />262,144 KiB <br />2,048 Mib <br />0.25 GiB <br />
ZyXEL NSA310SMarvell128 MiB134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br />256 MiB268,435,456 B <br />2,097,152 Kib <br />262,144 KiB <br />2,048 Mib <br />0.25 GiB <br />

For a list of all currently documented Marvell chipsets with specifications, see Marvell.

For a list of all currently documented ZyXEL devices with specifications, see ZyXEL.

Flashing

Flashing OpenWrt

Target: kirkwood
Subtarget: generic
Package architecture: arm_xscale
Supported Since Commit
Support started version: 21.02.0
Current supported version: 25.12.5
LAN Comment: Marvell 88E1318R Phy
WLAN Hardware: none
Installation method(s):
see git-commit
Recovery method(s):
see git-commit
git • >>
kirkwood: add support for Zyxel NSA310S
Zyxel NSA310S is a NAS based on Marvell kirkwood SoC.

Specification:
 - Processor Marvell 88F6702 1 GHz
 - 256MB RAM
 - 128MB NAND
 - 1x GBE LAN port (PHY: Marvell 88E1318)
 - 2x USB 2.0
 - 1x SATA
 - 3x button
 - 7x leds
 - serial on J1 connector (115200 8N1) (GND-NOPIN-RX-TX-VCC)

Known issues:
 - no kernel module for RTC. [*]
 - buzzer (connected to MPP43) need to be drived by 1kHz signal
 - no kernel module for internal MCU connected via I2C[**]

[*]
Karoly Pocsi made simple, unofficial driver for HT1382.
It can be found here:
https://www.madadmin.com/zyxel-nsa320s-es-debian-linux-4-resz/

[**]
Karoly Pocsi found how CPU talk with MCU:
It is possible to query the MCU-controlled fan speed and temperature:
i2cget -y 0x0 0x0a 0x07
i2cget -y 0x0 0x0a 0x08
The first value (0x07) is the temperature in ° C, the second (0x08) is
the time in milliseconds to complete one fan revolution (rpm = 60,000 / value).
Info translated from:
https://www.madadmin.com/zyxel-nsa320s-es-debian-linux-4-resz/

Installation:

TFTP:
1. Run serial console and go to u-boot.
2. Copy u-boot via tftp and write to NAND:
	=> mw 0x0800000 0xffff 0x100000
	=> nand erase 0x0 100000
	=> setenv ipaddr 192.168.1.2
	=> setenv serverip 192.168.1.4
	=> tftp 0x0800000 nsa310s-u-boot.kwb
	=> nand write 0x0800000 0x0 0x100000
	=> reset
3. Run new u-Boot, repair bootcmd and restore MAC address from sticker
	=> setenv ethaddr AA:BB:CC:DD:EE:FF
	=> saveenv
4. Copy and run initramfs image
	=> setenv ipaddr 192.168.1.2
	=> setenv serverip 192.168.1.4
	=> tftpboot zyxel_nsa310s-initramfs-uImage
	=> bootm 0x800000
5. Download sysupgrade image and perform sysupgrade

USB:

1. Prepare usb fat32 drive with u-boot.kwb and initramfs image.
   Stick it to USB 2.0 port.
2. Run serial console and go to u-boot.
3. Copy u-boot from usb and write to NAND:
	=> mw 0x0800000 0xffff 0x100000
	=> nand erase 0x0 100000
	=> usb start
	=> fatload usb 0 0x0800000 u-boot.kwb
	=> nand write 0x0800000 0x0 0x100000
	=> reset
4. Run new u-Boot, repair bootcmd and restore MAC address from sticker
	=> setenv ethaddr AA:BB:CC:DD:EE:FF
	=> saveenv
5. Copy and run initramfs image:
	=> usb start
	=> fatload usb 0 0x0800000 initramfs-uImage
	=> bootm 0x800000
6. Download sysupgrade image and perform sysupgrade.