zc5
Bricked NSA320S during 2017.07 flash February 24, 2018 12:06PM |
Re: Bricked NSA320S during 2017.07 flash February 24, 2018 04:32PM |
Admin Registered: 13 years ago Posts: 18,898 |
zc5
Re: Bricked NSA320S during 2017.07 flash February 24, 2018 04:52PM |
Re: Bricked NSA320S during 2017.07 flash February 24, 2018 06:12PM |
Admin Registered: 13 years ago Posts: 18,898 |
zc5
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 03:59AM |
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 04:52AM |
Admin Registered: 13 years ago Posts: 18,898 |
+----+----+ | | | +----+----+----+----+----+ |3.3V| TX | RX | | GND| +----+----+----+ +----+
Quote
https://forum.doozan.com/read.php?3,12381
UART Booting: If possible, try to test this boot image with UART booting before flashing to NAND. See davygravy's UART booting using kwboot instruction here in this thread. The latest u-boot image released here should be used for UART booting, if your box is the type that supports it (these do not: Dockstar, Pogo E02, iConnect).
Quote
https://forum.doozan.com/read.php?3,12381
uboot.2017.07-tld-1.nsa310s.bodhi.tar
md5
4af9c6f16e1705e7a4345e6f7cc01fa7
sha256
724cb6ac5baf2053e63dc44489693c6772264ca326f4bdb2506c81f654ea84dc
kwboot -t -B 115200 /dev/ttyAMA0 -b uboot.2017.07-tld-1.nsa310s.mtd0.kwb -p
kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa310s.mtd0.kwb -p
zc5
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 07:16AM |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa310s.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [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 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Reset IDE: ide_preinit failed Unknown command 'mmc' - try 'help' ## 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 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... ** Bad device usb 0 ** no IDE devices available Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 ** Bad device usb 0 ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Reset IDE: ide_preinit failed device ide 0:1 ** Bad device ide 0 ** device ide 1:1 ** Bad device ide 1 ** device ide 2:1 ** Bad device ide 2 ** device ide 3:1 ** Bad device ide 3 ** Scan device mmc Unknown command 'mmc' - try 'help' device mmc 0:1 ** Bad device mmc 0 ** device mmc 1:1 ** Bad device mmc 1 ** device mmc 2:1 ** Bad device mmc 2 ** device mmc 3:1 ** Bad device mmc 3 ** loading uImage ... ** Bad device usb 0 ** loading uInitrd ... ** Bad device usb 0 ** loading DTB /boot/dts/kirkwood-pogo_e02.dtb ... ** Bad device usb 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! NSA3x0S>
zc5
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 07:21AM |
zc5
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 10:28AM |
zc5
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 12:35PM |
Re: Bricked NSA320S during 2017.07 flash February 25, 2018 03:48PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:29PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:31PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:40PM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:41PM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
0. connect usb cable to serial console of the NSA320s; lsusb shows:
Bus 003 Device 010: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:43PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:43PM |
Registered: 11 years ago Posts: 55 |
>Quote
0. connect usb cable to serial console of
> the NSA320s; lsusb shows:
> Bus 003 Device 010: ID 067b:2303 Prolific
> Technology, Inc. PL2303 Serial Port
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:50PM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 05:56PM |
Registered: 11 years ago Posts: 55 |
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 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA3x0S>
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 06:00PM |
Admin Registered: 13 years ago Posts: 18,898 |
printenv
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 06:10PM |
Registered: 11 years ago Posts: 55 |
> printenv >
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 06:24PM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 06:32PM |
Registered: 11 years ago Posts: 55 |
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Do not do this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time). Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name). Generate the uImage with DTB embedded inside: cd /media/sdb1/boot cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-goflexnet.dtb >> zImage.fdt mv uImage uImage.orig mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage sync
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 06:48PM |
Registered: 11 years ago Posts: 55 |
99 % [....................................] [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 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA3x0S> printenv arcNumber=4931 baudrate=115200 bootcmd=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 ide 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 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(stock_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.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: 3009/131068 bytes
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 06:52PM |
Registered: 11 years ago Posts: 55 |
Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80a88 ... EHCI timed out on TD - token=0x80a88 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80a88 ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** running scan_disk ... loading uImage ... EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80a88 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80a88 EHCI timed out on TD - token=0x80008d80
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 08:23PM |
Registered: 11 years ago Posts: 55 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 09:26PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 09:34PM |
Registered: 11 years ago Posts: 55 |
USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WX91A157DLAR Type: Hard Disk Supports 48-bit addressing Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512) Device 1: Model: WDC WD10JFCX-68N6GN0 Firm: 82.00A82 Ser#: WD-WXJ1E6496Y59 Type: Hard Disk Supports 48-bit addressing Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512) Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80a88 EHCI timed out on TD - token=0x80008d80 EHCI timed out on TD - token=0x80a88 EHCI timed out on TD - token=0x80008d80
Re: Bricked NSA320S during 2017.07 flash May 30, 2020 09:55PM |
Admin Registered: 13 years ago Posts: 18,898 |
setenv devices usb
Re: Bricked NSA320S during 2017.07 flash May 31, 2020 08:47AM |
Registered: 11 years ago Posts: 55 |