Zyxel NSA 325 v2 - *** ERROR: `serverip' not set - Cannot autoload with TFTPGET August 19, 2023 04:30PM |
Registered: 1 year ago Posts: 5 |
....
97 % [......................................................................]
99 % [....................................]
[Type Ctrl-\ + c to quit]
U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server
SoC: Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM: 512 MiB
Core: 19 devices, 15 uclasses, devicetree: separate
NAND: 128 MiB
Loading Environment from NAND... *** Warning - bad CRC, using default environment
Resetting console stdin/stdout/stderr to serial...
In: serial
Out: serial
Err: serial
pcie0.0: Link up
Net:
Warning: ethernet-controller@72000 (eth0) using random MAC address - 8a:83:ba:0f:25:5a
eth0: ethernet-controller@72000
Hit any key to stop autoboot: 0
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 3 USB Device(s) found
scanning bus xhci_pci for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Device 0: Vendor: Verbatim Rev: PMAP Prod: STORE N GO
Type: Removable Hard Disk
Capacity: 29584.0 MB = 28.8 GB (60588032 x 512)
... is now current device
Scanning usb 0:1...
Device 0: unknown device
ethernet-controller@72000 Waiting for PHY auto negotiation to complete........ done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address 192.168.1.73 (2926 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
<NSA325>
Re: Zyxel NSA 325 v2 - *** ERROR: `serverip' not set - Cannot autoload with TFTPGET August 19, 2023 04:57PM |
Admin Registered: 13 years ago Posts: 19,094 |
Quote
C.2.2 Using boot.scr to recover from damaged or corrupted envs NAND block
Included in the tarball uboot.2023.04-tld-1.nsa325.bodhi.tar is the script file uboot.2023.04-tld-1.nsa325.boot.scr. This is a Distro-Boot-compliant boot script. It can be used to recover from a damaged/corrupted envs NAND block, or if the envs NAND block has never been flashed (same as corrupted).
So for whatever reason, if in serial console, U-Boot reported the CRC error while loading the envs, using the boot.scr will provide a minimalist booting envs and enable booting into Debian. And then the default envs image can be flashed.
- Mount the USB rootfs on another Linux box. Assuming it is mounted at /media/sdb1.
cd /media/sdb1/boot
cp -a uboot.2023.04-tld-1.nsa325.boot.scr boot.scr
sync
- Unmount and then bring it back to the NSA325. Power up and let it boot automatically. The boot.scr should come into play, and allow booting to Debian.
Re: Zyxel NSA 325 v2 - *** ERROR: `serverip' not set - Cannot autoload with TFTPGET August 20, 2023 10:58AM |
Registered: 1 year ago Posts: 5 |
cd /media/sdb1/boot cp -a uImage uImage.with_nsa310_dtb cp -a uImage.orig uImage sync
Re: Zyxel NSA 325 v2 - *** ERROR: `serverip' not set - Cannot autoload with TFTPGET August 20, 2023 11:25AM |
Admin Registered: 13 years ago Posts: 19,094 |
Quote
4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).