openwrt/target/linux
Kip Porterfield 39dc30387e kirkwood: add support for Seagate BlackArmor NAS220
The Seagate BlackArmor NAS220 is a consumer NAS
with two internal drive bays. The stock OS runs
RAID 1 over the disks via mdadm.

Device specification:
- SoC: Marvell 88F6192 800 MHz
- RAM: 128 MB
- Flash: 32 MB
- 2 x internal SATA II drives
- Ethernet: 10/100/1000 Mbps (single port, no switch)
- WLAN: None
- LED: Power, Status, Sata Activity
- Key: Power, Reset
- Serial: 10 pin header, (115200,8,N,1), 3.3V TTL
	9|x  -   x|10
	7|x  -   x|8
	5|x  - GND|6
	3|x  -  RX|4
	1|TX -   x|2
	front of case
- USB ports: 2 x USB 2.0

Flash instruction:

NOTE: this process uses a serial connection. It will upgrade the
bootloader and reset the bootloader environment variables

TFTP server setup
- Setup PC with TFTP server set the PC IP to 10.4.50.5 as TFTP server
- Copy these files to TFTP server location
    - u-boot.kwb
    - seagate_blackarmor-nas220-initramfs-uImage
    - seagate_blackarmor-nas220-squashfs-sysupgrade.bin
    - seagate_blackarmor-nas220-squashfs-factory.bin

Seagate NAS setup
- Connect LAN cable between PC and seagate device
- Connect to serial to seagate device

Install u-boot
- Boot seagate device and stop in bootloader by pressing any key
- run 'printenv' from u-boot and save the values
- tftpboot 0x2000000 u-boot.kwb
- nand erase.part uboot
- nand write 0x2000000 0x0 ${filesize}
- reset

Update MAC address in u-boot env
- Stop in u-boot by pressing any key
- Get your MAC address from your saved printenv. Is also on chassis
- setenv ethaddr <your MAC>
- saveenv

Option 1 (recommended) - Install OpenWrt via initramfs and sysupgrade
- tftpboot 0x2000000 seagate_blackarmor-nas220-initramfs-uImage
- bootm 0x2000000
- *OpenWrt should be running now, however it is not written to flash yet*
- From the running instance of OpenWrt use Luci's "flash image" feature
    from the web site or use sysupgrade from the console to write
    seagate_blackarmor-nas220-squashfs-sysupgrade.bin to flash

Option 2 - Install OpenWrt by flashing factory image from u-boot
- nand erase.part ubi
- tftpboot 0x2000000 seagate_blackarmor-nas220-squashfs-factory.bin
- nand write 0x2000000 ubi ${filesize}
- reset

Signed-off-by: Kip Porterfield <kip.porterfield@gmail.com>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:23 +00:00
..
apm821xx apm821xx: Netgear WNDR4700 limit kernel lzma dictionary 2021-09-01 08:07:23 +00:00
arc770 arc770: drop support for kernel 4.14 2021-09-01 08:06:56 +00:00
archs38 treewide: use wpad-basic-wolfssl as default 2021-09-01 08:06:52 +00:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2021-09-01 08:07:21 +00:00
at91 kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ath25 ath25: fix preinit Ethernet port configuration 2021-09-01 08:06:58 +00:00
ath79 ath79: expand factory.bin support for some Senao Engenius boards 2021-09-01 08:07:23 +00:00
bcm27xx kernel: bump 5.4 to 5.4.85 2021-09-01 08:07:23 +00:00
bcm47xx kernel: bump 5.4 to 5.4.80 2021-09-01 08:07:15 +00:00
bcm53xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
bcm63xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
gemini kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
generic kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
imx6 kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ipq40xx ipq40xx: add support for Plasma Cloud PA2200 2021-09-01 08:07:23 +00:00
ipq806x ipq806x: add support for ASRock G10 2021-09-01 08:07:23 +00:00
ipq807x kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
kirkwood kirkwood: add support for Seagate BlackArmor NAS220 2021-09-01 08:07:23 +00:00
lantiq kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
layerscape kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mpc85xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mvebu kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mxs treewide: make dependency on kmod-usb-net selective 2021-09-01 08:06:49 +00:00
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
oxnas kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
pistachio kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ramips ramips: add support for D-Link DIR-882 R1 2021-09-01 08:07:23 +00:00
realtek realtek: use kernel defined halt 2021-09-01 08:07:23 +00:00
rockchip kernel: bump 5.4 to 5.4.85 2021-09-01 08:07:23 +00:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2021-09-01 08:07:11 +00:00
tegra tegra: image: remove unnecessary assumptions from bootscript 2021-09-01 08:07:22 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 x86: enable CONFIG_MMC_SDHCI_ACPI for x86_64 2021-09-01 08:07:16 +00:00
zynq kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00