Hello everyone,
I got a NSA325 for free and want to install Debian on it.
I followed the tutorials and could successful flash u-boot 2023.04 Kirkwood onto it.
Then I followed this tutorial (https://forum.doozan.com/read.php?2,12096) to boot from usb. Now, after hours spent trying to do so, I seek for help.
When turning the NAS on, this log shows up:
I think it is because of my enviroment variables:
or/and because of the files on the stick itself.
I don't fully understand this system yet. I hope that you can help me getting this thing to run.
- Hereux
I got a NSA325 for free and want to install Debian on it.
I followed the tutorials and could successful flash u-boot 2023.04 Kirkwood onto it.
Then I followed this tutorial (https://forum.doozan.com/read.php?2,12096) to boot from usb. Now, after hours spent trying to do so, I seek for help.
When turning the NAS on, this log shows up:
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... OK Resetting console stdin/stdout/stderr to serial... In: serial Out: serial Err: serial pcie0.0: Link up Net: eth0: ethernet-controller@72000 Hit any key to stop autoboot: 0 Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image!
I think it is because of my enviroment variables:
NSA325> printenv CONTRY_TYPE=FF FEATURE_BIT=00 MODEL_ID=A203 PRODUCT_NAME=NSA-310 VENDOR_NAME=ZyXEL Communications Corp. baudrate=115200 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 bootcmd=bootm 0x00800000 bootdelay=2 ethaddr=EC:43:F6:A4:00:D6 fdtcontroladdr=1fb516e0 kernel_addr=480000 loadaddr=0x00800000 mtddevname=uboot mtddevnum=0 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) nandEcc=1bit partition=nand0,0 ver=U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)\ ZyXEL NSA325 2-Bay Power Media Server Environment size: 680/131068 bytes NSA325>
or/and because of the files on the stick itself.
NSA325> usb start
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
NSA325> ext2ls usb 0:1 /
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<DIR> 4096 proc
<SYM> 8 sbin
<DIR> 4096 dev
<DIR> 4096 root
<DIR> 4096 usr
<DIR> 4096 opt
<DIR> 4096 boot
<SYM> 7 bin
<DIR> 4096 etc
<DIR> 4096 tmp
<DIR> 4096 mnt
<DIR> 4096 var
<DIR> 4096 home
<DIR> 4096 media
<DIR> 4096 sys
<DIR> 4096 run
<SYM> 7 lib
<DIR> 4096 srv
NSA325> ext2ls usb 0:1 /boot
<DIR> 4096 .
<DIR> 4096 ..
6223880 zImage-6.5.7-kirkwood-tld-1
8557164 linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb
6223880 vmlinuz-6.5.7-kirkwood-tld-1
5791271 uInitrd
5791207 initrd.img-6.5.7-kirkwood-tld-1
<DIR> 4096 dts
6223944 uImage
198312 config-6.5.7-kirkwood-tld-1
4543778 System.map-6.5.7-kirkwood-tld-1
6223880 zImage.fdt
1262 uboot.2023.04-tld-1.nsa325.boot.scr
2890 uboot.2023.04-tld-1.nsa325.environment
131072 uboot.2023.04-tld-1.nsa325.environment.img
524288 uboot.2023.04-tld-1.nsa325.kwb
NSA325>
I don't fully understand this system yet. I hope that you can help me getting this thing to run.
- Hereux