Re: Bricked NSA320S during 2017.07 flash June 07, 2020 09:24PM |
Admin Registered: 13 years ago Posts: 18,821 |
setenv init_sata 'mw.l f1010104 c70e0ffd; ide reset'
Re: Bricked NSA320S during 2017.07 flash June 07, 2020 09:56PM |
Admin Registered: 13 years ago Posts: 18,821 |
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
setenv init_sata_power 'mw.l f1010104 c70e0ffd' setenv bootcmd 'run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset'and then
boot
fw_setenv init_sata_power 'mw.l f1010104 c70e0ffd' fw_setenv bootcmd 'run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset'
Re: Bricked NSA320S during 2017.07 flash June 08, 2020 07:24PM |
Registered: 11 years ago Posts: 55 |
Quote
That's abnormal. I don't recall anybody has reported this. How old is the 2.5" HDD in the 2nd slot? have you tried swaping these two 1<-->2?
Re: Bricked NSA320S during 2017.07 flash January 14, 2021 05:13AM |
Registered: 3 years ago Posts: 32 |
sudo kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.kwb -p Sending boot message. Please reboot the target...| Sending boot image... U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:50:06 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server SoC: Kirkwood 88F6702_A1 DRAM: 256 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 NSA3x0S> fatload usb 0 0x0 0x800000 uboot.kwb ** Bad device usb 0 ** NSA3x0S> fatload usb 1 0x0 0x800000 uboot.kwb ** Bad device usb 1 ** NSA3x0S> usb restart USB is stopped. Please issue 'usb start' first. NSA3x0S> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) Use USB retry period from the environment: 15 second(s) 2 Storage Device(s) found NSA3x0S> fatload usb 0 0x0 0x800000 uboot.kwb ** Unrecognized filesystem type ** NSA3x0S> fatload usb 1 0x0 0x800000 uboot.kwb reading 0x800000 ** Unable to read file 0x800000 ** NSA3x0S> fatls usb 1 system volume information/ 131072 uboot.img 524288 uboot.kwb 2 file(s), 1 dir(s) NSA3x0S> fatload usb 1 0x0 uboot.kwb reading uboot.kwb 524288 bytes read in 102 ms (4.9 MiB/s) NSA3x0S> ext2load usb 0 0x0 0x800000 uboot.kwb ** File not found 0x800000 ** NSA3x0S> ext2ls usb0 ** No device specified ** NSA3x0S> ext2ls usb 0 <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found 218212300 Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 <DIR> 4096 proc <DIR> 4096 sbin <DIR> 4096 dev <DIR> 4096 root <DIR> 4096 usr <DIR> 4096 opt <DIR> 4096 boot <DIR> 4096 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 <DIR> 4096 lib <DIR> 4096 srv 524288 uboot.kwb 131072 uboot.img NSA3x0S> usbboot 10000 0:1 Loading from usb device 0, partition 1: Name: usbda1 Type: U-Boot Error occured, error code = 49 ** Unknown image type NSA3x0S> usb part Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 30717952 00057363-01 83 Partition Map for USB device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 976896 007c1021-01 0e Boot ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 NSA3x0S> usbboot 10000 0:0 Loading from usb device 0, partition 0: Name: Whole Disk Type: U-Boot Error occured, error code = 49 ** Unknown image type
Re: Bricked NSA320S during 2017.07 flash January 14, 2021 05:30AM |
Registered: 3 years ago Posts: 32 |
NSA310 is new enough so you can recover it easily with "kwboot" tool and serial (and a linux PC), see here. http://forum.doozan.com/read.php?3,7852,7852 This is the command that should work in your case ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot.kwb -p Then you need to flash the uboot as you tried before. kwboot only loads u-boot in RAM. fatload usb 0 0x1000000 uboot.bin nand erase 0x00000 0x100000 nand write 0x1000000 0x00000 0x100000 resetI was loading into
fatload usb 1 0x0 0x800000 uboot.kwb reading 0x800000 ** Unable to read file 0x800000 **but later in same post you was telling guy to load into
usb start fatload usb 0:3 0x2000000 lede-kirkwood-nsa310b-squashfs-factory.bin
Re: Bricked NSA320S during 2017.07 flash January 14, 2021 04:42PM |
Admin Registered: 13 years ago Posts: 18,821 |
usb start ext2load usb 0:1 0x800000 uboot.kwb
Re: Bricked NSA320S during 2017.07 flash January 15, 2021 03:07AM |
Registered: 3 years ago Posts: 32 |
> usb start > ext2load usb 0:1 0x800000 uboot.kwb >Yes, I need to flash uboot and flash new enviroments and set enviroments to boot from USB
Re: Bricked NSA320S during 2017.07 flash January 15, 2021 01:53PM |
Registered: 3 years ago Posts: 32 |
ext2load usb 0:1 0x800000 uboot.img nand erase 0x00000 0x1000000 nand write 0x800000 0xc00000x100000
ext2load usb 0:1 0x800000 uboot.img nand erase 0x0 0x1000000 nand write 0x800000 0xc0000 0x20000
Re: Bricked NSA320S during 2017.07 flash January 15, 2021 02:04PM |
Registered: 3 years ago Posts: 32 |
Re: Bricked NSA320S during 2017.07 flash January 15, 2021 04:21PM |
Admin Registered: 13 years ago Posts: 18,821 |
printenv
saveenv
printenv
Re: Bricked NSA320S during 2017.07 flash January 16, 2021 08:22AM |
Registered: 3 years ago Posts: 32 |
NSA3x0S> printenv arcNumber=4931 baudrate=115200 bootcmd=run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm$load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa310s.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 if_netconsole=ping $serverip init_sata_power=mw.l f1010104 c70e0ffd ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 2938/131068 bytesand here are envs after save
NSA3x0S> saveenv Saving Environment to NAND... Erasing NAND... Erasing at 0xc0000 -- 100% complete. Writing to NAND... OK NSA3x0S> printenv arcNumber=4931 baudrate=115200 bootcmd=run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm$load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa310s.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 if_netconsole=ping $serverip init_sata_power=mw.l f1010104 c70e0ffd ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 2938/131068 bytes
Re: Bricked NSA320S during 2017.07 flash January 16, 2021 08:40AM |
Registered: 3 years ago Posts: 32 |
SA3x0S> setenv init_sata_power 'mw.l f1010104 c70e0ffd' NSA3x0S> setenv bootcmd 'run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset' NSA3x0S> setenv devices usb NSA3x0S> boot
[ 13.798119][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 13.807043][ T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-1 #1 [ 13.814665][ T1] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 13.821626][ T1] [<c010f6ac>] (unwind_backtrace) from [<c010bb00>] (show_stack+0x10/0x14) [ 13.830047][ T1] [<c010bb00>] (show_stack) from [<c0119fa0>] (panic+0xe0/0x30c) [ 13.837598][ T1] [<c0119fa0>] (panic) from [<c0e01628>] (mount_block_root+0x1bc/0x2a4) [ 13.845747][ T1] [<c0e01628>] (mount_block_root) from [<c0e017f8>] (mount_root+0xe8/0x154) [ 13.854240][ T1] [<c0e017f8>] (mount_root) from [<c0e019b0>] (prepare_namespace+0x14c/0x18c) [ 13.862905][ T1] [<c0e019b0>] (prepare_namespace) from [<c0e011c8>] (kernel_init_freeable+0x270/0x2dc) [ 13.872438][ T1] [<c0e011c8>] (kernel_init_freeable) from [<c09dcee0>] (kernel_init+0x8/0x10c) [ 13.881284][ T1] [<c09dcee0>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34) [ 13.889507][ T1] Exception stack(0xcf88bfb0 to 0xcf88bff8) [ 13.895230][ T1] bfa0: 00000000 00000000 00000000 00000000 [ 13.904062][ T1] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 13.912900][ T1] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 13.920183][ T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Re: Bricked NSA320S during 2017.07 flash January 16, 2021 03:45PM |
Admin Registered: 13 years ago Posts: 18,821 |
cd /media/sdb1/boot cp -a uImage uImage.nsa320s cp -a uImage.orig uImage sync
Re: Bricked NSA320S during 2017.07 flash January 16, 2021 05:45PM |
Registered: 3 years ago Posts: 32 |
[ 14.270690][ T1] Run /init as init process Loading, please wait... Starting version 241 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. [ 37.245123][ C0] random: crng init done Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! LABEL=rootfs does not exist. Dropping to a shell! BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs)
Re: Bricked NSA320S during 2017.07 flash January 16, 2021 06:04PM |
Admin Registered: 13 years ago Posts: 18,821 |
e2label /dev/sdb1And the USB partition should be formatted using command line fdisk. If Ext4 is used, it must be "finalized" immediately, the default for Ext4 is lazy_init, which will not work for rootfs drive.
Re: Bricked NSA320S during 2017.07 flash January 16, 2021 06:18PM |
Registered: 3 years ago Posts: 32 |
Re: Bricked NSA320S during 2017.07 flash January 18, 2021 04:37AM |
Registered: 3 years ago Posts: 32 |
Re: Bricked NSA320S during 2017.07 flash January 18, 2021 10:05AM |
Registered: 3 years ago Posts: 32 |
Re: Bricked NSA320S during 2017.07 flash January 18, 2021 11:03AM |
Registered: 3 years ago Posts: 32 |
Re: Bricked NSA320S during 2017.07 flash January 18, 2021 05:15PM |
Admin Registered: 13 years ago Posts: 18,821 |
setenv devices 'ide usb'
setenv devices 'ide'
Re: Bricked NSA320S during 2017.07 flash February 02, 2021 09:11AM |
Registered: 3 years ago Posts: 32 |
asus@asus-X51L:~/Plocha/nsa32s$ sudo kwboot -t -B 115200 /dev/ttyUSB0 [sudo] heslo pre používateľa asus: [Type Ctrl-\ + c to quit] � U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:50:06 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server SoC: Kirkwood 88F6702_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Uncompressing Linux... done, booting the kernel. Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00001343, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.I try nc but no luck
nc -l -u -p 6666 & nc -u 192.168.1.100 6666 I got this only: asus@asus-X51L:~$ U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:50:06 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server
arcNumber=4931 baudrate=115200 bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb disks=0 1 2 3 ethact=egiga0 ethaddr=4c:9e:ff:0b:73:72 if_netconsole=ping $serverip init_sata_power=mw.l f1010104 c70e0ffd ipaddr=192.168.100.11 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand partition=nand0,2 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serveip=192.168.100.127 serverip=192.168.100.127 stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 dtb_file=/boot/dts/kirkwood-nsa320s.dtb bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm ; else bootm ; fi; else if run load_dtb; then bootm - ; else bootm ; fi; fi bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec start_netconsole=setenv ncip ; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) uenv_init_devices=echo Initializing devices...; setenv init_usb usb start; setenv init_ide ide reset; for devtype in ; do run init_; done uenv_read=echo Loading envs from ...; if load :1 /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in ; do for disknum in ; do if test -eq 0; then setenv device_type ; setenv disk_number ; run uenv_read; fi; done; done; preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test -eq 1; then run start_netconsole; fi preboot=run preboot_nc set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
Re: Bricked NSA320S during 2017.07 flash February 02, 2021 04:33PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Bricked NSA320S during 2017.07 flash February 03, 2021 01:39PM |
Registered: 3 years ago Posts: 32 |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:50:06 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server SoC: Kirkwood 88F6702_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Using egiga0 device ARP Retry count exceeded; starting again ping failed; host 192.168.100.127 is not alive Using egiga0 device ARP Retry count exceeded; starting again ping failed; host 192.168.100.127 is not alive Using egiga0 device ARP Retry count exceeded; starting again ping failed; host 192.168.100.127 is not alive Using egiga0 device ARP Retry count exceeded; starting again ping failed; host 192.168.100.127 is not alive Using egiga0 device ARP Retry count exceeded; starting again ping failed; host 192.168.100.127 is not alive Uncompressing Linux... done, booting the kernel. Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00001343, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:50:06 -0700) ZyXEL NSA310S/320S 1/2-Bay Power Media Server SoC: Kirkwood 88F6702_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Using egiga0 device host 192.168.100.127 is alive Uncompressing Linux... done, booting the kernel. Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00001343, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: Bricked NSA320S during 2017.07 flash February 03, 2021 04:10PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Bricked NSA320S during 2017.07 flash February 14, 2021 06:56AM |
Registered: 3 years ago Posts: 32 |
init_sata_power 'mw.l f1010104 c70e0ffd'
root@debian:~# fw_printenv arcNumber=4931 baudrate=115200 bootcmd=run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 disks=0 1 2 3 ethact=egiga0 ethaddr=4c:9e:ff:0b:73:72 if_netconsole=ping $serverip init_sata_power=mw.l f1010104 c70e0ffd ipaddr=192.168.100.11 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.100.127 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 devices=ide dtb_file=/boot/dts/kirkwood-nsa320s.dtb stdout=serial stdin=serial stderr=serial uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi preboot_nc=run if_netconsole start_netconsole start_netconsole=setenv ncip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
Re: Bricked NSA320S during 2017.07 flash February 14, 2021 04:23PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
https://forum.doozan.com/read.php?2,12096
Updated 23 Aug 2020:
Kernel linux-5.8.3-kirkwood-tld-1 package has been uploaded. The following features were added/updated:
- BFQ IO Scheduler is now the default in the kernel. This is an improvement in making the system more responsive when under memory stress (Note: use a large swap space to avoid OOM killer).
- Added ISCSI Target capability (as loadable module).
- Updated Zyxel NSA320S capabilty to bring up 3.5" HDD in 2nd slot.
Re: Bricked NSA320S during 2017.07 flash March 05, 2021 05:15PM |
Registered: 3 years ago Posts: 32 |
arcNumber=4931 baudrate=115200 bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb ide disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa320s.dtb ethact=egiga0 ethaddr=4c:9e:ff:0b:73:72 if_netconsole=ping $serverip init_sata_power=mw.l f1010104 c70e0ffd ipaddr=192.168.100.11 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.100.127 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 start_netconsole=setenv ncip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi usb_ready_retry=15 bootcmd=run init_sata_power; run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec;
Re: Bricked NSA320S during 2017.07 flash March 05, 2021 05:17PM |
Registered: 3 years ago Posts: 32 |
Re: Bricked NSA320S during 2017.07 flash March 05, 2021 05:42PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Bricked NSA320S during 2017.07 flash March 06, 2021 01:02AM |
Registered: 3 years ago Posts: 32 |