Debian on Synology DS211 November 06, 2024 08:15PM |
Registered: 28 days ago Posts: 27 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** MARVELL BOARD: Synology Disk Station LE U-Boot 1.1.4 (Jun 29 2010 - 20:28:54) Marvell version: 3.5.3 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B3D4 Soc: 88F6282 A0CPU 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 256MB DRAM Total size 256MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done Using default environment [4096kB@f8000000] Flash: 4 MB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. PEX 1: interface detected no Link. Synology Model: DS211 Fan Status: Good Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Marvell>> flinfo Bank # 1: Flash Base Address : 0xf8000000 Flash Model : ST M25P32 Manufacturer ID : 0x20 Device Id : 0x2016 Sector Size : 64K Number of sectors : 64 Page Size : 256 Write Protection : Off
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 06, 2024 09:00PM |
Registered: 9 years ago Posts: 462 |
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 06, 2024 09:38PM |
Admin Registered: 13 years ago Posts: 19,092 |
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 07, 2024 08:01PM |
Registered: 28 days ago Posts: 27 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** MARVELL BOARD: Synology Disk Station LE U-Boot 1.1.4 (Jun 29 2010 - 20:28:54) Marvell version: 3.5.3 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B3D4 Soc: 88F6282 A0CPU 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 256MB DRAM Total size 256MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done Using default environment [4096kB@f8000000] Flash: 4 MB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. PEX 1: interface detected no Link. Synology Model: DS211 Fan Status: Good Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Marvell>> Marvell>> setenv ipaddr 10.0.0.27; setenv serverip 10.0.0.197; setenv netmask 255.255.255.0; setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> mw 0x800000 0 1; tftpboot 0x800000 os/linux/ds211/uImage; tftpboot 0x2100000 os/linux/ds211/uInitrd; printenv; bootm 0x800000 0x2100000 Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uImage'. Load address: 0x800000 Loading: T T T T T T T T T T Retry count exceeded; starting again *** ERROR: `eth1addr' not set Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uImage'. Load address: 0x800000 Loading: T T T T T T T T T T Retry count exceeded; starting again *** ERROR: `eth1addr' not set Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uImage'. Load address: 0x800000 Loading: T T T T T T T T T T Retry count exceeded; starting again *** ERROR: `eth1addr' not set Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uImage'. Load address: 0x800000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################## done Bytes transferred = 6246348 (5f4fcc hex) Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uInitrd'. Load address: 0x2100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################### done Bytes transferred = 5791271 (585e27 hex) bootcmd=bootm F8080000 F8280000 baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root) mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; lcd0_enable=0 lcd0_params=640x480-16@60 lcd0_bootargs=video-dovefb:lcd0:$(lcd0_params) clcd.lcd0_enable=$(lcd0_enable) bootdelay=3 disaMvPnp=no ethaddr=00:50:43:3c:3b:5d ethmtu=1500 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host pcieTune=no bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial ethact=egiga0 filesize=585e27 fileaddr=2100000 netmask=255.255.255.0 ipaddr=10.0.0.27 serverip=10.0.0.197 Environment size: 1221/4092 bytes ## Booting image at 00800000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6246284 Bytes = 6 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791207 Bytes = 5.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 [ 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 DS212, DS212p v10, v20, DS213air v10, DS213 v10 [ 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-0x000000000fffffff] [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000][ T0] trace event string verifier disabled [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Trampoline variant of Tasks RCU enabled. [ 0.000000][ T0] Tracing variant of Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000001][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008519][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015587][ T0] Console: colour dummy device 80x30 [ 0.020796][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032012][ T0] CPU: Testing write buffer coherency: ok [ 0.037666][ T0] pid_max: default: 32768 minimum: 301 [ 0.049580][ T0] LSM: initializing lsm=capability,integrity [ 0.057198][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.065228][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.083110][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.091155][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.099795][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.106919][ T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0 [ 0.113110][ T1] rcu: Hierarchical SRCU implementation. [ 0.118652][ T1] rcu: Max phase no-delay instances is 1000. [ 0.126744][ T1] devtmpfs: initialized [ 0.143895][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.154475][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.164113][ T1] prandom: seed boundary self test passed [ 0.172900][ T1] prandom: 100 self tests passed [ 0.177679][ T1] pinctrl core: initialized pinctrl subsystem [ 0.186525][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.194335][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.206024][ T1] audit: initializing netlink subsys (disabled) [ 0.213751][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.213876][ T1] cpuidle: using governor ladder [ 0.225387][ T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1 [ 0.233913][ T1] cpuidle: using governor menu [ 0.239043][ T1] Feroceon L2: Enabling L2 [ 0.243322][ T1] Feroceon L2: Cache support initialised. [ 0.257675][ T1] No ATAGs? [ 0.618533][ T1] raid6: int32x8 gen() 151 MB/s [ 0.958532][ T1] raid6: int32x4 gen() 140 MB/s [ 1.298557][ T1] raid6: int32x2 gen() 180 MB/s [ 1.638532][ T1] raid6: int32x1 gen() 132 MB/s [ 1.643477][ T1] raid6: using algorithm int32x2 gen() 180 MB/s [ 1.998532][ T1] raid6: .... xor() 114 MB/s, rmw enabled [ 2.004085][ T1] raid6: using intx1 recovery algorithm [ 2.019859][ T1] SCSI subsystem initialized [ 2.028990][ T1] usbcore: registered new interface driver usbfs [ 2.035221][ T1] usbcore: registered new interface driver hub [ 2.058584][ T1] usbcore: registered new device driver usb [ 2.064600][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.078532][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.088341][ T1] PTP clock support registered [ 2.120328][ T1] vgaarb: loaded [ 2.124367][ T1] clocksource: Switched to clocksource orion_clocksource [ 2.141325][ T1] VFS: Disk quotas dquot_6.6.0 [ 2.164727][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.195793][ T1] NET: Registered PF_INET protocol family [ 2.214461][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.234512][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 2.243759][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.264404][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 2.272760][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 2.294427][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 2.301984][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.324563][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.331775][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.355063][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.375032][ T1] RPC: Registered named UNIX socket transport module. [ 2.381627][ T1] RPC: Registered udp transport module. [ 2.394386][ T1] RPC: Registered tcp transport module. [ 2.399762][ T1] RPC: Registered tcp-with-tls transport module. [ 2.424381][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.431501][ T1] PCI: CLS 0 bytes, default 32 [ 2.446643][ T10] Trying to unpack rootfs image as initramfs... [ 3.189840][ T10] Freeing initrd memory: 5656K [ 3.412755][ T1] Initialise system trusted keyrings [ 3.418893][ T1] Key type blacklist registered [ 3.423917][ T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 3.431240][ T1] zbud: loaded [ 3.449030][ T1] NFS: Registering the id_resolver key type [ 3.454846][ T1] Key type id_resolver registered [ 3.459709][ T1] Key type id_legacy registered [ 3.464558][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.471935][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 3.481249][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.489636][ T1] fuse: init (API version 7.38) [ 3.495447][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.502832][ T1] orangefs_init: module version upstream loaded [ 3.509219][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 3.677288][ T1] xor: measuring software checksum speed [ 3.689420][ T1] arm4regs : 1485 MB/sec [ 3.705516][ T1] 8regs : 890 MB/sec [ 3.718340][ T1] 32regs : 1263 MB/sec [ 3.723366][ T1] xor: using function: arm4regs (1485 MB/sec) [ 3.729280][ T1] async_tx: api initialized (async) [ 3.734313][ T1] Key type asymmetric registered [ 3.739100][ T1] Asymmetric key parser 'x509' registered [ 3.784702][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 3.793095][ T1] io scheduler bfq registered [ 3.939947][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.949620][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.960272][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.970691][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges: [ 3.980623][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000 [ 3.990745][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000 [ 4.000839][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000 [ 4.010959][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.021562][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.032160][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.042753][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.054230][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 4.062558][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.068763][ T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff]) [ 4.079614][ T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff]) [ 4.090458][ T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff]) [ 4.101297][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 4.108861][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 4.115930][ T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400 [ 4.123167][ T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400 [ 4.131931][ T1] PCI: bus0: Fast back to back transfers disabled [ 4.138218][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.146913][ T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.155849][ T1] PCI: bus1: Fast back to back transfers enabled [ 4.162016][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 4.169602][ T1] PCI: bus2: Fast back to back transfers enabled [ 4.175840][ T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 4.183145][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 4.188809][ T1] pci 0000:00:02.0: PCI bridge to [bus 02] [ 4.195408][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 4.266332][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.277953][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 4.346340][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.358295][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.367493][ T1] printk: console [ttyS0] disabled [ 4.372958][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A [ 4.382684][ T1] printk: console [ttyS0] enabled [ 4.382684][ T1] printk: console [ttyS0] enabled [ 4.392549][ T1] printk: bootconsole [earlycon0] disabled [ 4.392549][ T1] printk: bootconsole [earlycon0] disabled [ 4.425844][ T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A [ 4.446125][ T1] loop: module loaded [ 4.450949][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 4.460510][ T1] scsi host0: sata_mv [ 4.465767][ T1] scsi host1: sata_mv [ 4.469927][ T1] ata1: SATA max UDMA/133 irq 31 [ 4.474800][ T1] ata2: SATA max UDMA/133 irq 31 [ 4.481694][ T1] spi-nor spi0.0: found m25p32, expected m25p80 [ 4.487895][ T1] spi-nor spi0.0: m25p32 (4096 Kbytes) [ 4.493389][ T1] 6 fixed-partitions partitions found on MTD device spi0.0 [ 4.500499][ T1] Creating 6 MTD partitions on "spi0.0": [ 4.506031][ T1] 0x000000000000-0x000000080000 : "RedBoot" [ 4.512525][ T1] 0x000000080000-0x000000280000 : "zImage" [ 4.518837][ T1] 0x000000280000-0x0000003c0000 : "rd.gz" [ 4.525052][ T1] 0x0000003c0000-0x0000003d0000 : "vendor" [ 4.531287][ T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config" [ 4.538304][ T1] 0x0000003f0000-0x000000400000 : "FIS directory" [ 4.545764][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.554331][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.585418][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing. [ 4.593792][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 4.805906][ T52] ata1: SATA link down (SStatus 0 SControl F300) [ 5.145878][ T54] ata2: SATA link down (SStatus 0 SControl F300) [ 5.355472][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3c:3b:5d [ 5.365474][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 5.371716][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 5.380331][ T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000 [ 5.414388][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 5.421427][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 5.430463][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.438443][ T1] usb usb1: Product: EHCI Host Controller [ 5.444042][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd [ 5.451400][ T1] usb usb1: SerialNumber: f1050000.ehci [ 5.457698][ T1] hub 1-0:1.0: USB hub found [ 5.462206][ T1] hub 1-0:1.0: 1 port detected [ 5.467748][ T1] usbcore: registered new interface driver usb-storage [ 5.474986][ T1] mousedev: PS/2 mouse device common for all mice [ 5.481635][ T1] i2c_dev: i2c /dev entries driver [ 5.754398][ T49] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 5.956085][ T49] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63 [ 5.965041][ T49] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.972925][ T49] usb 1-1: Product: USB2.0 Hub [ 5.978583][ T49] hub 1-1:1.0: USB hub found [ 5.983463][ T49] hub 1-1:1.0: 4 ports detected [ 6.005844][ T1] rtc-s35390a 0-0030: registered as rtc0 [ 6.011692][ T1] rtc-s35390a 0-0030: setting system clock to 2000-01-01T00:07:08 UTC (946685228) [ 6.021851][ T1] device-mapper: uevent: version 1.0.3 [ 6.027715][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 6.037492][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 6.044814][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 6.052159][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 6.059665][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 6.067295][ T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN21 already requested by f1080000.sata; cannot claim for gpio-leds-hdd-21-2 [ 6.080265][ T1] kirkwood-pinctrl f1010000.pin-controller: pin-21 (gpio-leds-hdd-21-2) status -22 [ 6.089462][ T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 21 (PIN21) from group mpp21 on device f1010000.pin-controller [ 6.102731][ T1] leds-gpio gpio-leds-hdd-21-2: Error applying setting, reverse things back [ 6.111454][ T1] ledtrig-cpu: registered to indicate activity on CPUs [ 6.118347][ T1] hid: raw HID events driver (C) Jiri Kosina [ 6.124728][ T1] drop_monitor: Initializing network drop monitor service [ 6.132952][ T1] NET: Registered PF_INET6 protocol family [ 6.140375][ T1] Segment Routing with IPv6 [ 6.144915][ T1] RPL Segment Routing with IPv6 [ 6.149754][ T1] In-situ OAM (IOAM) with IPv6 [ 6.154512][ T1] NET: Registered PF_PACKET protocol family [ 6.160555][ T1] Key type dns_resolver registered [ 6.180122][ T1] registered taskstats version 1 [ 6.185079][ T1] Loading compiled-in X.509 certificates [ 6.207517][ T1] Key type .fscrypt registered [ 6.212180][ T1] Key type fscrypt-provisioning registered [ 6.222899][ T1] Key type big_key registered [ 6.263190][ T1] Key type encrypted registered [ 6.334453][ T49] usb 1-1.1: new high-speed USB device number 3 using orion-ehci [ 6.358061][ T104] "cryptomgr_test" (104) uses obsolete ecb(arc4) skcipher [ 6.501711][ T49] usb 1-1.1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.12 [ 6.524387][ T49] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.532450][ T49] usb 1-1.1: Product: Mass Storage [ 6.544382][ T49] usb 1-1.1: Manufacturer: Generic [ 6.549373][ T49] usb 1-1.1: SerialNumber: DEE625AD [ 6.574615][ T49] usb-storage 1-1.1:1.0: USB Mass Storage device detected [ 6.594405][ T49] scsi host2: usb-storage 1-1.1:1.0 [ 7.616528][ T18] scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4 [ 7.636610][ T29] sd 2:0:0:0: [sda] 7987200 512-byte logical blocks: (4.09 GB/3.81 GiB) [ 7.655235][ T29] sd 2:0:0:0: [sda] Write Protect is off [ 7.674405][ T29] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 7.690443][ T29] sda: sda1 [ 7.704605][ T29] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 8.168667][ T1] clk: Disabling unused clocks [ 8.176668][ T1] Freeing unused kernel image (initmem) memory: 1024K [ 8.194966][ T1] Checked W+X mappings: passed, no W+X pages found [ 8.201369][ T1] Run /init as init process Loading, please wait... Starting systemd-udevd version 252.17-1~deb12u1 [ 9.400809][ T152] usbcore: registered new interface driver uas Begin: Loading essential drivers ... done. 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.38.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 20039/249984 files, 219911/998144 blocks done. [ 20.432285][ T177] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 20.608358][ T177] EXT4-fs (sda1): mounted filesystem 1bb382f9-cdc7-4f13-943b-e391366937a6 ro with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 3.06 booting INIT: No inittab.d directory found 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.747521][ T355] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized [ 25.850149][ T370] orion_wdt: Initial timeout 21 sec [ 26.500316][ T354] marvell-cesa f1030000.crypto: CESA device successfully registered [ 26.704447][ C0] random: crng init done [ 26.745815][ T369] sd 2:0:0:0: Attached scsi generic sg0 type 0 done. Activating swap:. [ 28.146765][ T516] EXT4-fs (sda1): re-mounted 1bb382f9-cdc7-4f13-943b-e391366937a6 r/w. 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.... Starting Setting kernel variables: sysctl. Initializing random number generator...done. Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1 Copyright 2004-2022 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:50:43:3c:3b:5d Sending on LPF/eth0/00:50:43:3c:3b:5d Sending on Socket/fallback DHCPREQUEST for 192.168.0.17 on eth0 to 255.255.255.255 port 67 [ 34.454657][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled DHCPREQUEST for 192.168.0.17 on eth0 to 255.255.255.255 port 67 DHCPNAK from 10.0.0.1 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPOFFER of 10.0.0.220 from 10.0.0.1 DHCPREQUEST for 10.0.0.220 on eth0 to 255.255.255.255 port 67 DHCPACK of 10.0.0.220 from 10.0.0.1 bound to 10.0.0.220 -- renewal in 19609 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. Not starting NFS kernel daemon: no exports ... (warning). Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1036 (syslogd) . Starting system message bus: dbus. Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. Starting NTP server: ntpd1999-12-31T16:07:47 ntpd[1068]: INIT: ntpd ntpsec-1.2.2: Starting 1999-12-31T16:07:47 ntpd[1068]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106 . Starting NTP server: ntpd. Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1050 (klogd) . Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting. failed! Running local boot scripts (/etc/rc.local) ssh-keygen: generating new host keys: RSA ECDSA ED25519 Starting OpenBSD Secure Shell server: sshd . . Debian GNU/Linux 12 debian ttyS0 debian login: root
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 07, 2024 09:56PM |
Admin Registered: 13 years ago Posts: 19,092 |
help printenv bdinfo setenv ethact egiga0 # --- to avoid the error messages with eth1addr mii info mdio list md.l 0xF1010000 8 md.l 0xF1010100 1 md.l 0xF1010140 1
ethtool eth0 ping 10.0.0.1 # --- ping your router about 10 times ethtool eth0 # --- I don't expect any change here ls -l /sys/class/leds # --- I expect nothing under this directory
Quote
Thanks for offering to build the u-boot, I'm looking forward to it, since booting via stock u-boot is impractical. I would also like to understand the process of building device specific u-boot, but I understand that guiding is too time consuming, perhaps if you can point me to a specific documentation / guides, I can start playing with this as well.
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 08, 2024 03:51PM |
Registered: 28 days ago Posts: 27 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** MARVELL BOARD: Synology Disk Station LE U-Boot 1.1.4 (Jun 29 2010 - 20:28:54) Marvell version: 3.5.3 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B3D4 Soc: 88F6282 A0CPU 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 256MB DRAM Total size 256MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done Using default environment [4096kB@f8000000] Flash: 4 MB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. PEX 1: interface detected no Link. Synology Model: DS211 Fan Status: Good Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Marvell>> help ? - alias for 'help' WOLTest - Wake On Lan u-boot testing base - print or set address offset bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol bubt - Burn an image on the Boot Flash. cmp - memory compare cp - memory copy cpumap - Display CPU memory mapping settings. crc32 - checksum calculation echo - echo args to console erase - erase FLASH memory flinfo - print FLASH memory information go - start application at address 'addr' help - print online help icrc32 - checksum calculation iloop - infinite loop on address range imd - i2c memory display imm[.b, .s, .w, .l] - i2c memory modify (auto-incrementing) imw - memory write (fill) inm - memory modify (constant address) iprobe - probe to discover valid I2C chip addresses loop - infinite loop on address range md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nm - memory modify (constant address) pci - list and access PCI Configuration Space phyRead - Read Phy register phyWrite - Write Phy register ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU resetenv - Return all environment variable to default. setenv - set environment variables sflash - read, write or erase the external SPI Flash. sg - scanning the PHYs status tftpboot- boot image via network using TFTP protocol version - print monitor version Marvell>> printenv bootcmd=bootm F8080000 F8280000 baudrate=115200 loads_echo=0 ipaddr=192.168.1.154 serverip=192.168.1.155 rootpath=/mnt/ARM_FS/ netmask=255.255.254.0 run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root) mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; lcd0_enable=0 lcd0_params=640x480-16@60 lcd0_bootargs=video-dovefb:lcd0:$(lcd0_params) clcd.lcd0_enable=$(lcd0_enable) bootdelay=3 disaMvPnp=no ethaddr=00:50:43:3c:3b:5d ethmtu=1500 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host pcieTune=no bootargs=console=ttyS0,115200 ip=off initrd=0x00800040,4M root=/dev/md0 rw syno_hw_version=DS211v10 ihd_num=2 netif_num=1 ethact=egiga0 Environment size: 1237/4092 bytes Marvell>> bdinfo Unknown command 'bdinfo' - try 'help' Marvell>> setenv ethact egiga0 Marvell>> mii info Unknown command 'mii' - try 'help' Marvell>> mdio list Unknown command 'mdio' - try 'help' Marvell>> md.l 0xF1010000 8 f1010000: 01002222 03303311 00550000 00000000 ""...30...U..... f1010010: 00000000 00000000 00000000 00000000 ................ Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> md.l 0xF1010140 1 f1010140: 00000000 .... Marvell>> setenv ipaddr 10.0.0.27; setenv serverip 10.0.0.197; setenv netmask 255.255.255.0; setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> mw 0x800000 0 1; tftpboot 0x800000 os/linux/ds211/uImage; tftpboot 0x2100000 os/linux/ds211/uInitrd; printenv; bootm 0x800000 0x2100000 Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uImage'. Load address: 0x800000 Loading: T T T T T ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################## done Bytes transferred = 6246348 (5f4fcc hex) Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uInitrd'. Load address: 0x2100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################### done Bytes transferred = 5791271 (585e27 hex) bootcmd=bootm F8080000 F8280000 baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root) mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; lcd0_enable=0 lcd0_params=640x480-16@60 lcd0_bootargs=video-dovefb:lcd0:$(lcd0_params) clcd.lcd0_enable=$(lcd0_enable) bootdelay=3 disaMvPnp=no ethaddr=00:50:43:3c:3b:5d ethmtu=1500 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host pcieTune=no ethact=egiga0 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial filesize=585e27 fileaddr=2100000 netmask=255.255.255.0 ipaddr=10.0.0.27 serverip=10.0.0.197 Environment size: 1221/4092 bytes ## Booting image at 00800000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6246284 Bytes = 6 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791207 Bytes = 5.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 [ 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 DS212, DS212p v10, v20, DS213air v10, DS213 v10 [ 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-0x000000000fffffff] [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000][ T0] trace event string verifier disabled [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Trampoline variant of Tasks RCU enabled. [ 0.000000][ T0] Tracing variant of Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000001][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008518][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015588][ T0] Console: colour dummy device 80x30 [ 0.020796][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032012][ T0] CPU: Testing write buffer coherency: ok [ 0.037665][ T0] pid_max: default: 32768 minimum: 301 [ 0.049597][ T0] LSM: initializing lsm=capability,integrity [ 0.057223][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.065253][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.083156][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.091207][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.099850][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.106970][ T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0 [ 0.113149][ T1] rcu: Hierarchical SRCU implementation. [ 0.118684][ T1] rcu: Max phase no-delay instances is 1000. [ 0.126780][ T1] devtmpfs: initialized [ 0.143912][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.154494][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.164118][ T1] prandom: seed boundary self test passed [ 0.172902][ T1] prandom: 100 self tests passed [ 0.177687][ T1] pinctrl core: initialized pinctrl subsystem [ 0.186530][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.194353][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.206034][ T1] audit: initializing netlink subsys (disabled) [ 0.213746][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.213874][ T1] cpuidle: using governor ladder [ 0.225377][ T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1 [ 0.233903][ T1] cpuidle: using governor menu [ 0.239034][ T1] Feroceon L2: Enabling L2 [ 0.243313][ T1] Feroceon L2: Cache support initialised. [ 0.257680][ T1] No ATAGs? [ 0.618533][ T1] raid6: int32x8 gen() 151 MB/s [ 0.958531][ T1] raid6: int32x4 gen() 140 MB/s [ 1.298556][ T1] raid6: int32x2 gen() 181 MB/s [ 1.638531][ T1] raid6: int32x1 gen() 131 MB/s [ 1.643477][ T1] raid6: using algorithm int32x2 gen() 181 MB/s [ 1.998531][ T1] raid6: .... xor() 115 MB/s, rmw enabled [ 2.004085][ T1] raid6: using intx1 recovery algorithm [ 2.019857][ T1] SCSI subsystem initialized [ 2.028990][ T1] usbcore: registered new interface driver usbfs [ 2.035222][ T1] usbcore: registered new interface driver hub [ 2.058586][ T1] usbcore: registered new device driver usb [ 2.064598][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.078532][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.088340][ T1] PTP clock support registered [ 2.120330][ T1] vgaarb: loaded [ 2.124369][ T1] clocksource: Switched to clocksource orion_clocksource [ 2.141326][ T1] VFS: Disk quotas dquot_6.6.0 [ 2.164733][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.195445][ T1] NET: Registered PF_INET protocol family [ 2.214463][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.234514][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 2.243768][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.264406][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 2.272761][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 2.294429][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 2.301987][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.324567][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.331784][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.355065][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.375023][ T1] RPC: Registered named UNIX socket transport module. [ 2.381618][ T1] RPC: Registered udp transport module. [ 2.394389][ T1] RPC: Registered tcp transport module. [ 2.399770][ T1] RPC: Registered tcp-with-tls transport module. [ 2.424384][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.431501][ T1] PCI: CLS 0 bytes, default 32 [ 2.446645][ T10] Trying to unpack rootfs image as initramfs... [ 3.190268][ T10] Freeing initrd memory: 5656K [ 3.412869][ T1] Initialise system trusted keyrings [ 3.418980][ T1] Key type blacklist registered [ 3.424000][ T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 3.431326][ T1] zbud: loaded [ 3.449003][ T1] NFS: Registering the id_resolver key type [ 3.454812][ T1] Key type id_resolver registered [ 3.459675][ T1] Key type id_legacy registered [ 3.464525][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.471901][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 3.481213][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.489594][ T1] fuse: init (API version 7.38) [ 3.495416][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.502804][ T1] orangefs_init: module version upstream loaded [ 3.509193][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 3.677267][ T1] xor: measuring software checksum speed [ 3.689402][ T1] arm4regs : 1485 MB/sec [ 3.705500][ T1] 8regs : 890 MB/sec [ 3.718323][ T1] 32regs : 1263 MB/sec [ 3.723349][ T1] xor: using function: arm4regs (1485 MB/sec) [ 3.729262][ T1] async_tx: api initialized (async) [ 3.734295][ T1] Key type asymmetric registered [ 3.739083][ T1] Asymmetric key parser 'x509' registered [ 3.784269][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 3.792835][ T1] io scheduler bfq registered [ 3.939633][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.949300][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.959950][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.970360][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges: [ 3.980284][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000 [ 3.990406][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000 [ 4.000502][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000 [ 4.010623][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.021226][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.031824][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.042417][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.053886][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 4.062221][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.068427][ T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff]) [ 4.079277][ T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff]) [ 4.090120][ T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff]) [ 4.100960][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 4.108524][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 4.115591][ T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400 [ 4.122831][ T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400 [ 4.131596][ T1] PCI: bus0: Fast back to back transfers disabled [ 4.137881][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.146576][ T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.155511][ T1] PCI: bus1: Fast back to back transfers enabled [ 4.161678][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 4.169265][ T1] PCI: bus2: Fast back to back transfers enabled [ 4.175504][ T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 4.182807][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 4.188471][ T1] pci 0000:00:02.0: PCI bridge to [bus 02] [ 4.195081][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 4.266339][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.277964][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 4.346345][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.358305][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.367500][ T1] printk: console [ttyS0] disabled [ 4.372964][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A [ 4.382694][ T1] printk: console [ttyS0] enabled [ 4.382694][ T1] printk: console [ttyS0] enabled [ 4.392558][ T1] printk: bootconsole [earlycon0] disabled [ 4.392558][ T1] printk: bootconsole [earlycon0] disabled [ 4.425849][ T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A [ 4.446116][ T1] loop: module loaded [ 4.450946][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 4.460511][ T1] scsi host0: sata_mv [ 4.465771][ T1] scsi host1: sata_mv [ 4.469929][ T1] ata1: SATA max UDMA/133 irq 31 [ 4.474809][ T1] ata2: SATA max UDMA/133 irq 31 [ 4.481693][ T1] spi-nor spi0.0: found m25p32, expected m25p80 [ 4.487894][ T1] spi-nor spi0.0: m25p32 (4096 Kbytes) [ 4.493388][ T1] 6 fixed-partitions partitions found on MTD device spi0.0 [ 4.500500][ T1] Creating 6 MTD partitions on "spi0.0": [ 4.506032][ T1] 0x000000000000-0x000000080000 : "RedBoot" [ 4.512527][ T1] 0x000000080000-0x000000280000 : "zImage" [ 4.518832][ T1] 0x000000280000-0x0000003c0000 : "rd.gz" [ 4.525044][ T1] 0x0000003c0000-0x0000003d0000 : "vendor" [ 4.531272][ T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config" [ 4.538290][ T1] 0x0000003f0000-0x000000400000 : "FIS directory" [ 4.545740][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.554314][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.585380][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing. [ 4.593749][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 4.805908][ T52] ata1: SATA link down (SStatus 0 SControl F300) [ 5.145878][ T54] ata2: SATA link down (SStatus 0 SControl F300) [ 5.355487][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3c:3b:5d [ 5.365478][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 5.371724][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 5.380339][ T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000 [ 5.414391][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 5.421431][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 5.430463][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.438443][ T1] usb usb1: Product: EHCI Host Controller [ 5.444042][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd [ 5.451401][ T1] usb usb1: SerialNumber: f1050000.ehci [ 5.457702][ T1] hub 1-0:1.0: USB hub found [ 5.462209][ T1] hub 1-0:1.0: 1 port detected [ 5.467751][ T1] usbcore: registered new interface driver usb-storage [ 5.474987][ T1] mousedev: PS/2 mouse device common for all mice [ 5.481641][ T1] i2c_dev: i2c /dev entries driver [ 5.754400][ T49] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 5.956095][ T49] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63 [ 5.965050][ T49] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.972935][ T49] usb 1-1: Product: USB2.0 Hub [ 5.978592][ T49] hub 1-1:1.0: USB hub found [ 5.983472][ T49] hub 1-1:1.0: 4 ports detected [ 6.004934][ T1] rtc-s35390a 0-0030: registered as rtc0 [ 6.010540][ T1] rtc-s35390a 0-0030: hctosys: unable to read the hardware clock [ 6.019215][ T1] device-mapper: uevent: version 1.0.3 [ 6.025072][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 6.034852][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 6.042123][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 6.049521][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 6.057031][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 6.064661][ T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN21 already requested by f1080000.sata; cannot claim for gpio-leds-hdd-21-2 [ 6.077627][ T1] kirkwood-pinctrl f1010000.pin-controller: pin-21 (gpio-leds-hdd-21-2) status -22 [ 6.086827][ T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 21 (PIN21) from group mpp21 on device f1010000.pin-controller [ 6.100099][ T1] leds-gpio gpio-leds-hdd-21-2: Error applying setting, reverse things back [ 6.108832][ T1] ledtrig-cpu: registered to indicate activity on CPUs [ 6.115723][ T1] hid: raw HID events driver (C) Jiri Kosina [ 6.122063][ T1] drop_monitor: Initializing network drop monitor service [ 6.130317][ T1] NET: Registered PF_INET6 protocol family [ 6.137724][ T1] Segment Routing with IPv6 [ 6.142113][ T1] RPL Segment Routing with IPv6 [ 6.147085][ T1] In-situ OAM (IOAM) with IPv6 [ 6.151822][ T1] NET: Registered PF_PACKET protocol family [ 6.157915][ T1] Key type dns_resolver registered [ 6.177530][ T1] registered taskstats version 1 [ 6.182421][ T1] Loading compiled-in X.509 certificates [ 6.204957][ T1] Key type .fscrypt registered [ 6.209616][ T1] Key type fscrypt-provisioning registered [ 6.220297][ T1] Key type big_key registered [ 6.260802][ T1] Key type encrypted registered [ 6.334495][ T49] usb 1-1.1: new high-speed USB device number 3 using orion-ehci [ 6.355412][ T104] "cryptomgr_test" (104) uses obsolete ecb(arc4) skcipher [ 6.501728][ T49] usb 1-1.1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.12 [ 6.524386][ T49] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.532448][ T49] usb 1-1.1: Product: Mass Storage [ 6.544385][ T49] usb 1-1.1: Manufacturer: Generic [ 6.549381][ T49] usb 1-1.1: SerialNumber: DEE625AD [ 6.574618][ T49] usb-storage 1-1.1:1.0: USB Mass Storage device detected [ 6.594408][ T49] scsi host2: usb-storage 1-1.1:1.0 [ 7.616538][ T18] scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4 [ 7.636622][ T29] sd 2:0:0:0: [sda] 7987200 512-byte logical blocks: (4.09 GB/3.81 GiB) [ 7.655246][ T29] sd 2:0:0:0: [sda] Write Protect is off [ 7.674409][ T29] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 7.690454][ T29] sda: sda1 [ 7.704610][ T29] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 8.166054][ T1] clk: Disabling unused clocks [ 8.173989][ T1] Freeing unused kernel image (initmem) memory: 1024K [ 8.194967][ T1] Checked W+X mappings: passed, no W+X pages found [ 8.201368][ T1] Run /init as init process Loading, please wait... Starting systemd-udevd version 252.17-1~deb12u1 [ 9.391079][ T153] usbcore: registered new interface driver uas Begin: Loading essential drivers ... done. 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.38.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 21944/249984 files, 362746/998144 blocks done. [ 20.422283][ T177] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 20.598115][ T177] EXT4-fs (sda1): mounted filesystem 1bb382f9-cdc7-4f13-943b-e391366937a6 ro with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 3.06 booting INIT: No inittab.d directory found 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...[ 26.392085][ T361] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized [ 26.818985][ T357] orion_wdt: Initial timeout 21 sec [ 27.404730][ T362] marvell-cesa f1030000.crypto: CESA device successfully registered [ 27.564451][ C0] random: crng init done [ 27.714524][ T358] sd 2:0:0:0: Attached scsi generic sg0 type 0 done. Activating swap:. [ 29.000771][ T516] EXT4-fs (sda1): re-mounted 1bb382f9-cdc7-4f13-943b-e391366937a6 r/w. 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.... Starting Setting kernel variables: sysctl. Initializing random number generator...done. Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1 Copyright 2004-2022 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:50:43:3c:3b:5d Sending on LPF/eth0/00:50:43:3c:3b:5d Sending on Socket/fallback DHCPREQUEST for 10.0.0.220 on eth0 to 255.255.255.255 port 67 [ 35.008063][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled DHCPREQUEST for 10.0.0.220 on eth0 to 255.255.255.255 port 67 DHCPACK of 10.0.0.220 from 10.0.0.1 bound to 10.0.0.220 -- renewal in 18918 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. Not starting NFS kernel daemon: no exports ... (warning). Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1028 (syslogd) . Starting system message bus: dbus. Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1045 (klogd) . Starting dphys-swapfile swapfile setup ... computing size, want /var/swap=972MByte, checking existing: deleting wrong size file (509607936), generating swapfile ... [ 382.600340][ T1122] Adding 995324k swap on /var/swap. Priority:-2 extents:26 across:1812532k FS of 972MBytes done. Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. Starting NTP server: ntpd1999-12-31T16:11:16 ntpd[1130]: INIT: ntpd ntpsec-1.2.2: Starting 1999-12-31T16:11:16 ntpd[1130]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106 . Starting NTP server: ntpd1999-12-31T16:11:16 ntpd[1133]: INIT: ntpd ntpsec-1.2.2: Starting 1999-12-31T16:11:16 ntpd[1133]: INIT: Command line: /usr/sbin/ntpd -p /run/ntpd.pid -c /etc/ntpsec/ntp.conf -g -N -u ntpsec:ntpsec . Starting OpenBSD Secure Shell server: sshd. Running local boot scripts (/etc/rc.local) . Debian GNU/Linux 12 debian ttyS0 debian login: ethtool eth0 Password: Debian GNU/Linux 12 debian ttyS0 debian login: root Password: Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 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: Thu Nov 7 17:08:56 PST 2024 from 10.0.0.197 on pts/0 debian 10.0.0.220 n Synology DS212, DS212p v10, v20, DS213air v10, DS213 v10 Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 Debian 12.7 Fri Dec 31 16:12:40 PST 1999 up 7 minutes root@debian:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on master-slave cfg: preferred slave master-slave status: slave Port: Twisted Pair PHYAD: 8 Transceiver: external MDI-X: Unknown Supports Wake-on: d Wake-on: d Link detected: yes root@debian:~# ping 10.0.0.1 PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data. 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.560 ms 64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.435 ms 64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=0.504 ms 64 bytes from 10.0.0.1: icmp_seq=4 ttl=64 time=0.614 ms 64 bytes from 10.0.0.1: icmp_seq=5 ttl=64 time=0.469 ms 64 bytes from 10.0.0.1: icmp_seq=6 ttl=64 time=0.425 ms 64 bytes from 10.0.0.1: icmp_seq=7 ttl=64 time=0.516 ms 64 bytes from 10.0.0.1: icmp_seq=8 ttl=64 time=0.582 ms 64 bytes from 10.0.0.1: icmp_seq=9 ttl=64 time=0.503 ms 64 bytes from 10.0.0.1: icmp_seq=10 ttl=64 time=0.362 ms 64 bytes from 10.0.0.1: icmp_seq=11 ttl=64 time=0.388 ms 64 bytes from 10.0.0.1: icmp_seq=12 ttl=64 time=0.363 ms 64 bytes from 10.0.0.1: icmp_seq=13 ttl=64 time=0.344 ms ^C --- 10.0.0.1 ping statistics --- 13 packets transmitted, 13 received, 0% packet loss, time 12455ms rtt min/avg/max/mdev = 0.344/0.466/0.614/0.085 ms root@debian:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on master-slave cfg: preferred slave master-slave status: slave Port: Twisted Pair PHYAD: 8 Transceiver: external MDI-X: Unknown Supports Wake-on: d Wake-on: d Link detected: yes root@debian:~# ls -l /sys/class/leds total 0 drwxr-xr-x 2 root root 0 Dec 31 16:11 . drwxr-xr-x 49 root root 0 Dec 31 16:05 .. root@debian:~#
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 08, 2024 06:49PM |
Admin Registered: 13 years ago Posts: 19,092 |
Quote
I am not sure what's the flash size, since it contains this stock Linux OS, it would be good to install OpenWRT instead as a backup. That's if OpenWRT would boot, of course, topic for OpenWRT community. Having OpenWRT flashed would not require having rootfs on USB or on the SATA drive. Not sure if there are other options besides OpenWRT that can fit on the internal flash storage.
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 12:55AM |
Registered: 9 years ago Posts: 462 |
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 03:23AM |
Registered: 28 days ago Posts: 27 |
Super cool, just need the latest version of u-boot.Quote
Bodhi
The flash size is 4MB, reported in u-boot and was detected correctly in dmesg. Once we got the DTS done, OpenWrt should boot, too. See the sub-forum:
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** MARVELL BOARD: Synology Disk Station LE U-Boot 1.1.4 (Jun 29 2010 - 20:28:54) Marvell version: 3.5.3 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B3D4 Soc: 88F6282 A0CPU 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 256MB DRAM Total size 256MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done Using default environment [4096kB@f8000000] Flash: 4 MB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. PEX 1: interface detected no Link. Synology Model: DS211 Fan Status: Good Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Marvell>> setenv ide_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> setenv load_uimage 'ext2load ide 0:1 0x800000 /boot/uImage' Marvell>> setenv load_uinitrd 'ext2load ide 0:1 0x2100000 /boot/uInitrd' Marvell>> setenv ide_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000' Marvell>> setenv ide_bootcmd 'run ide_set_bootargs; run ide_boot' Marvell>> setenv bootcmd 'ide reset; run ide_bootcmd; reset' Marvell>> printenv baudrate=115200 loads_echo=0 ipaddr=192.168.1.154 serverip=192.168.1.155 rootpath=/mnt/ARM_FS/ netmask=255.255.254.0 run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root) mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; lcd0_enable=0 lcd0_params=640x480-16@60 lcd0_bootargs=video-dovefb:lcd0:$(lcd0_params) clcd.lcd0_enable=$(lcd0_enable) bootdelay=3 disaMvPnp=no ethaddr=00:50:43:3c:3b:5d ethmtu=1500 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host pcieTune=no bootargs=console=ttyS0,115200 ip=off initrd=0x00800040,4M root=/dev/md0 rw syno_hw_version=DS211v10 ihd_num=2 netif_num=1 ethact=egiga0 ide_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial load_uimage=ext2load ide 0:1 0x800000 /boot/uImage load_uinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd ide_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000 ide_bootcmd=run ide_set_bootargs; run ide_boot bootcmd=ide reset; run ide_bootcmd; reset Environment size: 1589/4092 bytes Marvell>> boot Unknown command 'boot' - try 'help' Marvell>> setenv ipaddr 10.0.0.27; setenv serverip 10.0.0.197; setenv netmask 255.255.255.0; setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' Marvell>> mw 0x800000 0 1; tftpboot 0x800000 os/linux/ds211/uImage; tftpboot 0x2100000 os/linux/ds211/uInitrd; printenv; bootm 0x800000 0x2100000 Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uImage'. Load address: 0x800000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################## done Bytes transferred = 6246356 (5f4fd4 hex) Using egiga0 device TFTP from server 10.0.0.197; our IP address is 10.0.0.27 Filename 'os/linux/ds211/uInitrd'. Load address: 0x2100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################### done Bytes transferred = 5791947 (5860cb hex) baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root) mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; lcd0_enable=0 lcd0_params=640x480-16@60 lcd0_bootargs=video-dovefb:lcd0:$(lcd0_params) clcd.lcd0_enable=$(lcd0_enable) bootdelay=3 disaMvPnp=no ethaddr=00:50:43:3c:3b:5d ethmtu=1500 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host pcieTune=no ethact=egiga0 ide_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial load_uimage=ext2load ide 0:1 0x800000 /boot/uImage load_uinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd ide_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000 ide_bootcmd=run ide_set_bootargs; run ide_boot bootcmd=ide reset; run ide_bootcmd; reset bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial filesize=5860cb fileaddr=2100000 netmask=255.255.255.0 ipaddr=10.0.0.27 serverip=10.0.0.197 Environment size: 1573/4092 bytes ## Booting image at 00800000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6246292 Bytes = 6 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791883 Bytes = 5.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 [ 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 DS211 [ 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-0x000000000fffffff] [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 232296K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29848K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000][ T0] trace event string verifier disabled [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Trampoline variant of Tasks RCU enabled. [ 0.000000][ T0] Tracing variant of Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000001][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008518][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.015586][ T0] Console: colour dummy device 80x30 [ 0.020795][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032012][ T0] CPU: Testing write buffer coherency: ok [ 0.037665][ T0] pid_max: default: 32768 minimum: 301 [ 0.049586][ T0] LSM: initializing lsm=capability,integrity [ 0.057203][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.065237][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.083109][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.091153][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.099797][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.106917][ T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0 [ 0.113103][ T1] rcu: Hierarchical SRCU implementation. [ 0.118641][ T1] rcu: Max phase no-delay instances is 1000. [ 0.126733][ T1] devtmpfs: initialized [ 0.143904][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.154484][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.164113][ T1] prandom: seed boundary self test passed [ 0.172901][ T1] prandom: 100 self tests passed [ 0.177679][ T1] pinctrl core: initialized pinctrl subsystem [ 0.186512][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.194326][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.205999][ T1] audit: initializing netlink subsys (disabled) [ 0.213715][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.213840][ T1] cpuidle: using governor ladder [ 0.225343][ T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1 [ 0.233866][ T1] cpuidle: using governor menu [ 0.239002][ T1] Feroceon L2: Enabling L2 [ 0.243287][ T1] Feroceon L2: Cache support initialised. [ 0.257325][ T1] No ATAGs? [ 0.618533][ T1] raid6: int32x8 gen() 151 MB/s [ 0.958531][ T1] raid6: int32x4 gen() 140 MB/s [ 1.298556][ T1] raid6: int32x2 gen() 181 MB/s [ 1.638530][ T1] raid6: int32x1 gen() 131 MB/s [ 1.643477][ T1] raid6: using algorithm int32x2 gen() 181 MB/s [ 1.998532][ T1] raid6: .... xor() 115 MB/s, rmw enabled [ 2.004085][ T1] raid6: using intx1 recovery algorithm [ 2.019821][ T1] SCSI subsystem initialized [ 2.028989][ T1] usbcore: registered new interface driver usbfs [ 2.035223][ T1] usbcore: registered new interface driver hub [ 2.058586][ T1] usbcore: registered new device driver usb [ 2.064624][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.078531][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.088340][ T1] PTP clock support registered [ 2.110642][ T1] vgaarb: loaded [ 2.119055][ T1] clocksource: Switched to clocksource orion_clocksource [ 2.145786][ T1] VFS: Disk quotas dquot_6.6.0 [ 2.159397][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.192546][ T1] NET: Registered PF_INET protocol family [ 2.209151][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.230048][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 2.249227][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.257653][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 2.279105][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 2.286950][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 2.309606][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.317672][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.339116][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.347447][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.379549][ T1] RPC: Registered named UNIX socket transport module. [ 2.386146][ T1] RPC: Registered udp transport module. [ 2.399074][ T1] RPC: Registered tcp transport module. [ 2.404453][ T1] RPC: Registered tcp-with-tls transport module. [ 2.419071][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.426187][ T1] PCI: CLS 0 bytes, default 32 [ 2.449465][ T10] Trying to unpack rootfs image as initramfs... [ 3.193356][ T10] Freeing initrd memory: 5660K [ 3.412836][ T1] Initialise system trusted keyrings [ 3.418055][ T1] Key type blacklist registered [ 3.423953][ T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 3.431274][ T1] zbud: loaded [ 3.448844][ T1] NFS: Registering the id_resolver key type [ 3.454665][ T1] Key type id_resolver registered [ 3.459545][ T1] Key type id_legacy registered [ 3.464375][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.471771][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 3.481066][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.489502][ T1] fuse: init (API version 7.38) [ 3.495316][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.502722][ T1] orangefs_init: module version upstream loaded [ 3.509099][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 3.677125][ T1] xor: measuring software checksum speed [ 3.689344][ T1] arm4regs : 1468 MB/sec [ 3.705433][ T1] 8regs : 890 MB/sec [ 3.718263][ T1] 32regs : 1263 MB/sec [ 3.723303][ T1] xor: using function: arm4regs (1468 MB/sec) [ 3.729217][ T1] async_tx: api initialized (async) [ 3.734252][ T1] Key type asymmetric registered [ 3.739023][ T1] Asymmetric key parser 'x509' registered [ 3.784694][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 3.793268][ T1] io scheduler bfq registered [ 3.939930][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.949547][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.960153][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.970575][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges: [ 3.980500][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000 [ 3.990623][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1044000..0x00f1045fff -> 0x0000044000 [ 4.000716][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1080000..0x00f1081fff -> 0x0000080000 [ 4.010808][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.021413][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 4.032013][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.042606][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000 [ 4.054064][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 4.062393][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.068557][ T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff]) [ 4.079429][ T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff]) [ 4.090283][ T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff]) [ 4.101129][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 4.108669][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 4.115740][ T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400 [ 4.123002][ T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400 [ 4.131778][ T1] PCI: bus0: Fast back to back transfers disabled [ 4.138035][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.146741][ T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 4.155675][ T1] PCI: bus1: Fast back to back transfers enabled [ 4.161866][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 4.169503][ T1] PCI: bus2: Fast back to back transfers enabled [ 4.175666][ T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 4.182997][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 4.188641][ T1] pci 0000:00:02.0: PCI bridge to [bus 02] [ 4.195238][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 4.261021][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.272671][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 4.341031][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.352980][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.362160][ T1] printk: console [ttyS0] disabled [ 4.367621][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A [ 4.377344][ T1] printk: console [ttyS0] enabled [ 4.377344][ T1] printk: console [ttyS0] enabled [ 4.387201][ T1] printk: bootconsole [earlycon0] disabled [ 4.387201][ T1] printk: bootconsole [earlycon0] disabled [ 4.420572][ T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A [ 4.440791][ T1] loop: module loaded [ 4.445618][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 4.455150][ T1] scsi host0: sata_mv [ 4.460377][ T1] scsi host1: sata_mv [ 4.464565][ T1] ata1: SATA max UDMA/133 irq 31 [ 4.469443][ T1] ata2: SATA max UDMA/133 irq 31 [ 4.476288][ T1] spi-nor spi0.0: found m25p32, expected m25p80 [ 4.482514][ T1] spi-nor spi0.0: m25p32 (4096 Kbytes) [ 4.488041][ T1] 6 fixed-partitions partitions found on MTD device spi0.0 [ 4.495152][ T1] Creating 6 MTD partitions on "spi0.0": [ 4.500684][ T1] 0x000000000000-0x000000080000 : "RedBoot" [ 4.507204][ T1] 0x000000080000-0x000000280000 : "zImage" [ 4.513485][ T1] 0x000000280000-0x0000003c0000 : "rd.gz" [ 4.519718][ T1] 0x0000003c0000-0x0000003d0000 : "vendor" [ 4.525953][ T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config" [ 4.532973][ T1] 0x0000003f0000-0x000000400000 : "FIS directory" [ 4.540388][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.548966][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.580166][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing. [ 4.588536][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 4.969088][ T52] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 4.980613][ T52] ata1.00: ATA-8: APPLE HDD HTS541010A9E632, JA0AB5N0, max UDMA/133 [ 4.988491][ T52] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32) [ 5.002837][ T52] ata1.00: configured for UDMA/133 [ 5.018349][ T29] scsi 0:0:0:0: Direct-Access ATA APPLE HDD HTS541 B5N0 PQ: 0 ANSI: 5 [ 5.028434][ T10] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) [ 5.037370][ T10] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 5.043465][ T10] sd 0:0:0:0: [sda] Write Protect is off [ 5.049126][ T10] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.059021][ T10] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes [ 5.135895][ T10] sda: sda1 [ 5.139555][ T10] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.310201][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3c:3b:5d [ 5.320287][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 5.326566][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 5.335183][ T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000 [ 5.369078][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 5.375850][ T54] ata2: SATA link down (SStatus 0 SControl F300) [ 5.382402][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05 [ 5.391488][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.399490][ T1] usb usb1: Product: EHCI Host Controller [ 5.405129][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd [ 5.412491][ T1] usb usb1: SerialNumber: f1050000.ehci [ 5.418752][ T1] hub 1-0:1.0: USB hub found [ 5.423311][ T1] hub 1-0:1.0: 1 port detected [ 5.428796][ T1] usbcore: registered new interface driver usb-storage [ 5.436065][ T1] mousedev: PS/2 mouse device common for all mice [ 5.442766][ T1] i2c_dev: i2c /dev entries driver [ 5.451518][ T1] rtc-s35390a 0-0030: registered as rtc0 [ 5.457358][ T1] rtc-s35390a 0-0030: setting system clock to 2000-01-01T00:26:38 UTC (946686398) [ 5.467517][ T1] device-mapper: uevent: version 1.0.3 [ 5.473392][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 5.483207][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 5.490534][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 5.497879][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 5.505304][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 5.512923][ T1] ledtrig-cpu: registered to indicate activity on CPUs [ 5.519777][ T1] hid: raw HID events driver (C) Jiri Kosina [ 5.526006][ T1] drop_monitor: Initializing network drop monitor service [ 5.534207][ T1] NET: Registered PF_INET6 protocol family [ 5.541627][ T1] Segment Routing with IPv6 [ 5.546020][ T1] RPL Segment Routing with IPv6 [ 5.550992][ T1] In-situ OAM (IOAM) with IPv6 [ 5.555755][ T1] NET: Registered PF_PACKET protocol family [ 5.561990][ T1] Key type dns_resolver registered [ 5.581615][ T1] registered taskstats version 1 [ 5.586509][ T1] Loading compiled-in X.509 certificates [ 5.608996][ T1] Key type .fscrypt registered [ 5.613720][ T1] Key type fscrypt-provisioning registered [ 5.624493][ T1] Key type big_key registered [ 5.664999][ T1] Key type encrypted registered [ 5.709193][ T49] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 5.759257][ T104] "cryptomgr_test" (104) uses obsolete ecb(arc4) skcipher [ 5.920689][ T49] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63 [ 5.939074][ T49] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.946948][ T49] usb 1-1: Product: USB2.0 Hub [ 5.970188][ T49] hub 1-1:1.0: USB hub found [ 5.979086][ T49] hub 1-1:1.0: 4 ports detected [ 7.508239][ T1] clk: Disabling unused clocks [ 7.516237][ T1] Freeing unused kernel image (initmem) memory: 1024K [ 7.529693][ T1] Checked W+X mappings: passed, no W+X pages found [ 7.536100][ T1] Run /init as init process Loading, please wait... Starting systemd-udevd version 252.30-1~deb12u2 Begin: Loading essential drivers ... done. 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.38.1 fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1 fsck exited with status code 8 done. Warning: File system check failed but did not detect errors [ 24.689625][ T174] EXT4-fs (sda1): orphan cleanup on readonly fs [ 24.703618][ T174] EXT4-fs (sda1): mounted filesystem 69f1ac8b-e858-4704-9d3a-39621143db38 ro with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 3.06 booting INIT: No inittab.d directory found 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...[ 28.266511][ T351] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized [ 28.546327][ T351] orion_wdt: Initial timeout 21 sec [ 28.616874][ T357] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 29.089595][ T350] marvell-cesa f1030000.crypto: CESA device successfully registered [ 29.249133][ C0] random: crng init done done. Activating swap:. [ 30.586912][ T513] EXT4-fs (sda1): re-mounted 69f1ac8b-e858-4704-9d3a-39621143db38 ro. Quota mode: none. Will now check root file system:[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.47.0 (5-Feb-2023) rootfs: clean, 21949/61054976 files, 4566309/244190208 blocks . [ 32.929503][ T520] EXT4-fs (sda1): re-mounted 69f1ac8b-e858-4704-9d3a-39621143db38 r/w. 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.... Starting Setting kernel variables: sysctl. Initializing random number generator...done. Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1 Copyright 2004-2022 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:50:43:3c:3b:5d Sending on LPF/eth0/00:50:43:3c:3b:5d Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 [ 39.778692][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPOFFER of 10.0.0.220 from 10.0.0.1 DHCPREQUEST for 10.0.0.220 on eth0 to 255.255.255.255 port 67 DHCPACK of 10.0.0.220 from 10.0.0.1 bound to 10.0.0.220 -- renewal in 20503 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. Not starting NFS kernel daemon: no exports ... (warning). Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1032 (syslogd) . Starting system message bus: dbus. Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ 50.369274][ T1110] Adding 995324k swap on /var/swap. Priority:-2 extents:3 across:1134588k FS Starting dphys-swapfile swapfile setup ... computing size, want /var/swap=972MByte, checking existing: keeping it done. Starting NTP server: ntpd1999-12-31T16:27:23 ntpd[1116]: INIT: ntpd ntpsec-1.2.2: Starting 1999-12-31T16:27:23 ntpd[1116]: INIT: Command line: /usr/sbin/ntpd -p /run/ntpd.pid -c /etc/ntpsec/ntp.conf -g -N -u ntpsec:ntpsec . Starting NTP server: ntpd1999-12-31T16:27:23 ntpd[1122]: INIT: ntpd ntpsec-1.2.2: Starting 1999-12-31T16:27:23 ntpd[1122]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106 . Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1052 (klogd) . Starting OpenBSD Secure Shell server: sshd. Running local boot scripts (/etc/rc.local) . Debian GNU/Linux 12 debian ttyS0 debian login: root Password: Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 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: Fri Dec 31 16:24:22 PST 1999 on ttyS0 debian 10.0.0.220 n Synology DS211 Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 Debian 12.7 Fri Dec 31 16:27:37 PST 1999 up 1 minute root@debian:~#
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 03:23PM |
Admin Registered: 13 years ago Posts: 19,092 |
> Super cool, just need the latest version ofQuote
Bodhi
> The flash size is 4MB, reported in u-boot and was
> detected correctly in dmesg. Once we got the DTS
> done, OpenWrt should boot, too. See the
> sub-forum:
>
[ 4.506032][ T1] 0x000000000000-0x000000080000 : "RedBoot" [ 4.512527][ T1] 0x000000080000-0x000000280000 : "zImage" [ 4.518832][ T1] 0x000000280000-0x0000003c0000 : "rd.gz" [ 4.525044][ T1] 0x0000003c0000-0x0000003d0000 : "vendor" [ 4.531272][ T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config" [ 4.538290][ T1] 0x0000003f0000-0x000000400000 : "FIS directory"is actually wrong. That is the reason why the stock FW got corrupted easily. For the new u-boot, it must be redefined completely. What I use for Kirkwood box that has small SPI flash is 1MB for u-boot and then rest is not used.
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 03:42PM |
Admin Registered: 13 years ago Posts: 19,092 |
cat /proc/mtd
dd if=/dev/mtd0 of=ds211.mtd0 bs=64k conv=syncds211.mtd0 should be 512K.
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 03:46PM |
Registered: 28 days ago Posts: 27 |
Yep, too small. AFAIK, OpenWrt needs at least 8MB, so this cannot fit on the SPI flash, I'll just have to use USB, SATA, or maybe even NFS rootfs.Quote
Bodhi
Note that I said it will boot (in RAM). But the SPI flash is too small for the OpenWrt to run from flash (I'm not an OpenWrt expert but I recall you can use extroot, but then it must be on storage drive). It's better to use Debian on USB or HDD/SSD.
Can we just use all of the 4MB to have full featured uBoot (not sure what uBoot max size is)? This is since the stock Linux is not very useful, and I am not intending keeping it.Quote
Bodhi
What I use for Kirkwood box that has small SPI flash is 1MB for u-boot and then rest is not used.
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 04:40PM |
Registered: 28 days ago Posts: 27 |
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00010000 "RedBoot" mtd1: 00200000 00010000 "zImage" mtd2: 00140000 00010000 "rd.gz" mtd3: 00010000 00010000 "vendor" mtd4: 00020000 00010000 "RedBoot config" mtd5: 00010000 00010000 "FIS directory"
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 09, 2024 05:41PM |
Admin Registered: 13 years ago Posts: 19,092 |
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 10, 2024 01:33PM |
Admin Registered: 13 years ago Posts: 19,092 |
uboot.2024.10-tld-1.ds211.kwb sha256: 06c997d7ebe0d2fff8ca0cd2cff6e7e9d82dfc22ab33bae6eaea2d5daebe0c52
Quote
Unbricking with Serial Console & JTAG console
How to unbrick your box using serial console with kwboot (Zyxel NAS pinouts and examples)
https://forum.doozan.com/read.php?3,51739,51919#msg-51919
Re: Synology DS211: Build latest u-boot and install Debian or OpenWRT November 11, 2024 01:14PM |
Admin Registered: 13 years ago Posts: 19,092 |
Re: Debian on Synology DS211 November 15, 2024 07:09PM |
Registered: 28 days ago Posts: 27 |
Re: Debian on Synology DS211 November 15, 2024 08:42PM |
Admin Registered: 13 years ago Posts: 19,092 |
Re: Debian on Synology DS211 November 16, 2024 04:26PM |
Admin Registered: 13 years ago Posts: 19,092 |
setenv mtdparts 'mtdparts=spi0.0:768K(u-boot),64K@768K(u-boot-env),3M@1M(data)' setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'And then continue as before
DS211> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' DS211> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' DS211> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000' DS211> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot' DS211> setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'
dmesg | grep 0x0 cat /proc/mtdPlease attach the log as usual.
Re: Debian on Synology DS211 November 17, 2024 01:34PM |
Admin Registered: 13 years ago Posts: 19,092 |
setenv mtdparts 'mtdparts=spi0.0:512KK(u-boot),64K@768K(u-boot-env),3M@1M(data)'
Re: Debian on Synology DS211 November 17, 2024 01:52PM |
Admin Registered: 13 years ago Posts: 19,092 |
cp -a kirkwood-ds211.dtb /media/sdb1/boot/dts/
Re: Debian on Synology DS211 November 17, 2024 07:09PM |
Registered: 28 days ago Posts: 27 |
Starting kernel ... Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00000000, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: Debian on Synology DS211 November 17, 2024 11:57PM |
Admin Registered: 13 years ago Posts: 19,092 |
setenv mtdparts 'mtdparts=spi0.0:512KK(u-boot),64K@768K(u-boot-env),3M@1M(data)'
Re: Debian on Synology DS211 November 18, 2024 09:21PM |
Admin Registered: 13 years ago Posts: 19,092 |
setenv mtdparts 'mtdparts=spi0.0:512K(u-boot),64K@768K(u-boot-env),3M@1M(data)'
cd /boot cp -a uImage.orig uImage sync
Re: Debian on Synology DS211 November 19, 2024 03:30PM |
Registered: 28 days ago Posts: 27 |
Re: Debian on Synology DS211 November 19, 2024 03:53PM |
Admin Registered: 13 years ago Posts: 19,092 |
Re: Debian on Synology DS211 November 19, 2024 04:58PM |
Registered: 28 days ago Posts: 27 |
DS211> bootdev hunt Hunting with: ethernet ethernet-controller@72000 Waiting for PHY auto negotiation to complete...... done BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.0.0.117 (259 ms) Hunting with: ahci Removing devices on SATA bus... Rescanning SATA bus for devices... Err: Failed to identify SATA device 0
Will now check root file system:[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.47.0 (5-Feb-2023) fsck.ext3: Device or resource busy while trying to open /dev/sda1 Filesystem mounted or opened exclusively by another program? fsck exited with status code 8 failed! An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed! The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. ... (warning).Give root password for maintenance (or press Control-D to continue):
Re: Debian on Synology DS211 November 19, 2024 05:11PM |
Registered: 28 days ago Posts: 27 |
142.095684] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 142.101655] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [ 236.035578] ata1: link is slow to respond, please be patient (ready=0) [ 240.095579] ata1: SRST failed (errno=-16) [ 246.075577] ata1: link is slow to respond, please be patient (ready=0) [ 250.135582] ata1: SRST failed (errno=-16) [ 251.075592] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 251.105717] ata1.00: supports DRM functions and may not be fully accessible [ 251.113425] ata1.00: ATA-10: ST12000NM0127, G006, max UDMA/133 [ 251.120365] ata1.00: 23437770752 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 251.138224] ata1.00: Features: Trust [ 251.147074] ata1.00: supports DRM functions and may not be fully accessible [ 251.157812] ata1.00: configured for UDMA/133 [ 251.163265] scsi 0:0:0:0: Direct-Access ATA ST12000NM0127 G006 PQ: 0 ANSI: 5 [ 251.186482] sd 0:0:0:0: [sda] 23437770752 512-byte logical blocks: (12.0 TB/10.9 TiB) [ 251.195074] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 251.203743] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 251.224727] sd 0:0:0:0: [sda] Write Protect is off [ 251.234530] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 251.234663] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 251.255876] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes [ 251.346689] sda: sda1 [ 251.350243] sd 0:0:0:0: [sda] Attached SCSI diskThere were some errors, but eventually was recognized.
Re: Debian on Synology DS211 November 19, 2024 05:40PM |
Admin Registered: 13 years ago Posts: 19,092 |
Quote
I have booted from USB again successfully.
e2label /media/sda1 sata_rootfs cd /media/sda1/boot mv uImage uImage.sata
Quote
All the logs are appropriately logged and labeled, then attached here.
Quote
It seems that uBoot somehow fails to recognize this HDD, while Debian shows some errors, but eventually is able to recognize it and mount it.
Also lower SATA seems that doesn't work at all.
Re: Debian on Synology DS211 November 19, 2024 05:47PM |
Registered: 28 days ago Posts: 27 |
Yes, of course, in all previous examples I have removed the USB, since I wanted to boot from the SATA connected HDD only and not use USB at all. Only at the end I have used the USB to boot and test whether the 12TB HDD will work.Quote
Bodhi
OK. I think USB should work fine. But if there is another rootfs on SATA drive then it's problemmatic. Because they are both labeled rootfs.