1-bay NAS Dock v1.2 for NanoPi NEO/NEO2

From FriendlyARM WiKi
Jump to: navigation, search

查看中文

Introduction

1-bay NAS Dock v1.2 for NanoPi NEO/NEO2
  • The 1-bay NAS Dock v1.2 for NanoPi NEO/Air/NEO2 is an expansion board which can be used to connect an external hard disk to a FriendlyElec's NanoPi NEO/Air/NEO2. Together with FriendlyElec's customized aluminum case and NanoPi NEO/Air/NEO2 you can quickly assemble a storage server.
  • It uses JM20329 USB2SATA IC and communicates with a NanoPi NEO/Air/NEO2 via USB interface.
  • It works with a 2.5" SATA hard disk or SSD.
  • It uses TI's DC-DC chipset to convert a 12V input to 5V. It has a power switch for users to turn on/off the device.
  • Its dual-color LED can indicate a connected hard disk's status. When the LED is green it means the power is on. When it is red-blinking it means the connected hard disk is reading/writing.Warning: when the status LED is red-blinking do NOT shut down the power or plug/unplug the power.
  • The onboard DS1307 RTC IC can provide precise clock for the board. A button cell can be used to power the RTC when the board is disconnected from power supply.
  • It has an I2C interface.

Hardware Spec

  • High-speed USB2SATA IC JM20329
  • Input voltage:12V
  • Onboard switch
  • Onboard RTC
  • Dual-color LED
  • USB Host
  • Customized aluminum case
  • Ready-to-go software system
  • PCB dimension(mm): 151 x 90

1-bay NAS Dock v1.2 for NanoPi NEO/NEO2.PCB

Software Features

Note: the NAS Dock is a slave device. It must work with a master device which has software support for it. Therefore the software features listed here refer to the features that the OS systems running on a master device NanoPi NEO/NEO2 have.

Debian8 Jessie for NanoPi NEO

  • Kernel: mainline Linux;4.11
  • OpenMediaVault

Debian8 Jessie for NanoPi NEO2

  • Kernel: mainline Linux;4.11
  • OpenMediaVault

Hardware Setup

Essentials You Need for a Complete NAS Solution:
(1) 1-bay NAS Dock v1.2 for NanoPi NEO/NEO2;
(2) Screw set;
(3) 2.5" HDD hard disk;
(4) NanoPi NEO/NEO2 with heat sink
List
Steps to Assemble a NAS Device:
(1) Connect a 2.5"SATA hard disk to the dock and mount the disk on the dock with four screws
Step (1) Step (2)
(2) Connect a NanoPi NEO/NEO2 with pin-headers to the NAS Dock
Step (3)
(3) Connect a 12V power to the NAS Dock and all done
Step(4)

Introduction to 1-bay NAS Dock V1.2 for NanoPi NEO/NEO2's Software

The software system for the 1-bay NAS Dock V1.2 is based on Debian8 Jessie but has OpenMediaVault and its plugins. OpenMediaVault is a popular solution for NAS applications under Linux. It has various services such as SSH,(S)FTP,SMB/CIFS,DAAP media server, RSync,BitTorrent and more.

Software Installation

Make a Bootable TF Card

Download Debian for NAS Image

Download a proper image file for your Dock based on your master device(NEO/NEO2). The image file is under the "officail-ROMs" directory and the utility is under the "tools" directory:

Master Device Image File Download Link
NanoPi NEO nanopi-neo_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip Download Link
NanoPi NEO2 nanopi-neo2_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip Download Link
Flash Utility:
win32diskimager.rar Windows utility. Under Linux users can use "dd"

This system is based on Debian but has OpenMediaVault .

Make TF Card

Extract the "nanopi-neoN_debian-nas-jessie_4.11.0_YYYYMMDD.img.zip" and "win32diskimager.rar". Insert an SD card(at least 8G) into a Windows PC and run the win32diskimager utility as administrator. On the utility's main window select your SD card's drive, the wanted image file and click on "write" to start flashing the SD card.

Insert this card into your NanoPi NEO/NEO2 and connect the 1-Bay NAS Dock V1.2 to a 12V power.Turn on the Dock's switch and if the blue LED on your NEO/NEO2 blinks this indicates your NanoPi NEO/NEO2 has successfully booted.

Configure NAS

Visit the router your NEO/NEO2 is connected to and check your NEO/NEO2's IP address (in our case the Hostname was "FriendlyELEC"). Open a browser and type this IP address in the browser's address bar. The default user name and password for OpenMediaVault are:
User Name: admin
Password: openmediavault

Here is what OpenMediaVault looks like after a user logs in:
OpenMediaVault

Resources

Update Log

April-28-2017

  • Released English Version

May-05-2017

  • Updated Section 1 by adding support for NEO Air

May-24-2017

  • Added Section 3: software features