Zyxel NSA325v2 - uBoot flashed but Debian not booting July 30, 2020 03:53PM |
Registered: 4 years ago Posts: 5 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 Unknown command 'host' - try 'help' Unknown command 'host' - try 'help'
arcNumber=4495 baudrate=115200 boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_syslinux_conf=extlinux/extlinux.conf boot_targets=host1 host0 bootcmd=run distro_bootcmd bootcmd_host0=setenv devnum 0; run host_boot bootcmd_host1=setenv devnum 1; run host_boot bootdelay=2 bootm_size=0x10000000 devnum=0 distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ethact=egiga0 ethaddr=xx:xx:xx:xx:xx:xx (address cleared by me) fdt_addr_r=0xc00000 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi ipaddr=1.2.3.4 kernel_addr_r=0x1000000 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) pxefile_addr_r=0x2000 ramdisk_addr_r=0x2000000 sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0x1000 scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi stderr=serial stdin=serial stdout=serial virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi Environment size: 2437/131068 bytes
usb start ext2load usb 0:1 0x800000 /boot/uboot.2016.05-tld-1.environment.scr source 0x800000 printenv setenv devices 'usb ide' setenv dtb_file '/boot/dts/kirkwood-nsa325.dtb' setenv ethaddr xx:xx:xx:xx:xx:xx (address cleared by me) boot
Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Wed Dec 31 16:01:16 PST 1969 on ttyS0 Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.Check of USB Stick (Ubuntu Terminal):
drwxr-xr-x 11 root root 4096 Jan 1 1970 var drwxr-xr-x 2 root root 4096 Jan 1 2011 sys drwxr-xr-x 2 root root 4096 Jan 22 2012 proc drwxr-xr-x 2 root root 4096 Jan 22 2012 home drwx------ 2 root root 16384 Feb 24 2012 lost+found drwxr-xr-x 10 root root 4096 Feb 24 2012 usr drwxr-xr-x 2 root root 4096 Feb 24 2012 srv drwxr-xr-x 2 root root 4096 Feb 24 2012 opt drwxr-xr-x 5 root root 4096 Feb 24 2012 dev drwxr-xr-x 2 root root 4096 Feb 8 2013 run drwxr-xr-x 2 root root 4096 Feb 10 2015 mnt drwxr-xr-x 2 root root 4096 Aug 25 2019 bin drwxr-xr-x 2 root root 4096 Aug 25 2019 sbin drwxr-xr-x 13 root root 4096 Aug 25 2019 lib drwxr-xr-x 3 root root 4096 Jul 29 13:18 boot drwx------ 5 root root 4096 Jul 29 21:46 root -rw-r--r-- 1 root root 1048576 Jul 29 21:48 mtd0 -rw-r--r-- 1 root root 4194304 Jul 29 21:48 mtd1 -rw-r--r-- 1 root root 33554432 Jul 29 21:48 mtd2 -rw-r--r-- 1 root root 95420416 Jul 29 21:48 mtd3 -rw-r--r-- 1 root root 2298 Jul 29 21:49 current_envs.txt drwxr-xr-x 21 root root 4096 Jul 29 22:04 . drwxr-xr-x 3 root root 4096 Jul 29 22:29 media drwxrwxrwt 2 root root 4096 Jul 30 22:39 tmp drwxr-xr-x 57 root root 4096 Jul 30 22:39 etc drwxr-x---+ 4 root root 4096 Jul 30 22:45 ..
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting July 30, 2020 05:29PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
8. Flashing default u-boot envs image (if you are upgrading from 2016.05-tld-1 u-boot, you can skip this step 8).
usb start ext2load usb 0:1 0x800000 /boot/uboot.2016.05-tld-1.environment.scr source 0x800000 printenv setenv devices 'usb ide' setenv dtb_file '/boot/dts/kirkwood-nsa325.dtb' setenv ethaddr xx:xx:xx:xx:xx:xx (address cleared by me)
saveenv boot
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting July 31, 2020 01:48PM |
Registered: 4 years ago Posts: 5 |
## Unknown partition table type 0
loading envs from USB 0 ....
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting July 31, 2020 05:13PM |
Admin Registered: 14 years ago Posts: 19,425 |
> ## Unknown partition table type 0 >
devices=usb ide disks=0 1 2 3If you want to make it less noisy, change the disks env to a smaller number. But I would not do that, in case you have multiple drives plugged in, you will even need to increase this number to make sure u-boot find the kernel files successfully.
> loading envs from USB 0 .... >
setenv bootcmd_uenv 'echo Not loading uEnv.txt'
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting August 06, 2020 01:58PM |
Registered: 4 years ago Posts: 5 |
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting August 06, 2020 10:36PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
# You may want to add the following on a Linux system:
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
use sendfile = yes
write cache size = 2097152
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting August 11, 2020 03:02PM |
Registered: 4 years ago Posts: 5 |
Linux administrator-P5E-VM-HDMI 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Pause parameters for eth0: Autonegotiate: on RX: on TX: on
iperf -s
iperf -c 192.168.1.239
[ 3] local 192.168.1.185 port 35074 connected with 192.168.1.239 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 844 MBytes 707 Mbits/sec
iperf -s
iperf -c 192.168.1.185
[ 4] local 192.168.1.185 port 5001 connected with 192.168.1.238 port 54844 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 838 MBytes 702 Mbits/sec
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting August 15, 2020 02:58PM |
Registered: 4 years ago Posts: 5 |
# This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. # interfaces(5) file used by ifup(8) and ifdown(8) # Better use netplan.io or systemd-networkd to configure additional interface stanzas. # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto eth0 iface eth0 inet dhcp
Re: Zyxel NSA325v2 - uBoot flashed but Debian not booting August 15, 2020 04:22PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
...
debian: