aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/cortexa9
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2022-01-01 23:47:43 +0900
committerSungbo Eo <mans0n@gorani.run>2022-01-29 23:50:28 +0900
commit6ff970bb51f53c731b0612152734cec82ca92543 (patch)
tree3964a5a7292c19aa47afd7b5071b4b8a95bec1f2 /target/linux/mvebu/cortexa9
parentf4fd2a1354a81e5222b6a263076538fbb7d4a090 (diff)
downloadupstream-6ff970bb51f53c731b0612152734cec82ca92543.tar.gz
upstream-6ff970bb51f53c731b0612152734cec82ca92543.tar.bz2
upstream-6ff970bb51f53c731b0612152734cec82ca92543.zip
mvebu: add support for ipTIME NAS1dual
ipTIME NAS1dual is a 1-bay NAS, based on Marvell Armada 385 SoC. Specifications: * SoC: 88F6820 * RAM: 2 GiB * Flash: SPI NOR 64 MiB * SATA: 1x 3Gb/s * Ethernet: 2x 1GbE * USB: 1x 3.0 * Fan: 2 speed level * UART: J11 (115200 8N1) * Pinout: [3V3] (TXD) (RXD) (GND) Installation via web interface: 1. Flash **initramfs** image through the stock web interface. 2. Boot into OpenWrt and perform sysupgrade with sysupgrade image. Revert to stock firmware: 1. Perform sysupgrade with stock image. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/mvebu/cortexa9')
-rw-r--r--target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network3
-rwxr-xr-xtarget/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network b/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network
index 36769e8c18..c613a3cd60 100644
--- a/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/cortexa9/base-files/etc/board.d/02_network
@@ -18,6 +18,9 @@ mvebu_setup_interfaces()
cznic,turris-omnia)
ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3 lan4" "eth2"
;;
+ iptime,nas1dual)
+ ucidef_set_interface_lan "eth0 eth1" "dhcp"
+ ;;
linksys,wrt1200ac|\
linksys,wrt1900ac-v1|\
linksys,wrt1900ac-v2|\
diff --git a/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh
index 030e66e699..18b978d437 100755
--- a/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh
@@ -5,6 +5,8 @@
RAMFS_COPY_BIN='fw_printenv fw_setenv strings'
RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock'
+
+PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
platform_check_image() {