Dear experts,
I have a problem with my Zyxel NSA325v2 after uBoot Update to "U-Boot 2017.07-tld-1"
After the flash-procedure and after rebooting the device I always get the message "Unknown command 'host'":
and debian is not booting.
Environment Data via printenv:
If I enter the following instructions:
debian is booting and I can login:
ls -lart
May someone help me please?
Kind regards
Mark
I have a problem with my Zyxel NSA325v2 after uBoot Update to "U-Boot 2017.07-tld-1"
After the flash-procedure and after rebooting the device I always get the message "Unknown command 'host'":
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'
and debian is not booting.
Environment Data via printenv:
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
If I enter the following instructions:
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 is booting and I can login:
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):
ls -lart
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 ..
May someone help me please?
Kind regards
Mark