openwrt-pf/package/boot/uboot-tools/uboot-envtools/files
Robert Senderek 1c8c05ca98 mvebu: add support for Zyxel NAS326
-----
Hardware:
CPU: ARMADA 380 1x1332Mhz
RAM: 512MB DDR3
FLASH: 256MB MX30LF2G18AC
2x SATA III
2x USB3.0
1x USB2.0
i2c to control various states.
RTC with battery
1Gbit LAN (WoL capable)
9x LED
RESET button at back
Power button at front (gpio-poweroff)
Copy button at front

-----
Doesn't work
FAN control
buzzer

-----
UART connections

Connect UART to port J3 115200
+----+----+----+----+----+
|3.3V| TX | RX |    | GND|
+----+----+----+    +----+
Depend of UART adapter board can fail to boot when adapter is attached. (all leds are dimmed) .
In that case disconnect UART for an < second and after that all leds should be white.
Stop u-boot by ctrl-c within 3s window. (bootdelay 7s or more helps)
setenv bootdelay 7
saveenv

-----
Instalation via UART

Boot initramfs-kernel.bin
setenv ethact egiga0
setenv serverip 192.168.1.11
setenv ipaddr 192.168.1.12
tftpboot 0x02000000 *initramfs-kernel.bin
bootm 0x02000000 -

Device is DHCP client by default ( as the other supported NAS)

do backup into safe space
/dev/mtd3 Kernel-1
/dev/mtd4 RootFS-1

use sysupgrade in console or via luci

-----
MAC addresses

mac stored in u-boot-env ethaddr
label mac = eth0 mac =  5c:6a:80:xx:xx:xx

-----
Setting up u-boot  dual boot

u-boot contain two banks contain two OEM copies
To boot OpenWrt from bank1
setenv next_bootfrom 1
saveenv

To boot OEM from bank2
setenv next_bootfrom 2
saveenv

-----
Configuration via i2c
install i2c-tools

Enable WoL
i2cset -y 0x0 0xa 0xa 0x0006 w

Disable WoL
i2cset -y 0x0 0xa 0xa 0x0306 w

Enable auto power on
i2cset -y 0x0 0x0a 0x0a 0x0107 w

Disable auto power on
i2cset -y 0x0 0x0a 0x0a 0x0007 w

Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
Link: https://github.com/openwrt/openwrt/pull/23228
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-06-24 13:28:59 +02:00
..
airoha_an7581 airoha: add support for Gemtek W1700K 2026-03-11 00:42:34 +01:00
apm821xx uboot-envtools: fix meraki mr24 definition 2026-02-08 18:37:43 +01:00
ath79 uboot-envtools: add extreme-networks,ws-ap3805i 2026-04-16 21:20:01 +02:00
fw_defaults
fw_loadenv
fw_printsys
fw_setsys
imx_cortexa7
imx_cortexa9
imx_cortexa53
ipq40xx ipq40xx: add support for Linksys MR9000 2026-06-04 22:49:38 +02:00
ipq806x ipq806x: add support for Aruba AP-32x 2026-06-16 16:08:08 +02:00
kirkwood
lantiq uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
layerscape
mediatek_filogic mediatek: creatlentem clt-r30b1: add all-in-UBI layout 2026-06-17 09:09:25 +02:00
mediatek_mt7622 mediatek: add support for Buffalo WSR-2533DHP3 2026-05-25 23:08:06 +02:00
mediatek_mt7623
mediatek_mt7629
mpc85xx mpc85xx: ws-ap3715i: enable access to u-boot env 2026-05-05 14:09:38 +02:00
mvebu mvebu: add support for Zyxel NAS326 2026-06-24 13:28:59 +02:00
mxs
octeon
oxnas
pistachio
qoriq package: u-boot: initial support for qoriq arch 2026-01-09 18:45:02 +02:00
qualcommax_ipq50xx qualcommax: ipq50xx: add support for ELECOM WRC-X3000GST2 2026-05-26 18:56:17 +02:00
qualcommax_ipq60xx uboot-envtools: ipq60xx: add support for JDCloud devices 2026-03-21 22:22:39 +01:00
qualcommax_ipq807x qualcommax: ipq807x: add Zyxel NWA110AX support 2026-02-13 21:35:49 +01:00
qualcommbe_ipq95xx
ramips ramips: enable fw_printenv for D-Link COVR-X1860 A1 2026-06-07 11:29:12 +02:00
realtek realtek: add support for V3 variant of SG2008P 2026-06-16 09:42:19 +02:00
rockchip_armv8
starfive starfive: add ubootenv support 2026-03-22 12:41:54 +01:00
uboot-envtools.sh