|
Zyxel NSA325 messed up uboot - recovery - de-brick December 03, 2025 07:08AM |
Registered: 9 years ago Posts: 33 |
Zyxel-NAS325-OpenWRT$ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2025.10-tld-1.nsa325.kwb -p kwboot version 2025.01 Detected kwbimage v0 with NAND boot signature Patching image boot signature to UART Sending boot message. Please reboot the target...| Sending boot image header (512 bytes)... 25 % [.... ] Done Sending boot image data (518268 bytes)... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 12 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 19 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 24 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 31 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 36 % [......................................................................] 38 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 43 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 48 % [......................................................................] 50 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 55 % [......................................................................] 57 % [......................................................................] 58 % [......................................................................] 60 % [......................................................................] 62 % [......................................................................] 63 % [......................................................................] 65 % [......................................................................] 67 % [......................................................................] 69 % [......................................................................] 70 % [......................................................................] 72 % [......................................................................] 74 % [......................................................................] 76 % [......................................................................] 77 % [......................................................................] 79 % [......................................................................] 81 % [......................................................................] 83 % [......................................................................] 84 % [......................................................................] 86 % [......................................................................] 88 % [......................................................................] 89 % [......................................................................] 91 % [......................................................................] 93 % [......................................................................] 95 % [......................................................................] 96 % [......................................................................] 98 % [........................................................... ] Done Finishing transfer [Type Ctrl-\ + c to quit]
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 03, 2025 02:35PM |
Admin Registered: 14 years ago Posts: 20,027 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 03, 2025 02:40PM |
Admin Registered: 14 years ago Posts: 20,027 |
Quote
Update Mar 02, 2024
1 . If you are installing u-boot and Debian rootfs on Kirkwood boxes for the first time, you can use the latest flashing utilities on the rootfs itself. No need to download the binpack. But if you'd prefer to have a tool box just in case, then the binaries in the binpack will be handy to have. For kwboot, please download the latest kwboot binary attached to this post.
2. I've attached the 2024.04 kwboot static binary (ARM) to this post (this kwboot binary can be run on any ARM box):
kwboot_static_2024.04-rc3
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 04, 2025 06:13AM |
Registered: 9 years ago Posts: 33 |
./kwboot_2025.01-rc1_x86-64 -t -B 115200 /dev/ttyUSB0 -b uboot.2025.10-tld-1.nsa325.kwb -p kwboot version 2025.01-rc1-ge61ea9f2e5d2-dirty Detected kwbimage v0 with NAND boot signature Patching image boot signature to UART Sending boot message. Please reboot the target...- Sending boot image header (512 bytes)... 25 % [.... ] Done Sending boot image data (518268 bytes)... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 12 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 19 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 24 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 31 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 36 % [......................................................................] 38 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 43 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 48 % [......................................................................] 50 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 55 % [......................................................................] 57 % [......................................................................] 58 % [......................................................................] 60 % [......................................................................] 62 % [......................................................................] 63 % [......................................................................] 65 % [......................................................................] 67 % [......................................................................] 69 % [......................................................................] 70 % [......................................................................] 72 % [......................................................................] 74 % [......................................................................] 76 % [......................................................................] 77 % [......................................................................] 79 % [......................................................................] 81 % [......................................................................] 83 % [......................................................................] 84 % [......................................................................] 86 % [......................................................................] 88 % [......................................................................] 89 % [......................................................................] 91 % [......................................................................] 93 % [......................................................................] 95 % [......................................................................] 96 % [......................................................................] 98 % [........................................................... ] Done Finishing transfer [Type Ctrl-\ + c to quit]
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 04, 2025 02:59PM |
Admin Registered: 14 years ago Posts: 20,027 |
Quote
Update Feb 29, 2024
1 . If you are installing u-boot and Debian rootfs on Kirkwood boxes for the first time, you can use the latest flashing utilities on the rootfs itself. No need to download the binpack. But if you'd prefer to have a tool box just in case, then the binaries in the binpack will be handy to have. For kwboot, please download the latest kwboot binary attached to this post.
2. I've attached the 2024.04 kwboot binary (ARM) here:
kwboot_2024.04-rc3
(kwboot version 2024.04-rc3-00001-g0861eab8ec)
md5:
a86a783a5b7860397ef3fa6a98d031bf kwboot_2024.04-rc3
sha256:
8ec524a1f5d7475b7df059e40366f3cbc7a94babf91db3c84e0faaae4cc1ab90 kwboot_2024.04-rc3
uname -a gcc --version cat /etc/os-release
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 22, 2025 07:51AM |
Registered: 9 years ago Posts: 33 |
root@PHILAP0112:# uname -a Linux PHILAP0112 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux root@PHILAP0112:# gcc --version gcc (Debian 14.2.0-19) 14.2.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@PHILAP0112:# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" VERSION_CODENAME=trixie DEBIAN_VERSION_FULL=13.2 ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" root@PHILAP0112:#
@PHILAP0112:~/Downloads/Zyxel-NAS325-OpenWRT$ chmod +x kwboot_2024.04-rc3 @PHILAP0112:~/Downloads/Zyxel-NAS325-OpenWRT$ chmod +x kwboot_static_2024.04-rc3 @PHILAP0112:~/Downloads/Zyxel-NAS325-OpenWRT$ ./kwboot_2024.04-rc3 -t -B 115200 /dev/ttyUSB0 -b uboot.2025.10-tld-1.nsa325.kwb -p bash: ./kwboot_2024.04-rc3: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei @PHILAP0112:~/Downloads/Zyxel-NAS325-OpenWRT$ sudo ./kwboot_2024.04-rc3 -t -B 115200 /dev/ttyUSB0 -b uboot.2025.10-tld-1.nsa325.kwb -p ./kwboot_2024.04-rc3: 1: Syntax error: word unexpected (expecting ")") @PHILAP0112:~/Downloads/Zyxel-NAS325-OpenWRT$ sudo ./kwboot_static_2024.04-rc3 -t -B 115200 /dev/ttyUSB0 -b uboot.2025.10-tld-1.nsa325.kwb -p ./kwboot_static_2024.04-rc3: 7: Syntax error: word unexpected (expecting ")")
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 22, 2025 08:32PM |
Admin Registered: 14 years ago Posts: 20,027 |
> root@PHILAP0112:# uname -a > Linux PHILAP0112 6.12.57+deb13-amd64 #1 SMP > PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) > x86_64 GNU/LinuxIt is x86_64 box, so you can not use ARM binaries such as kwboot_2024.04-rc3 or or kwboot_static_2024.04-rc3. You have to use either the x86_64 binary kwboot_2025.01-rc1_x86-64, or one that comes with the distro on your PHILAP0112 box.
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 23, 2025 08:19AM |
Registered: 9 years ago Posts: 33 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 23, 2025 02:00PM |
Registered: 9 years ago Posts: 33 |
root@Zyxel-NSA325:/tmp# ./kwboot_static_2024.04-rc3 -t -B 9600 /dev/ttyS0 -b uboot.2025.10-tld-1.nsa325.kwb -p kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v0 with NAND boot signature Patching image boot signature to UART Cannot inject code for changing baudrate into v0 image header uboot.2025.10-tld-1.nsa325.kwb: Invalid image.
root@Zyxel-NSA325:/tmp# ./kwboot_static_2024.04-rc3 -t /dev/ttyS0 -b uboot.2025.10-tld-1.nsa325.kwb -p kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v0 with NAND boot signature Patching image boot signature to UART Sending boot message. Please reboot the target...- Sending boot image header (512 bytes)... 0 % [+++++++++++++++EE xmodem: Bad message root@Zyxel-NSA325:/tmp#
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 23, 2025 02:02PM |
Registered: 9 years ago Posts: 33 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 23, 2025 03:11PM |
Admin Registered: 14 years ago Posts: 20,027 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 23, 2025 05:19PM |
Registered: 9 years ago Posts: 33 |
root@Zyxel-NSA325:/tmp# chmod +x kwboot_* root@Zyxel-NSA325:/tmp# ./kwboot_static_2024.04-rc3 -t -B 115200 /dev/ttyUSB0 -b uboot.2025.10-tld-1.nsa325.kwb -p kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v0 with NAND boot signature Patching image boot signature to UART Sending boot message. Please reboot the target...| Sending boot image header (512 bytes)... 25 % [.... ] Done Sending boot image data (518268 bytes)... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 12 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 19 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 24 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 31 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 36 % [......................................................................] 38 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 43 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 48 % [......................................................................] 50 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 55 % [......................................................................] 57 % [......................................................................] 58 % [......................................................................] 60 % [......................................................................] 62 % [......................................................................] 63 % [......................................................................] 65 % [......................................................................] 67 % [......................................................................] 69 % [......................................................................] 70 % [......................................................................] 72 % [......................................................................] 74 % [......................................................................] 76 % [......................................................................] 77 % [......................................................................] 79 % [......................................................................] 81 % [......................................................................] 83 % [......................................................................] 84 % [......................................................................] 86 % [......................................................................] 88 % [......................................................................] 89 % [......................................................................] 91 % [......................................................................] 93 % [......................................................................] 95 % [......................................................................] 96 % [......................................................................] 98 % [........................................................... ] Done Finishing transfer [Type Ctrl-\ + c to quit]
root@Zyxel-NSA325:/tmp# ./kwboot_2024.04-rc3 -ash: ./kwboot_2024.04-rc3: not found root@Zyxel-NSA325:/tmp# ls -l -rw-r--r-- 1 root root 27 Dec 24 00:14 TZ -rw-r--r-- 1 root root 179 Jan 1 1970 board.json -rw-r--r-- 1 root root 0 Dec 24 00:14 dhcp.leases drwxr-xr-x 2 root root 40 Dec 24 00:14 dnsmasq.cfg01411c.d drwxr-xr-x 3 root root 80 Dec 24 00:14 etc drwxr-xr-x 2 root root 60 Dec 24 00:14 hosts -rwxr-xr-x 1 root root 31804 Dec 24 00:14 kwboot_2024.04-rc3 -rwxr-xr-x 1 root root 788416 Dec 24 00:14 kwboot_static_2024.04-rc3 drwxr-xr-x 3 root root 60 Dec 24 00:14 lib drwxrwxrwt 2 root root 400 Dec 24 00:14 lock drwxr-xr-x 2 root root 80 Dec 24 00:09 log -rw------- 1 root root 10559 Dec 24 00:14 luci-indexcache.9ef6742f.json drwxr-xr-x 2 root root 40 Dec 24 00:14 odhcpd-piofolder drwxr-xr-x 2 root root 40 Dec 24 00:14 opkg-lists drwxr-xr-x 2 root root 40 Jan 1 1970 overlay -rw-r--r-- 1 root root 47 Dec 24 00:14 resolv.conf drwxr-xr-x 2 root root 60 Dec 24 00:14 resolv.conf.d drwxr-xr-x 5 root root 240 Dec 24 00:14 run drwxrwxrwt 2 root root 40 Dec 24 00:14 shm drwxr-xr-x 2 root root 80 Dec 24 00:14 state drwxr-xr-x 2 root root 80 Jan 1 1970 sysinfo drwxr-xr-x 2 root root 40 Dec 24 00:09 tmp -rw-r--r-- 1 root root 524288 Dec 24 00:14 uboot.2025.10-tld-1.nsa325.kwb drwx------ 3 root root 60 Dec 24 00:14 usr root@Zyxel-NSA325:/tmp#
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 24, 2025 01:30AM |
Admin Registered: 14 years ago Posts: 20,027 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick December 25, 2025 03:11PM |
Admin Registered: 14 years ago Posts: 20,027 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick January 05, 2026 05:45AM |
Registered: 9 years ago Posts: 33 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick January 05, 2026 10:29PM |
Admin Registered: 14 years ago Posts: 20,027 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick January 06, 2026 12:55AM |
Registered: 9 years ago Posts: 33 |
|
Re: Zyxel NSA325 messed up uboot - recovery - de-brick January 06, 2026 10:53AM |
Admin Registered: 14 years ago Posts: 20,027 |