immortalwrt/package/boot
Kip Porterfield 9c17cbd0a8 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>
2021-06-07 23:24:44 +08:00
..
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: update to git HEAD 2021-05-09 20:49:53 +08:00
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: pass commit ids to a3700-utils/mv-ddr-marvell 2021-01-31 22:13:43 +08:00
arm-trusted-firmware-rk3328 rockchip/image: update note for pine64-bin 2021-03-08 12:00:17 +08:00
arm-trusted-firmware-rockchip atf-rockchip: update to 2.3 2020-07-18 13:24:44 +08:00
arm-trusted-firmware-sunxi sunxi: add support for H6 boards and OrangePiOnePlus 2021-04-15 23:20:38 +08:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: add patch to pass LDFLAGS 2021-02-11 12:09:41 +08:00
at91bootstrap at91bootstrap: Add PKG_MIRROR_HASH to fix download 2021-01-19 12:18:30 +08:00
fconfig treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-08 12:11:32 +08:00
grub2 grub2: disable liblzma dependency 2021-05-22 17:05:50 +08:00
imx-bootlets imx-bootlets: refresh patches 2021-02-25 12:02:55 +08:00
kexec-tools kexec-tools: add patch to fix issue with appended DTB and zImage on ARM 2021-05-23 23:28:54 +08:00
kobs-ng fix & merge 2019-09-30 13:21:19 +08:00
mt7623n-preloader mediatek: mt7623n-preloader: add preloader for Banana Pi R64 2020-09-20 11:36:49 +08:00
tfa-layerscape tfa-layerscape: build fiptool again 2021-02-21 12:09:07 +08:00
uboot-at91 uboot-at91: Add PKG_MIRROR_HASH to fix download 2021-01-19 12:18:54 +08:00
uboot-envtools ipq806x: add support for Askey RT4230W REV6 2021-06-06 23:34:22 +08:00
uboot-fritz4040 kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-imx6 uboot-imx6: update BUILD_DEVICES values 2021-05-20 23:18:50 +08:00
uboot-kirkwood kirkwood: add support for Seagate BlackArmor NAS220 2021-06-07 23:24:44 +08:00
uboot-lantiq fix permission 2019-09-30 13:52:50 +08:00
uboot-layerscape layerscape: add LX2160ARDB (Rev2.0 silicon) board support 2021-02-20 12:22:42 +08:00
uboot-mediatek uboot-mediaktek: add support for PSTORE and check it on boot 2021-05-09 20:49:56 +08:00
uboot-mvebu uboot-mvebu: update to v2021.01 2021-01-31 22:12:21 +08:00
uboot-mxs kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-omap omap: update uboot to v2020.04 2020-10-04 21:47:49 +08:00
uboot-oxnas kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-rockchip uboot-rockchip: nanopi4: move new files out of patch 2021-04-21 14:44:19 +08:00
uboot-sunxi sunxi: nanopi-r1s-h5: remove non-existent usb node 2021-05-02 23:22:02 +08:00
uboot-tegra uboot-tegra: bump to 2020.04 2020-12-23 11:24:19 +08:00
uboot-zynq uboot-zynq: fix dtc compilation on host gcc 10 2020-12-15 11:29:33 +08:00