Debian-6.5.7 on NSA325 February 02, 2025 02:32PM |
Registered: 6 days ago Posts: 4 |
U-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 Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image!
NSA325> printenv CONTRY_TYPE=FF FEATURE_BIT=00 MODEL_ID=A203 PRODUCT_NAME=NSA-310 VENDOR_NAME=ZyXEL Communications Corp. baudrate=115200 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 bootcmd=bootm 0x00800000 bootdelay=2 ethaddr=EC:43:F6:A4:00:D6 fdtcontroladdr=1fb516e0 kernel_addr=480000 loadaddr=0x00800000 mtddevname=uboot mtddevnum=0 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) nandEcc=1bit partition=nand0,0 ver=U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)\ ZyXEL NSA325 2-Bay Power Media Server Environment size: 680/131068 bytes NSA325>
NSA325> usb start starting 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... 3 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found NSA325> ext2ls usb 0:1 / <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found <DIR> 4096 proc <SYM> 8 sbin <DIR> 4096 dev <DIR> 4096 root <DIR> 4096 usr <DIR> 4096 opt <DIR> 4096 boot <SYM> 7 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 <SYM> 7 lib <DIR> 4096 srv NSA325> ext2ls usb 0:1 /boot <DIR> 4096 . <DIR> 4096 .. 6223880 zImage-6.5.7-kirkwood-tld-1 8557164 linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb 6223880 vmlinuz-6.5.7-kirkwood-tld-1 5791271 uInitrd 5791207 initrd.img-6.5.7-kirkwood-tld-1 <DIR> 4096 dts 6223944 uImage 198312 config-6.5.7-kirkwood-tld-1 4543778 System.map-6.5.7-kirkwood-tld-1 6223880 zImage.fdt 1262 uboot.2023.04-tld-1.nsa325.boot.scr 2890 uboot.2023.04-tld-1.nsa325.environment 131072 uboot.2023.04-tld-1.nsa325.environment.img 524288 uboot.2023.04-tld-1.nsa325.kwb NSA325>
Re: Debian-6.5.7 on NSA325 February 02, 2025 03:47PM |
Admin Registered: 14 years ago Posts: 19,291 |
Quote
6. Flash default u-boot envs image
If you are upgrading from 2017.07-tld-1 u-boot, you can skip this step. But some envs will need to be updated before reboot. See Note section below after the installation steps. Especially if your rootfs is SATA, then you must adjust the env described in Note section "C.1.1 SATA boot envs". Or if you are using netconsole then you must adjust the env described in Note section "C.1.2 Netconsole envs".
Be extra careful with the next 2 commands, you should see output that look like below. If there is error, then do not reboot, post your problem here so we can help.
Erase 1 block
flash_erase /dev/mtd0 0xc0000 1
Expected output:
Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0xc0000 done
Write the image
nandwrite -s 786432 /dev/mtd0 /tmp/uboot.2023.04-tld-1.nsa325.environment.img
Expected output:
Writing data to block 6 at offset 0xc0000
resetenv printenv
Re: Debian-6.5.7 on NSA325 February 03, 2025 11:45AM |
Registered: 6 days ago Posts: 4 |
U-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 NSA325> resetenv Unknown command 'resetenv' - try 'help' NSA325> env default -a ## Resetting to default environment NSA325> printenv arch=arm baudrate=115200 board=nsa325 board_name=nsa325 boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} boot_net_usb_start=usb start boot_pci_enum=pci enum boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_syslinux_conf=extlinux/extlinux.conf boot_targets=usb0 sata0 dhcp bootcmd=run distro_bootcmd bootcmd_dhcp=devtype=dhcp; run boot_net_usb_start; run boot_pci_enum; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi; bootcmd_sata0=devnum=0; run sata_boot bootcmd_usb0=devnum=0; run usb_boot bootdelay=10 console=ttyS0,115200 cpu=arm926ejs distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done fdt_addr_r=0x2c00000 fdtfile=kirkwood-nsa325.dtb kernel_addr_r=0x800000 loadaddr=0x800000 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) ramdisk_addr_r=0x01100000 sata_boot=if sata dev ${devnum}; then devtype=sata; run scan_dev_for_boot_part; fi scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnut scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo EXTLINi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run booe scriptaddr=0x200000 soc=kirkwood ubifs_boot=if ubi part ${bootubipart} ${bootubioff} && ubifsmount ubi0:${bootubivol}; then devtype=ubi; devnum=ubi0; bootfstype=ubifs; distro_bootpart=${bootubivol}; run scan_dev_for_i usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi vendor=zyxel Environment size: 2589/131068 bytes NSA325>
SA325> boot starting 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... 3 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Device 0: Vendor: Intenso Rev: 8.07 Prod: Rainbow Line Type: Removable Hard Disk Capacity: 7635.0 MB = 7.4 GB (15636480 x 512) ... is now current device Scanning usb 0:1... Device 0: unknown device ethernet-controller@72000 Waiting for PHY auto negotiation to complete..... done BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 192.168.178.101 (257 ms) Using ethernet-controller@72000 device TFTP from server 192.168.178.1; our IP address is 192.168.178.101 Filename 'boot.scr.uimg'. Load address: 0x200000 Loading: T
Re: Debian-6.5.7 on NSA325 February 03, 2025 02:53PM |
Admin Registered: 14 years ago Posts: 19,291 |
Quote
https://forum.doozan.com/read.php?3,135222
C.2.2 Using boot.scr to recover from damaged or corrupted envs NAND block
Included in the tarball uboot.2023.04-tld-1.nsa325.bodhi.tar is the script file uboot.2023.04-tld-1.nsa325.boot.scr. This is a Distro-Boot-compliant boot script. It can be used to recover from a damaged/corrupted envs NAND block, or if the envs NAND block has never been flashed (same as corrupted).
So for whatever reason, if in serial console, U-Boot reported the CRC error while loading the envs, using the boot.scr will provide a minimalist booting envs and enable booting into Debian. And then the default envs image can be flashed.
- Mount the USB rootfs on another Linux box. Assuming it is mounted at /media/sdb1.
cd /media/sdb1/boot
cp -a uboot.2023.04-tld-1.nsa325.boot.scr boot.scr
sync
- Unmount and then bring it back to the NSA325. Power up and let it boot automatically. The boot.scr should come into play, and allow booting to Debian.
env default -a boot
Re: Debian-6.5.7 on NSA325 February 04, 2025 11:52AM |
Registered: 6 days ago Posts: 4 |
U-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: Warning: ethernet-controller@72000 (eth0) using random MAC address - 6e:ac:88:b8:ed:9d eth0: ethernet-controller@72000 Hit any key to stop autoboot: 0 NSA325> env default -a ## Resetting to default environment NSA325> boot starting 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... 3 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Device 0: Vendor: Intenso Rev: 8.07 Prod: Rainbow Line Type: Removable Hard Disk Capacity: 7635.0 MB = 7.4 GB (15636480 x 512) ... is now current device Scanning usb 0:1... Found U-Boot script /boot/boot.scr 1262 bytes read in 8 ms (153.3 KiB/s) ## Executing script at 00200000 loading uImage ... 6223944 bytes read in 281 ms (21.1 MiB/s) loading uInitrd ... 5791271 bytes read in 264 ms (20.9 MiB/s) loading DTB file ... 14414 bytes read in 14 ms (1004.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6223880 Bytes = 5.9 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:55 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791207 Bytes = 5.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02c00000 Booting using the fdt blob at 0x2c00000 Working FDT set to 2c00000 Starting kernel ... Loading Kernel Image Loading Ramdisk to 1f5c6000, end 1fb4bde7 ... OK Loading Device Tree to 1f5bf000, end 1f5c584d ... OK Working FDT set to 1f5bf000 Starting kernel ... U-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: Warning: ethernet-controller@72000 (eth0) using random MAC address - 2e:ae:0a:be:f7:be eth0: ethernet-controller@72000 Hit any key to stop autoboot: 0 NSA325> env default -a ## Resetting to default environment NSA325> saveenv Saving Environment to NAND... Erasing NAND... Erasing at 0xc0000 -- 100% complete. Writing to NAND... OK OK NSA325> boot starting 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... 3 USB Device(s) found scanning bus xhci_pci for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Device 0: Vendor: Intenso Rev: 8.07 Prod: Rainbow Line Type: Removable Hard Disk Capacity: 7635.0 MB = 7.4 GB (15636480 x 512) ... is now current device Scanning usb 0:1... Found U-Boot script /boot/boot.scr 1262 bytes read in 8 ms (153.3 KiB/s) ## Executing script at 00200000 loading uImage ... 6223944 bytes read in 281 ms (21.1 MiB/s) loading uInitrd ... 5791271 bytes read in 264 ms (20.9 MiB/s) loading DTB file ... 14414 bytes read in 14 ms (1004.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6223880 Bytes = 5.9 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:55 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791207 Bytes = 5.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02c00000 Booting using the fdt blob at 0x2c00000 Working FDT set to 2c00000 Starting kernel ... Loading Kernel Image Loading Ramdisk to 1f5c6000, end 1fb4bde7 ... OK Loading Device Tree to 1f5bf000, end 1f5c584d ... OK Working FDT set to 1f5bf000 Starting kernel ... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 203 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000][ T0] CPU: VIVT data cache, VIVT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: ZyXEL NSA325 [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Zone ranges: [ 0.000000][ T0] Normal [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000l [ 0.000000][ T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 491980K/524288K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 32308K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000][ T0] trace event string verifier disabled [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Trampoline variant of Tasks RCU enabled. [ 0.000000][ T0] Tracing variant of Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000002][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008598][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015731][ T0] Console: colour dummy device 80x30 [ 0.020995][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032329][ T0] CPU: Testing write buffer coherency: ok [ 0.038057][ T0] pid_max: default: 32768 minimum: 301 [ 0.050113][ T0] LSM: initializing lsm=capability,integrity [ 0.057831][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.065948][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.084433][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.092592][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.101372][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.108581][ T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.114871][ T1] rcu: Hierarchical SRCU implementation. [ 0.120469][ T1] rcu: Max phase no-delay instances is 1000. [ 0.128928][ T1] devtmpfs: initialized [ 0.142774][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.153461][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.163240][ T1] prandom: seed boundary self test passed [ 0.172072][ T1] prandom: 100 self tests passed [ 0.176899][ T1] pinctrl core: initialized pinctrl subsystem [ 0.185917][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.193869][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.205710][ T1] audit: initializing netlink subsys (disabled) [ 0.213649][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.213787][ T1] cpuidle: using governor ladder [ 0.225415][ T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1 [ 0.234030][ T1] cpuidle: using governor menu [ 0.239263][ T1] Feroceon L2: Enabling L2 [ 0.243585][ T1] Feroceon L2: Cache support initialised. [ 0.258451][ T1] No ATAGs? [ 0.618613][ T1] raid6: int32x8 gen() 152 MB/s [ 0.958612][ T1] raid6: int32x4 gen() 140 MB/s [ 1.298637][ T1] raid6: int32x2 gen() 182 MB/s [ 1.638611][ T1] raid6: int32x1 gen() 133 MB/s [ 1.643607][ T1] raid6: using algorithm int32x2 gen() 182 MB/s [ 1.998611][ T1] raid6: .... xor() 115 MB/s, rmw enabled [ 2.004214][ T1] raid6: using intx1 recovery algorithm [ 2.019949][ T1] SCSI subsystem initialized [ 2.039025][ T1] usbcore: registered new interface driver usbfs [ 2.045318][ T1] usbcore: registered new interface driver hub [ 2.058667][ T1] usbcore: registered new device driver usb [ 2.064735][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.088808][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.098786][ T1] PTP clock support registered [ 2.120431][ T1] vgaarb: loaded [ 2.124566][ T1] clocksource: Switched to clocksource orion_clocksource [ 2.141523][ T1] VFS: Disk quotas dquot_6.6.0 [ 2.164909][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.198120][ T1] NET: Registered PF_INET protocol family [ 2.214680][ T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 2.235522][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 2.254739][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.263250][ T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 2.284646][ T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.293048][ T1] TCP: Hash tables configured (established 4096 bind 4096) [ 2.315125][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.323296][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.344631][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.353030][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.385218][ T1] RPC: Registered named UNIX socket transport module. [ 2.391871][ T1] RPC: Registered udp transport module. [ 2.404587][ T1] RPC: Registered tcp transport module. [ 2.410016][ T1] RPC: Registered tcp-with-tls transport module. [ 2.424581][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.431769][ T1] PCI: CLS 0 bytes, default 32 [ 2.456901][ T10] Trying to unpack rootfs image as initramfs... [ 3.206298][ T10] Freeing initrd memory: 5656K [ 3.416522][ T1] Initialise system trusted keyrings [ 3.421781][ T1] Key type blacklist registered [ 3.427742][ T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 3.435138][ T1] zbud: loaded [ 3.452774][ T1] NFS: Registering the id_resolver key type [ 3.458698][ T1] Key type id_resolver registered [ 3.463602][ T1] Key type id_legacy registered [ 3.468494][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.475959][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 3.485342][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.493784][ T1] fuse: init (API version 7.38) [ 3.499659][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.507117][ T1] orangefs_init: module version upstream loaded [ 3.513533][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 3.680948][ T1] xor: measuring software checksum speed [ 3.693091][ T1] arm4regs : 1492 MB/sec [ 3.709181][ T1] 8regs : 895 MB/sec [ 3.722013][ T1] 32regs : 1270 MB/sec [ 3.727107][ T1] xor: using function: arm4regs (1492 MB/sec) [ 3.733065][ T1] async_tx: api initialized (async) [ 3.738165][ T1] Key type asymmetric registered [ 3.742983][ T1] Asymmetric key parser 'x509' registered [ 3.789406][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 3.798074][ T1] io scheduler bfq registered [ 3.944294][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.954090][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.964973][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.975509][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges: [ 3.985519][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000 [ 3.995717][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000 [ 4.005895][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000 [ 4.016070][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.026765][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.037464][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.048155][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.059451][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 4.067855][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.074076][ T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff]) [ 4.085048][ T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff]) [ 4.096002][ T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff]) [ 4.106950][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 4.114560][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 4.121668][ T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400 [ 4.129951][ T1] PCI: bus0: Fast back to back transfers disabled [ 4.136303][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.145327][ T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330 [ 4.152090][ T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit] [ 4.159793][ T1] pci 0000:01:00.0: PME# supported from D0 D3hot [ 4.166096][ T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 4.204664][ T1] PCI: bus1: Fast back to back transfers disabled [ 4.210972][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 4.218380][ T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 4.226018][ T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit] [ 4.234079][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 4.239792][ T1] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 4.247457][ T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142) [ 4.255138][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 4.326476][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.338252][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 4.406528][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.418551][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.427853][ T1] printk: console [ttyS0] disabled [ 4.433369][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A [ 4.443199][ T1] printk: console [ttyS0] enabled [ 4.443199][ T1] printk: console [ttyS0] enabled [ 4.453041][ T1] printk: bootconsole [earlycon0] disabled [ 4.453041][ T1] printk: bootconsole [earlycon0] disabled [ 4.495170][ T1] loop: module loaded [ 4.499923][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 4.509444][ T1] scsi host0: sata_mv [ 4.514676][ T1] scsi host1: sata_mv [ 4.518912][ T1] ata1: SATA max UDMA/133 irq 29 [ 4.523738][ T1] ata2: SATA max UDMA/133 irq 29 [ 4.529594][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 4.536746][ T1] nand: Samsung NAND 128MiB 3,3V 8-bit [ 4.542083][ T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.550431][ T1] Scanning device for bad blocks [ 4.558476][ T1] Bad eraseblock 33 at 0x000000420000 [ 4.573427][ T1] Bad eraseblock 135 at 0x0000010e0000 [ 4.580074][ T1] Bad eraseblock 149 at 0x0000012a0000 [ 4.592832][ T1] Bad eraseblock 227 at 0x000001c60000 [ 4.598903][ T1] Bad eraseblock 235 at 0x000001d60000 [ 4.617115][ T1] Bad eraseblock 370 at 0x000002e40000 [ 4.658554][ T1] Bad eraseblock 748 at 0x000005d80000 [ 4.677344][ T1] Bad eraseblock 889 at 0x000006f20000 [ 4.695529][ T1] 9 cmdlinepart partitions found on MTD device orion_nand [ 4.702531][ T1] Creating 9 MTD partitions on "orion_nand": [ 4.708412][ T1] 0x000000000000-0x000000100000 : "uboot" [ 4.714735][ T1] 0x000000100000-0x000000180000 : "stock_uboot_env" [ 4.721779][ T1] 0x000000180000-0x000000200000 : "key_store" [ 4.728367][ T1] 0x000000200000-0x000000280000 : "info" [ 4.734454][ T1] 0x000000280000-0x000000c80000 : "etc" [ 4.740548][ T1] 0x000000c80000-0x000001680000 : "kernel_1" [ 4.747085][ T1] 0x000001680000-0x000004640000 : "rootfs1" [ 4.753603][ T1] 0x000004640000-0x000005040000 : "kernel_2" [ 4.760116][ T1] 0x000005040000-0x000008000000 : "rootfs2" [ 4.767385][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.776015][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.808242][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 4.817536][ T1] mv643xx_eth: Set the PHY to fix link down [ 4.818349][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 86:80:6a:ce:8a:df [ 4.834223][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 4.840547][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 4.849172][ T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000 [ 4.866026][ T52] ata1: SATA link down (SStatus 0 SControl F300) [ 4.884595][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 4.891734][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 4.900799][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.908779][ T1] usb usb1: Product: EHCI Host Controller [ 4.914384][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd [ 4.921743][ T1] usb usb1: SerialNumber: f1050000.ehci [ 4.928035][ T1] hub 1-0:1.0: USB hub found [ 4.932541][ T1] hub 1-0:1.0: 1 port detected [ 4.938228][ T1] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 4.944203][ T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 4.952709][ T1] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004 [ 4.963145][ T1] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 4.969267][ T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3 [ 4.977466][ T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 4.984714][ T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 4.993721][ T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.001705][ T1] usb usb2: Product: xHCI Host Controller [ 5.007321][ T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd [ 5.014682][ T1] usb usb2: SerialNumber: 0000:01:00.0 [ 5.020785][ T1] hub 2-0:1.0: USB hub found [ 5.025353][ T1] hub 2-0:1.0: 2 ports detected [ 5.030784][ T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 5.039826][ T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05 [ 5.048867][ T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.056993][ T1] usb usb3: Product: xHCI Host Controller [ 5.062600][ T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd [ 5.069970][ T1] usb usb3: SerialNumber: 0000:01:00.0 [ 5.076369][ T1] hub 3-0:1.0: USB hub found [ 5.080946][ T1] hub 3-0:1.0: 2 ports detected [ 5.086800][ T1] usbcore: registered new interface driver usb-storage [ 5.094015][ T1] mousedev: PS/2 mouse device common for all mice [ 5.100778][ T1] i2c_dev: i2c /dev entries driver [ 5.109089][ T1] rtc-pcf8563 0-0051: registered as rtc0 [ 5.116115][ T1] rtc-pcf8563 0-0051: setting system clock to 2025-02-04T17:25:30 UTC (1738689930) [ 5.127414][ T1] device-mapper: uevent: version 1.0.3 [ 5.133289][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 5.143136][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 5.150665][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 5.158151][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 5.165605][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 5.175645][ T1] ledtrig-cpu: registered to indicate activity on CPUs [ 5.182858][ T1] hid: raw HID events driver (C) Jiri Kosina [ 5.189171][ T1] drop_monitor: Initializing network drop monitor service [ 5.197670][ T1] NET: Registered PF_INET6 protocol family [ 5.205150][ T1] Segment Routing with IPv6 [ 5.209581][ T54] ata2: SATA link down (SStatus 0 SControl F300) [ 5.216057][ T1] RPL Segment Routing with IPv6 [ 5.220868][ T1] In-situ OAM (IOAM) with IPv6 [ 5.225598][ T9] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 5.233320][ T1] NET: Registered PF_PACKET protocol family [ 5.239567][ T1] Key type dns_resolver registered [ 5.259316][ T1] registered taskstats version 1 [ 5.264358][ T1] Loading compiled-in X.509 certificates [ 5.287350][ T1] Key type .fscrypt registered [ 5.292016][ T1] Key type fscrypt-provisioning registered [ 5.302534][ T1] Key type big_key registered [ 5.344435][ T1] Key type encrypted registered [ 5.433224][ T106] "cryptomgr_test" (106) uses obsolete ecb(arc4) skcipher [ 5.442299][ T9] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32 [ 5.454756][ T9] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.462668][ T9] usb 1-1: Product: USB2.0 Hub [ 5.478248][ T9] hub 1-1:1.0: USB hub found [ 5.486315][ T9] hub 1-1:1.0: 4 ports detected [ 5.814593][ T9] usb 1-1.3: new high-speed USB device number 3 using orion-ehci [ 5.991921][ T9] usb 1-1.3: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.00 [ 6.014582][ T9] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.022638][ T9] usb 1-1.3: Product: Intenso Rainbow Line [ 6.044581][ T9] usb 1-1.3: Manufacturer: ALCOR [ 6.049397][ T9] usb 1-1.3: SerialNumber: B58C95C9BAC9 [ 6.065539][ T9] usb-storage 1-1.3:1.0: USB Mass Storage device detected [ 6.085079][ T9] scsi host2: usb-storage 1-1.3:1.0 [ 7.136620][ T18] scsi 2:0:0:0: Direct-Access Intenso Rainbow Line 8.07 PQ: 0 ANSI: 4 [ 7.156951][ T29] sd 2:0:0:0: [sda] 15636480 512-byte logical blocks: (8.01 GB/7.46 GiB) [ 7.175449][ T29] sd 2:0:0:0: [sda] Write Protect is off [ 7.194620][ T29] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 7.210911][ T29] sda: sda1 [ 7.224817][ T29] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 7.279918][ T1] clk: Disabling unused clocks [ 7.288430][ T1] Freeing unused kernel image (initmem) memory: 1024K [ 7.305239][ T1] Checked W+X mappings: passed, no W+X pages found [ 7.311651][ T1] Run /init as init process Loading, please wait... Starting systemd-udevd version 252.17-1~deb12u1 U-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: Warning: ethernet-controller@72000 (eth0) using random MAC address - ce:91:d7:3f:6c:67 eth0: ethernet-controller@72000 Hit any key to stop autoboot: 0 NSA325>
Re: Debian-6.5.7 on NSA325 February 04, 2025 02:38PM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Debian-6.5.7 on NSA325 February 05, 2025 12:01PM |
Registered: 6 days ago Posts: 4 |
su - fdisk -l fdisk /dev/sdd1 d (delete all partitions) n (create new partition) p (primary partition) 1 (partitionnumber) Enter Enter w (write changes) mkfs.ext3 -L rootfs /dev/sdd1 # Takes about 15 minutes mkdir /media/sdd1 mount /dev/sdd1 /media/sdd1 cd /media/sdd1 tar xjf /home/ubuntu/Downloads/Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 # Takes about 5 minutes, but the stick continues to blink for like 20 minutes sync sync sync cd /media/sdd1/boot cp -a uboot.2023.04-tld-1.nsa325.boot.scr boot.scr sync sync cd umount /media/sdd1 # Now insert into nas kwboot -D /dev/ttyUSB0 -t # insert the power cord #interrupt autoboot env default -a # as before the first time without saveenv, the second time with saveenv, which will give a much longer output boot
Re: Debian-6.5.7 on NSA325 February 05, 2025 03:02PM |
Admin Registered: 14 years ago Posts: 19,291 |