Zyxel NSA325 V2 - error nandwrite August 20, 2023 01:25PM |
Registered: 1 year ago Posts: 5 |
/tmp # /root/tools/./flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete /tmp # /root/tools/./nandwrite /dev/mtd0 /tmp/uboot.2017.07-tld-1.nsa325.kwb /tmp/uboot.2017.07-tld-1.nsa325.kwb: No such file or directory nandwrite: error!: Data was only partially written due to error error 9 (Bad file descriptor)instead of
Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000
~/tools # dmesg | grep -i 'bad' Scanning device for bad blocks Bad eraseblock 100 at 0x000000c80000 Bad eraseblock 200 at 0x000001900000
/tmp # /root/tools/./nandwrite /dev/mtd0 /tmp/uboot.2023.04-tld-1.nsa325.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000
Re: Zyxel NSA325 V2 - error nandwrite August 20, 2023 01:48PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: Zyxel NSA325 V2 - error nandwrite August 20, 2023 03:28PM |
Registered: 1 year ago Posts: 5 |
-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 Model: ZyXEL NSA325 DRAM: 512 MiB Core: 19 devices, 15 uclasses, devicetree: separate NAND: 128 MiB Loading Environment from NAND... OK Resetting console stdin/stdout/stderr to serial... In: serial Out: serial Err: serial pcie0.0: Link up Net: eth0: ethernet-controller@72000 Hit any key to stop autoboot: 0 Initializing devices... resetting USB... Bus ehci@50000: USB EHCI 1.00 Bus xhci_pci: Register 4000820 NbrPorts 4 Starting the controller USB XHCI 0.96 scanning bus ehci@50000 for devices... 2 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found resetting USB... Bus ehci@50000: USB EHCI 1.00 Bus xhci_pci: Register 4000820 NbrPorts 4 Starting the controller USB XHCI 0.96 scanning bus ehci@50000 for devices... 2 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Loading envs from usb 0... ** Bad device specification usb 0 ** Couldn't find partition usb 0:1 Can't set block device Loading envs from usb 1... ** Bad device specification usb 1 ** Couldn't find partition usb 1:1 Can't set block device Loading envs from usb 2... ** Bad device specification usb 2 ** Couldn't find partition usb 2:1 Can't set block device Loading envs from usb 3... ** Bad device specification usb 3 ** Couldn't find partition usb 3:1 Can't set block device Loading envs from sata 0... Failed to load '/boot/uEnv.txt' Loading envs from sata 1... Failed to wait for completion on port 1 ATA operation timed out Failed to wait for completion on port 1 ATA operation timed out ** Bad device size - sata 1 ** Couldn't find partition sata 1:1 Can't set block device Loading envs from sata 2... ** Bad device specification sata 2 ** Couldn't find partition sata 2:1 Can't set block device Loading envs from sata 3... ** Bad device specification sata 3 ** Couldn't find partition sata 3:1 Can't set block device running scan_disk ... Scan device usb resetting USB... Bus ehci@50000: USB EHCI 1.00 Bus xhci_pci: Register 4000820 NbrPorts 4 Starting the controller USB XHCI 0.96 scanning bus ehci@50000 for devices... 2 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found resetting USB... Bus ehci@50000: USB EHCI 1.00 Bus xhci_pci: Register 4000820 NbrPorts 4 Starting the controller USB XHCI 0.96 scanning bus ehci@50000 for devices... 2 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found device usb 0:1 ** Bad device specification usb 0 ** Couldn't find partition usb 0:1 Can't set block device device usb 1:1 ** Bad device specification usb 1 ** Couldn't find partition usb 1:1 Can't set block device device usb 2:1 ** Bad device specification usb 2 ** Couldn't find partition usb 2:1 Can't set block device device usb 3:1 ** Bad device specification usb 3 ** Couldn't find partition usb 3:1 Can't set block device Scan device sata device sata 0:1 Failed to load '/boot/uImage' device sata 1:1 ** Bad device size - sata 1 ** Couldn't find partition sata 1:1 Can't set block device device sata 2:1 ** Bad device specification sata 2 ** Couldn't find partition sata 2:1 Can't set block device device sata 3:1 ** Bad device specification sata 3 ** Couldn't find partition sata 3:1 Can't set block device loading uImage ... ** Bad device specification usb 0 ** Couldn't find partition usb 0:1 Can't set block device resetting ...
superdm@NS-0001:~$ ssh root@192.168.1.74 root@192.168.1.74's password: Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 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. Last login: Sun Aug 20 14:02:28 2023 from 192.168.1.57 debian 192.168.1.74 ZyXEL NSA325 Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 Debian 11.7 Sun Aug 20 14:04:49 PDT 2023 up 1 minute root@debian:~#
Re: Zyxel NSA325 V2 - error nandwrite August 20, 2023 04:32PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: Zyxel NSA325 V2 - error nandwrite August 21, 2023 01:48AM |
Registered: 1 year ago Posts: 5 |