aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/board.d
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2022-01-01 21:00:36 +0900
committerSungbo Eo <mans0n@gorani.run>2022-01-29 23:50:28 +0900
commit957f9adeb1f8ec5de8d73e183dec267dbc6dc8bb (patch)
tree44238e23a15f6b0f89f303b1d7b00def6b8f5261 /target/linux/kirkwood/base-files/etc/board.d
parent0c568d044fac166e803ab6a9bcd2f18d31309f9f (diff)
downloadupstream-957f9adeb1f8ec5de8d73e183dec267dbc6dc8bb.tar.gz
upstream-957f9adeb1f8ec5de8d73e183dec267dbc6dc8bb.tar.bz2
upstream-957f9adeb1f8ec5de8d73e183dec267dbc6dc8bb.zip
kirkwood: add support for ipTIME NAS1
ipTIME NAS1 is a 1-bay NAS, based on Marvell Kirkwood SoC. Specifications: * SoC: 88F6281 * RAM: 256 MiB * Flash: SPI NOR 16 MiB * SATA: 1x 3Gb/s * Ethernet: 1x 1GbE * USB: 1x 2.0 * Fan: 2 speed level * UART: JP1 (115200 8N1) * Pinout: [3V3] (TXD) (RXD) (GND) Notes: * There are several variants of the model name: "NAS-I", "NASI", "NAS1". Here "NAS1" is adopted for consistent naming scheme. * The reset button is also a USB copy button in stock FW, but in this patch the former is the only default behavior. Installation via web interface: 1. Flash sysupgrade image through the stock web interface. Revert to stock firmware: 1. Perform sysupgrade with stock image. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d')
-rw-r--r--target/linux/kirkwood/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network
index 773730e642..df38694f40 100644
--- a/target/linux/kirkwood/base-files/etc/board.d/02_network
+++ b/target/linux/kirkwood/base-files/etc/board.d/02_network
@@ -22,6 +22,7 @@ kirkwood_setup_interfaces()
globalscale,sheevaplug|\
iom,iconnect-1.1|\
iom,ix2-200|\
+ iptime,nas1|\
netgear,readynas-duo-v2|\
raidsonic,ib-nas62x0|\
seagate,blackarmor-nas220|\
@@ -55,6 +56,10 @@ kirkwood_setup_macs()
local label_mac=""
case "$board" in
+ iptime,nas1)
+ lan_mac=$(mtd_get_mac_binary u-boot 0x3ffa8)
+ label_mac=$lan_mac
+ ;;
linksys,e4200-v2|\
linksys,ea3500|\
linksys,ea4500)