Re: Debian on Synology DS413J
April 03, 2023 03:58PM
Bodhi

OK no problem. Go for that.
I'll post tomorrow the log from usb boot.

Ask me anything to test.

Thanks
Re: Debian on Synology DS413J
April 04, 2023 08:19AM
Bodhi,

I tried to boot on usb and it's not working.

I'll try to redo my usb key. Maybe i make a mistake before when copying /boot...
root@Arc-170:~/tools# 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 % [......................................................................]
  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:  0 MiB
*** Warning - readenv() failed, using default environment

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... 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: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## 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 ...
310 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 722 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 992 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3982 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] 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
[    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: Synology DS413j
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    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] 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.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015974][    T0] Console: colour dummy device 80x30
[    0.021227][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032550][    T0] pid_max: default: 32768 minimum: 301
[    0.038216][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051841][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061545][    T0] CPU: Testing write buffer coherency: ok
[    0.069218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076397][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082596][    T1] rcu: Hierarchical SRCU implementation.
[    0.089351][    T1] devtmpfs: initialized
[    0.101866][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112546][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148195][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155419][    T1] prandom: seed boundary self test passed
[    0.164196][    T1] prandom: 100 self tests passed
[    0.169052][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176356][    T1] NET: Registered protocol family 16
[    0.182198][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190627][    T1] audit: initializing netlink subsys (disabled)
[    0.197924][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198279][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213692][    T1] cpuidle: using governor ladder
[    0.218590][    T1] cpuidle: using governor menu
[    0.223723][    T1] Feroceon L2: Enabling L2
[    0.228047][    T1] Feroceon L2: Cache support initialised.
[    0.243822][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897338][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923887][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118657][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288691][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458698][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628635][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798629][    T1] raid6: int32x2  gen()   183 MB/s
[    4.968639][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138669][    T1] raid6: int32x1  gen()   131 MB/s
[    5.308704][    T1] raid6: int32x1  xor()    78 MB/s
[    5.313690][    T1] raid6: using algorithm int32x2 gen() 183 MB/s
[    5.319824][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325418][    T1] raid6: using intx1 recovery algorithm
[    5.331081][    T1] vgaarb: loaded
[    5.334946][    T1] SCSI subsystem initialized
[    5.339851][    T1] usbcore: registered new interface driver usbfs
[    5.346111][    T1] usbcore: registered new interface driver hub
[    5.352226][    T1] usbcore: registered new device driver usb
[    5.358150][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363855][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373757][    T1] PTP clock support registered
[    5.379916][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470463][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475184][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507610][    T1] NET: Registered protocol family 2
[    5.520084][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540282][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549411][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.570019][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577943][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600161][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608169][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629952][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637848][    T1] NET: Registered protocol family 1
[    5.660493][    T1] RPC: Registered named UNIX socket transport module.
[    5.667147][    T1] RPC: Registered udp transport module.
[    5.689928][    T1] RPC: Registered tcp transport module.
[    5.695356][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709937][    T1] PCI: CLS 0 bytes, default 32
[    5.719938][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727561][   T58] Trying to unpack rootfs image as initramfs...
[    7.055476][   T58] Freeing initrd memory: 9448K
[    7.397054][    T1] Initialise system trusted keyrings
[    7.402329][    T1] Key type blacklist registered
[    7.407255][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414586][    T1] zbud: loaded
[    7.419020][    T1] NFS: Registering the id_resolver key type
[    7.424892][    T1] Key type id_resolver registered
[    7.429799][    T1] Key type id_legacy registered
[    7.434583][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.442040][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450184][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457494][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465667][    T1] fuse: init (API version 7.34)
[    7.470741][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.478074][    T1] orangefs_init: module version upstream loaded
[    7.484266][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.569969][    T1] xor: measuring software checksum speed
[    7.582253][    T1]    arm4regs        :  1469 MB/sec
[    7.598429][    T1]    8regs           :   890 MB/sec
[    7.611255][    T1]    32regs          :  1282 MB/sec
[    7.616337][    T1] xor: using function: arm4regs (1469 MB/sec)
[    7.622325][    T1] async_tx: api initialized (async)
[    7.627410][    T1] Key type asymmetric registered
[    7.632262][    T1] Asymmetric key parser 'x509' registered
[    7.637908][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.646129][    T1] io scheduler bfq registered
[    7.800324][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.810038][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.819993][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.830171][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.840344][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.850520][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.861217][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.871907][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.882592][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.893592][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.901928][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.908147][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.919089][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.930032][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.940973][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.948579][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.955730][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.962507][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.970291][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.977043][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.986217][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.992559][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.001335][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.010273][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.017031][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.024584][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.031061][    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 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.046880][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.059270][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.065600][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.074701][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.080948][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.088449][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.096081][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.103186][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.111165][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.119131][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.127199][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.134221][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.139929][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.146927][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.154469][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.160269][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.167640][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230770][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240877][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300770][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311138][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319427][    T1] printk: console [ttyS0] disabled
[    8.324560][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334358][    T1] printk: console [ttyS0] enabled
[    8.334358][    T1] printk: console [ttyS0] enabled
[    8.344181][    T1] printk: bootconsole [earlycon0] disabled
[    8.344181][    T1] printk: bootconsole [earlycon0] disabled
[    8.356232][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.373023][    T1] loop: module loaded
[    8.377258][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384188][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398376][    T1] scsi host0: sata_mv
[    8.402822][    T1] scsi host1: sata_mv
[    8.407170][    T1] scsi host2: sata_mv
[    8.411547][    T1] scsi host3: sata_mv
[    8.415601][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.424049][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432461][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440873][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450638][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459512][    T1] scsi host4: sata_mv
[    8.463948][    T1] scsi host5: sata_mv
[    8.468013][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472888][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479335][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485857][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491328][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497974][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503518][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510495][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517512][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526125][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537405][    T1] libphy: Fixed MDIO Bus: probed
[    8.543527][    T1] libphy: orion_mdio_bus: probed
[    8.548519][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.570057][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579522][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589184][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596544][    T1] ehci-pci: EHCI PCI platform driver
[    8.601804][    T1] ehci-orion: EHCI orion driver
[    8.606694][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612988][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621566][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649947][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656926][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665953][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673953][    T1] usb usb1: Product: EHCI Host Controller
[    8.679575][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687037][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693049][    T1] hub 1-0:1.0: USB hub found
[    8.697586][    T1] hub 1-0:1.0: 1 port detected
[    8.702959][    T1] usbcore: registered new interface driver usb-storage
[    8.710132][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716714][    T1] i2c /dev entries driver
[    8.722590][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728839][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736119][    T1] device-mapper: uevent: version 1.0.3
[    8.741782][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751371][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758679][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766087][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773533][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780419][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786570][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795335][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801615][    T1] drop_monitor: Initializing network drop monitor service
[    8.809582][    T1] NET: Registered protocol family 10
[    8.814825][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822195][    T1] Segment Routing with IPv6
[    8.826579][    T1] RPL Segment Routing with IPv6
[    8.831497][    T1] NET: Registered protocol family 17
[    8.836880][    T1] Key type dns_resolver registered
[    8.842539][    T1] registered taskstats version 1
[    8.847363][    T1] Loading compiled-in X.509 certificates
[    8.853256][    T1] zswap: loaded using pool lzo/zbud
[    8.858623][    T1] Key type ._fscrypt registered
[    8.863431][    T1] Key type .fscrypt registered
[    8.868077][    T1] Key type fscrypt-provisioning registered
[    8.875354][    T1] Key type big_key registered
[    8.904488][    T1] Key type encrypted registered
[    8.989942][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141464][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191700][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200649][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208534][  T117] usb 1-1: Product: USB2.0 Hub
[    9.214001][  T117] hub 1-1:1.0: USB hub found
[    9.218828][  T117] hub 1-1:1.0: 4 ports detected
[    9.939936][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Not Good
Fan 1: Not Good
Fan 2: Not Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>

Re: Debian on Synology DS413J
April 04, 2023 01:55PM
>
> I tried to boot on usb and it's not working.
>
> I'll try to redo my usb key. Maybe i make a
> mistake before when copying /boot...

Yes, it looks like the DTB is wrong version.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 04, 2023 02:03PM
OK ill redo it.

Is it better that hdd is without rootfs and os for now ?
Re: Debian on Synology DS413J
April 04, 2023 02:16PM
> Is it better that hdd is without rootfs and os for
> now ?

Yes, but you don't have to erase HDD rootfs, just label that partition to something else such as "sata_rootfs" so that it will not confuse the kernel from searching for the rootfs in USB drive.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 05, 2023 02:55AM
Hi Bodhi,

I tried two times to boot with the DTB on the fourth pages (normally it was the better one)

root@Arc-170:~/tools# 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 % [......................................................................]
  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:  0 MiB
*** Warning - readenv() failed, using default environment

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... 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: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## 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 ...
310 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 992 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3983 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] 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
[    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: Synology DS413j
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    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] 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.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015974][    T0] Console: colour dummy device 80x30
[    0.021227][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032550][    T0] pid_max: default: 32768 minimum: 301
[    0.038216][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051841][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061545][    T0] CPU: Testing write buffer coherency: ok
[    0.069218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076398][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082596][    T1] rcu: Hierarchical SRCU implementation.
[    0.089351][    T1] devtmpfs: initialized
[    0.101878][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112564][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148214][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155438][    T1] prandom: seed boundary self test passed
[    0.164212][    T1] prandom: 100 self tests passed
[    0.169070][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176371][    T1] NET: Registered protocol family 16
[    0.182215][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190652][    T1] audit: initializing netlink subsys (disabled)
[    0.197960][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198316][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213728][    T1] cpuidle: using governor ladder
[    0.218673][    T1] cpuidle: using governor menu
[    0.223769][    T1] Feroceon L2: Enabling L2
[    0.228090][    T1] Feroceon L2: Cache support initialised.
[    0.243863][    T1] No ATAGs?
[    2.568602][    C0] random: fast init done
[    3.897396][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923918][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118685][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288742][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458774][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628696][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798681][    T1] raid6: int32x2  gen()   186 MB/s
[    4.968625][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138617][    T1] raid6: int32x1  gen()   130 MB/s
[    5.308653][    T1] raid6: int32x1  xor()    79 MB/s
[    5.313646][    T1] raid6: using algorithm int32x2 gen() 186 MB/s
[    5.319779][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325375][    T1] raid6: using intx1 recovery algorithm
[    5.331035][    T1] vgaarb: loaded
[    5.334902][    T1] SCSI subsystem initialized
[    5.339810][    T1] usbcore: registered new interface driver usbfs
[    5.346067][    T1] usbcore: registered new interface driver hub
[    5.352182][    T1] usbcore: registered new device driver usb
[    5.358106][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363811][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373713][    T1] PTP clock support registered
[    5.379874][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470415][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475138][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507470][    T1] NET: Registered protocol family 2
[    5.520045][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540242][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549368][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569979][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577899][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600119][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608126][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629910][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637814][    T1] NET: Registered protocol family 1
[    5.660456][    T1] RPC: Registered named UNIX socket transport module.
[    5.667112][    T1] RPC: Registered udp transport module.
[    5.689887][    T1] RPC: Registered tcp transport module.
[    5.695312][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709897][    T1] PCI: CLS 0 bytes, default 32
[    5.719898][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727521][   T58] Trying to unpack rootfs image as initramfs...
[    7.056453][   T58] Freeing initrd memory: 9448K
[    7.397000][    T1] Initialise system trusted keyrings
[    7.402273][    T1] Key type blacklist registered
[    7.407205][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414540][    T1] zbud: loaded
[    7.418960][    T1] NFS: Registering the id_resolver key type
[    7.424840][    T1] Key type id_resolver registered
[    7.429747][    T1] Key type id_legacy registered
[    7.434531][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441989][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450132][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457440][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465616][    T1] fuse: init (API version 7.34)
[    7.470695][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.478030][    T1] orangefs_init: module version upstream loaded
[    7.484222][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.568721][    T1] xor: measuring software checksum speed
[    7.580984][    T1]    arm4regs        :  1485 MB/sec
[    7.597143][    T1]    8regs           :   890 MB/sec
[    7.609830][    T1]    32regs          :  1296 MB/sec
[    7.614939][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.620926][    T1] async_tx: api initialized (async)
[    7.626005][    T1] Key type asymmetric registered
[    7.630849][    T1] Asymmetric key parser 'x509' registered
[    7.636499][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.644715][    T1] io scheduler bfq registered
[    7.798879][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.808583][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.818551][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.828724][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.838898][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.849073][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.859770][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.870461][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.881144][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.892145][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.900480][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.906700][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.917641][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.928583][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.939525][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.947146][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.954301][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.961078][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.968845][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.975621][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.984787][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.991127][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.999905][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.008823][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.015598][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.023139][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.029554][    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 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.045412][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.057795][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.064127][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.073226][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.079450][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.086982][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.094616][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.101721][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.109685][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.117665][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.125733][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.132748][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.138440][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.145451][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.152995][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.158782][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.166174][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230734][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240832][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300727][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311103][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319386][    T1] printk: console [ttyS0] disabled
[    8.324521][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334323][    T1] printk: console [ttyS0] enabled
[    8.334323][    T1] printk: console [ttyS0] enabled
[    8.344145][    T1] printk: bootconsole [earlycon0] disabled
[    8.344145][    T1] printk: bootconsole [earlycon0] disabled
[    8.356185][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.372970][    T1] loop: module loaded
[    8.377204][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384134][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398304][    T1] scsi host0: sata_mv
[    8.402752][    T1] scsi host1: sata_mv
[    8.407100][    T1] scsi host2: sata_mv
[    8.411476][    T1] scsi host3: sata_mv
[    8.415531][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.423969][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432382][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440794][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450561][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459435][    T1] scsi host4: sata_mv
[    8.463869][    T1] scsi host5: sata_mv
[    8.467936][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472809][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479251][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485770][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491239][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497886][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503435][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510417][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517438][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526045][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537325][    T1] libphy: Fixed MDIO Bus: probed
[    8.543388][    T1] libphy: orion_mdio_bus: probed
[    8.548402][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.569989][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579454][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589112][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596474][    T1] ehci-pci: EHCI PCI platform driver
[    8.601734][    T1] ehci-orion: EHCI orion driver
[    8.606624][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612920][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621508][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649907][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656888][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665918][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673917][    T1] usb usb1: Product: EHCI Host Controller
[    8.679540][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687001][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693017][    T1] hub 1-0:1.0: USB hub found
[    8.697550][    T1] hub 1-0:1.0: 1 port detected
[    8.702923][    T1] usbcore: registered new interface driver usb-storage
[    8.710101][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716680][    T1] i2c /dev entries driver
[    8.722552][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728793][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736071][    T1] device-mapper: uevent: version 1.0.3
[    8.741735][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751317][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758631][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766033][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773477][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780366][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786518][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795284][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801560][    T1] drop_monitor: Initializing network drop monitor service
[    8.809532][    T1] NET: Registered protocol family 10
[    8.814772][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822140][    T1] Segment Routing with IPv6
[    8.826526][    T1] RPL Segment Routing with IPv6
[    8.831444][    T1] NET: Registered protocol family 17
[    8.836832][    T1] Key type dns_resolver registered
[    8.842495][    T1] registered taskstats version 1
[    8.847319][    T1] Loading compiled-in X.509 certificates
[    8.853222][    T1] zswap: loaded using pool lzo/zbud
[    8.858589][    T1] Key type ._fscrypt registered
[    8.863394][    T1] Key type .fscrypt registered
[    8.868033][    T1] Key type fscrypt-provisioning registered
[    8.875310][    T1] Key type big_key registered
[    8.904215][    T1] Key type encrypted registered
[    8.989902][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141419][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191642][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200587][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208474][  T117] usb 1-1: Product: USB2.0 Hub
[    9.213941][  T117] hub 1-1:1.0: USB hub found
[    9.218768][  T117] hub 1-1:1.0: 4 ports detected
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Not Good
Fan 1: Not Good
Fan 2: Not Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>

I don't find why it's no more working as expected... I need to redo the usb key and as you say will relabel the hdd with rootfs
Re: Debian on Synology DS413J
April 05, 2023 04:04AM
Bodhi,

i redo my usb key (i think the problem was on the uEnv.txt for now i dont have one because i erase all files and just untar the Debian 5.13.6 and put the DTB from the page 4)

root@Arc-170:~/tools# 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 % [......................................................................]
  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:  0 MiB
*** Warning - readenv() failed, using default environment

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... 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: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## 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 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 722 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 955 ms (9.7 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 1646 ms (7.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] 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
[    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] 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] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    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),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    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] 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.000050][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000766][    T0] Console: colour dummy device 80x30
[    0.000830][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000867][    T0] pid_max: default: 32768 minimum: 301
[    0.001201][    T0] LSM: Security Framework initializing
[    0.001347][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001386][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002584][    T0] CPU: Testing write buffer coherency: ok
[    0.004631][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004905][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005198][    T1] rcu: Hierarchical SRCU implementation.
[    0.006408][    T1] devtmpfs: initialized
[    0.012390][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012437][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.040595][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040632][    T1] prandom: seed boundary self test passed
[    0.043789][    T1] prandom: 100 self tests passed
[    0.043805][    T1] pinctrl core: initialized pinctrl subsystem
[    0.045195][    T1] NET: Registered protocol family 16
[    0.045818][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046600][    T1] audit: initializing netlink subsys (disabled)
[    0.047789][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.048112][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.048269][    T1] cpuidle: using governor ladder
[    0.048353][    T1] cpuidle: using governor menu
[    0.048780][    T1] Feroceon L2: Enabling L2
[    0.048824][    T1] Feroceon L2: Cache support initialised.
[    0.057590][    T1] No ATAGs?
[    2.560055][    C0] random: fast init done
[    3.703671][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.723339][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.910281][    T1] raid6: int32x8  gen()   150 MB/s
[    4.080137][    T1] raid6: int32x8  xor()    91 MB/s
[    4.250198][    T1] raid6: int32x4  gen()   146 MB/s
[    4.420150][    T1] raid6: int32x4  xor()    95 MB/s
[    4.590093][    T1] raid6: int32x2  gen()   186 MB/s
[    4.760103][    T1] raid6: int32x2  xor()   113 MB/s
[    4.930184][    T1] raid6: int32x1  gen()   129 MB/s
[    5.100159][    T1] raid6: int32x1  xor()    78 MB/s
[    5.100172][    T1] raid6: using algorithm int32x2 gen() 186 MB/s
[    5.100183][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.100192][    T1] raid6: using intx1 recovery algorithm
[    5.100423][    T1] vgaarb: loaded
[    5.100895][    T1] SCSI subsystem initialized
[    5.101335][    T1] usbcore: registered new interface driver usbfs
[    5.101395][    T1] usbcore: registered new interface driver hub
[    5.101441][    T1] usbcore: registered new device driver usb
[    5.101613][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.101627][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.101655][    T1] PTP clock support registered
[    5.103152][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.183708][    T1] VFS: Disk quotas dquot_6.6.0
[    5.183803][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.197411][    T1] NET: Registered protocol family 2
[    5.197582][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.198638][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.198689][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.198759][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.198818][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.199016][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.199082][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.199117][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.199322][    T1] NET: Registered protocol family 1
[    5.203667][    T1] RPC: Registered named UNIX socket transport module.
[    5.203688][    T1] RPC: Registered udp transport module.
[    5.203698][    T1] RPC: Registered tcp transport module.
[    5.203707][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.203722][    T1] PCI: CLS 0 bytes, default 32
[    5.203866][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.213447][   T58] Trying to unpack rootfs image as initramfs...
[    6.531769][   T58] Freeing initrd memory: 9448K
[    6.983193][    T1] Initialise system trusted keyrings
[    6.983256][    T1] Key type blacklist registered
[    6.983482][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.983585][    T1] zbud: loaded
[    6.984782][    T1] NFS: Registering the id_resolver key type
[    6.984819][    T1] Key type id_resolver registered
[    6.984831][    T1] Key type id_legacy registered
[    6.984866][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.984888][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.984900][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.985133][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.985525][    T1] fuse: init (API version 7.34)
[    6.985883][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.986055][    T1] orangefs_init: module version upstream loaded
[    6.986070][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.063060][    T1] xor: measuring software checksum speed
[    7.069744][    T1]    arm4regs        :  1485 MB/sec
[    7.080845][    T1]    8regs           :   890 MB/sec
[    7.088467][    T1]    32regs          :  1296 MB/sec
[    7.088481][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.088499][    T1] async_tx: api initialized (async)
[    7.088515][    T1] Key type asymmetric registered
[    7.088526][    T1] Asymmetric key parser 'x509' registered
[    7.088577][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.088647][    T1] io scheduler bfq registered
[    7.238468][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.240038][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.240111][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.240147][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.240182][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.240216][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.240248][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.240280][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.240305][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.240567][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.240586][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.240606][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.240624][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.240642][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.240658][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.240673][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.240791][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.240823][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.242028][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.242058][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.242236][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.242271][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    7.242295][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    7.242425][    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 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    7.242607][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    7.243661][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.243688][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.243870][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.243893][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    7.243912][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.243935][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    7.243961][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    7.243981][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.243996][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    7.244014][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.244118][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    7.244578][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.304012][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.306036][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.364005][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.366284][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.367490][    T1] printk: console [ttyS0] disabled
[    7.367572][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.527497][    T1] printk: console [ttyS0] enabled
[    8.539387][    T1] loop: module loaded
[    8.543701][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.550575][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.564763][    T1] scsi host0: sata_mv
[    8.569171][    T1] scsi host1: sata_mv
[    8.573586][    T1] scsi host2: sata_mv
[    8.577928][    T1] scsi host3: sata_mv
[    8.581985][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 35
[    8.590426][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 35
[    8.598836][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 35
[    8.607249][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 35
[    8.616909][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.625806][    T1] scsi host4: sata_mv
[    8.630178][    T1] scsi host5: sata_mv
[    8.634310][    T1] ata5: SATA max UDMA/133 irq 32
[    8.639132][    T1] ata6: SATA max UDMA/133 irq 32
[    8.893180][    T1] nand: No NAND device found
[    8.898089][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.906720][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.918026][    T1] libphy: Fixed MDIO Bus: probed
[    8.924084][    T1] libphy: orion_mdio_bus: probed
[    8.942381][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.950019][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.957700][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.958249][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.974259][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.981605][    T1] ehci-pci: EHCI PCI platform driver
[    8.986825][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.993243][    T1] ehci-orion: EHCI orion driver
[    8.998152][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.004467][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.013007][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.043180][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.050173][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    9.059204][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.067176][    T1] usb usb1: Product: EHCI Host Controller
[    9.072777][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    9.080222][    T1] usb usb1: SerialNumber: f1050000.ehci
[    9.086241][    T1] hub 1-0:1.0: USB hub found
[    9.090749][    T1] hub 1-0:1.0: 1 port detected
[    9.096077][    T1] usbcore: registered new interface driver usb-storage
[    9.103141][    T1] mousedev: PS/2 mouse device common for all mice
[    9.109739][    T1] i2c /dev entries driver
[    9.114967][    T1] rtc-pcf8563 0-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[    9.123336][    T1] rtc-pcf8563 0-0051: pcf8563_probe: write error
[    9.129621][    T1] rtc-pcf8563: probe of 0-0051 failed with error -5
[    9.136904][    T1] device-mapper: uevent: version 1.0.3
[    9.142479][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    9.152048][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.159374][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.166741][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.174160][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.180984][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.189681][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.196125][    T1] drop_monitor: Initializing network drop monitor service
[    9.203564][    T1] NET: Registered protocol family 10
[    9.209837][    T1] Segment Routing with IPv6
[    9.214318][    T1] RPL Segment Routing with IPv6
[    9.219134][    T1] NET: Registered protocol family 17
[    9.224529][    T1] Key type dns_resolver registered
[    9.230006][    T1] registered taskstats version 1
[    9.235034][    T1] Loading compiled-in X.509 certificates
[    9.240902][    T1] zswap: loaded using pool lzo/zbud
[    9.246334][    T1] Key type ._fscrypt registered
[    9.251066][    T1] Key type .fscrypt registered
[    9.255795][    T1] Key type fscrypt-provisioning registered
[    9.263081][    T1] Key type big_key registered
[    9.292468][    T1] Key type encrypted registered
[    9.307486][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.383180][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.584761][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.593733][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.601637][  T117] usb 1-1: Product: USB2.0 Hub
[    9.607048][  T117] hub 1-1:1.0: USB hub found
[    9.611888][  T117] hub 1-1:1.0: 4 ports detected
[    9.657423][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   10.004705][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   10.333173][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.345888][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   10.365289][    T1] Freeing unused kernel memory: 1024K
[   10.371333][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.377812][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.495164][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.523320][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.531398][  T117] usb 1-1.2: Product: Ultra
[   10.553257][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.558266][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.578379][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.607722][  T117] scsi host6: usb-storage 1-1.2:1.0
[   10.624640][  T147] usbcore: registered new interface driver uas
[   11.173327][  T155] input: gpio_keys as /devices/platform/gpio_keys/input/input0
Begin: Loading essential drivers ... done.
[   11.684098][  T103] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.697689][  T108] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.711430][  T108] sd 6:0:0:0: [sda] Write Protect is off
[   11.717790][  T108] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.756267][  T108]  sda: sda1
[   11.772801][  T108] sd 6:0:0:0: [sda] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 15633/1900544 files, 389770/7593728 blocks
done.
[   22.549723][  T180] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   22.703313][  T180] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   25.439104][  T364] orion_wdt: Initial timeout 21 sec
[   25.773457][  T372] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   25.891550][  T368] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
[   26.619096][    C0] random: crng init done
Activating swap:.
[   26.783464][  T507] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
[   29.028120][  T917] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   32.112384][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   32.129936][  T117] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.10.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER of 192.168.10.200 from 192.168.10.1
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.10.200 from 192.168.10.1
bound to 192.168.10.200 -- renewal in 21095 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1066 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting.
 failed!
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1094 (klogd)
.
Running local boot scripts (/etc/rc.local)
ssh-keygen: generating new host keys: RSA
DSA
ECDSA
ED25519

Starting OpenBSD Secure Shell server: sshd
.
.

Debian GNU/Linux 11 debian ttyS0

debian login: debian
Password:

Login incorrect
debian login: root
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: Sat Sep 25 19:53:59 PDT 2021 from 192.168.0.100 on pts/0
debian
192.168.10.20
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
Re: Debian on Synology DS413J
April 05, 2023 02:44PM
Quote

** File not found /boot/uEnv.txt **

Yes. That's the problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 05, 2023 04:19PM
I had the /boot/uEnv.txt. So i deleted it and i make a new one,
copy / paste the information
no linux :

root@Arc-170:~/tools#  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 % [......................................................................]
  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:  0 MiB
*** Warning - readenv() failed, using default environment

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... 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: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	60749824  	00000000-01	83

## 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 ...
310 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 992 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3951 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] 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
[    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: Synology DS413j
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    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] 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.015974][    T0] Console: colour dummy device 80x30
[    0.021227][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032550][    T0] pid_max: default: 32768 minimum: 301
[    0.038216][    T0] LSM: Security Framework initializing
[    0.043734][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051842][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061544][    T0] CPU: Testing write buffer coherency: ok
[    0.069218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076398][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082596][    T1] rcu: Hierarchical SRCU implementation.
[    0.089343][    T1] devtmpfs: initialized
[    0.101884][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112566][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148211][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155429][    T1] prandom: seed boundary self test passed
[    0.164205][    T1] prandom: 100 self tests passed
[    0.169062][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176364][    T1] NET: Registered protocol family 16
[    0.182207][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190643][    T1] audit: initializing netlink subsys (disabled)
[    0.197952][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198307][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213717][    T1] cpuidle: using governor ladder
[    0.218658][    T1] cpuidle: using governor menu
[    0.223750][    T1] Feroceon L2: Enabling L2
[    0.228073][    T1] Feroceon L2: Cache support initialised.
[    0.243846][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897365][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923893][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118762][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288716][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458721][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628676][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798632][    T1] raid6: int32x2  gen()   189 MB/s
[    4.968728][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138708][    T1] raid6: int32x1  gen()   131 MB/s
[    5.308691][    T1] raid6: int32x1  xor()    78 MB/s
[    5.313681][    T1] raid6: using algorithm int32x2 gen() 189 MB/s
[    5.319815][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325410][    T1] raid6: using intx1 recovery algorithm
[    5.331071][    T1] vgaarb: loaded
[    5.334936][    T1] SCSI subsystem initialized
[    5.339843][    T1] usbcore: registered new interface driver usbfs
[    5.346103][    T1] usbcore: registered new interface driver hub
[    5.352217][    T1] usbcore: registered new device driver usb
[    5.358143][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363847][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373748][    T1] PTP clock support registered
[    5.379915][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470460][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475182][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507517][    T1] NET: Registered protocol family 2
[    5.520086][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540286][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549411][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.570017][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577934][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600163][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608178][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629951][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637849][    T1] NET: Registered protocol family 1
[    5.660494][    T1] RPC: Registered named UNIX socket transport module.
[    5.667147][    T1] RPC: Registered udp transport module.
[    5.689928][    T1] RPC: Registered tcp transport module.
[    5.695356][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709937][    T1] PCI: CLS 0 bytes, default 32
[    5.719938][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727562][   T58] Trying to unpack rootfs image as initramfs...
[    7.055317][   T58] Freeing initrd memory: 9448K
[    7.397096][    T1] Initialise system trusted keyrings
[    7.402365][    T1] Key type blacklist registered
[    7.407295][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414629][    T1] zbud: loaded
[    7.419061][    T1] NFS: Registering the id_resolver key type
[    7.424935][    T1] Key type id_resolver registered
[    7.429843][    T1] Key type id_legacy registered
[    7.434626][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.442085][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450227][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457538][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465711][    T1] fuse: init (API version 7.34)
[    7.470789][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.478119][    T1] orangefs_init: module version upstream loaded
[    7.484307][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.571471][    T1] xor: measuring software checksum speed
[    7.583718][    T1]    arm4regs        :  1485 MB/sec
[    7.599894][    T1]    8regs           :   890 MB/sec
[    7.612642][    T1]    32regs          :  1296 MB/sec
[    7.617723][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.623711][    T1] async_tx: api initialized (async)
[    7.628796][    T1] Key type asymmetric registered
[    7.633649][    T1] Asymmetric key parser 'x509' registered
[    7.639296][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.647516][    T1] io scheduler bfq registered
[    7.801703][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.811408][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.821376][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.831549][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.841722][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.851898][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.862595][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.873285][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.883969][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.894972][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.903304][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.909525][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.920468][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.931409][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.942351][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.949972][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.957107][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.963884][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.971668][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.978420][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.987594][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.993935][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.002713][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.011651][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.018409][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.025961][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.032438][    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 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.048260][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.060667][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.066974][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.076081][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.082326][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.089826][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.097459][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.104564][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.112543][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.120524][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.128578][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.135600][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.141307][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.148305][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.155847][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.161647][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.169015][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230771][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240898][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300770][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311144][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319430][    T1] printk: console [ttyS0] disabled
[    8.324569][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334368][    T1] printk: console [ttyS0] enabled
[    8.334368][    T1] printk: console [ttyS0] enabled
[    8.344198][    T1] printk: bootconsole [earlycon0] disabled
[    8.344198][    T1] printk: bootconsole [earlycon0] disabled
[    8.356251][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.373046][    T1] loop: module loaded
[    8.377285][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384216][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398395][    T1] scsi host0: sata_mv
[    8.402844][    T1] scsi host1: sata_mv
[    8.407187][    T1] scsi host2: sata_mv
[    8.411561][    T1] scsi host3: sata_mv
[    8.415616][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.424057][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432469][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440882][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450654][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459518][    T1] scsi host4: sata_mv
[    8.463951][    T1] scsi host5: sata_mv
[    8.468013][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472886][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479334][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485857][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491326][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497973][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503517][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510489][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517504][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526116][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537402][    T1] libphy: Fixed MDIO Bus: probed
[    8.543512][    T1] libphy: orion_mdio_bus: probed
[    8.548501][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.570082][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579545][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589200][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596562][    T1] ehci-pci: EHCI PCI platform driver
[    8.601821][    T1] ehci-orion: EHCI orion driver
[    8.606710][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612997][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621566][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649947][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656930][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665962][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673961][    T1] usb usb1: Product: EHCI Host Controller
[    8.679582][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687047][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693075][    T1] hub 1-0:1.0: USB hub found
[    8.697619][    T1] hub 1-0:1.0: 1 port detected
[    8.702993][    T1] usbcore: registered new interface driver usb-storage
[    8.710164][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716741][    T1] i2c /dev entries driver
[    8.722614][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728856][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736122][    T1] device-mapper: uevent: version 1.0.3
[    8.741785][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751375][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758681][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766086][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773532][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780420][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786570][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795336][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801614][    T1] drop_monitor: Initializing network drop monitor service
[    8.809586][    T1] NET: Registered protocol family 10
[    8.814824][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822193][    T1] Segment Routing with IPv6
[    8.826579][    T1] RPL Segment Routing with IPv6
[    8.831500][    T1] NET: Registered protocol family 17
[    8.836879][    T1] Key type dns_resolver registered
[    8.842546][    T1] registered taskstats version 1
[    8.847371][    T1] Loading compiled-in X.509 certificates
[    8.853276][    T1] zswap: loaded using pool lzo/zbud
[    8.858645][    T1] Key type ._fscrypt registered
[    8.863448][    T1] Key type .fscrypt registered
[    8.868085][    T1] Key type fscrypt-provisioning registered
[    8.875367][    T1] Key type big_key registered
[    8.904398][    T1] Key type encrypted registered
[    8.989943][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141463][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191699][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200649][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208533][  T117] usb 1-1: Product: USB2.0 Hub
[    9.214002][  T117] hub 1-1:1.0: USB hub found
[    9.218827][  T117] hub 1-1:1.0: 4 ports detected
[    9.939936][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.091197][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.100316][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.108377][  T117] usb 1-1.2: Product: Ultra
[   10.112769][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.117758][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.124611][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.132129][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.210911][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.221238][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.230600][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.236848][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.282449][    T7]  sda: sda1
[   11.288479][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.689935][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   14.969963][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.981648][   T98] ata3.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   14.988558][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.003087][   T98] ata3.00: configured for UDMA/133
[   15.018500][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1CH1 CC47 PQ: 0 ANSI: 5
[   15.028365][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   15.037586][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   15.043659][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   15.049280][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.076342][    T7]  sdb: sdb1 sdb2 sdb3
[   15.081868][    T7] sd 2:0:0:0: [sdb] Attached SCSI disk
[   20.579933][  T100] ata4: link is slow to respond, please be patient (ready=0)
[   25.059934][  T100] ata4: SRST failed (errno=-16)
[   27.239962][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   27.251642][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   27.258557][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   27.275318][  T100] ata4.00: configured for UDMA/133
[   27.290772][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[   27.300643][    T7] sd 3:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   27.309042][    T7] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[   27.315469][    T7] sd 3:0:0:0: [sdc] Write Protect is off
[   27.321155][    T7] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   27.348673][    T7]  sdc: sdc1 sdc2 sdc3
[   27.354215][    T7] sd 3:0:0:0: [sdc] Attached SCSI disk
[   27.651434][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   27.670780][    T1] Freeing unused kernel memory: 1024K
[   27.676808][    T1] Checked W+X mappings: passed, no W+X pages found
[   27.683231][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   28.717157][  T152] usbcore: registered new interface driver uas
[   34.471114][    C0] random: crng init done
[   35.149966][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   35.161706][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   35.169029][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   35.183602][   T94] ata1.00: configured for UDMA/133
[   35.189035][  T117] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   35.202175][  T108] sd 0:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   35.215366][  T108] sd 0:0:0:0: [sdd] 4096-byte physical blocks
[   35.221563][  T108] sd 0:0:0:0: [sdd] Write Protect is off
[   35.227264][  T108] sd 0:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   35.259632][  T108]  sdd: sdd1 sdd2
[   35.269784][  T108] sd 0:0:0:0: [sdd] Attached SCSI disk
[   38.890392][  T157] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@3
[   39.231461][   T98] ata3: SATA link down (SStatus 0 SControl 300)
�
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE 

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Not Good
Fan 1: Not Good
Fan 2: Not Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>
Re: Debian on Synology DS413J
April 05, 2023 04:26PM
/boot/uEnv.txt :

GNU nano 5.4 /media/billyit/rootfs/boot/uEnv.txt

         
ipaddr=192.168.10.200
serverip=192.168.10.161
netmask=255.255.255.0
gatewayip=192.168.10.1
mtdparts=mtdparts=spi0.0:1M(u-boot),-(data)
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=1>
dtb_file=/boot/dts/kirkwood-ds413j.dtb
ethaddr=52:3b:20:xx:xx:xx
Re: Debian on Synology DS413J
April 05, 2023 04:32PM
Bodhi,

Good news, we have a shell again !

i just changed "chmod +x on the uEnv.txt and done :

root@Arc-170:~/tools#  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 % [......................................................................]
  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:  0 MiB
*** Warning - readenv() failed, using default environment

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... 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: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	60749824  	00000000-01	83

## 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 ...
310 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 992 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3952 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] 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
[    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: Synology DS413j
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    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] 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.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015974][    T0] Console: colour dummy device 80x30
[    0.021227][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032550][    T0] pid_max: default: 32768 minimum: 301
[    0.038216][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051841][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061546][    T0] CPU: Testing write buffer coherency: ok
[    0.069215][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076390][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082587][    T1] rcu: Hierarchical SRCU implementation.
[    0.089339][    T1] devtmpfs: initialized
[    0.101876][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112563][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148210][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155430][    T1] prandom: seed boundary self test passed
[    0.164203][    T1] prandom: 100 self tests passed
[    0.169061][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176374][    T1] NET: Registered protocol family 16
[    0.182215][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190652][    T1] audit: initializing netlink subsys (disabled)
[    0.197961][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198316][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213728][    T1] cpuidle: using governor ladder
[    0.218674][    T1] cpuidle: using governor menu
[    0.223769][    T1] Feroceon L2: Enabling L2
[    0.228091][    T1] Feroceon L2: Cache support initialised.
[    0.243864][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897403][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923914][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118656][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288666][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458660][    T1] raid6: int32x4  gen()   145 MB/s
[    4.628711][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798694][    T1] raid6: int32x2  gen()   186 MB/s
[    4.968627][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138739][    T1] raid6: int32x1  gen()   130 MB/s
[    5.308654][    T1] raid6: int32x1  xor()    79 MB/s
[    5.313646][    T1] raid6: using algorithm int32x2 gen() 186 MB/s
[    5.319779][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325375][    T1] raid6: using intx1 recovery algorithm
[    5.331035][    T1] vgaarb: loaded
[    5.334903][    T1] SCSI subsystem initialized
[    5.339811][    T1] usbcore: registered new interface driver usbfs
[    5.346068][    T1] usbcore: registered new interface driver hub
[    5.352182][    T1] usbcore: registered new device driver usb
[    5.358105][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363812][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373714][    T1] PTP clock support registered
[    5.379877][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470424][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475147][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507474][    T1] NET: Registered protocol family 2
[    5.520050][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540245][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549376][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569980][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577899][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600122][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608135][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629912][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637814][    T1] NET: Registered protocol family 1
[    5.660455][    T1] RPC: Registered named UNIX socket transport module.
[    5.667104][    T1] RPC: Registered udp transport module.
[    5.689890][    T1] RPC: Registered tcp transport module.
[    5.695321][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709900][    T1] PCI: CLS 0 bytes, default 32
[    5.719901][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727518][   T58] Trying to unpack rootfs image as initramfs...
[    7.055409][   T58] Freeing initrd memory: 9448K
[    7.397103][    T1] Initialise system trusted keyrings
[    7.402377][    T1] Key type blacklist registered
[    7.407313][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414646][    T1] zbud: loaded
[    7.419066][    T1] NFS: Registering the id_resolver key type
[    7.424938][    T1] Key type id_resolver registered
[    7.429843][    T1] Key type id_legacy registered
[    7.434626][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.442084][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450228][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457538][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465710][    T1] fuse: init (API version 7.34)
[    7.470786][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.478119][    T1] orangefs_init: module version upstream loaded
[    7.484309][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.571407][    T1] xor: measuring software checksum speed
[    7.583616][    T1]    arm4regs        :  1485 MB/sec
[    7.599791][    T1]    8regs           :   890 MB/sec
[    7.612535][    T1]    32regs          :  1296 MB/sec
[    7.617610][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.623598][    T1] async_tx: api initialized (async)
[    7.628682][    T1] Key type asymmetric registered
[    7.633535][    T1] Asymmetric key parser 'x509' registered
[    7.639182][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.647402][    T1] io scheduler bfq registered
[    7.801578][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.811295][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.821262][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.831436][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.841609][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.851785][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.862482][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.873172][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.883856][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.894856][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.903192][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.909412][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.920355][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.931295][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.942237][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.949844][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.956994][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.963770][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.971557][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.978307][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.987482][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.993823][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.002599][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.011537][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.018296][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.025847][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.032325][    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 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.048146][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.060554][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.066860][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.075967][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.082213][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.089722][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.097354][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.104459][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.112438][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.120420][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.128473][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.135495][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.141203][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.148201][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.155742][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.161541][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.168911][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230734][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240844][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300718][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311076][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319361][    T1] printk: console [ttyS0] disabled
[    8.324495][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334297][    T1] printk: console [ttyS0] enabled
[    8.334297][    T1] printk: console [ttyS0] enabled
[    8.344119][    T1] printk: bootconsole [earlycon0] disabled
[    8.344119][    T1] printk: bootconsole [earlycon0] disabled
[    8.356161][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.372952][    T1] loop: module loaded
[    8.377189][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384118][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398293][    T1] scsi host0: sata_mv
[    8.402757][    T1] scsi host1: sata_mv
[    8.407095][    T1] scsi host2: sata_mv
[    8.411471][    T1] scsi host3: sata_mv
[    8.415531][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.423977][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432391][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440803][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450573][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459432][    T1] scsi host4: sata_mv
[    8.463881][    T1] scsi host5: sata_mv
[    8.467940][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472819][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479259][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485777][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491248][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497894][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503439][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510412][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517415][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526028][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537311][    T1] libphy: Fixed MDIO Bus: probed
[    8.543435][    T1] libphy: orion_mdio_bus: probed
[    8.548432][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.569972][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579435][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589095][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596457][    T1] ehci-pci: EHCI PCI platform driver
[    8.601715][    T1] ehci-orion: EHCI orion driver
[    8.606606][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612902][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621471][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649911][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656892][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665927][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673925][    T1] usb usb1: Product: EHCI Host Controller
[    8.679548][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687011][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693025][    T1] hub 1-0:1.0: USB hub found
[    8.697558][    T1] hub 1-0:1.0: 1 port detected
[    8.702925][    T1] usbcore: registered new interface driver usb-storage
[    8.710097][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716676][    T1] i2c /dev entries driver
[    8.722569][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728816][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736087][    T1] device-mapper: uevent: version 1.0.3
[    8.741745][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751342][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758652][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766060][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773506][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780392][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786544][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795302][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801577][    T1] drop_monitor: Initializing network drop monitor service
[    8.809548][    T1] NET: Registered protocol family 10
[    8.814789][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822157][    T1] Segment Routing with IPv6
[    8.826544][    T1] RPL Segment Routing with IPv6
[    8.831466][    T1] NET: Registered protocol family 17
[    8.836840][    T1] Key type dns_resolver registered
[    8.842497][    T1] registered taskstats version 1
[    8.847327][    T1] Loading compiled-in X.509 certificates
[    8.853229][    T1] zswap: loaded using pool lzo/zbud
[    8.858601][    T1] Key type ._fscrypt registered
[    8.863405][    T1] Key type .fscrypt registered
[    8.868050][    T1] Key type fscrypt-provisioning registered
[    8.875334][    T1] Key type big_key registered
[    8.904376][    T1] Key type encrypted registered
[    8.989905][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141429][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191603][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200553][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208438][  T117] usb 1-1: Product: USB2.0 Hub
[    9.213905][  T117] hub 1-1:1.0: USB hub found
[    9.218731][  T117] hub 1-1:1.0: 4 ports detected
[    9.939899][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.091101][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.100219][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.108281][  T117] usb 1-1.2: Product: Ultra
[   10.112672][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.117662][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.124513][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.132030][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.210815][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.221143][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.230504][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.236752][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.282355][    T7]  sda: sda1
[   11.288383][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.689897][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   14.969926][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.981605][   T98] ata3.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   14.988523][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.003056][   T98] ata3.00: configured for UDMA/133
[   15.018464][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1CH1 CC47 PQ: 0 ANSI: 5
[   15.028325][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   15.037542][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   15.043615][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   15.049236][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.084220][    T7]  sdb: sdb1 sdb2 sdb3
[   15.089718][    T7] sd 2:0:0:0: [sdb] Attached SCSI disk
[   20.579896][  T100] ata4: link is slow to respond, please be patient (ready=0)
[   25.059896][  T100] ata4: SRST failed (errno=-16)
[   26.469923][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   26.481599][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   26.488512][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   26.505272][  T100] ata4.00: configured for UDMA/133
[   26.520728][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[   26.530629][    T7] sd 3:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   26.539030][    T7] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[   26.545447][    T7] sd 3:0:0:0: [sdc] Write Protect is off
[   26.551128][    T7] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   26.581345][    T7]  sdc: sdc1 sdc2 sdc3
[   26.586851][    T7] sd 3:0:0:0: [sdc] Attached SCSI disk
[   26.881402][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   26.900774][    T1] Freeing unused kernel memory: 1024K
[   26.906807][    T1] Checked W+X mappings: passed, no W+X pages found
[   26.913229][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   27.966375][  T156] usbcore: registered new interface driver uas
[   33.909405][    C0] random: crng init done
[   34.409950][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   34.421674][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   34.428991][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   34.443575][   T94] ata1.00: configured for UDMA/133
[   34.449016][  T117] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   34.462187][  T108] sd 0:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   34.475437][  T108] sd 0:0:0:0: [sdd] 4096-byte physical blocks
[   34.481660][  T108] sd 0:0:0:0: [sdd] Write Protect is off
[   34.487366][  T108] sd 0:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   34.522124][  T108]  sdd: sdd1 sdd2
[   34.532296][  T108] sd 0:0:0:0: [sdd] Attached SCSI disk
[   38.170347][  T155] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@3
[   38.511429][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   43.211522][  T155] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@4
[   43.530393][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   43.542161][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.549937][   T96] ata2.00: ATA-9: ST1000DM003-1ER162, CC43, max UDMA/133
[   43.556899][   T96] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   43.575152][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.584395][   T96] ata2.00: configured for UDMA/133
[   43.589848][  T117] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC43 PQ: 0 ANSI: 5
[   43.603132][  T108] sd 1:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   43.616640][  T108] sd 1:0:0:0: [sde] 4096-byte physical blocks
[   43.622846][  T108] sd 1:0:0:0: [sde] Write Protect is off
[   43.628560][  T108] sd 1:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   43.659336][  T108]  sde: sde1 sde2 sde3
[   43.670404][  T108] sd 1:0:0:0: [sde] Attached SCSI disk
[   43.861551][   T98] ata3: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   48.890395][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.261463][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   54.267632][   T98] ata3.00: disabled
[   54.271392][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.277558][  T117] ata3.00: detaching (SCSI 2:0:0:0)
[   54.297948][  T117] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[   54.309544][  T117] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   54.330044][  T117] sd 2:0:0:0: [sdb] Stopping disk
[   54.340043][  T117] sd 2:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 15645/1900544 files, 389794/7593728 blocks
done.
[   58.633910][  T191] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   58.777081][  T191] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
[   59.622100][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   59.628260][  T100] ata4.00: disabled
[   59.640843][  T117] ata4.00: detaching (SCSI 3:0:0:0)
Setting hostname to 'debian'...done.
[   59.651723][  T117] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[   59.665126][  T117] sd 3:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   59.678548][  T117] sd 3:0:0:0: [sdc] Stopping disk
[   59.683652][  T117] sd 3:0:0:0: [sdc] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   61.424526][  T380] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   61.634720][  T373] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   61.691383][  T373] sd 0:0:0:0: Attached scsi generic sg1 type 0
[   61.750096][  T373] sd 1:0:0:0: Attached scsi generic sg2 type 0
[   61.844341][  T383] orion_wdt: Initial timeout 21 sec
[   62.264931][  T377] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
Activating swap:.
[   63.347174][  T522] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
[   68.748276][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   68.758925][  T117] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.10.200 from 192.168.10.1
bound to 192.168.10.200 -- renewal in 20763 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1073 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1113 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
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: Wed Dec 31 16:00:46 PST 1969 on ttyS0
debian
192.168.10.20
Synology DS413j
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.0
Wed Dec 31 16:01:20 PST 1969 up 1 minute
root@debian:~# 

Re: Debian on Synology DS413J
April 05, 2023 04:34PM
root@debian:~# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda         8:0    1    29G  0 disk 
`-sda1      8:1    1    29G  0 part /
sdd         8:48   0 931.5G  0 disk 
|-sdd1      8:49   0   100G  0 part 
`-sdd2      8:50   0 831.5G  0 part 
sde         8:64   0 931.5G  0 disk 
|-sde1      8:65   0   2.4G  0 part 
|-sde2      8:66   0     2G  0 part 
`-sde3      8:67   0 926.9G  0 part 
mtdblock0  31:0    0     1M  0 disk 
mtdblock1  31:1    0     7M  0 disk 
root@debian:~#

root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            240M     0  240M   0% /dev
tmpfs            49M  348K   49M   1% /run
/dev/sda1        29G  885M   27G   4% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            98M     0   98M   0% /dev/shm
tmpfs           245M     0  245M   0% /tmp

root@debian:~# cat /proc/cmdline 
console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial


root@debian:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00100000 00001000 "u-boot"
mtd1: 00700000 00001000 "data"
Re: Debian on Synology DS413J
April 05, 2023 05:13PM
Good! so we are back to 2 HDDs.

> root@debian:~# lsblk
> NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
> sda         8:0    1    29G  0 disk 
> `-sda1      8:1    1    29G  0 part /
> sdd         8:48   0 931.5G  0 disk 
> |-sdd1      8:49   0   100G  0 part 
> `-sdd2      8:50   0 831.5G  0 part 
> sde         8:64   0 931.5G  0 disk 
> |-sde1      8:65   0   2.4G  0 part 
> |-sde2      8:66   0     2G  0 part 
> `-sde3      8:67   0 926.9G  0 part 
> mtdblock0  31:0    0     1M  0 disk 
> mtdblock1  31:1    0     7M  0 disk 
> root@debian:~# 
>
>
>
> root@debian:~# df -h
> Filesystem      Size  Used Avail Use% Mounted on
> udev            240M     0  240M   0% /dev
> tmpfs            49M  348K   49M   1% /run
> /dev/sda1        29G  885M   27G   4% /
> tmpfs           5.0M     0  5.0M   0% /run/lock
> tmpfs            98M     0   98M   0% /dev/shm
> tmpfs           245M     0  245M   0% /tmp
>

Label this 100G partition

e2label /dev/sdd1 sata_rootfs

Format it as Ext3. Mount it and extract the rootfs to it. Make sure to copy the latest DTB to the /boot/dts folder.

Change the uEnv.txt

ipaddr=192.168.10.200
serverip=192.168.10.161
netmask=255.255.255.0
gatewayip=192.168.10.1
mtdparts=mtdparts=spi0.0:1M(u-boot),-(data)
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10
dtb_file=/boot/dts/kirkwood-ds413j.dtb
ethaddr=52:3b:20:xx:xx:xx

Sync and shutdown
sync
shutdown -h now

And run kwboot booting again. This time it will load kernel from USB, but the rootfs will be on HDD.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 06, 2023 05:43AM
root@debian:~# cat /proc/▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Not Good
Fan 1: Not Good
Fan 2: Not Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>

The box is not stable (maybe it's normal at this point) it rebooted (i think )
Re: Debian on Synology DS413J
April 06, 2023 05:58AM
root@debian:~# cat /boot/uEnv.txt
ipaddr=192.168.10.200
serverip=192.168.10.161
netmask=255.255.255.0
gatewayip=192.168.10.1
mtdparts=mtdparts=spi0.0:1M(u-boot),-(data)
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $mtdparts earlyprintk=serial
dtb_file=/boot/dts/kirkwood-ds413j.dtb
ethaddr=52:3b:20:

mkfs.ext3 on sdd1
label it sata_rootfs
extract Debian kirkwood 5.13.6
cp /boot/dts/kirk.... ds413j.dtb to /mnt/boot/dts

sync
shutdown -h now
Re: Debian on Synology DS413J
April 06, 2023 06:11AM
ok, this is the boot :
root@Arc-170:~/tools#  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 % [......................................................................]
  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:  0 MiB
*** Warning - readenv() failed, using default environment

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... 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: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## 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 ...
315 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3951 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] 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
[    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: Synology DS413j
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    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] 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.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015970][    T0] Console: colour dummy device 80x30
[    0.021218][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032542][    T0] pid_max: default: 32768 minimum: 301
[    0.038208][    T0] LSM: Security Framework initializing
[    0.043726][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051834][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061535][    T0] CPU: Testing write buffer coherency: ok
[    0.069208][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076391][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082587][    T1] rcu: Hierarchical SRCU implementation.
[    0.089331][    T1] devtmpfs: initialized
[    0.101839][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112520][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148170][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155396][    T1] prandom: seed boundary self test passed
[    0.164179][    T1] prandom: 100 self tests passed
[    0.169035][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176343][    T1] NET: Registered protocol family 16
[    0.182189][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190634][    T1] audit: initializing netlink subsys (disabled)
[    0.197944][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198299][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213715][    T1] cpuidle: using governor ladder
[    0.218657][    T1] cpuidle: using governor menu
[    0.223748][    T1] Feroceon L2: Enabling L2
[    0.228073][    T1] Feroceon L2: Cache support initialised.
[    0.243867][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897154][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923687][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118752][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288633][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458657][    T1] raid6: int32x4  gen()   145 MB/s
[    4.628691][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798671][    T1] raid6: int32x2  gen()   189 MB/s
[    4.968628][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138739][    T1] raid6: int32x1  gen()   131 MB/s
[    5.308677][    T1] raid6: int32x1  xor()    78 MB/s
[    5.313664][    T1] raid6: using algorithm int32x2 gen() 189 MB/s
[    5.319797][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325392][    T1] raid6: using intx1 recovery algorithm
[    5.331054][    T1] vgaarb: loaded
[    5.334922][    T1] SCSI subsystem initialized
[    5.339827][    T1] usbcore: registered new interface driver usbfs
[    5.346085][    T1] usbcore: registered new interface driver hub
[    5.352198][    T1] usbcore: registered new device driver usb
[    5.358123][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363829][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373731][    T1] PTP clock support registered
[    5.379895][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470439][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475166][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507500][    T1] NET: Registered protocol family 2
[    5.520066][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540266][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549394][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569999][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577916][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600142][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608151][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629931][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637827][    T1] NET: Registered protocol family 1
[    5.660476][    T1] RPC: Registered named UNIX socket transport module.
[    5.667129][    T1] RPC: Registered udp transport module.
[    5.689908][    T1] RPC: Registered tcp transport module.
[    5.695338][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709916][    T1] PCI: CLS 0 bytes, default 32
[    5.719919][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727545][   T58] Trying to unpack rootfs image as initramfs...
[    7.056361][   T58] Freeing initrd memory: 9448K
[    7.396840][    T1] Initialise system trusted keyrings
[    7.402103][    T1] Key type blacklist registered
[    7.407033][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414365][    T1] zbud: loaded
[    7.418787][    T1] NFS: Registering the id_resolver key type
[    7.424660][    T1] Key type id_resolver registered
[    7.429564][    T1] Key type id_legacy registered
[    7.434347][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441805][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.449948][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457253][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465435][    T1] fuse: init (API version 7.34)
[    7.470509][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.477838][    T1] orangefs_init: module version upstream loaded
[    7.484021][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.572603][    T1] xor: measuring software checksum speed
[    7.584822][    T1]    arm4regs        :  1485 MB/sec
[    7.601036][    T1]    8regs           :   890 MB/sec
[    7.613742][    T1]    32regs          :  1296 MB/sec
[    7.618822][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.624810][    T1] async_tx: api initialized (async)
[    7.629930][    T1] Key type asymmetric registered
[    7.634746][    T1] Asymmetric key parser 'x509' registered
[    7.640429][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.648608][    T1] io scheduler bfq registered
[    7.802953][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.812658][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.822624][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.832796][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.842969][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.853145][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.863842][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.874532][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.885216][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.896216][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.904552][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.910788][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.921730][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.932673][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.943615][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.951236][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.958376][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.965150][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.972936][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.979685][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.988859][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.995200][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.003977][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.012915][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.019673][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.027227][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.033703][    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 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.049523][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.061910][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.068220][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.077332][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.083573][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.091099][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.098713][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.105823][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.113799][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.121780][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.129834][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.136856][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.142563][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.149561][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.157103][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.162904][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.170297][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230752][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240867][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300750][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311129][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319416][    T1] printk: console [ttyS0] disabled
[    8.324550][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334349][    T1] printk: console [ttyS0] enabled
[    8.334349][    T1] printk: console [ttyS0] enabled
[    8.344171][    T1] printk: bootconsole [earlycon0] disabled
[    8.344171][    T1] printk: bootconsole [earlycon0] disabled
[    8.356226][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.373033][    T1] loop: module loaded
[    8.377268][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384198][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398384][    T1] scsi host0: sata_mv
[    8.402833][    T1] scsi host1: sata_mv
[    8.407177][    T1] scsi host2: sata_mv
[    8.411548][    T1] scsi host3: sata_mv
[    8.415600][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.424039][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432452][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440865][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450627][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459494][    T1] scsi host4: sata_mv
[    8.463929][    T1] scsi host5: sata_mv
[    8.467987][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472861][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479312][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485834][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491310][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497956][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503502][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510483][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517499][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526107][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537394][    T1] libphy: Fixed MDIO Bus: probed
[    8.543503][    T1] libphy: orion_mdio_bus: probed
[    8.548494][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.569991][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579453][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589116][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596487][    T1] ehci-pci: EHCI PCI platform driver
[    8.601749][    T1] ehci-orion: EHCI orion driver
[    8.606645][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612937][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621516][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649927][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656910][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665946][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673942][    T1] usb usb1: Product: EHCI Host Controller
[    8.679567][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687029][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693044][    T1] hub 1-0:1.0: USB hub found
[    8.697575][    T1] hub 1-0:1.0: 1 port detected
[    8.702945][    T1] usbcore: registered new interface driver usb-storage
[    8.710128][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716705][    T1] i2c /dev entries driver
[    8.722581][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728833][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736099][    T1] device-mapper: uevent: version 1.0.3
[    8.741762][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751357][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758662][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766068][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773514][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780403][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786552][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795314][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801597][    T1] drop_monitor: Initializing network drop monitor service
[    8.809566][    T1] NET: Registered protocol family 10
[    8.814807][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822174][    T1] Segment Routing with IPv6
[    8.826562][    T1] RPL Segment Routing with IPv6
[    8.831481][    T1] NET: Registered protocol family 17
[    8.836862][    T1] Key type dns_resolver registered
[    8.842526][    T1] registered taskstats version 1
[    8.847354][    T1] Loading compiled-in X.509 certificates
[    8.853248][    T1] zswap: loaded using pool lzo/zbud
[    8.858617][    T1] Key type ._fscrypt registered
[    8.863422][    T1] Key type .fscrypt registered
[    8.868069][    T1] Key type fscrypt-provisioning registered
[    8.875350][    T1] Key type big_key registered
[    8.904465][    T1] Key type encrypted registered
[    8.989923][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141444][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191647][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200596][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208479][  T117] usb 1-1: Product: USB2.0 Hub
[    9.213948][  T117] hub 1-1:1.0: USB hub found
[    9.218775][  T117] hub 1-1:1.0: 4 ports detected
[    9.939916][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.091145][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.100264][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.108326][  T117] usb 1-1.2: Product: Ultra
[   10.112718][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.117706][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.124561][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.132078][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.210858][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.221187][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.230546][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.236795][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.282021][    T7]  sda: sda1
[   11.288052][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.689915][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   14.899945][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.911630][   T98] ata3.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   14.918557][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   14.933089][   T98] ata3.00: configured for UDMA/133
[   14.948503][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1CH1 CC47 PQ: 0 ANSI: 5
[   14.958352][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   14.967573][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   14.973643][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   14.979267][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.011766][    T7]  sdb: sdb1 sdb2 sdb3
[   15.017256][    T7] sd 2:0:0:0: [sdb] Attached SCSI disk
[   20.509914][  T100] ata4: link is slow to respond, please be patient (ready=0)
[   24.989915][  T100] ata4: SRST failed (errno=-16)
[   26.329940][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   26.341629][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   26.348538][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   26.365300][  T100] ata4.00: configured for UDMA/133
[   26.380753][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[   26.390656][    T7] sd 3:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   26.399058][    T7] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[   26.405478][    T7] sd 3:0:0:0: [sdc] Write Protect is off
[   26.411157][    T7] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   26.438559][    T7]  sdc: sdc1 sdc2 sdc3
[   26.444095][    T7] sd 3:0:0:0: [sdc] Attached SCSI disk
[   26.741420][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   26.760770][    T1] Freeing unused kernel memory: 1024K
[   26.766797][    T1] Checked W+X mappings: passed, no W+X pages found
[   26.773222][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   27.765290][  T155] usbcore: registered new interface driver uas
[   33.650220][    C0] random: crng init done
[   34.239943][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   34.251678][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   34.258995][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   34.273589][   T94] ata1.00: configured for UDMA/133
[   34.279027][   T17] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   34.292190][  T108] sd 0:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   34.305397][  T108] sd 0:0:0:0: [sdd] 4096-byte physical blocks
[   34.311605][  T108] sd 0:0:0:0: [sdd] Write Protect is off
[   34.317321][  T108] sd 0:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   34.357686][  T108]  sdd: sdd1 sdd2
[   34.367839][  T108] sd 0:0:0:0: [sdd] Attached SCSI disk
[   38.010370][  T154] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@3
[   38.351436][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   43.051568][  T154] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@4
[   43.370411][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   43.382187][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.389958][   T96] ata2.00: ATA-9: ST1000DM003-1ER162, CC43, max UDMA/133
[   43.396923][   T96] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   43.415184][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.424429][   T96] ata2.00: configured for UDMA/133
[   43.429925][   T17] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC43 PQ: 0 ANSI: 5
[   43.443178][  T108] sd 1:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   43.456663][  T108] sd 1:0:0:0: [sde] 4096-byte physical blocks
[   43.462870][  T108] sd 1:0:0:0: [sde] Write Protect is off
[   43.468578][  T108] sd 1:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   43.496750][  T108]  sde: sde1 sde2 sde3
[   43.507770][  T108] sd 1:0:0:0: [sde] Attached SCSI disk
[   43.701663][   T98] ata3: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   48.730434][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.101480][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   54.107647][   T98] ata3.00: disabled
[   54.111557][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.117747][   T17] ata3.00: detaching (SCSI 2:0:0:0)
[   54.138025][   T17] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[   54.149618][   T17] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   54.170055][   T17] sd 2:0:0:0: [sdb] Stopping disk
[   54.180081][   T17] sd 2:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdd1] fsck.ext3 -a -C0 /dev/sdd1
sata_rootfs: clean, 15643/6553600 files, 784241/26214400 blocks
done.
[   59.291663][  T191] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
[   59.461674][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   59.467971][  T100] ata4.00: disabled
[   59.471722][   T17] ata4.00: detaching (SCSI 3:0:0:0)
[   59.484763][   T17] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[   59.497975][   T17] sd 3:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   59.520139][   T17] sd 3:0:0:0: [sdc] Stopping disk
[   59.526926][   T17] sd 3:0:0:0: [sdc] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   60.129832][  T191] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   63.111517][  T374] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   63.688067][  T374] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   63.699547][  T380] orion_wdt: Initial timeout 21 sec
[   63.780344][  T374] sd 0:0:0:0: Attached scsi generic sg1 type 0
[   63.831732][  T374] sd 1:0:0:0: Attached scsi generic sg2 type 0
[   64.041827][  T377] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
Activating swap:.
[   69.060271][  T526] EXT4-fs (sdd1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is not mounted
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 15649/1900544 files, 389809/7593728 blocks
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
[   75.027490][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   75.038153][   T17] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.10.200 from 192.168.10.1
bound to 192.168.10.200 -- renewal in 20175 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1080 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1115 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
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: Wed Dec 31 16:04:27 PST 1969 from 192.168.10.10 on pts/0
debian
192.168.10.20
Synology DS413j
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.0
Wed Dec 31 16:01:28 PST 1969 up 1 minute

root@debian:~# lsblk -o name,label
NAME      LABEL
sda
`-sda1    rootfs
sdd
|-sdd1    sata_rootfs
`-sdd2
sde
|-sde1
|-sde2
`-sde3
mtdblock0
mtdblock1

root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            240M     0  240M   0% /dev
tmpfs            49M  348K   49M   1% /run
/dev/sdd1        98G  886M   93G   1% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            98M     0   98M   0% /dev/shm
tmpfs           245M     0  245M   0% /tmp
Re: Debian on Synology DS413J
April 06, 2023 02:27PM
Congrats!

The system is running with SATA rootfs.

root@debian:~# lsblk -o name,label
NAME      LABEL
sda
`-sda1    rootfs
sdd
|-sdd1    sata_rootfs
`-sdd2
sde
|-sde1
|-sde2
`-sde3
mtdblock0
mtdblock1


root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            240M     0  240M   0% /dev
tmpfs            49M  348K   49M   1% /run
/dev/sdd1        98G  886M   93G   1% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            98M     0   98M   0% /dev/shm
tmpfs           245M     0  245M   0% /tmp

Now you can mount the USB and the other HDD, and make them visible.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/06/2023 02:29PM by bodhi.
Re: Debian on Synology DS413J
April 06, 2023 02:34PM
bodhi Wrote:
-------------------------------------------------------
> Congrats!
>
> The system is running with SATA rootfs.
>
> root@debian:~# lsblk -o name,label
>
> NAME      LABEL
> sda
> `-sda1    rootfs
> sdd
> |-sdd1    sata_rootfs
> `-sdd2
> sde
> |-sde1
> |-sde2
> `-sde3
> mtdblock0
> mtdblock1
>
>
>
> root@debian:~# df -h
>
> Filesystem      Size  Used Avail Use% Mounted on
> udev            240M     0  240M   0% /dev
> tmpfs            49M  348K   49M   1% /run
> /dev/sdd1        98G  886M   93G   1% /
> tmpfs           5.0M     0  5.0M   0% /run/lock
> tmpfs            98M     0   98M   0% /dev/shm
> tmpfs           245M     0  245M   0% /tmp
>
>
> Now you can mount the USB and the other HDD, and
> make them visible.

Thanks :)
What is our next step...
We miss two disks and after "long time" the box reboot as you can see on my previous post.
Re: Debian on Synology DS413J
April 06, 2023 02:39PM
Quote

We miss two disks and after "long time" the box reboot as you can see on my previous post.

Did you keep track of exactly how long? The box reboots by itseld could have been the watchdog. Or the GPIO for poweroff is misused by other peripherals.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 06, 2023 02:46PM
No and I don't find anything in log.
It will be difficult to diagnostic.
I'll try to monitor it tomorrow to find how long it is.
Maybe a security shutdown because no fans are connected for now until I can rebuild the nas
Re: Debian on Synology DS413J
April 06, 2023 03:17PM
> Maybe a security shutdown because no fans are
> connected for now until I can rebuild the nas

You probably right, if there is a hardware watchdog. The 3.5" HDDs generate a lot of heat.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 06, 2023 03:27PM
OK let me know when you have time to make a new dtb. I'l ll try to put some fans to test if the nas can be up
Re: Debian on Synology DS413J
April 07, 2023 03:19AM
Every 10.0s: sensors                            faucon: Fri Apr  7 01:18:30 2023

gpio_fan-isa-0000
Adapter: ISA adapter
fan1:           0 RPM  (min =    0 RPM, max = 5000 RPM)  ALARM

kirkwood_thermal-virtual-0
Adapter: Virtual device
temp1:        +51.4 C

i'm trying to monitored temperature
Re: Debian on Synology DS413J
April 07, 2023 04:19AM
Every 10.0s: sensors                            faucon: Wed Dec 31 16:03:41 1969

gpio_fan-isa-0000
Adapter: ISA adapter
fan1:           0 RPM  (min =    0 RPM, max = 5000 RPM)  ALARM

kirkwood_thermal-virtual-0
Adapter: Virtual device
temp1:        +52.1 C

My 2 fans aren't working (i put the cables to cool down without remounting the box)
they were working before on stock u-boot but not in linux
Re: Debian on Synology DS413J
April 07, 2023 04:33AM
Every 10.0s: sensors                            faucon: Fri Apr  7 02:32:28 2023

gpio_fan-isa-0000
Adapter: ISA adapter
fan1:        2500 RPM  (min =    0 RPM, max = 5000 RPM)  ALARM

kirkwood_thermal-virtual-0
Adapter: Virtual device
temp1:        +53.6 C

i use echo -n 1 > /sys/class/hwmon/hwmon0/pwm1_enable
Re: Debian on Synology DS413J
April 07, 2023 05:47AM
I watch every 10 seconds the sensors, the last message was :
root@faucon:~# watch -n 10 sensors
Every 10.0s: sensors                            faucon: Fri Apr  7 03:41:29 2023

gpio_fan-isa-0000
Adapter: ISA adapter
fan1:        4600 RPM  (min =    0 RPM, max = 5000 RPM)

kirkwood_thermal-virtual-0
Adapter: Virtual device
temp1:        +47.0 C

The box was up for about 1:30 hour
Re: Debian on Synology DS413J
April 07, 2023 02:29PM
Quote

root@faucon:~# watch -n 10 sensors
Every 10.0s: sensors faucon: Fri Apr 7 03:41:29 2023

gpio_fan-isa-0000
Adapter: ISA adapter
fan1: 4600 RPM (min = 0 RPM, max = 5000 RPM)

kirkwood_thermal-virtual-0
Adapter: Virtual device
temp1: +47.0 C

The box was up for about 1:30 hour

That's great!

Also run
hddtemp -q /dev/sdd
That fan speed 4600 RPM should go down eventually.

If you can run for another few hours or until tomorrow then I think we should try the last DTB in this thread. I'll upload it again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 07, 2023 04:38PM
I can't the box "crashed" either if I put fans at 4600 rpm. I put it in "manual" to try cool down.

56 -> 47 but crashed / reboot to stock uboot

I'll try the "newest dtb"
Re: Debian on Synology DS413J
April 08, 2023 05:35PM
Hi Bodhi,

i'm trying to reverse engineering the dtb... i'm close to it but can't find how to extract the information :

strings output_file2 | grep 413j
Apply DS 413j GPIO


i have a file output_file2 that contains "data" and inside date i have some interesting informations that i want :) like :
strings output_file2 | grep gpio arch/arm/mach-feroceon-kw/./synology-gpio.c
mv_gpio

Can you help extract output_file2 ?
Re: Debian on Synology DS413J
April 08, 2023 05:49PM
Billy,

> i'm trying to reverse engineering the dtb.

The command you are looking for is dtc.
apt-get install device-tree-compiler
Run dtc to decompile the DTB to a file in DTS format.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: