Good day,
I'm writing due to lost of hope that I'm able to restore system on my device Zyxel NSA325v2. Till now I used stock u-boot and firmware but it was not enough for me so I decided to change to other OS. According to instruction on https://openwrt.org/toh/zyxel/nsa325 I change stock u-boot for https://archive.openwrt.org/releases/18.06.0/targets/kirkwood/generic/u-boot-nsa325/ this and flash nand with their firmware (OpenWrt)
But during start Openwrt stop working while loading kernel with information
However I finally I decided to install Debian except OpenWrt. This u-boot has ext4ls and ext4load command and has an USB support. It is from 2018y so relatively new and according to doozan forum should work.
my env variabel is as listed :
I've done everything acording to instruction https://forum.doozan.com/read.php?2,12096. I prepared 32 GB USB stick and formating it on ext4 format usign Terminal and
USB is seen and recognized by U-Boot but it cannot read directory /boot
Where could be a problem. Now I cannot change to Kirkwood 2023.04 U-Boot Kirkwood - ZyXEL NSA325 becous of lack of OS. However I don't think it is a matter in my case. What can I do to obtain a debian on my device? Thank you for any help
I'm writing due to lost of hope that I'm able to restore system on my device Zyxel NSA325v2. Till now I used stock u-boot and firmware but it was not enough for me so I decided to change to other OS. According to instruction on https://openwrt.org/toh/zyxel/nsa325 I change stock u-boot for https://archive.openwrt.org/releases/18.06.0/targets/kirkwood/generic/u-boot-nsa325/ this and flash nand with their firmware (OpenWrt)
But during start Openwrt stop working while loading kernel with information
[ 1.174598] Run /sbin/init as init process [ 1.197688] SQUASHFS error: xz decompression failed, data probably corrupt [ 1.204621] SQUASHFS error: Failed to read block 0x1138ce: -5 [ 1.210397] SQUASHFS error: Unable to read fragment cache entry [1138ce] [ 1.217127] SQUASHFS error: Unable to read page, block 1138ce, size 13d5c [ 1.223950] SQUASHFS error: Unable to read fragment cache entry [1138ce] [ 1.230685] SQUASHFS error: Unable to read page, block 1138ce, size 13d5c [ 1.237500] SQUASHFS error: Unable to read fragment cache entry [1138ce] [ 1.244236] SQUASHFS error: Unable to read page, block 1138ce, size 13d5c [ 1.251057] SQUASHFS error: Unable to read fragment cache entry [1138ce] [ 1.257780] SQUASHFS error: Unable to read page, block 1138ce, size 13d5c [ 1.264603] SQUASHFS error: Unable to read fragment cache entry [1138ce] [ 1.271342] SQUASHFS error: Unable to read page, block 1138ce, size 13d5c [ 1.278223] Starting init: /sbin/init exists but couldn't execute it (error -5) [ 1.285562] Run /etc/init as init process [ 1.289754] Run /bin/init as init process [ 1.295574] Run /bin/sh as init process BusyBox v1.35.0 (2023-04-27 20:28:15 UTC) built-in shell (ash) /bin/sh: can't access tty; job control turned off / #
However I finally I decided to install Debian except OpenWrt. This u-boot has ext4ls and ext4load command and has an USB support. It is from 2018y so relatively new and according to doozan forum should work.
my env variabel is as listed :
NSA325> printenv baudrate=115200 bootcmd=usb reset; run usb_bootcmd; usb stop; reset bootdelay=3 console=console=ttyS0,115200 ethact=egiga0 ethaddr=5C:F4:AB:50:13:2C load_uimage=ext4load usb 0:1 0x800000 /boot/uImage load_uinitrd=ext4load usb 0:1 0x2100000 /boot/uInitrd mtddevname=uboot mtddevnum=0 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x00c0000(uboot),0x80000(uboot_env),0x7ec0000(ubi) partition=nand0,0 stderr=serial stdin=serial stdout=serial usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000 usb_bootcmd=run usb_set_bootargs; run usb_boot usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial Environment size: 722/131068 bytes
I've done everything acording to instruction https://forum.doozan.com/read.php?2,12096. I prepared 32 GB USB stick and formating it on ext4 format usign Terminal and
mkfs.ext4 -E lazy_itable_init=0as mentioned. Then I unpacking Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 and changing /etc/fstab to ext4. Of course every step in terminal not in GUI
USB is seen and recognized by U-Boot but it cannot read directory /boot
NSA325> usb reset
resetting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
NSA325> ext4ls usb 0:1 /boot
Failed to iterate over directory boot
** Can not find directory. **
Where could be a problem. Now I cannot change to Kirkwood 2023.04 U-Boot Kirkwood - ZyXEL NSA325 becous of lack of OS. However I don't think it is a matter in my case. What can I do to obtain a debian on my device? Thank you for any help