kirkwood: add support for ipTIME NAS1
authorSungbo Eo <mans0n@gorani.run>
Sat, 1 Jan 2022 12:00:36 +0000 (21:00 +0900)
committerSungbo Eo <mans0n@gorani.run>
Sat, 29 Jan 2022 14:50:28 +0000 (23:50 +0900)
commit957f9adeb1f8ec5de8d73e183dec267dbc6dc8bb
tree44238e23a15f6b0f89f303b1d7b00def6b8f5261
parent0c568d044fac166e803ab6a9bcd2f18d31309f9f
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>
include/image-commands.mk
target/linux/kirkwood/base-files/etc/board.d/02_network
target/linux/kirkwood/base-files/lib/preinit/07_set_iface_mac
target/linux/kirkwood/base-files/lib/upgrade/platform.sh
target/linux/kirkwood/config-5.10
target/linux/kirkwood/files/arch/arm/boot/dts/kirkwood-nas1.dts [new file with mode: 0644]
target/linux/kirkwood/image/Makefile