Welcome! Log In Create A New Profile

Advanced

Fully working armada-385-synology-ds216j.dts: green and amber HDD LEDs, LAN LED, LED brightness, chassis buttons, and everything else

Posted by _ae9o 
Hello everyone!

I'd like to share some good results with the community.

I've successfully adapted the Device Tree for the Synology DS216j NAS. All hardware is working perfectly, including:
  1. Individual access to each drive's LED via GPIO. Both green and amber LEDs are available.
  2. Customizable LAN LED behavior. Now it can blink like in the stock DSM OS.
  3. Adjustable brightness for all LEDs.
  4. Power and Reset chassis buttons are accessible via the UART1 bus.
I believe the issues that prevent these features from working on other Synology NAS devices with similar architectures can be fixed in a similar way. Just as I fixed them in this Device Tree.

This is the main repository with the Device Tree: https://github.com/ae9o/armada-385-synology-ds216j.dts

I've also prepared several additional services that allow to fully reproduce the behavior of the stock DSM OS after installing Debian:
  1. This service turns on/off the LEDs based on the hd-idle service's actions: https://github.com/ae9o/diskstation-ledd
  2. This is handler for chassis button presses: https://github.com/ae9o/diskstation-keyd
Hope this will be useful to someone.
I have a RackStation RS816 with Armada 385 SOC, so perhaps this will be helpful when I start working on support for it.

Ray
_ae9o,

> I've successfully adapted the Device Tree for the
> Synology DS216j NAS.

Cool! could you also post the bootlog (serial bootlog prefered, so we can see how you boot the box). Thanks!

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



Edited 1 time(s). Last edit at 02/05/2026 11:47AM by bodhi.
Ray,

> I have a RackStation RS816 with Armada 385 SOC, so
> perhaps this will be helpful when I start working
> on support for it.
>
> Ray

RS816 is basically done here:

Quote
https://forum.doozan.com/read.php?2,32146

Synolgy RS816 (Armada 385) Installation: see Installation with USB rootfs (Section I). And see Installation with HDD rootfs (Section II).
https://forum.doozan.com/read.php?2,76314,91094#msg-91094

IIRC, there is still some issue with some SATA slots. Perhaps you can try testing it.

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

> Cool! could you also post the bootlog (serial bootlog prefered, so we can see how you boot the box). Thanks!

Sure, here is the serial bootlog:

BootROM - 1.73
Booting from SPI flash


General initialization - Version: 1.0.0
AVS selection from EFUSE disabled (Skip reading EFUSE values)
Overriding default AVS value to: 0x23
Detected Device ID 6820
High speed PHY - Version: 2.0

Init Synology board board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  0   |  SGMII0     |
 |   1    |  6   |  SATA0      |
 |   2    |  6   |  SATA1      |
 |   4    |  5   |  USB3 HOST0 |
 |   5    |  5   |  USB3 HOST1 |
 -------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.46.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
Not detected suspend to RAM indication
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01-g74a026b-dirty (Dec 30 2015 - 14:40:13) Marvell version: 2015_T1.0p16

Board: SYNO-DS216j
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1066 [MHz]
       L2     @ 533 [MHz]
       TClock @ 200 [MHz]
       DDR3    @ 533 [MHz]
       DDR3 16 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB
MMC:   mv_sdh: 0
SF: Detected MX25L6405D with page size 64 KiB, total 8 MiB
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x1ff3b000:0x1ffc911c
       BSS:                     0x1ffef688
       Stack:                   0x1fa2af20
       Heap:                    0x1fa2b000:0x1ff3b000
       U-Boot Environment:      0x007e0000:0x007f0000 (SPI)

Board configuration detected:

Synology Model: DS216j

Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   SGMII   |     0x01     |
egiga0 [PRIME]
Press Ctrl+C to abort autoboot in 3 second
Booting Debian...
SF: Detected MX25L6405D with page size 64 KiB, total 8 MiB
Loading uImage from flash...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   vmlinuz-6.17.7-mvebu-ds216j
   Created:      2026-01-17   17:35:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5552269 Bytes = 5.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.17.7-mvebu-ds216j (ae9o@staging) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #12 SMP Sat Jan 17 15:51:20 UTC 2026
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS216j
[    0.000000][    T0] printk: legacy bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0]   HighMem  empty
[    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] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000][    T0] percpu: Embedded 29 pages/cpu s28364 r8192 d82228 u118784
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda rootdelay=5 mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env) earlyprintk=serial scsi_mod.use_blk_mq=1
[    0.000000][    T0] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 131072
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000][    T0] rcu: Hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000003][    T0] sched_clock: 64 bits at 533MHz, resolution 1ns, wraps every 2199023255551ns
[    0.008686][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x7aed16d152, max_idle_ns: 440795225656 ns
[    0.020392][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027230][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034959][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.046885][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.056568][    T0] Console: colour dummy device 80x30
[    0.061724][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1066.00 BogoMIPS (lpj=5330000)
[    0.072998][    T0] CPU: Testing write buffer coherency: ok
[    0.078577][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.084301][    T0] pid_max: default: 32768 minimum: 301
[    0.093719][    T0] LSM: initializing lsm=capability
[    0.099777][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.107764][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.125401][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.131767][    T1] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.139444][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.146425][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.152564][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.159549][    T1] rcu: Hierarchical SRCU implementation.
[    0.165015][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.171117][    T1] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.180479][    T1] smp: Bringing up secondary CPUs ...
[    0.186081][    T1] Booting CPU 1
[    0.189619][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.189672][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.201837][    T1] smp: Brought up 1 node, 2 CPUs
[    0.206615][    T1] SMP: Total of 2 processors activated (2132.00 BogoMIPS).
[    0.213645][    T1] CPU: All CPU(s) started in SVC mode.
[    0.243714][    T1] VFP support v0.3: impecture 3 part 30 variant 9 rev 4mpfs: initialized
[    0.252492][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.263088][    T1] posixtimers hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.271098][    T1] futex hash table entries: 512 (32768 bytes on 1 NUMA nodes, total 32 KiB, linear).
[    0.283641][    T1] prandom: seed boundary self test passed
[    0.291589][    T1] prandom: 100 self tests passed
[    0.296362][    T1] pinctrl core: initialized pinctrl subsystem
[    0.303815][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.311448][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.319654][    T1] audit: initializing netlink subsys (disabled)
[    0.325920][   T29] audit: type=2000 audit(0.280:1): state=initialized audit_enabled=0 res=1
[    0.326563][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.334420][    T1] cpuidle: using governor ladder
[    0.345892][    T1] cpuidle: using governor menu
[    0.350721][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.359390][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.366075][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.374846][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.567046][    T1] raid6: int32x8  gen()   333 MB/s
[    0.737055][    T1] raid6: int32x4  gen()   371 MB/s
[    0.907075][    T1] raid6: int32x2  gen()   487 MB/s
[    1.077041][    T1] raid6: int32x1  gen()   426 MB/s
[    1.081991][    T1] raid6: using algorithm int32x2 gen() 487 MB/s
[    1.257088][    T1] raid6: .... xor() 223 MB/s, rmw enabled
[    1.262644][    T1] raid6: using intx1 recovery algorithm
[    1.269824][    T1] SCSI subsystem initialized
[    1.274601][    T1] usbcore: registered new interface driver usbfs
[    1.280807][    T1] usbcore: registered new interface driver hub
[    1.286814][    T1] usbcore: registered new device driver usb
[    1.292784][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.298442][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.308247][    T1] PTP clock support registered
[    1.314278][    T1] vgaarb: loaded
[    1.318050][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.328942][    T1] VFS: Disk quotas dquot_6.6.0
[    1.333768][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.342235][    T1] netfs: FS-Cache loaded
[    1.354009][    T1] NET: Registered PF_INET protocol family
[    1.359731][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.368934][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.378097][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.386592][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.395093][    T1] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.403007][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.410302][    T1] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.418404][    T1] UDP hash table entries: 256 (order: 1, 14336 bytes, linear)
[    1.425714][    T1] UDP-Lite hash table entries: 256 (order: 1, 14336 bytes, linear)
[    1.433878][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.440881][    T1] RPC: Registered named UNIX socket transport module.
[    1.447475][    T1] RPC: Registered udp transport module.
[    1.452875][    T1] RPC: Registered tcp transport module.
[    1.458269][    T1] RPC: Registered tcp-with-tls transport module.
[    1.464424][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.471552][    T1] PCI: CLS 0 bytes, default 64
[    1.478094][    T1] Initialise system trusted keyrings
[    1.483284][    T1] Key type blacklist registered
[    1.488103][    T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.503663][    T1] NFS: Registering the id_resolver key type
[    1.509472][    T1] Key type id_resolver registered
[    1.514333][    T1] Key type id_legacy registered
[    1.519172][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.526546][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.536679][    T1] cryptd: max_cpu_qlen set to 1000
[    1.691682][    T1] xor: measuring software checksum speed
[    1.699053][    T1]    arm4regs        :  1724 MB/sec
[    1.706453][    T1]    8regs           :  1386 MB/sec
[    1.713862][    T1]    32regs          :  1386 MB/sec
[    1.718900][    T1] xor: using function: arm4regs (1724 MB/sec)
[    1.724804][    T1] async_tx: api initialized (async)
[    1.729846][    T1] Key type asymmetric registered
[    1.734618][    T1] Asymmetric key parser 'x509' registered
[    1.740405][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.748869][    T1] io scheduler bfq registered
[    1.755174][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.764183][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.774281][    T1] debugfs: 'f1018100.gpio' already exists in 'regmap'
[    1.781531][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.791554][    T1] debugfs: 'f1018140.gpio' already exists in 'regmap'
[    1.800319][    T1] mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
[    1.806877][    T1] mvebu-pcie soc:pcie:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    1.815363][    T1] mvebu-pcie soc:pcie:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    1.823837][    T1] mvebu-pcie soc:pcie:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    1.832273][    T1] mvebu-pcie soc:pcie:      MEM 0x00f1048000..0x00f1049fff -> 0x0000048000
[    1.840744][    T1] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    1.849684][    T1] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    1.858627][    T1] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    1.867564][    T1] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    1.876506][    T1] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    1.885453][    T1] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    1.894396][    T1] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[    1.903334][    T1] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[    1.913510][    T1] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    1.920127][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.926290][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    1.937128][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    1.947967][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    1.958806][    T1] pci_bus 0000:00: root bus resource [mem 0xf1048000-0xf1049fff] (bus address [0x00048000-0x00049fff])
[    1.969646][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.977188][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.984280][    T1] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400 PCIe Root Port
[    1.992279][    T1] pci 0000:00:01.0: PCI bridge to [bus 00]
[    1.997922][    T1] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.004697][    T1] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.012516][    T1] /soc/pcie/pcie@1,0: Fixed dependency cycle(s) with /soc/pcie/pcie@1,0/interrupt-controller
[    2.022552][    T1] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400 PCIe Root Port
[    2.030546][    T1] pci 0000:00:02.0: PCI bridge to [bus 00]
[    2.036189][    T1] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    2.042959][    T1] pci 0000:00:02.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.050712][    T1] /soc/pcie/pcie@2,0: Fixed dependency cycle(s) with /soc/pcie/pcie@2,0/interrupt-controller
[    2.060747][    T1] pci 0000:00:03.0: [11ab:6820] type 01 class 0x060400 PCIe Root Port
[    2.068743][    T1] pci 0000:00:03.0: PCI bridge to [bus 00]
[    2.074385][    T1] pci 0000:00:03.0:   bridge window [io  0x0000-0x0fff]
[    2.081154][    T1] pci 0000:00:03.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.088880][    T1] /soc/pcie/pcie@3,0: Fixed dependency cycle(s) with /soc/pcie/pcie@3,0/interrupt-controller
[    2.099942][    T1] PCI: bus0: Fast back to back transfers disabled
[    2.106197][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.114906][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.123598][    T1] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.132507][    T1] PCI: bus1: Fast back to back transfers enabled
[    2.138686][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.146128][    T1] PCI: bus2: Fast back to back transfers enabled
[    2.152302][    s 02-ff] end is upda3: Fast back to back transfe0 pci_bus 0000:03: busn[    2.173223][    T1] p]
[    2.178883]  T1] pci_bus 0
[    2.210997][    T1] p48000-0xf1049fff]
[    2.2ource 8 [mem 0xe0000000-0i_bus 0000:00: resource 9 [    2.278769][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.289076][    T1] mv_xor[    2.338773][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.392250][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.401629][    T1] printk: legacy console [ttyS0] disa[    2.427690][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 41, base_baud = 12500000) is a 16550A
    2.4isabled
[    2.482441][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 42, base_baud = 1250000.sata: supply phy not found,108][    T1] spi-nor spi0. regulator
[    2.52078und on MTD device spi0.0
D partition[    2.561353][    T1] hwmon hwmonto any thermal zone
[    2.570.bm: Buffer Manager for network c[    2.5839us number 1
[    c params 0x0a000990 hci ve0
[    2.617832][    T1]em 0xf10f0000
[    2.6244xHCI Host Controller
[   010][    2, SerialNumber=1
[    2HCI Host Controller
f8000.usb3: hcc params 000000000000010Linux 6.17.c2.755449][    ed, assigned bus number 3sb Product=2, SerialNumber=1
[    2.7: irq 45, io mem 0xf10f8000
[10fUSB devi17
[    2.811277][    fr=3, Product=2, SerialNumb3: Product: xHCI Host Cousb3: Manufacturer: Linux M for thib4: New USB device foundvice= 6.17
[    2.867371]rings: Mfr=3, Product=2] usb usb4: Product: xHCI HT
[    2ver usb-storage
[    2.913803].rtc: registered as rtc0 f10a3800.rtc: setting sy (1770325533)
[    2.9306  T1] devi T1] device-mapper: ioctled: dm-devel@lists.linux.pper: multipath round-ro47][    T1] device-mappeer
[    3.0[    3.011584][    T1] sdher helper
[    3.018786][    T: CESA device successfully hw perfevents: enaon supported.
[    3lation handler
[    3.086164][    T1] registered taskstats version 1
[    3.091292][    T1] [    3.108922][    T13583][    T1] Key type fscryp.119513][    T1] Key type big   T1] Key type encrypted rT51] ahci-mmmy regulator
[    3.163019: supply phy not found, using   T14] ahci-mvebu f10a8 dummy regulator
[   3.207369][    T1] Waiting.
[    3.758064][   T11] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.908768][   T11] usb 1-1: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.00
[    3.917696][   T11] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.925588][   T11] usb 1-1: Product: Cruzer Fit
[    3.930243][   T11] usb 1-1: Manufacturer: SanDisk
[    3.941867][   T11] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.949145][   T11] scsi host0: usb-storage 1-1:1.0
[    3.954859][   T14] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.963327][   T14] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    4.990253][   T14] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    5.003933][   T94] sd 0:0:0:0: [sda] 61341696 512-byte logical blocks: (31.4 GB/29.3 GiB)
[    5.013298][   T94] sd 0:0:0:0: [sda] Write Protect is off
[    5.019172][   T94] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.071464][   T94] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.077971][ T1225] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    5.086444][ T1225] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    8.188514][   T12] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    8.196943][   T12] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    8.206394][   T12] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    8.214858][   T12] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    8.223744][   T12] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x3
[    8.230634][   T12] ahci-mvebu f10a8000.sata: AHCI vers 0001.0000, 32 command slots, 6 Gbps, platform mode
[    8.240357][   T12] ahci-mvebu f10a8000.sata: 2/2 ports implemented (port mask 0x3)
[    8.248070][   T12] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    8.258636][   T12] scsi host1: ahci-mvebu
[    8.263221][   T12] scsi host2: ahci-mvebu
[    8.267537][   T12] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 51 lpm-pol 0
[    8.277130][   T12] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 51 lpm-pol 0
[   10.138063][ T1268] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   10.145490][ T1268] ata2.00: ATA-9: WDC WD10EFRX-68FYTN0, 82.00A82, max UDMA/133
[   10.152949][ T1268] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32)
[   10.160763][ T1268] ata2.00: configured for UDMA/133
[   10.258056][ T1263] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   10.265452][ T1263] ata1.00: ATA-9: WDC WD10EFRX-68FYTN0, 82.00A82, max UDMA/133
[   10.272912][ T1263] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32)
[   10.280720][ T1263] ata1.00: configured for UDMA/133
[   10.286104][   T39] scsi 1:0:0:0: Direct-Access     ATA      WDC WD10EFRX-68F 0A82 PQ: 0 ANSI: 5
[   10.296022][ T1225] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   10.296445][   T94] scsi 2:0:0:0: Direct-Access     ATA      WDC WD10EFRX-68F 0A82 PQ: 0 ANSI: 5
[   10.304458][ T1225] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   10.314646][   T12] sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   10.319361][ T1225] sd 1:0:0:0: [sdb] Write Protect is off
[   10.327647][   T12] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[   10.339198][ T1225] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   10.339292][   T12] sd 2:0:0:0: [sdc] Write Protect is off
[   10.349107][ T1225] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[   10.361592][   T12] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   10.371497][   T12] sd 2:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[   10.438239][   T12] sd 2:0:0:0: [sdc] Attached SCSI disk
[   10.471250][ T1225] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.476658][    T1] md: Waiting for all devices to be available before autodetect
[   10.484211][    T1] md: If you don't use raid, use raid=noautodetect
[   10.490624][    T1] md: Autodetecting RAID arrays.
[   10.495442][    T1] md: autorun ...
[   10.498963][    T1] md: ... autorun DONE.
[   10.514774][    T1] EXT4-fs (sda): mounted filesystem 11b2160b-17ac-447f-b099-4cb9490696e1 ro with ordered data mode. Quota mode: none.
[   10.527101][    T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:0.
[   10.537117][    T1] devtmpfs: mounted
[   10.541756][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   10.549251][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.555655][    T1] Run /sbin/init as init process
[   11.436134][    T1] systemd[1]: Inserted module 'autofs4'
[   11.528174][    T1] systemd[1]: systemd 257.9-1~deb13u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE)
[   11.563345][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 13 (trixie)!

[   11.617074][    T1] systemd[1]: Hostname set to <synology>.
[   12.026449][ T1317] zram: Added device: zram0
[   12.876052][    T1] systemd[1]: Queued start job for default target graphical.target.
[   12.955902][    T1] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[   12.990578][    T1] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-modprobe.slice - Slice /system/modprobe.
[   13.030352][    T1] systemd[1]: Created slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
[  OK  ] Created slice system-nut\x2ddriver.slice - Slice /system/nut-driver.
[   13.070266][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[  OK  ] Created slice system-serial\x2dget…slice - Slice /system/serial-getty.
[   13.110301][    T1] systemd[1]: Created slice system-systemd\x2dzram\x2dsetup.slice - Slice /system/systemd-zram-setup.
[  OK  ] Created slice system-systemd\x2dzr…- Slice /system/systemd-zram-setup.
[   13.149387][    T1] systemd[1]: Created slice user.slice - User and Session Slice.
[  OK  ] Created slice user.slice - User and Session Slice.
[   13.178476][    T1] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-password-conso…equests to Console Directory Watch.
[   13.218430][    T1] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Started systemd-ask-password-wall.…d Requests to Wall Directory Watch.
[   13.258943][    T1] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount proc-sys-fs-binfm…ormats File System Automount Point.
[   13.298283][    T1] systemd[1]: Expecting device dev-ttyS0.device - /dev/ttyS0...
         Expecting device dev-ttyS0.device - /dev/ttyS0...
[   13.328196][    T1] systemd[1]: Expecting device dev-zram0.device - /dev/zram0...
         Expecting device dev-zram0.device - /dev/zram0...
[   13.358468][    T1] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[   13.388255][    T1] systemd[1]: Reached target slices.target - Slice Units.
[  OK  ] Reached target slices.target - Slice Units.
[   13.425752][    T1] systemd[1]: Listening on systemd-creds.socket - Credential Encryption/Decryption.
[  OK  ] Listening on systemd-creds.socket - Credential Encryption/Decryption.
[   13.458639][    T1] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-initctl.socke…- initctl Compatibility Named Pipe.
[   13.488708][    T1] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journald-dev-…socket - Journal Socket (/dev/log).
[   13.518631][    T1] systemd[1]: Listening on systemd-journald.socket - Journal Sockets.
[  OK  ] Listening on systemd-journald.socket - Journal Sockets.
[   13.548743][    T1] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[  OK  ] Listening on systemd-networkd.socket - Network Service Netlink Socket.
[   13.578278][    T1] systemd[1]: systemd-pcrextend.socket - TPM PCR Measurements was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   13.592932][    T1] systemd[1]: systemd-pcrlock.socket - Make TPM PCR Policy was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   13.607699][    T1] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd-control.socket - udev Control Socket.
[   13.638487][    T1] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[  OK  ] Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[   13.668628][    T1] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[   13.689408][    T1] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
         Mounting dev-mqueue.mount - POSIX Message Queue File System...
[   13.737928][    T1] systemd[1]: Mounting run-lock.mount - Legacy Locks Directory /run/lock...
         Mounting run-lock.mount - Legacy Locks Directory /run/lock...
[   13.777317][    T1] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Mounting sys-kernel-debug.mount - Kernel Debug File System...
[   13.808819][    T1] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[   13.835439][    T1] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
         Starting keyboard-setup.service - Set the console keyboard layout...
[   13.873699][    T1] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
         Starting kmod-static-nodes.service…eate List of Static Device Nodes...
[   13.939176][    T1] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@configfs.service - Load Kernel Module configfs...
[   13.973977][    T1] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@drm.service - Load Kernel Module drm...
[   14.002238][    T1] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@efi_pstore.servi… - Load Kernel Module efi_pstore...
[   14.074019][    T1] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting modprobe@fuse.service - Load Kernel Module fuse...
[   14.123435][    T1] systemd[1]: Starting nftables.service - nftables...
         Starting nftables.service - nftables...
[   14.276820][    T1] systemd[1]: Starting systemd-fsck-root.service - File System Check on Root Device...
[   14.282263][ T1355] fuse: init (API version 7.44)
         Starting systemd-fsck-root.service…File System Check on Root Device...
[   14.318402][    T1] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[   14.366791][    T1] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-modules-load.service - Load Kernel Modules...
[   14.447498][    T1] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
         Starting systemd-network-generator…k units from Kernel command line...
[   14.498676][    T1] systemd[1]: systemd-pcrmachine.service - TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   14.522170][    T1] systemd[1]: systemd-tpm2-setup-early.service - Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   14.565593][    T1] systemd[1]: Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials...
[   14.576149][ T1364] NET: Registered PF_ALG protocol family
[   14.589609][    T1] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...

         Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   14.659491][    T1] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[  OK     14.671192][    T1] systemd[1]: Mounted run-lock.mount - Legacy Locks Directory /run/lock.
0m] Mounted dev-mqueue.mount - POSIX Message Queue File System.
[  OK     14.687362][    T1] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
0m] Mounted run-lock.mount - Legacy Locks Directory[   14.701659][    T1] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
 /run/lock.
[  OK  [   14.713726][    T1] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
] Mounted sys-kernel-de[   14.725276][    T1] systemd[1]: modprobe@configfs.service: Deactivated successfully.
bug.mount - Kernel Debug Fil[   14.735458][    T1] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
e System.
[  OK  ] [   14.747972][    T1] systemd[1]: modprobe@drm.service: Deactivated successfully.
Finished    14.756843][    T1] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
9mkeyboard-setup.service - S[   14.767466][    T1] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   14.777669][    T1] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.

[  OK  ] Finished [    T1] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[0;1;39mkmod-static-nodes.service…Create List of Static Device Nodes.
[  OK  [   14.806562][    T1] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
] Finished modprobe@con[   14.816965][    T1] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
figfs.service - Load Kernel Module configfs.[   14.829013][    T1] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.

[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished    14.851551][    T1] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
;39mmodprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ [   14.868529][    T1] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
 OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished systemd-modules-load.service - Load Kernel Modules.
[  OK  ] Finished systemd-network-generator…ork units from Kernel command line.
         Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
         Mounting sys-kernel-config.mount - Kernel Configuration File System...
[   14.969062][    T1] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
         Starting systemd-sysctl.service - Apply Kernel Variables...
[   15.008915][    T1] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
         Starting systemd-tmpfiles-setup-de… Device Nodes in /dev gracefully...
[   15.063946][    T1] systemd[1]: Finished nftables.service - nftables.
[  OK  ] Finished nftables.service - nftables.
[   15.115401][    T1] systemd[1]: Finished systemd-fsck-root.service - File System Check on Root Device.
[  OK  ] Finished systemd-fsck-root.service - File System Check on Root Device.
[   15.160346][    T1] systemd[1]: Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.
[  OK  ] Finished systemd-udev-load-credent…- Load udev Rules from Credentials.
[   15.185648][    T1] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[  OK  ] Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[   15.219305][    T1] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[  OK  ] Mounted sys-kernel-config.mount - Kernel Configuration File System.
[   15.270053][    T1] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[   15.299894][    T1] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.
[  OK  ] Finished systemd-tmpfiles-setup-de…ic Device Nodes in /dev gracefully.
[   15.349383][    T1] systemd[1]: Reached target network-pre.target - Preparation for Network.
[  OK  ] Reached target network-pre.target - Preparation for Network.
[   15.398681][    T1] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
         Starting systemd-remount-fs.servic…unt Root and Kernel File Systems...
[   15.549795][ T1392] EXT4-fs (sda): re-mounted 11b2160b-17ac-447f-b099-4cb9490696e1 r/w.
[   15.562004][    T1] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[  OK  ] Finished systemd-remount-fs.servic…mount Root and Kernel File Systems.
[   15.601009][    T1] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[   15.616188][    T1] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   15.638632][    T1] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed...
         Starting systemd-random-seed.service - Load/Save OS Random Seed...
[   15.688696][    T1] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met.
[   15.762676][    T1] systemd[1]: Starting systemd-timesyncd.service - Network Time Synchronization...
         Starting systemd-timesyncd.service - Network Time Synchronization...
[   15.803773][    T1] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
         Starting systemd-tmpfiles-setup-de…eate Static Device Nodes in /dev...
[   15.828457][    T1] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   15.870475][    T1] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[  OK  ] Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[   15.929179][    T1] systemd[1]: Starting systemd-udev-settle.service - Wait for udev To Complete Device Initialization...
         Starting systemd-udev-settle.servi…o Complete Device Initialization...
[   15.997282][    T1] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
[  OK  ] Finished systemd-tmpfiles-setup-de…Create Static Device Nodes in /dev.
[   16.079204][    T1] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems.
[  OK  ] Reached target local-fs-pre.target…Preparation for Local File Systems.
[   16.129511][    T1] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files...
         Starting systemd-udevd.service - R…ager for Device Events and Files...
[   16.179528][    T1] systemd[1]: Started systemd-timesyncd.service - Network Time Synchronization.
[  OK  ] Started systemd-timesyncd.service - Network Time Synchronization.
[   16.248694][    T1] systemd[1]: Reached target time-set.target - System Time Set.
[  OK  ] Reached target time-set.target - System Time Set.
[   16.482720][    T1] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files.
[  OK  ] Started systemd-udevd.service - Ru…anager for Device Events and Files.
[   16.546250][    T1] systemd[1]: Starting systemd-networkd.service - Network Configuration...
         Starting systemd-networkd.service - Network Configuration...
[   16.688090][    C0] random: crng init done
[   16.700906][    T1] systemd[1]: Finished systemd-random-seed.service - Load/Save OS Random Seed.
[  OK  ] Finished systemd-random-seed.service - Load/Save OS Random Seed.
[   16.820756][    T1] systemd[1]: Found device dev-zram0.device - /dev/zram0.
[  OK  ] Found device dev-zram0.device - /dev/zram0.
[   16.868725][    T1] systemd[1]: Starting systemd-zram-setup@zram0.service - Create swap on /dev/zram0...
         Starting systemd-zram-setup@zram0.…vice - Create swap on /dev/zram0...
[   16.980317][ T2524] zram0: detected capacity change from 0 to 498688
[   17.008774][ T2519] mvneta f1070000.ethernet end0: renamed from eth0
[   17.009283][    T1] systemd[1]: Started systemd-networkd.service - Network Configuration.
[  OK  ] Started systemd-networkd.service - Network Configuration.
[   17.111949][    T1] systemd[1]: Finished systemd-zram-setup@zram0.service - Create swap on /dev/zram0.
[  OK  ] Finished systemd-zram-setup@zram0.service - Create swap on /dev/zram0.
[   17.154180][ T2518] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   17.166000][    T1] systemd[1]: Found device dev-ttyS0.device - /dev/ttyS0.
[  OK  ] Found device dev-tt[   17.177045][ T2518] sd 1:0:0:0: Attached scsi generic sg1 type 0
yS0.device - /dev/ttyS0.
[   17.198888][    T1] systemd[1]: Reached target network.target - Network.
[   17.205995][ T2518] sd 2:0:0:0: Attached scsi generic sg2 type 0
[  OK  ] Reached target network.target - Network.
[   17.248509][    T1] systemd[1]: Activating swap dev-zram0.swap - Compressed Swap on /dev/zram0...
         Activating swap dev-zram0.swap - Compressed Swap on /dev/zram0...
[   17.298811][    T1] systemd[1]: Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd...
[   17.318471][ T2514] usbcore: registered new interface driver uas
         Starting systemd-networkd-persiste…tent Storage in systemd-networkd...
[   17.383533][    T1] systemd[1]: Starting systemd-networkd-wait-online.service - Wait for Network to be Configured...
[   17.458787][ T2540] Adding 249340k swap on /dev/zram0.  Priority:100 extents:1 across:249340k SSDsc
         Starting systemd-networkd-wait-onl…ait for Network to be Configured...
[   17.503226][    T1] systemd[1]: Activated swap dev-zram0.swap - Compressed Swap on /dev/zram0.
[  OK  ] Activated swap dev-zram0.swap - Compressed Swap on /dev/zram0.
[   17.552416][    T1] systemd[1]: Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd.
[  OK  ] Finished systemd-networkd-persiste…istent Storage in systemd-networkd.
[   17.599103][    T1] systemd[1]: Reached target swap.target - Swaps.
[  OK  ] Reached target swap.target - Swaps.
[   17.661959][    T1] systemd[1]: Mounting tmp.mount - Temporary Directory /tmp...
         Mounting tmp.mount - Temporary Directory /tmp...
[   17.839578][    T1] systemd[1]: Mounted tmp.mount - Temporary Directory /tmp.
[  OK  ] Mounted tmp.mount - Temporary Directory /tmp.
[   19.060152][ T2515] mvneta f1070000.ethernet end0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510] (irq=POLL)
[   19.073168][ T2515] mvneta f1070000.ethernet end0: configuring for phy/sgmii link mode
[   19.161958][    T1] systemd[1]: Finished systemd-udev-settle.service - Wait for udev To Complete Device Initialization.
[  OK  ] Finished systemd-udev-settle.servi… To Complete Device Initialization.
[   20.207646][    T1] systemd[1]: Reached target local-fs.target - Local File Systems.
[  OK  ] Reached target local-fs.target - Local File Systems.
[   20.246360][    T1] systemd[1]: Listening on systemd-sysext.socket - System Extension Image Management.
[  OK  ] Listening on systemd-sysext.socket… System Extension Image Management.
[   20.282467][    T1] systemd[1]: Starting console-setup.service - Set console font and keymap...
         Starting console-setup.service - Set console font and keymap...
[   20.415913][    T1] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats...
         Starting systemd-binfmt.service - Set Up Additional Binary Formats...
[   20.452536][    T1] systemd[1]: Finished console-setup.service - Set console font and keymap.
[  OK  ] Finished console-setup.service - Set console font and keymap.
[   20.496538][    T1] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 2602 (systemd-binfmt)
[   20.520803][    T1] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System...
         Mounting proc-sys-fs-binfmt_misc.m…cutable File Formats File System...
[   20.654407][    T1] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
[  OK  ] Mounted proc-sys-fs-binfmt_misc.mo…xecutable File Formats File System.
[   20.702649][    T1] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[  OK  ] Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[  OK  ] Finished systemd-networkd-wait-onl… Wait for Network to be Configured.
[   23.378985][    T1] systemd[1]: Reached target network-online.target - Network is Online.
[  OK  ] Reached target network-online.target - Network is Online.
[   28.326526][    T1] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting systemd-journald.service - Journal Service...
[   28.481836][ T2625] systemd-journald[2625]: Collecting audit messages is disabled.
[   28.737512][    T1] systemd[1]: Started systemd-journald.service - Journal Service.
[  OK  ] Started systemd-journald.service - Journal Service.
         Starting systemd-journal-flush.ser…sh Journal to Persistent Storage...
[   28.937382][ T2625] systemd-journald[2625]: Received client request to flush runtime journal.
[  OK  ] Finished systemd-journal-flush.ser…lush Journal to Persistent Storage.
         Starting systemd-tmpfiles-setup.se…ate System Files and Directories...
[  OK  ] Finished systemd-tmpfiles-setup.se…reate System Files and Directories.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started nut-driver-enumerator.path.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.timer - …y apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer - Period…Metadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused filesystem blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started man-db.timer - Daily man-db regeneration.
[  OK  ] Started systemd-tmpfiles-clean.tim…y Cleanup of Temporary Directories.
[  OK  ] Reached target paths.target - Path Units.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Listening on dbus.socket - D-Bus System Message Bus Socket.
[  OK  ] Listening on sshd-unix-local.socke…temd-ssh-generator, AF_UNIX Local).
[  OK  ] Listening on systemd-hostnamed.socket - Hostname Service Socket.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started cron.service - Regular background program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
[  OK  ] Started diskstation-keyd.service -…AS and similar Synology NAS models.
[  OK  ] Started diskstation-ledd.service -…d on the hd-idle service's actions.
         Starting e2scrub_reap.service - Re…ne ext4 Metadata Check Snapshots...
[  OK  ] Started hd-idle.service - hd-idle - spin down idle hard disks.
         Starting lm-sensors.service - Init…lize hardware monitoring sensors...
         Starting nut-driver-enumerator.ser…ices into systemd unit instances...
         Starting rc-local.service - /etc/rc.local Compatibility...
         Starting ssh.service - OpenBSD Secure Shell server...
         Starting systemd-logind.service - User Login Management...
         Starting systemd-user-sessions.service - Permit User Sessions...
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Finished e2scrub_reap.service - Re…line ext4 Metadata Check Snapshots.
[  OK  ] Started rc-local.service - /etc/rc.local Compatibility.
[  OK  ] Finished systemd-user-sessions.service - Permit User Sessions.
[  OK  ] Started getty@tty1.service - Getty on tty1.
[  OK  ] Started serial-getty@ttyS0.service - Serial Getty on ttyS0.
[  OK  ] Reached target getty.target - Login Prompts.
         Starting logrotate.service - Rotate log files...
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Finished lm-sensors.service - Initialize hardware monitoring sensors.
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.
         Starting fancontrol.service - fan speed regulator...
         Starting systemd-hostnamed.service - Hostname Service...
[  OK  ] Finished logrotate.service - Rotate log files.
[  OK  ] Finished nut-driver-enumerator.ser…evices into systemd unit instances.
[  OK  ] Started systemd-hostnamed.service - Hostname Service.
[  OK  ] Started fancontrol.service - fan speed regulator.
[   36.054083][ T2733] fbcon: Taking over console

Debian GNU/Linux 13 synology ttyS0

synology login:

P.S.: Could you please activate my ae9o account? I registered, but can't log in because it requires admin activation.

Alex
Ray,

Here is a snippet of Synology's GPL source (rs816.c) with the GPIO configuration table for the RS816 model:
/*
 *  RS816 GPIO config table
 *
 *  Pin     In/Out    Function

 *  12       In       Model ID 0
 *  21       In       Model ID 1
 *  38       In       Buzzer Mute GPI
 *  39       In       Present Pin
 *  45       In       Model ID 2
 *  46       In       Fan 2 fail
 *  52       In       Fan 1 fail
 *  53       In       Fan 3 fail
 *  54       In       USB3 overcurrent
 *  55       In       USB2 overcurrent
 *   6      Out       LED off
 *  13      Out       HDD1 fault LED
 *  28      Out       Buzzer Mute GPO
 *  37      Out       HDD 3 power enable
 *  37      Out       HDD 4 power enable
 *  48      Out       Fan High
 *  49      Out       Fan Mid
 *  50      Out       Fan Low
 *  58      Out       USB3 power enable
 *  59      Out       USB3 power enable
 */
static SYNO_GPIO_INFO fan_ctrl = {
	.nr_gpio		= 3,
	.gpio_port		= {50, 49, 48},
	.gpio_polarity	= ACTIVE_HIGH,
};
static SYNO_GPIO_INFO fan_fail = {
	.nr_gpio		= 3,
	.gpio_port		= {52, 46, 53},
	.gpio_polarity	= ACTIVE_HIGH,
};
static SYNO_GPIO_INFO hdd_fail_led = {
	.nr_gpio		= 1,
	.gpio_port		= {13},
	.gpio_polarity	= ACTIVE_HIGH,
};
static SYNO_GPIO_INFO hdd_detect = {
	.nr_gpio		= 4,
	.gpio_port		= {39, 39, 39, 39},
	.gpio_polarity	= ACTIVE_LOW,
};
static SYNO_GPIO_INFO hdd_enable = {
	.nr_gpio		= 4,
	.gpio_port		= {37, 37, 37, 37},
	.gpio_polarity	= ACTIVE_HIGH,
};
static SYNO_GPIO_INFO model_id = {
	.nr_gpio		= 3,
	.gpio_port		= {12, 21, 45},
	.gpio_polarity	= ACTIVE_HIGH,
};
static SYNO_GPIO_INFO disk_led_ctrl = {
	.nr_gpio		= 1,
	.gpio_port		= {6},
	.gpio_polarity	= ACTIVE_HIGH,
};
static SYNO_GPIO_INFO mute_button_detect = {
	.nr_gpio		= 1,
	.gpio_port		= {38},
	.gpio_polarity	= ACTIVE_LOW,
};
static SYNO_GPIO_INFO buzzer_mute_ctrl = {
	.nr_gpio		= 1,
	.gpio_port		= {28},
	.gpio_polarity	= ACTIVE_HIGH,
};

The differences from DS216j that I see are:
  1. The RS816 model has one common power regulator for all four SATA ports, controlled by pin 37. The DS216j model requires a separate power regulator for each port: pin 15 powers the first port, pin 16 powers the second.
  2. The RS816 model has one common HDD presence pin 39 for all four SATA ports. The DS216j model uses separate pins for this purpose.
  3. The RS816 model has 3 fans, but a common set of pins controls them all simultaneously. The pins are the same as in the DS216j model: 50, 49, 48.
The pins for controlling USB ports are the same.

So, the RS816 configuration doesn't indicate anywhere that pins 17 and 18 are occupied by any important hardware. And pin 21 has a useless Model ID function. Similar to the DS216j model, you could try moving UART1 to pins 17 and 18, and SATA0 (renamed to AHCI0 in my device tree) to pin 21. There's a chance this would allow the first and second drives' LEDs to be controlled via pins 20 and 19, as in the DS216j model. However, the RS816 also has drives 3 and 4, for which there are no hints in the Synology's source. The pins for their LEDs will have to be found by trial and error.
 
uart1_pins: uart-pins-1 {
	marvell,pins = "mpp17", "mpp18";
	marvell,function = "ua1";
};
	
sata0_pins: sata-pins-0 {
	marvell,pins = "mpp21";
	marvell,function = "sata0";
};

In addition, a properly functioning UART1 will allow processing of the power and reset chassis buttons.

Alex
bodhi Wrote:
-------------------------------------------------------
> Ray,
>
> > I have a RackStation RS816 with Armada 385 SOC,
> so
> > perhaps this will be helpful when I start
> working
> > on support for it.
> >
> > Ray
>
>
> IIRC, there is still some issue with some SATA
> slots. Perhaps you can try testing it.
Will not be able to get to this for a few weeks as I'm currently struggling with getting a WatchGuard M290 supported in OpenWrt. Then I will be taking a vacation for a week.

Ray
Alex,

> Could you please activate my ae9o
> account? I registered, but can't log in because it
> requires admin activation.

I don't see any unapproved users. You could try register again with a slightly different user name.

> Press Ctrl+C to abort autoboot in 3 second

I forgot to ask if you can interrupt the countdown and
printenv
and then
boot

> [ 0.000000][ T0] Booting Linux on physical
> CPU 0x0
> [ 0.000000][ T0] Linux version
> 6.17.7-mvebu-ds216j (ae9o@staging)
> (arm-linux-gnueabihf-gcc (Ubuntu
> 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU
> Binutils for Ubuntu) 2.38) #12 SMP Sat Jan 17
> 15:51:20 UTC 2026

It this kernel config 6.17.7-mvebu-ds216j different from the official release config-6.17.7-mvebu-tld-1 ? If it is modified then please post the diff or attach the config file in your first post.

Also, if it was based on config-6.17.7-mvebu-tld-1, then I'd suggest using a different local version name such as 6.17.7-mvebu-tld-1-ae9o so people can recognize the version easily.

> [ 0.000000][ T0] Kernel command line:
> console=ttyS0,115200 root=/dev/sda rootdelay=5
> mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)
> earlyprintk=serial scsi_mod.use_blk_mq=1

The root device should be a partition or label such as

root=/dev/sda1
or
root=LABEL=rootfs

The root label is recommended. Label the /dev/sda1 partition rootfs, so that it can be booted with the bootarg root=LABEL=rootfs. It's much more resilient and also help in rescue booting with USB if the rootfs is corrupted.


>
> Debian GNU/Linux 13 synology ttyS0
>
> synology login:

Is the rootfs Debian-6.6.2-mvebu-tld-1-rootfs-bodhi.tar.bz2?

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

User name _ae9o has been approved! Please try logging in.

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

Quote
bodhi
User name _ae9o has been approved! Please try logging in.

Thanks!

Quote
bodhi
I forgot to ask if you can interrupt the countdown and

printenv

and then

boot

The values ​​of these variables can also be controlled after Debian has booted. This requires the u-boot-tools package and its fw_printenv / fw_saveenv commands.

For the commands to work, you need to target them to the environment memory section using the /etc/fw_env.config file:
# MTD device name    Device offset    Env. size    Flash sector size    Number of sectors
/dev/mtd3            0x0              0x10000      0x10000              2
And then:
$ fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
ata_hdd_enable=syno_hdd_enable=15,16
autoload=no
baudrate=115200
boot_config_spi=setenv image_addr_spi 0x0F0000; setenv image_size_spi 0x006f0000; sf probe 0 50000000
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs= 
bootargs_dflt=$console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run bootcmd_exec; run bootspi
bootcmd2=mw 0xf10a2620 0x251;mw 0xf10a2e20 0x251;usb xhciinit; run bootspi
bootcmd_auto=stage_boot $boot_order
bootcmd_exec=echo "Booting Debian..."; run set_bootargs; setenv fdt_skip_update yes; setenv initrd_high 0xffffffff; run boot_config_spi; run load_image_spi; bootm $load_image_addr -
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end  video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel;  bootm $loadaddr; 
bootdelay=3
bootftp=run syno_bootargs;tftpboot $loadaddr_kernel $file_kernel;tftpboot $loadaddr_rootfs $file_rootfs;sf probe; sf read $loadaddr_dt $spi_pt_addr_dt $spi_pt_size_dt;fdt addr $loadaddr_dt;bootm $loadaddr_kernel $loadaddr_rootfs $loadaddr_dt;
bootspi=run syno_bootargs;sf probe 0 50000000;sf read $loadaddr_kernel $spi_pt_addr_kernel $spi_pt_size_kernel;sf read $loadaddr_rootfs $spi_pt_addr_rootfs $spi_pt_size_rootfs;sf read $loadaddr_dt $spi_pt_addr_dt $spi_pt_size_dt;bootm $loadaddr_kernel $loadaddr_rootfs $loadaddr_dt;
cacheShare=no
clean_env=sf probe; sf erase $spi_pt_addr_env $spi_pt_size_env; 
console=console=ttyS0,115200
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:00:00:00:00:00
eth1mtu=1500
eth2addr=00:00:00:00:00:00
eth2mtu=1500
eth3addr=00:00:00:00:00:00
eth3mtu=1500
ethact=egiga0
ethaddr=00:00:00:00:00:00
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x.dtb
file_flash=armada38x/flash.bin
file_kernel=armada38x/uImage
file_rootfs=armada38x/rd.bin
file_uboot=armada38x/uboot.bin
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=10.0.0.1
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
limit_dram_size=yes
load_image=echo loading uImage from tftpserver ...; tftpboot $load_image_addr uImage
load_image_addr=0x02000000
load_image_spi=echo "Loading uImage from flash..."; sf read $load_image_addr $image_addr_spi $image_size_spi
load_initrd=echo loading uInitrd from raw HDD ...; scsi device 0; scsi read $load_initrd_addr 0xA000 0xBF00
load_initrd_addr=0x3000000
loadaddr=0x02000000
loadaddr_dt=0x1000000
loadaddr_kernel=0x2000000
loadaddr_rootfs=0x3000000
loads_echo=0
mtdids=spi0=spi_flash
mtdparts=mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)
mtdparts_lgcy=mtdparts=spi_flash:4m(boot),-(spi-rootfs)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:00:00:00:00:00
netbsd_en=no
netretry=no
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
run_script=no
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
sd_detection_dat3=no
serverip=10.0.0.2
set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=5 $mtdparts earlyprintk=serial scsi_mod.use_blk_mq=1"
spi_pt_addr_dt=0x0E0000
spi_pt_addr_env=0x7e0000
spi_pt_addr_kernel=0x0F0000
spi_pt_addr_rootfs=0x3C0000
spi_pt_size_dt=0x010000
spi_pt_size_env=0x010000
spi_pt_size_kernel=0x2D0000
spi_pt_size_rootfs=0x410000
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
syno_boot_dev=/dev/md0
syno_bootargs=setenv bootargs console=ttyS0,115200 ip=off initrd=$loadaddr_rootfs root=$syno_boot_dev rw $syno_extra_args syno_hw_version=$syno_hw_version hd_power_on_seq=$syno_hdd_powerup_seq ihd_num=$syno_hdd_powerup_seq netif_num=$syno_net_if_num $ata_hdd_detect $ata_hdd_enable flash_size=8
syno_hdd_powerup_seq=2
syno_hw_version=DS216j
syno_net_if_num=1
upd_flash=setenv tftpfile $file_flash; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then echo "This may take a while, please be patient..."; sf probe; sf erase 0 +$filesize; sf write $loadaddr 0 $filesize; echo "
Flash Update Done"; fi; 
upd_kernel=setenv tftpfile $file_kernel; mw.b $loadaddr 0xFF $spi_pt_size_kernel; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then sf probe; sf erase $spi_pt_addr_kernel $spi_pt_size_kernel; sf write $loadaddr $spi_pt_addr_kernel $spi_pt_size_kernel; echo "
Kernel Update Done"; fi; 
upd_rootfs=setenv tftpfile $file_rootfs; mw.b $loadaddr 0xFF $spi_pt_size_rootfs; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then sf probe; sf erase $spi_pt_addr_rootfs +$filesize; sf write $loadaddr $spi_pt_addr_rootfs $filesize; echo "
Rootfs Update Done"; fi; 
upd_uboot=setenv tftpfile $file_uboot; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then sf probe; sf erase 0 +$filesize; sf write $loadaddr 0 $filesize; echo "
Uboot Update Done"; fi; 
usb0Mode=host
usbActive=0
usbType=2
usb_setup=setenv usbActive 1; setenv usbType 3; usb start;
vxworks_en=no
yuk_ethaddr=00:00:00:00:00:00

Quote
bodhi
It this kernel config 6.17.7-mvebu-ds216j different from the official release config-6.17.7-mvebu-tld-1 ? If it is modified then please post the diff or attach the config file in your first post.

Also, if it was based on config-6.17.7-mvebu-tld-1, then I'd suggest using a different local version name such as 6.17.7-mvebu-tld-1-ae9o so people can recognize the version easily.

Yes, there are many differences in the config. I changed it for my own needs and it probably won't be useful to many people because the result is not as versatile as the official version. The main differences are:
  1. Only Armada 38x is supported.
  2. No initrd support.
  3. No IPv6 support.
  4. No debug support.
  5. No paravirtualization support.
  6. Drivers for all devices that are not in DS216j are completely removed.
  7. The drivers required to start without initrd are built into the kernel.
  8. -O2 instead of -Os for cc.
  9. Preemption model is changed from preemptible to voluntary.
Attached the diff to this post.

Quote
bodhi
The root device should be a partition or label such as

root=/dev/sda1

or

root=LABEL=rootfs


The root label is recommended. Label the /dev/sda1 partition rootfs, so that it can be booted with the bootarg root=LABEL=rootfs. It's much more resilient and also help in rescue booting with USB if the rootfs is corrupted.

Okay, I'll change this to match the recommendation. I formatted the disk directly at the initial stage, without a partition table.

Quote
bodhi
>
> Debian GNU/Linux 13 synology ttyS0
>
> synology login:

Is the rootfs Debian-6.6.2-mvebu-tld-1-rootfs-bodhi.tar.bz2?

I built a custom rootfs from scratch using debootstrap and following the standard procedure.

Alex
Attachments:
open | download - config-6.17.7-mvebu-tld-1-ae9o.diff (49 KB)
I've made some changes to the Device Tree regarding LED brightness control.

It turns out that the standard tpl0102 driver is suitable for controlling all TPL* series potentiometers. The CONFIG_TPL0102 kernel option compiles this driver.

However, despite using the driver, the value 0xff must first be manually written to the 0xff register. The driver itself does not perform this initialization. Otherwise, adjusting the potentiometer will not change the brightness.

Commands for adjusting brightness using the driver:
# Unlock brightness control.
i2cset -y -f 0 0x2e 0xff 0xff
	 
# Use a value from the range [0..127] (lower is brighter).
echo 40 > /sys/bus/iio/devices/iio:device0/out_resistance0_raw

This driver doesn't seem particularly necessary or useful, since you still have to manually initialize it. Brightness can be adjusted without this driver:
# Unlock brightness control.
i2cset -y -f 0 0x2e 0xff 0xff

# Set brightness.
i2cset -y -f 0 0x2e 0x00 <127|40|39|0>
#                         brighter ->

It might be worth adding the required initialization step to the driver with a patch.

Alex
Alex,

Thanks for your contribution! I'll add this box to the supported list in the next kernel release here.

-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: