U-Boot for Zyxel NSA-325v2 kwboot didn't help November 29, 2019 10:18AM |
Registered: 8 years ago Posts: 38 |
/kwboot-tool# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit]
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help November 29, 2019 05:10PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
https://forum.doozan.com/read.php?3,12381
To download ARM kwboot binary for UART booting at Dropbox
kwboot-2016.05.tar
md5:
76977c5a61544a5707dfa17ae832a3ad
sha256:
25ee4fa8a94372d2d398cac4704e9ee3ca87585c29e72e18323209b7f163209d
kwboot (this is an older version)
md5:
0efd011bdb244436e432a8de33e639a1
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help November 29, 2019 06:34PM |
Registered: 8 years ago Posts: 38 |
./kwboot bash: ./kwboot: cannot execute binary file: Exec format errorI used both version of kwboot (from your website and provided with system) and the same result(first post).
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help November 29, 2019 10:00PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help November 30, 2019 04:17AM |
Registered: 8 years ago Posts: 38 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help November 30, 2019 05:54PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help December 02, 2019 03:13AM |
Registered: 8 years ago Posts: 38 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help December 02, 2019 04:05AM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help December 04, 2019 11:11PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help December 05, 2019 12:40AM |
Registered: 8 years ago Posts: 38 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help December 05, 2019 12:16PM |
Registered: 8 years ago Posts: 38 |
nsa325/kwboot-tool# ./kwboot -t -B 115200 /dev/ttyUSB0 -b ../uboot.2017.07-tld-1.nsa325.debug.mtd0.kwb -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 4 % [......................................................................] ............ 97 % [......................................................................] 98 % [......................................................................] 99 % [..........] [Type Ctrl-\ + c to quit]
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help December 05, 2019 06:03PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help May 18, 2020 01:53AM |
Registered: 8 years ago Posts: 22 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help May 18, 2020 02:53AM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 10, 2020 01:31AM |
Registered: 8 years ago Posts: 22 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 10, 2020 04:52AM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 20, 2020 07:44AM |
Registered: 8 years ago Posts: 22 |
pi@raspberrypi:~ $ kwboot -p -t -b uboot.2017.07.kwb -B 115200 /dev/ttyUSB0 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:42:03 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 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 NSA325> printenv arcNumber=4495 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=console=ttyS0,115200 device=0:1 devices=usb ide disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa325.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 mtddevname=key_store mtddevnum=2 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) nand_erasesize=20000 nand_oobsize=40 nand_writesize=800 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: 3115/131068 bytes NSA325> NSA325> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 5 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 4 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 3 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 2 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 1 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 0 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found NSA325> usb stop stopping USB.. EHCI failed to shut down host controller. NSA325> usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 5 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 4 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 3 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 2 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 1 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 0 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found NSA325> NSA325> ide reset Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000LPCX-60VHAT0 Firm: 01.01A01 Ser#: WD-WX41AC5RYN2Y Type: Hard Disk Capacity: 131071.9 MB = 127.9 GB (268435455 x 512) ** First descriptor is NOT a primary desc on 0:1 ** NSA325> ide reset Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST980411ASG Firm: DE17 Ser#: 5TF0DHEA Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) ** First descriptor is NOT a primary desc on 0:1 ** NSA325>
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 20, 2020 04:07PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 21, 2020 10:31AM |
Registered: 8 years ago Posts: 22 |
NSA325> ide reset Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST980411ASG Firm: DE17 Ser#: 5TF0DHEA Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) ** First descriptor is NOT a primary desc on 0:1 ** NSA325> nand bad Device 0 bad blocks: 00000000
97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:48:40 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 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 NSA325>
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 21, 2020 04:28PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 21, 2020 11:11PM |
Registered: 8 years ago Posts: 22 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 22, 2020 01:29AM |
Admin Registered: 14 years ago Posts: 19,425 |
usb reset
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 28, 2020 05:22AM |
Registered: 8 years ago Posts: 22 |
kwboot -p -t -b uboot.2017.07.kwb -o 5 -B 115200 /dev/ttyUSB0Sending boot message. Please reboot the target...\ Sending boot image... ... 99 % [....................................] [Type Ctrl-\ + c to quit] 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 [PRIME] MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 ubi0: attaching mtd1 ubi0: scanning is finished ubi0: empty MTD device detected ubi0: attached mtd1 (name "mtd=2", size 126 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 ubi0: VID header offset: 512 (aligned 512), data offset: 2048 ubi0: good PEBs: 1014, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 0 ubi0: available PEBs: 990, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20 Read 0 bytes from volume kernel to 800000 Volume kernel not found! Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! NSA325> help NSA325> ide reset Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST980411ASG Firm: DE17 Ser#: 5TF0DHEA Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) ** First descriptor is NOT a primary desc on 0:1 ** NSA325>
NSA325> usb reset resetting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 5 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 4 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 3 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 2 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 1 EHCI timed out on TD - token=0x80008c80 EHCI fail timeout STS_ASS reset unable to get device descriptor (error=-1) retry: 0 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found NSA325> NSA325> usb info 1: Hub, USB Revision 2.0 - u-boot EHCI Host Controller - Class: Hub - PacketSize: 64 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms NSA325>
NSA325> nand info Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b Erase size 131072 b subpagesize 512 b options 0x40001014 bbt options 0x00000000 NSA325> bdinfo arch_number = 0x0000118F boot_params = 0x00000100 DRAM bank = 0x00000000 -> start = 0x00000000 -> size = 0x20000000 eth0name = egiga0 ethaddr = 5C:F4:AB:DE:F1:66 current eth = egiga0 ip_addr = 192.168.10.172 baudrate = 115200 bps TLB addr = 0x1FFF0000 relocaddr = 0x1FF2F000 reloc off = 0x1F92F000 irq_sp = 0x1FB0EEF0 sp start = 0x1FB0EEE0 NSA325> printenv FEATURE_BIT=00 MODEL_ID=AA03 PRODUCT_NAME=NSA-325 arcNumber=4495 baudrate=115200 bootcmd=ubi part ubi; ubi read 0x800000 kernel; bootm 0x800000 bootdelay=3 console=console=ttyS0,115200 enaDCPref=yes enaICPref=yes ethact=egiga0 ethaddr=5C:F4:AB:DE:F1:66 ethmtu=1500 ethprime=egiga0 image_multi=yes ipaddr=192.168.10.172 mainlineLinux=yes mtddevname=uboot mtddevnum=0 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:0x0c0000(uboot),0x80000(uboot_env),0x7ec0000(ubi) nandEcc=1bit nand_erasesize=20000 nand_oobsize=40 nand_writesize=800 netmask=255.255.255.0 partition=nand0,0 pcieTune=no pcieTune1=no sata_dma_mode=yes stderr=serial stdin=serial stdout=serial usb0Mode=host Environment size: 745/131068 bytes NSA325> mtdinfo Unknown command 'mtdinfo' - try 'help' NSA325> mtdparts device nand0 <orion_nand>, # parts = 3 #: name size offset mask_flags 0: uboot 0x000c0000 0x00000000 0 1: uboot_env 0x00080000 0x000c0000 0 2: ubi 0x07ec0000 0x00140000 0 active partition: nand0,0 - (uboot) 0x000c0000 @ 0x00000000 defaults: mtdids : none mtdparts: none NSA325>
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 28, 2020 03:42PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help June 30, 2020 12:09PM |
Registered: 8 years ago Posts: 22 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help July 04, 2020 07:10PM |
Admin Registered: 14 years ago Posts: 19,425 |
setenv serverip 192.168.0.220 setenv ipaddr 192.168.0.231
tftpboot 0x800000 uboot.2017.07-tld-1.nsa325.mtd0.kwbIf it was loaded successfully, proceed to the next step.
nand erase 0x0 0x100000
tftpboot 0x800000 /uboot.2017.07-tld-1.nsa325.mtd0.kwb nand write 0x800000 0x0 0x80000
reset
printenv
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help July 19, 2020 10:33AM |
Registered: 8 years ago Posts: 22 |
kermit set line /dev/ttyUSB0 set speed 115200 set carrier-watch off set handshake none set flow-control none robust set file type bin set file name lit set rec pack 1000 set send pack 1000 set window 5 send uboot....kwb nand erase 0x0 0x100000 nand write 0x00800000 0x0 0x80000
U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:09:38 -0800) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB (ECC not enabled) 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 NSA325> printenv arcNumber=4495 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=5c:f4:ab:de:f1:66 led_error=orange blinking led_exit=green off led_init=green blinking machid=118f 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 rootdelay=10 rootfstype=ext2 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; 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 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 Environment size: 2086/131068 bytes
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help July 19, 2020 04:21PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help July 24, 2020 09:55AM |
Registered: 8 years ago Posts: 22 |
NSA325> reset resetting ... 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 ## Error: "setenv" not defined ubi0: attaching mtd1 ubi0: scanning is finished ubi0: attached mtd1 (name "mtd=2", size 126 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 ubi0: VID header offset: 512 (aligned 512), data offset: 2048 ubi0: good PEBs: 1014, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 15 26572985 ubi0: available PEBs: 0, total reserved PEBs: 1014, PEBs reserved for bad PEB ha ndling: 20 Read 0 bytes from volume kernel to 800000 No size specified -> Using max size (2193408) ## Booting kernel from Legacy Image at 00800000 ... Image Name: ARM OpenWrt Linux-4.14.162 Created: 2020-01-06 16:47:09 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2080464 Bytes = 2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.162 (builder@buildhost) (gcc version 7.5.0 (Op enWrt GCC 7.5.0 r10860-a3ffeb413b)) #0 Mon Jan 6 16:47:09 2020 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397 f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: ZyXEL NSA325 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] random: get_random_bytes called from 0xc0700980 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 512104K/524288K available (4802K kernel code, 162K rwdata , 728K rodata, 1024K init, 208K bss, 12184K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc05b0a50 (5795 kB) [ 0.000000] .init : 0xc0700000 - 0xc0800000 (1024 kB) [ 0.000000] .data : 0xc0800000 - 0xc0828b40 ( 163 kB) [ 0.000000] .bss : 0xc0828b40 - 0xc085cf1c ( 209 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xff ffffff, max_idle_ns: 9556302233 ns [ 0.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737 418237ns [ 0.000031] Switching to timer-based delay loop, resolution 5ns [ 0.000100] Calibrating delay loop (skipped), value calculated using timer fr equency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000118] pid_max: default: 32768 minimum: 301 [ 0.000231] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000246] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000699] CPU: Testing write buffer coherency: ok [ 0.001340] Setting up static identity map for 0x100000 - 0x10003c [ 0.001562] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.005058] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns [ 0.005080] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.005153] pinctrl core: initialized pinctrl subsystem [ 0.006033] NET: Registered protocol family 16 [ 0.006302] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.007079] cpuidle: using governor ladder [ 0.007369] Feroceon L2: Enabling L2 [ 0.007401] Feroceon L2: Cache support initialised. [ 0.007609] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet 0-port@0: local-mac-address is not set [ 0.010390] No ATAGs? [ 0.022367] SCSI subsystem initialized [ 0.022864] usbcore: registered new interface driver usbfs [ 0.022906] usbcore: registered new interface driver hub [ 0.022944] usbcore: registered new device driver usb [ 0.024324] clocksource: Switched to clocksource orion_clocksource [ 0.024915] NET: Registered protocol family 2 [ 0.025359] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.025413] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.025463] TCP: Hash tables configured (established 4096 bind 4096) [ 0.025519] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.025539] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.025639] NET: Registered protocol family 1 [ 0.026482] Crashlog allocated RAM at address 0x3f00000 [ 0.027660] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 0.030879] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.030889] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc. [ 0.036504] io scheduler noop registered [ 0.036514] io scheduler deadline registered (default) [ 0.037415] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driv er [ 0.038495] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 00 00:00 [ 0.038510] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.038518] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 0.038527] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.038699] PCI: bus0: Fast back to back transfers disabled [ 0.038710] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec onfiguring [ 0.039056] PCI: bus1: Fast back to back transfers disabled [ 0.039094] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff] [ 0.039106] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bi t] [ 0.039124] pci 0000:00:01.0: PCI bridge to [bus 01] [ 0.039134] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 0.039172] pci 0000:00:01.0: enabling device (0140 -> 0142) [ 0.039189] pci 0000:01:00.0: enabling device (0140 -> 0142) [ 0.039540] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.040879] console [ttyS0] disabled [ 0.040931] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 0.541904] console [ttyS0] enabled [ 0.546230] sata_mv f1080000.sata: slots 32 ports 2 [ 0.553524] scsi host0: sata_mv [ 0.557074] scsi host1: sata_mv [ 0.560330] ata1: SATA max UDMA/133 irq 32 [ 0.564457] ata2: SATA max UDMA/133 irq 32 [ 0.568938] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1 [ 0.575337] nand: Eon NAND 128MiB 3,3V 8-bit [ 0.579619] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz e: 64 [ 0.587230] Scanning device for bad blocks [ 0.639918] 3 fixed-partitions partitions found on MTD device orion_nand [ 0.646659] Creating 3 MTD partitions on "orion_nand": [ 0.651824] 0x000000000000-0x0000000c0000 : "uboot" [ 0.657139] 0x0000000c0000-0x000000140000 : "uboot_env" [ 0.662729] 0x000000140000-0x000008000000 : "ubi" [ 0.668530] libphy: Fixed MDIO Bus: probed [ 0.672824] libphy: orion_mdio_bus: probed [ 0.679083] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 0.687219] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:de:f1:66 [ 0.696024] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.702579] ehci-pci: EHCI PCI platform driver [ 0.707085] ehci-orion: EHCI orion driver [ 0.711246] orion-ehci f1050000.ehci: EHCI Host Controller [ 0.716793] orion-ehci f1050000.ehci: new USB bus registered, assigned bus nu mber 1 [ 0.724576] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 0.754333] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 0.760768] hub 1-0:1.0: USB hub found [ 0.764696] hub 1-0:1.0: 1 port detected [ 0.768959] usbcore: registered new interface driver usb-storage [ 0.775149] i2c /dev entries driver [ 0.779493] orion_wdt: Initial timeout 21 sec [ 0.788360] marvell-cesa f1030000.crypto: CESA device successfully registered [ 0.796186] NET: Registered protocol family 10 [ 0.801935] Segment Routing with IPv6 [ 0.805690] NET: Registered protocol family 17 [ 0.810172] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.823190] 8021q: 802.1Q VLAN Support v1.8 [ 0.829782] UBI: auto-attach mtd2 [ 0.833115] ubi0: attaching mtd2 [ 1.007595] ubi0: scanning is finished [ 1.011465] ata1: SATA link down (SStatus 0 SControl F300) [ 1.027850] ubi0: attached mtd2 (name "ubi", size 126 MiB) [ 1.033365] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 1.040294] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 1.047030] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 1.053847] ubi0: good PEBs: 1014, bad PEBs: 0, corrupted PEBs: 0 [ 1.059969] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 12 8 [ 1.067229] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequ ence number: 1526572985 [ 1.076407] ubi0: available PEBs: 0, total reserved PEBs: 1014, PEBs reserved for bad PEB handling: 20 [ 1.086270] block ubiblock0_1: created from ubi0:1(rootfs) [ 1.091779] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem [ 1.098917] hctosys: unable to open rtc device (rtc0) [ 1.104287] ubi0: background thread "ubi_bgt0d" started, PID 462 [ 1.174336] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 1.345567] ata2: SATA link down (SStatus 0 SControl F300) [ 1.354898] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 1.364978] Freeing unused kernel memory: 1024K [ 1.585489] init: Console is alive [ 1.589013] init: - watchdog - [ 1.708505] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 1.766526] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.771790] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus numbe r 2 [ 1.779535] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 qui rks 0x0000000000000004 [ 1.789413] hub 2-0:1.0: USB hub found [ 1.793317] hub 2-0:1.0: 2 ports detected [ 1.797586] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.802852] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus numbe r 3 [ 1.810293] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 1.816918] usb usb3: We don't know the algorithms for LPM for this host, dis abling LPM. [ 1.825392] hub 3-0:1.0: USB hub found [ 1.829320] hub 3-0:1.0: 2 ports detected [ 1.834777] kmodloader: done loading kernel modules from /etc/modules-boot.d/ * [ 1.852290] init: - preinit - [ 1.884348] random: fast init done [ 2.252189] random: jshn: uninitialized urandom read (4 bytes read) [ 2.280126] random: jshn: uninitialized urandom read (4 bytes read) [ 2.487872] random: jshn: uninitialized urandom read (4 bytes read) [ 2.559622] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 2.569448] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down [ 2.576241] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 4.848968] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 4.858792] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 5.761139] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 565 [ 5.768572] urandom_read: 2 callbacks suppressed [ 5.768575] random: procd: uninitialized urandom read (4 bytes read) [ 5.805626] UBIFS (ubi0:2): recovery needed [ 5.940614] UBIFS (ubi0:2): recovery completed [ 5.945163] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "root fs_data" [ 5.953024] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O u nit sizes: 2048 bytes/2048 bytes [ 5.962997] UBIFS (ubi0:2): FS size: 122314752 bytes (116 MiB, 948 LEBs), jou rnal size 6064128 bytes (5 MiB, 47 LEBs) [ 5.973656] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB) [ 5.980311] UBIFS (ubi0:2): media format: w4/r0 (latest is w5/r0), UUID 9BA7F C5F-C911-4E33-A886-E54485AF2205, small LPT model [ 5.995332] mount_root: switching to ubifs overlay [ 6.010011] urandom-seed: Seeding with /etc/urandom.seed [ 6.089814] procd: - early - [ 6.092756] procd: - watchdog - [ 6.414336] usb 1-1: device descriptor read/64, error -110 [ 6.629143] procd: - watchdog - [ 6.632446] procd: - ubus - [ 6.694085] random: ubusd: uninitialized urandom read (4 bytes read) [ 6.730092] random: ubusd: uninitialized urandom read (4 bytes read) [ 6.737450] procd: - init - Please press Enter to activate this console. [ 7.016469] kmodloader: loading kernel modules from /etc/modules.d/* [ 7.055781] urngd: v1.0.0 started. [ 7.087278] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 7.108624] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.128091] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 7.136390] random: crng init done [ 7.139806] random: 2 urandom warning(s) missed due to ratelimiting [ 7.163995] rtc rtc0: invalid alarm value: 2020-1-1 41:72:0 [ 7.169725] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 7.186899] xt_time: kernel timezone is -0000 [ 7.195830] PPP generic driver version 2.4.2 [ 7.201403] NET: Registered protocol family 24 [ 7.207688] kmodloader: done loading kernel modules from /etc/modules.d/* [ 11.262440] br-lan: port 1(eth0) entered blocking state [ 11.267722] br-lan: port 1(eth0) entered disabled state [ 11.273132] device eth0 entered promiscuous mode [ 11.314498] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 13.536385] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 13.546219] br-lan: port 1(eth0) entered blocking state [ 13.551466] br-lan: port 1(eth0) entered forwarding state [ 13.557890] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 21.854339] usb 1-1: device descriptor read/64, error -110 [ 22.124332] usb 1-1: new high-speed USB device number 3 using orion-ehci [ 27.374334] usb 1-1: device descriptor read/64, error -110 [ 42.814338] usb 1-1: device descriptor read/64, error -110 [ 42.934355] usb usb1-port1: attempt power cycle [ 43.644337] usb 1-1: new high-speed USB device number 4 using orion-ehci [ 54.244336] usb 1-1: device not accepting address 4, error -110 [ 54.394331] usb 1-1: new high-speed USB device number 5 using orion-ehci [ 64.964332] usb 1-1: device not accepting address 5, error -110 [ 64.970307] usb usb1-port1: unable to enumerate USB device Front USB after boot OpenWRT [ 147.814337] usb 2-1: new high-speed USB device number 2 using xhci_hcd [ 148.094807] usb-storage 2-1:1.0: USB Mass Storage device detected [ 148.101349] scsi host2: usb-storage 2-1:1.0 [ 149.126456] scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 2 [ 149.136344] sd 2:0:0:0: [sda] 2007040 512-byte logical blocks: (1.03 GB/980 MiB) [ 149.143950] sd 2:0:0:0: [sda] Write Protect is off [ 149.149176] sd 2:0:0:0: [sda] No Caching mode page found [ 149.154533] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 149.198149] sda: sda1 [ 149.202228] sd 2:0:0:0: [sda] Attached SCSI removable disk
Re: U-Boot for Zyxel NSA-325v2 kwboot didn't help July 24, 2020 04:26PM |
Admin Registered: 14 years ago Posts: 19,425 |
setenv usb_ready_retry 15 usb resetSee if the retry period helps. If playing with usb_ready_retry like above did not help, then
Quote
New/updated in 2017.07-tld-1 version:
- Rebase u-boot code to track mainline 2017.07.
- Incorporated patch to fix "EHCI timed out on TD" error with USB drives.