Welcome! Log In Create A New Profile

Advanced

DS216 play Redboot problem?

Posted by karool 
DS216 play Redboot problem?
April 20, 2021 03:56PM
Hello how are you all? I am having troubles with my synology. Probably the power was lost by update. It is available over the web interface, but I can not initialize it, with the synology assistant I am getting error 13. Also I can not see the serial number in synology assistant.
I already reflashed the memory with programmer, also tried various steps by loading zimage and rd to RAM and boot from RAM. Without sucess.
Below output from console.
U-Boot 2014.01-g982ae47-dirty (Dec 11 2015 - 09:47:34) - stm24-2014-09-25



Board: B2120-revc-STxH410  [ARM]
I2C:   ready
DRAM:    1 GiB
SPI:  info: found ST N25Q064 (8MiB) device (page=256,erase=65536)
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

Synology Model: DS216play
Fan Status: Good

Net:   stmac-1
Warning: stmac-1 using MAC address from net device

USB0:   Register 2000240 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
Transcoding memorylayout: 1 channel mode.
Press Ctrl+C to abort autoboot in 3 second

EEPROM @0x0 read: addr 4f000000  off 60000  count 393216 ... done

EEPROM @0x0 read: addr 44000000  off 390000  count 4456448 ... done

EEPROM @0x0 read: addr 43000000  off c0000  count 2949120 ... done
## Booting kernel from Legacy Image at 43000000 ...
   Image Name:   Linux-3.10.105
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2716320 Bytes =   2.6 MiB
   Load Address: 43008000
   Entry Point:  43008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 44000000 ...
   Image Name:   synology_monaco_ds216play 24922
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    4153493 Bytes =   4 MiB
   Load Address: 44000000
   Entry Point:  44000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4f000000
   Booting using the fdt blob at 0x4f000000
   Loading Kernel Image ... OK
   Loading Ramdisk to 43c08000, end 43ffe095 ... OK
   Using Device Tree in place at 4f000000, end 4f02abcc

Starting kernel ...

   Using FDT blob at 0x4f000000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.105 (root@build9) (gcc version 4.9.3 20150311                                                                                                  (prerelease) (crosstool-NG 1.20.0) ) #24922 SMP Fri May 10 02:58:37 CST 2019
[    0.000000] Machine: STi SoC with Flattened Device Tree, model: STiH410 B2120
[    0.000000] Ignoring memory below PHYS_OFFSET: 0x40000000-0x43000000
[    0.000000] Ignoring memory below PHYS_OFFSET: 0x42000000-0x43000000
[    0.000000] cma: CMA: reserved 16 MiB at 6e000000
[    0.000000] PERCPU: Embedded 7 pages/cpu @815cf000 s6976 r8192 d13504 u32768
[    0.000000] Kernel command line: console=ttyS0,115200 CONSOLE=/dev/ttyS0 ip=o                                                                                                 ff mtdparts=stm-nand-bch.0:0x500000(boot),-(rfs) bpa2parts=BPA2_Region|aud-coded                                                                                                 |aud-transcoded|vid-coded|vid-transcoded|vid-raw-input|vid-output-0|vid-decimate                                                                                                 d-1|vid-copied-1|vid-macroblock-0|vid-extra-data-0|vid-extra-data-1|v4l2-coded-v                                                                                                 ideo-buffers|vid-enc-data-0|vid-enc-scaled-0|vid-encoded-0|v4l2-clut|v4l2-grab|g                                                                                                 fx-memory|aud-codec-data|vid-codec-data|aud-output-0|aud-output-1|vid-output-1|v                                                                                                 id-decimated-0|vid-copied-0|vid-macroblock-1|blitter|vid-enc-data-1|vid-enc-scal                                                                                                 ed-1|vid-encoded-1|coredisplay-video|multicom|hades-l3|BPA2_Region0|BPA2_Region1                                                                                                 :240M:0x71000000,v4l2-vb2|v4l2-stmc8jpg|v4l2-stmvout|v4l2-compo:24M:0x6F800000,c                                                                                                 oprocs:32M:0x40000000,modules|audio:8M:0x6F000000,bigphysarea|te-buffers|m2m-ca3                                                                                                 :32M:0x48000000,STMCReserve:32768:0x47FF8000 vmalloc=535m mem=720m@0x42000000 ro                                                                                                 ot=/dev/md0 rw syno_hw_version=DS216play hd_power_on_seq=2 ihd_num=2 netif_num=1                                                                                                  flash_size=8 phys_memsize=1024 syno_mem_mod[    0.000000] bpa2: partition 'BPA2                                                                                                 _Region' created at 0x71000000 (high), size 245760 kB (0x0f000000 B)
[    0.000000] bpa2: partition 'v4l2-vb2' created at 0x6f800000 (high), size 245                                                                                                 76 kB (0x01800000 B)
[    0.000000] bpa2: partition 'coprocs' created at 0x40000000 (high), size 3276                                                                                                 8 kB (0x02000000 B)
[    0.000000] bpa2: partition 'modules' created at 0x6f000000 (high), size 8192                                                                                                  kB (0x00800000 B)
[    0.000000] bpa2: partition 'bigphysarea' created at 0x48000000 (low), size 3                                                                                                 2768 kB (0x02000000 B)
[    0.000000] bpa2: partition 'STMCReserve' created at 0x47ff8000 (low), size 3                                                                                                 2 kB (0x00008000 B)
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 704MB = 704MB total
[    0.000000] Memory: 653248k/653248k available, 67648k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xac800000 - 0xff000000   (1320 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xac000000   ( 704 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80665b18   (6519 kB)
[    0.000000]       .init : 0x80666000 - 0x806a0b40   ( 235 kB)
[    0.000000]       .data : 0x806a2000 - 0x806dea00   ( 243 kB)
[    0.000000]        .bss : 0x806dea00 - 0x8073ac24   ( 369 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] st-lpc: lpc_clk running @ 30000000 Hz
[    0.000000] sched_clock: 32 bits at 30MHz, resolution 33ns, wraps every 14316                                                                                                 5ms
[    0.000000] st-lpc: clocksource initialised: iomem: ac81c000
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x10480000, Cache siz                                                                                                 e: 1048576 B
[    0.000000] Console: colour dummy device 80x30
[    0.001807] Calibrating delay loop... 2996.63 BogoMIPS (lpj=14983168)
[    0.060212] pid_max: default: 32768 minimum: 301
[    0.060282] Security Framework initialized
[    0.060297] AppArmor: AppArmor initialized
[    0.060324] Mount-cache hash table entries: 512
[    0.060686] CPU: Testing write buffer coherency: ok
[    0.060992] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.061567] Setting up static identity map for 0x804c6b50 - 0x804c6c2c
[    0.120233] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.120283] Brought up 2 CPUs
[    0.120293] SMP: Total of 2 processors activated (5985.89 BogoMIPS).
[    0.120297] CPU: All CPU(s) started in SVC mode.
[    0.120649] devtmpfs: initialized
[    0.123771] xor: measuring software checksum speed
[    0.220220]    arm4regs  :  2325.200 MB/sec
[    0.320221]    8regs     :  1668.400 MB/sec
[    0.420220]    32regs    :  1695.200 MB/sec
[    0.420225] xor: using function: arm4regs (2325.200 MB/sec)
[    0.420232] pinctrl core: initialized pinctrl subsystem
[    0.420580] regulator-dummy: no parameters
[    0.421171] NET: Registered protocol family 16
[    0.424367] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.428531] syscon 9620000.sbc-syscfg: regmap [mem 0x09620000-0x09620fff] reg                                                                                                 istered
[    0.428668] syscon 9280000.front-syscfg: regmap [mem 0x09280000-0x09280fff] r                                                                                                 egistered
[    0.428792] syscon 9290000.rear-syscfg: regmap [mem 0x09290000-0x09290fff] re                                                                                                 gistered
[    0.428911] syscon 92a0000.flash-syscfg: regmap [mem 0x092a0000-0x092a0fff] r                                                                                                 egistered
[    0.429042] syscon 9600000.fvdp-lite-syscfg: regmap [mem 0x09600000-0x09600ff                                                                                                 f] registered
[    0.429161] syscon 92b0000.core-syscfg: regmap [mem 0x092b0000-0x092b0fff] re                                                                                                 gistered
[    0.429284] syscon 94b5100.lpm-syscfg: regmap [mem 0x094b5100-0x094b60ff] reg                                                                                                 istered
[    0.442595] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint                                                                                                  registers.
[    0.442603] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.442754] st-pinctrl 961f080.pin-controller-sbc: nbanks = 6
[    0.442760] st-pinctrl 961f080.pin-controller-sbc: nfunctions = 14
[    0.442766] st-pinctrl 961f080.pin-controller-sbc: ngroups = 27
[    0.442912] st-pinctrl 961f080.pin-controller-sbc: PIO0 bank added.
[    0.443091] st-pinctrl 961f080.pin-controller-sbc: PIO1 bank added.
[    0.443250] st-pinctrl 961f080.pin-controller-sbc: PIO2 bank added.
[    0.443419] st-pinctrl 961f080.pin-controller-sbc: PIO3 bank added.
[    0.443576] st-pinctrl 961f080.pin-controller-sbc: PIO4 bank added.
[    0.443734] st-pinctrl 961f080.pin-controller-sbc: PIO5 bank added.
[    0.443821] st-pinctrl 961f080.pin-controller-sbc: Function[0         name:wa                                                                                                 keup-pin,       groups:1]
[    0.443832] st-pinctrl 961f080.pin-controller-sbc: Function[1         name:rc                                                                                                 ,       groups:1]
[    0.443842] st-pinctrl 961f080.pin-controller-sbc: Function[2         name:sb                                                                                                 c_serial0,      groups:1]
[    0.443852] st-pinctrl 961f080.pin-controller-sbc: Function[3         name:sb                                                                                                 c_serial1,      groups:1]
[    0.443862] st-pinctrl 961f080.pin-controller-sbc: Function[4         name:i2                                                                                                 c10,    groups:1]
[    0.443872] st-pinctrl 961f080.pin-controller-sbc: Function[5         name:i2                                                                                                 c11,    groups:1]
[    0.443888] st-pinctrl 961f080.pin-controller-sbc: Function[6         name:ke                                                                                                 yscan,  groups:1]
[    0.443944] st-pinctrl 961f080.pin-controller-sbc: Function[7         name:gm                                                                                                 ac1,    groups:8]
[    0.443958] st-pinctrl 961f080.pin-controller-sbc: Function[8         name:pw                                                                                                 m1,     groups:4]
[    0.443972] st-pinctrl 961f080.pin-controller-sbc: Function[9         name:sp                                                                                                 i10,    groups:2]
[    0.443986] st-pinctrl 961f080.pin-controller-sbc: Function[10        name:sp                                                                                                 i11,    groups:2]
[    0.443999] st-pinctrl 961f080.pin-controller-sbc: Function[11        name:sp                                                                                                 i12,    groups:2]
[    0.444008] st-pinctrl 961f080.pin-controller-sbc: Function[12        name:ce                                                                                                 c0,     groups:1]
[    0.444026] st-pinctrl 961f080.pin-controller-sbc: Function[13        name:hd                                                                                                 mirx0,  groups:1]
[    0.444123] st-pinctrl 920f080.pin-controller-front0: nbanks = 10
[    0.444130] st-pinctrl 920f080.pin-controller-front0: nfunctions = 24
[    0.444135] st-pinctrl 920f080.pin-controller-front0: ngroups = 53
[    0.444277] st-pinctrl 920f080.pin-controller-front0: PIO10 bank added.
[    0.444442] st-pinctrl 920f080.pin-controller-front0: PIO11 bank added.
[    0.444605] st-pinctrl 920f080.pin-controller-front0: PIO12 bank added.
[    0.444774] st-pinctrl 920f080.pin-controller-front0: PIO13 bank added.
[    0.444939] st-pinctrl 920f080.pin-controller-front0: PIO14 bank added.
[    0.445106] st-pinctrl 920f080.pin-controller-front0: PIO15 bank added.
[    0.445273] st-pinctrl 920f080.pin-controller-front0: PIO16 bank added.
[    0.445435] st-pinctrl 920f080.pin-controller-front0: PIO17 bank added.
[    0.445599] st-pinctrl 920f080.pin-controller-front0: PIO18 bank added.
[    0.445764] st-pinctrl 920f080.pin-controller-front0: PIO19 bank added.
[    0.445858] st-pinctrl 920f080.pin-controller-front0: Function[0      name:se                                                                                                 rial0,  groups:4]
[    0.445877] st-pinctrl 920f080.pin-controller-front0: Function[1      name:se                                                                                                 rial1,  groups:4]
[    0.445895] st-pinctrl 920f080.pin-controller-front0: Function[2      name:se                                                                                                 rial2,  groups:1]
[    0.445917] st-pinctrl 920f080.pin-controller-front0: Function[3      name:mm                                                                                                 c1,     groups:1]
[    0.445928] st-pinctrl 920f080.pin-controller-front0: Function[4      name:i2                                                                                                 c0,     groups:1]
[    0.445939] st-pinctrl 920f080.pin-controller-front0: Function[5      name:i2                                                                                                 c1,     groups:1]
[    0.445949] st-pinctrl 920f080.pin-controller-front0: Function[6      name:i2                                                                                                 c2,     groups:1]
[    0.445967] st-pinctrl 920f080.pin-controller-front0: Function[7      name:i2                                                                                                 c3,     groups:3]
[    0.445991] st-pinctrl 920f080.pin-controller-front0: Function[8      name:sp                                                                                                 i0,     groups:4]
[    0.446014] st-pinctrl 920f080.pin-controller-front0: Function[9      name:sp                                                                                                 i1,     groups:4]
[    0.446045] st-pinctrl 920f080.pin-controller-front0: Function[10     name:sp                                                                                                 i2,     groups:6]
[    0.446077] st-pinctrl 920f080.pin-controller-front0: Function[11     name:sp                                                                                                 i3,     groups:6]
[    0.446098] st-pinctrl 920f080.pin-controller-front0: Function[12     name:sy                                                                                                 strace, groups:1]
[    0.446108] st-pinctrl 920f080.pin-controller-front0: Function[13     name:sc                                                                                                 r0,     groups:1]
[    0.446116] st-pinctrl 920f080.pin-controller-front0: Function[14     name:sc                                                                                                 r1,     groups:1]
[    0.446146] st-pinctrl 920f080.pin-controller-front0: Function[15     name:ts                                                                                                 in0,    groups:2]
[    0.446178] st-pinctrl 920f080.pin-controller-front0: Function[16     name:ts                                                                                                 in1,    groups:2]
[    0.446208] st-pinctrl 920f080.pin-controller-front0: Function[17     name:ts                                                                                                 in2,    groups:2]
[    0.446222] st-pinctrl 920f080.pin-controller-front0: Function[18     name:ts                                                                                                 in3,    groups:1]
[    0.446235] st-pinctrl 920f080.pin-controller-front0: Function[19     name:ts                                                                                                 in4,    groups:1]
[    0.446258] st-pinctrl 920f080.pin-controller-front0: Function[20     name:ts                                                                                                 in5,    groups:2]
[    0.446288] st-pinctrl 920f080.pin-controller-front0: Function[21     name:ts                                                                                                 out0,   groups:2]
[    0.446302] st-pinctrl 920f080.pin-controller-front0: Function[22     name:ts                                                                                                 out1,   groups:1]
[    0.446326] st-pinctrl 920f080.pin-controller-front0: Function[23     name:mt                                                                                                 sin0,   groups:1]
[    0.446419] st-pinctrl 921f080.pin-controller-front1: nbanks = 1
[    0.446425] st-pinctrl 921f080.pin-controller-front1: nfunctions = 1
[    0.446431] st-pinctrl 921f080.pin-controller-front1: ngroups = 1
[    0.446570] st-pinctrl 921f080.pin-controller-front1: PIO20 bank added.
[    0.446672] st-pinctrl 921f080.pin-controller-front1: Function[0      name:ts                                                                                                 in4,    groups:1]
[    0.446750] st-pinctrl 922f080.pin-controller-rear: nbanks = 6
[    0.446756] st-pinctrl 922f080.pin-controller-rear: nfunctions = 11
[    0.446761] st-pinctrl 922f080.pin-controller-rear: ngroups = 17
[    0.446908] st-pinctrl 922f080.pin-controller-rear: PIO30 bank added.
[    0.447086] st-pinctrl 922f080.pin-controller-rear: PIO31 bank added.
[    0.447251] st-pinctrl 922f080.pin-controller-rear: PIO32 bank added.
[    0.447407] st-pinctrl 922f080.pin-controller-rear: PIO33 bank added.
[    0.447583] st-pinctrl 922f080.pin-controller-rear: PIO34 bank added.
[    0.447750] st-pinctrl 922f080.pin-controller-rear: PIO35 bank added.
[    0.447990] st-pinctrl 922f080.pin-controller-rear: Function[0        name:dv                                                                                                 o,      groups:2]
[    0.448005] st-pinctrl 922f080.pin-controller-rear: Function[1        name:i2                                                                                                 c4,     groups:1]
[    0.448019] st-pinctrl 922f080.pin-controller-rear: Function[2        name:i2                                                                                                 c5,     groups:1]
[    0.448034] st-pinctrl 922f080.pin-controller-rear: Function[3        name:us                                                                                                 b0,     groups:1]
[    0.448047] st-pinctrl 922f080.pin-controller-rear: Function[4        name:us                                                                                                 b1,     groups:1]
[    0.448068] st-pinctrl 922f080.pin-controller-rear: Function[5        name:us                                                                                                 b3,     groups:1]
[    0.448080] st-pinctrl 922f080.pin-controller-rear: Function[6        name:pw                                                                                                 m0,     groups:1]
[    0.448116] st-pinctrl 922f080.pin-controller-rear: Function[7        name:sp                                                                                                 i4,     groups:4]
[    0.448152] st-pinctrl 922f080.pin-controller-rear: Function[8        name:i2                                                                                                 s_out,  groups:2]
[    0.448189] st-pinctrl 922f080.pin-controller-rear: Function[9        name:i2                                                                                                 s_in,   groups:2]
[    0.448200] st-pinctrl 922f080.pin-controller-rear: Function[10       name:sp                                                                                                 dif_out,        groups:1]
[    0.448291] st-pinctrl 923f080.pin-controller-flash: nbanks = 3
[    0.448298] st-pinctrl 923f080.pin-controller-flash: nfunctions = 3
[    0.448303] st-pinctrl 923f080.pin-controller-flash: ngroups = 3
[    0.448434] st-pinctrl 923f080.pin-controller-flash: PIO40 bank added.
[    0.448604] st-pinctrl 923f080.pin-controller-flash: PIO41 bank added.
[    0.448774] st-pinctrl 923f080.pin-controller-flash: PIO42 bank added.
[    0.448901] st-pinctrl 923f080.pin-controller-flash: Function[0       name:mm                                                                                                 c0,     groups:1]
[    0.448931] st-pinctrl 923f080.pin-controller-flash: Function[1       name:fs                                                                                                 m,      groups:1]
[    0.448994] st-pinctrl 923f080.pin-controller-flash: Function[2       name:na                                                                                                 nd,     groups:1]
[    0.450857] reset-stih407 powerdown-controller.8: registered
[    0.452576] reset-stih407 softreset-controller.10: registered
[    0.452775] reset-stih407 picophyreset-controller.11: registered
[    0.455602] st-clk clocks.0: SoC clock tree intialized
[    0.465989] bio: create slab <bio-0> at 0
[    1.820586] st-fdma 8e20000.fdma-mpe: IRQ: 37
[    1.820603] st-fdma 8e20000.fdma-mpe: Base address: ac8c0000
[    1.822196] st-fdma 8e40000.fdma-mpe: IRQ: 39
[    1.822211] st-fdma 8e40000.fdma-mpe: Base address: ac9c0000
[    1.823728] st-fdma 8e60000.fdma-mpe: IRQ: 41
[    1.823750] st-fdma 8e60000.fdma-mpe: Base address: aca00000
[    1.825521] vmmc0: at 3300 mV
[    1.825567] st-vsense 9061004.voltage-regulator: vmmc0  vsense voltage regula                                                                                                 tor registered
[    1.825924] vgaarb: loaded
[    1.826214] SCSI subsystem initialized
[    1.826659] media: Linux media interface: v0.10
[    1.826721] Linux video capture interface: v2.00
[    1.826930] pps_core: LinuxPPS API ver. 1 registered
[    1.826934] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                                 tti <giometti@linux.it>
[    1.826986] PTP clock support registered
[    1.827899] Switching to clocksource st-lpc clocksource
[    1.828166] AppArmor: AppArmor Filesystem Enabled
[    1.837294] NET: Registered protocol family 2
[    1.837678] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.837747] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.837813] TCP: Hash tables configured (established 8192 bind 8192)
[    1.837889] TCP: reno registered
[    1.837899] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.837970] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.838137] NET: Registered protocol family 1
[    1.838297] RPC: Registered named UNIX socket transport module.
[    1.838304] RPC: Registered udp transport module.
[    1.838307] RPC: Registered tcp transport module.
[    1.838311] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.838425] Trying to unpack rootfs image as initramfs...
[    3.174389] Freeing initrd memory: 4056K (80c08000 - 80ffe000)
[    3.176942] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counter                                                                                                 s available
[    3.178469] sti pm: Copying poke table & poke loop to buffer
[    3.178479] sti pm: entering prepare:CONTROLLER PASSIVE STANDBY
[    3.178484] sti pm: support mode: CONTROLLER PASSIVE STANDBY
[    3.178488] sti pm: Suspend support registered
[    3.178650] synology :         fan ctrl initialized.
[    3.178661] synology :        fan sense initialized.
[    3.178673] synology :       sata power initialized.
[    3.178689] synology :         model id initialized.
[    3.178698] synology :    disk led ctrl initialized.
[    3.178705] synology :     phy led ctrl initialized.
[    3.180063] Initialise module verification
[    3.180088] audit: initializing netlink socket (disabled)
[    3.180111] type=2000 audit(3.170:1): initialized
[    3.226497] st-pinctrl 920f080.pin-controller-front0: maps: function systrace                                                                                                  group systrace-default num 6
[    3.226608] stm-systrace 9180000.systrace: Systrace: syscfg0=0x003f0000 (prev                                                                                                 : 0x003f0000)
[    3.226619] stm-systrace 9180000.systrace: Systrace: syscfg1=0x00580058 (prev                                                                                                 : 0x00580058)
[    3.226628] stm-systrace 9180000.systrace: Systrace: syscfg2=0x00990098 (prev                                                                                                 : 0x00990098)
[    3.226636] stm-systrace 9180000.systrace: Systrace: syscfg3=0x00530050 (prev                                                                                                 : 0x00530050)
[    3.226645] stm-systrace 9180000.systrace: Systrace: syscfg4=0x00550054 (prev                                                                                                 : 0x00550054)
[    3.226653] stm-systrace 9180000.systrace: Systrace: syscfg5=0x00570056 (prev                                                                                                 : 0x00570056)
[    3.226662] stm-systrace 9180000.systrace: Systrace: syscfg6=0x03ff03ff (prev                                                                                                 : 0x03ff0000)
[    3.226672] stm-systrace 9180000.systrace: Systrace: STM_CR[0x0000] = 0x00000                                                                                                 600 (prev. 0x00000000)
[    3.226680] stm-systrace 9180000.systrace: Systrace: STM_MCR[0x0008] = 0x0000                                                                                                 0000 (prev. 0x00000000)
[    3.226688] stm-systrace 9180000.systrace: Systrace: STM_TER[0x0010] = 0x0000                                                                                                 03ff (prev. 0x000003ff)
[    3.226696] stm-systrace 9180000.systrace: Systrace: STM_FTR[0x0080] = 0x0000                                                                                                 0001 (prev. 0x00000000)
[    3.226704] stm-systrace 9180000.systrace: Systrace: STM_CTR[0x0088] = 0x0000                                                                                                 0001 (prev. 0x00000000)
[    3.226710] Systrace: STM IP revision is V3
[    3.226714] Systrace: STM_PID=0x00680dec(0x00680dec)
[    3.226717] Systrace: STM_CID=0xb105f00d(0xb105f00d)
[    3.226722] MTT: registering output driver stm
[    3.226727] stm-systrace 9180000.systrace: Systrace: driver probed.
[    3.239146] VFS: Disk quotas dquot_6.5.2
[    3.242481] NFS: Registering the id_resolver key type
[    3.242511] Key type id_resolver registered
[    3.242516] Key type id_legacy registered
[    3.242541] msgmni has been set to 1315
[    3.243185] async_tx: api initialized (async)
[    3.243193] Key type asymmetric registered
[    3.243198] Asymmetric key parser 'x509' registered
[    3.243604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                 50)
[    3.243613] io scheduler noop registered
[    3.243628] io scheduler cfq registered (default)
[    3.364447] STMicroelectronics ASC driver initialized
[    3.364593] st-pinctrl 961f080.pin-controller-sbc: maps: function sbc_serial0                                                                                                  group sbc_serial0-0 num 3
[    3.364688] 9530000.serial: ttyS0 at MMIO 0x9530000 (irq = 170) is a st-asc
[    5.022688] console [ttyS0] enabled
[    5.026515] st-pinctrl 961f080.pin-controller-sbc: maps: function sbc_serial1                                                                                                  group sbc_serial1-0 num 3
[    5.035978] 9531000.serial: ttyS1 at MMIO 0x9531000 (irq = 171) is a st-asc
[    5.043953] st-hwrandom 8a89000.rng: ST Random Number Generator Device Probe                                                                                                  Successful
[    5.060618] brd: module loaded
[    5.063663] Loading iSCSI transport class v2.0-870.
[    5.071210] ahci ahci.0: can't get clock
[    5.075130] miphy28lp-phy 9b22000.miphy28lp: miphy28lp_phy_init_sata
[    5.081486] miphy28lp-phy 9b22000.miphy28lp: sata-up mode, addr 0xac8e4000
[    5.092424] ahci ahci.0: forcing PORTS_IMPL to 0x1
[    5.097226] ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl plat                                                                                                 form mode
[    5.105145] ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part cc                                                                                                 c apst
[    5.114421] scsi0 : ahci_platform
[    5.118241] ata1: SATA max UDMA/133 mmio [mem 0x09b20000-0x09b20fff] port 0x1                                                                                                 00 irq 191
[    8.467945] ata1: SATA link down (SStatus 0 SControl 300)
[    8.473332] ata1: No present pin info for SATA link down event
[    8.479582] ahci ahci.1: can't get clock
[    8.483498] miphy28lp-phy 9b2a000.miphy28lp: miphy28lp_phy_init_sata
[    8.489857] miphy28lp-phy 9b2a000.miphy28lp: sata-up mode, addr 0xac8ea000
[    8.498604] ahci ahci.1: forcing PORTS_IMPL to 0x1
[    8.503403] ahci ahci.1: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl plat                                                                                                 form mode
[    8.511320] ahci ahci.1: flags: ncq sntf pm led clo only pmp pio slum part cc                                                                                                 c apst
[    8.520327] scsi1 : ahci_platform
[    8.524071] ata2: SATA max UDMA/133 mmio [mem 0x09b28000-0x09b28fff] port 0x1                                                                                                 00 irq 202
[   16.857945] ata2: SATA link down (SStatus 0 SControl 300)
[   16.863330] ata2: No present pin info for SATA link down event
[   16.870597] st-pinctrl 923f080.pin-controller-flash: maps: function fsm group                                                                                                  fsm num 7
[   16.878853] stm-spi-fsm 9022000.spifsm: No provision for SPI reset on boot-fr                                                                                                 om-spi system
[   16.887106] stm-spi-fsm 9022000.spifsm: Individual block locking scheme enabl                                                                                                 ed
[   16.894413] stm-spi-fsm 9022000.spifsm: found device: n25q064, size = 800000                                                                                                  (8MiB) erasesize = 0x00010000 (64KiB)
[   16.904773] Searching for RedBoot partition table in n25q064 at offset 0x7f00                                                                                                 00
[   16.917253] No RedBoot partition table detected in n25q064
[   16.926734] st-pinctrl 961f080.pin-controller-sbc: maps: function gmac1 group                                                                                                  rgmii1-0 num 13
[   16.935271] st-pinctrl 961f080.pin-controller-sbc: maps: function gmac1 group                                                                                                  rgmii1-mdio num 3
[   16.944143] stmmaceth 9630000.dwmac: phy-addr property limits bus scan to thi                                                                                                 s addr
[   16.951902] stmmac - user ID: 0xca, Synopsys ID: 0x37
[   16.956938]  Ring mode enabled
[   16.959986]  DMA HW capability register supported
[   16.964500]  Enhanced/Alternate descriptors
[   16.968848]  Enabled extended descriptors
[   16.972842]  RX Checksum Offload Engine supported (type 2)
[   16.978318]  TX Checksum insertion supported
[   16.982573]  Wake-Up On Lan supported
[   16.986235]  Enable RX Mitigation via HW Watchdog Timer
[   16.992707] libphy: stmmac: probed
[   16.996100] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01) active
[   17.003398] i2c /dev entries driver
[   17.007142] st-pinctrl 922f080.pin-controller-rear: maps: function i2c4 group                                                                                                  i2c4-default num 3
[   17.016634] st-i2c 9844000.i2c: ST I2C(0x0) initialized
[   17.021908] st-pinctrl 922f080.pin-controller-rear: maps: function i2c5 group                                                                                                  i2c5-default num 3
[   17.030731] st-i2c 9845000.i2c: No ID specified in DT alias
[   17.038807] st_thermal 91a0000.temp0: STMicroelectronics thermal sensor initi                                                                                                 alised
[   17.047427] st-lpc-wdt 8787000.lpc_wdt: LPC Watchdog driver registered, reset                                                                                                  type is cold
[   17.056081] md: linear personality registered for level -1
[   17.061588] md: raid0 personality registered for level 0
[   17.066884] md: raid1 personality registered for level 1
[   17.072189] md: raid10 personality registered for level 10
[   17.077885] md: raid6 personality registered for level 6
[   17.083199] md: raid5 personality registered for level 5
[   17.088518] md: raid4 personality registered for level 4
[   17.094296] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: dm-d                                                                                                 evel@redhat.com
[   17.103115] sdhci: Secure Digital Host Controller Interface driver
[   17.109301] sdhci: Copyright(c) Pierre Ossman
[   17.113642] sdhci-pltfm: SDHCI platform and OF driver helper
[   17.129782] ST_DDR CNTRL driver registered
[   17.134256] st-lpm driver registered
[   17.138238] TCP: cubic registered
[   17.141542] NET: Registered protocol family 17
[   17.146023] Key type dns_resolver registered
[   17.150417] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9                                                                                                  rev 4
[   17.158079] Registering SWP/SWPB emulation handler
[   17.163760] cpufreq_cpu0: failed to get cpu0 regulator: -19
[   17.173153] Loading module verification blacklist certificates
[   17.179037] Loading module verification certificates
[   17.184049] MODSIGN: Loaded cert 'Synology SDG kernel module signing key: 7bd                                                                                                 0b0d6bcd31651c22ce3978bdc8c8bdc417329'
[   17.199108] MODSIGN: Loaded cert 'Synology Root Certification Authority: f2c0                                                                                                 75361f168425f8b5ef31b796406c3aab2089'
[   17.209496] MODSIGN: Loaded cert 'Synology Kernel Module Signing Certificatio                                                                                                 n Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28'
[   17.221397] MODSIGN: Loaded cert 'Synology kernel module signing key: 4646ce5                                                                                                 4489669338118a3b1286da156ac366fa5'
[   17.250847] MTT: registering output driver dfs
[   17.255296] MTT: multicore-trace initialized.
[   17.259719] vmmc0: disabling
[   17.262591] regulator-dummy: disabling
[   17.282596] Freeing unused kernel memory: 232K (80666000 - 806a0000)
START /linuxrc.syno
Insert basic USB modules...
:: Loading module phy-stih407-usb[   17.394718] stih407-usb-genphy f8.usbpicophy                                                                                                 : STiH407 USB Generic picoPHY driver probed!
[   17.403226] stih407-usb-genphy fc.usbpicophy: STiH407 USB Generic picoPHY dri                                                                                                 ver probed!
[   17.411734] stih407-usb-genphy 100.usbpicophy: STiH407 USB Generic picoPHY dr                                                                                                 iver probed!
 ... [  OK  ]
:: Loading module phy-st-usb3[   17.443191] sti-usb3-phy 8f90000.usb3_phy: USB3                                                                                                  MiPHY Ref clk 30 MHz enabled
[   17.450329] sti-usb3-phy 8f90000.usb3_phy: usb3 ioaddr 0xac94e000, pipew ioad                                                                                                 dr 0xac964000
[   17.458681] sti-usb3-phy 8f90000.usb3_phy: USB3 MiPHY2 probed
 ... [  OK  ]
:: Loading module usb-common ... [  OK  ]
:: Loading module usbcore[   17.522914] usbcore: registered new interface driver                                                                                                  usbfs
[   17.530398] usbcore: registered new interface driver hub
[   17.542338] usbcore: registered new device driver usb
 ... [  OK  ]
:: Loading module dwc3 ... [  OK  ]
:: Loading module ehci-hcd[   17.597623] ehci_hcd: USB 2.0 'Enhanced' Host Contr                                                                                                 oller (EHCI) Driver
 ... [  OK  ]
:: Loading module ehci-pci[   17.621140] ehci-pci: EHCI PCI platform driver
 ... [  OK  ]
:: Loading module ehci-platform[   17.642613] ehci-platform: EHCI generic platfo                                                                                                 rm driver
 ... [  OK  ]
:: Loading module ohci-hcd[   17.671214] ohci_hcd: USB 1.1 'Open' Host Controlle                                                                                                 r (OHCI) Driver
 ... [  OK  ]
:: Loading module xhci-hcd ... [  OK  ]
:: Loading module st-hcd[   17.748099] st-pinctrl 922f080.pin-controller-rear: m                                                                                                 aps: function usb0 group usb2-0 num 3
[   17.756415] st-hcd 9a03c00.usb: 48MHz ohci clk not found
[   17.761875] stih407-usb-genphy f8.usbpicophy: Generic picoPHY usb port init.
[   17.768944] stih407-usb-genphy f8.usbpicophy: found picoPHY in rst state
[   17.776234] ehci-platform ehci-platform.0: EHCI Host Controller
[   17.782166] ehci-platform ehci-platform.0: new USB bus registered, assigned b                                                                                                 us number 1
[   17.790643] ehci-platform ehci-platform.0: irq 183, io mem 0x09a03e00
[   17.807946] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00, overcu                                                                                                 rrent ignored
[   17.816909] hub 1-0:1.0: USB hub found
[   17.820715] hub 1-0:1.0: 1 port detected
[   17.826868] ohci-platform ohci-platform.0: Generic Platform OHCI Controller
[   17.833885] ohci-platform ohci-platform.0: new USB bus registered, assigned b                                                                                                 us number 2
[   17.842035] ohci-platform ohci-platform.0: irq 212, io mem 0x09a03c00
[   17.912714] hub 2-0:1.0: USB hub found
[   17.916476] hub 2-0:1.0: 1 port detected
 ... [  OK  ]
:: Loading module dwc3-st[   17.955689] st-pinctrl 922f080.pin-controller-rear:                                                                                                  maps: function usb3 group usb3-2 num 3
[   17.964130] usb-st-dwc3 8f94000.dwc3: glue-logic addr 0xac9fc000, syscfg-reg                                                                                                  offset 0x110
[   17.973363] dwc3 9900000.dwc3: unable to find phy
[   17.978602] sti-usb3-phy 8f90000.usb3_phy: MiPHY28LP setup
[   17.984085] sti-usb3-phy 8f90000.usb3_phy: MiPHY28LP release 0x231 found
[   17.990988] sti-usb3-phy 8f90000.usb3_phy: USB3 MIPHY28LP timer initialized
[   17.997956] stih407-usb-genphy 100.usbpicophy: Generic picoPHY usb port init.
[   18.204950] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   18.210470] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu                                                                                                 mber 3
[   18.218794] xhci-hcd xhci-hcd.0.auto: irq 187, io mem 0x09900000
[   18.225526] hub 3-0:1.0: USB hub found
[   18.229369] hub 3-0:1.0: 1 port detected
[   18.233444] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   18.238956] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu                                                                                                 mber 4
[   18.250707] hub 4-0:1.0: USB hub found
[   18.254478] hub 4-0:1.0: 1 port detected
[   18.258608] usb-st-dwc3 8f94000.dwc3: configured as host DRD
[   18.264367] usb-st-dwc3 8f94000.dwc3: probe exits fine...
 ... [  OK  ]
insmod: can't insert '/lib/modules/etxhci-hcd.ko': No such file or directory
Insert net driver(Mindspeed only)...
[   18.331354] ds216play_synobios: module license 'Synology Inc.' taints kernel.
[   18.339486] Disabling lock debugging due to kernel taint
[   18.346968] synobios: load, major number 201
[   18.351347] synobios cpu_arch proc entry initialized
[   18.356302] synobios crypto_hw proc entry initialized
[   18.361365] synobios syno_platform proc entry initialized
[   18.366990] synobios open /dev/ttyS1 success
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
Exit on error [1] DISK NOT INSTALLED...
Thr Nov  5 00:12:30 UTC 2020
none /sys/kernel/debug debugfs rw,relatime 0 0
sys /sys sysfs rw,relatime 0 0
none /dev devtmpfs rw,relatime,size=326624k,nr_inodes=81656,mode=755 0 0
proc /proc proc rw,relatime 0 0
linuxrc.syno failed on 1
starting pid 1844, tty '': '/etc/rc'
:: Starting /etc/rc
:: Mounting procfs ... [  OK  ]
:: Mounting tmpfs ... [  OK  ]
:: Mounting devtmpfs ... [  OK  ]
:: Mounting devpts ... [  OK  ]
:: Mounting sysfs ... [  OK  ]
mdadm: error opening /dev/md1: No such file or directory
rc: Use all internal disk as swap.
rc: No internal disk installed.
swapon: can't stat '/dev/md1': No such file or directory
:: Loading module fat ... [  OK  ]
:: Loading module vfat ... [  OK  ]
:: Loading module synobios[   19.015538] synobios: load, major number 201
[   19.019864] synobios cpu_arch proc entry initialized
[   19.024818] synobios crypto_hw proc entry initialized
[   19.029872] synobios syno_platform proc entry initialized
[   19.035493] synobios open /dev/ttyS1 success
 ... [  OK  ]
[   19.223874] dwmac1000: Master AXI performs any burst length
udhcpc (v1.16.1) started
eth0      Link encap:Ethernet  HWaddr 00:00:0B:2D:F5:7B
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60 (60.0 B)  TX bytes:0 (0.0 B)
          Interrupt:130

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

:: Starting syslogd ... [  OK  ]
/etc/rc: line 273: /usr/syno/bin/syno_pstore_collect: not found
:: Starting scemd
[   24.208167] libphy: stmmac-0:01 - Link is Up - 100/Full
:: Starting services in background
Starting findhostd in flash_rd...
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J01httpd.sh...
Starting httpd:80 in flash_rd...
Starting httpd:5000 in flash_rd...
Running /usr/syno/etc/rc.d/J03ssdpd.sh...
/usr/bin/minissdpd -i eth0
(15): upnp:rootdevice
(51): uuid:upnp_SynologyNAS-00000b2df57b::upnp:rootdevice
(60): Synology/synology_monaco_ds216play/6.2-24922/169.254.231.220
(48): http://169.254.231.220:5000/description-eth0.xml
Connected.
done.
/usr/syno/bin/reg_ssdp_service 169.254.231.220 00000b2df57b 6.2-24922 synology_m                                                                                                 onaco_ds216play eth0
Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh...
Starting synoagentregisterd...
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
cat: can't open '/sys/block/sd*/device//model': No such file or directory
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
Running /usr/syno/etc/rc.d/J98nbnsd.sh...
Starting nbnsd...
Running /usr/syno/etc/rc.d/J99avahi.sh...
Starting Avahi mDNS/DNS-SD Daemon
cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf
:: Loading module usb-storage[   27.512858] usbcore: registered new interface dr                                                                                                 iver usb-storage
 ... [  OK  ]
mknod: /dev/ubi_ctrl: File exists
============ Date ============
Thr Nov
Thu Nov  5 00:12:39 2020

cat /proc/mtd shows:

mtd0: 008000000 000100000 "n25q064"

Which seems not correctly defined.

Output from other box which is seems to be running:
6 RedBoot partitions found on MTD device n25q064 [ 22.278634] Creating 6 MTD partitions on "n25q064": [ 22.278639] 0x000000000000-0x0000000c0000 : "RedBoot" [ 22.284723] 0x0000000c0000-0x000000390000 : "zImage" [ 22.286362] 0x000000390000-0x0000007d0000 : "rd.gz" [ 22.288018] 0x0000007d0000-0x0000007e0000 : "vendor" [ 22.288041] vender Mac0 address : 00:11:32:74:xx:xx [ 22.288045] vender Mac1 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.288047] vender Mac2 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.288050] vender Mac3 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.289703] serial number='1730NEN10xxxx' [ 22.289704] 0x0000007e0000-0x0000007f0000 : "RedBoot Config" [ 22.291332] 0x0000007f0000-0x000000800000 : "FIS directory"
As mentioned, I tried to verify content of flash and it seems consistent. Does anyone have idea which way to go?

Thank you
Re: DS216 play Redboot problem?
April 21, 2021 12:09AM
karool,

I'm not familiar with this SoC, so not much help. However, here is my observation:

> U-Boot 2014.01-g982ae47-dirty (Dec 11 2015 -
> 09:47:34) - stm24-2014-09-25

U-boot is modern enough that it supports FDT.

> Using Device Tree in place at 4f000000, end
> 4f02abcc

And the kernel is using that FDT

Quote

[ 0.000000] Linux version 3.10.105 (root@build9) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #24922 SMP Fri May 10 02:58:37 CST 2019
[ 0.000000] Machine: STi SoC with Flattened Device Tree, model: STiH410 B2120

But in the boot log I cannot find the mtd partitions.

Quote
correct logging when the kernel found the mtd partitions on flash

6 RedBoot partitions found on MTD device n25q064 [ 22.278634] Creating 6 MTD partitions on "n25q064": [ 22.278639] 0x000000000000-0x0000000c0000 : "RedBoot" [ 22.284723] 0x0000000c0000-0x000000390000 : "zImage" [ 22.286362] 0x000000390000-0x0000007d0000 : "rd.gz" [ 22.288018] 0x0000007d0000-0x0000007e0000 : "vendor" [ 22.288041] vender Mac0 address : 00:11:32:74:xx:xx [ 22.288045] vender Mac1 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.288047] vender Mac2 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.288050] vender Mac3 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.289703] serial number='1730NEN10xxxx' [ 22.289704] 0x0000007e0000-0x0000007f0000 : "RedBoot Config" [ 22.291332] 0x0000007f0000-0x000000800000 : "FIS directory"

6 MTD partitions is how Synology defines them (the 1st mtd is actually U-Boot, not Redboot, it is mis-named).

So I'd suggest to look for the DTB that u-boot loaded:

Quote

Booting using the fdt blob at 0x4f000000

And how to do that: Interrupt the countdown

Press Ctrl+C to abort autoboot in 3 second

and list the envs

printenv

It should show the env that does the DTB loading. And go from there.

Usually, the DTS contains the flash MTD definition. So why was it not recognized by the kernel? could it be that the DTB being loaded is not the correct one?

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



Edited 1 time(s). Last edit at 04/21/2021 12:11AM by bodhi.
Re: DS216 play Redboot problem?
April 21, 2021 05:19PM
Hello bodhi, thank you for your effort, I did the printenv and the result is below:
▒

U-Boot 2014.01-g982ae47-dirty (Aug 27 2015 - 18:57:06) - stm24-2014-09-25



Board: B2120-revc-STxH410  [ARM]
I2C:   ready
DRAM:    1 GiB
SPI:  info: found ST N25Q064 (8MiB) device (page=256,erase=65536)
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

Synology Model: DS216play
Fan Status: Not Good
Fan 1: Not Good

Net:   stmac-1
Warning: stmac-1 using MAC address from net device

USB0:   Register 2000240 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
Transcoding memorylayout: 1 channel mode.
Press Ctrl+C to abort autoboot in 3 second
B2120> <INTERRUPT>
B2120> printenv
baudrate=115200
board=b2120
bootargs=
bootcmd=run syno_bootargs; run spiboot
bootdelay=10
ethact=stmac-1
ethaddr=00:11:32:71:xx:xx
fdt_high=0xFFFFFFFF
fdt_load_addr=0x4F000000
fdt_spi_addr=0x00060000
initrd_high=0x44000000
kernel_load_addr=0x43000000
kernel_spi_addr=0x000C0000
load_addr=0x40000000
rd_load_addr=0x44000000
rd_spi_addr=0x00390000
spiboot=eeprom read $fdt_load_addr $fdt_spi_addr 60000;eeprom read $rd_load_addr                                                                                                  $rd_spi_addr 440000;eeprom read $kernel_load_addr $kernel_spi_addr 2D0000;bootm                                                                                                  $kernel_load_addr $rd_load_addr $fdt_load_addr
stderr=serial
stdin=serial
stdout=serial
syno_boot_dev=/dev/md0
syno_bootargs=setenv bootargs "console=ttyS0,115200 CONSOLE=/dev/ttyS0 ip=off mt                                                                                                 dparts=stm-nand-bch.0:0x500000(boot),-(rfs) bpa2parts=BPA2_Region|aud-coded|aud-                                                                                                 transcoded|vid-coded|vid-transcoded|vid-raw-input|vid-output-0|vid-decimated-1|v                                                                                                 id-copied-1|vid-macroblock-0|vid-extra-data-0|vid-extra-data-1|v4l2-coded-video-                                                                                                 buffers|vid-enc-data-0|vid-enc-scaled-0|vid-encoded-0|v4l2-clut|v4l2-grab|gfx-me                                                                                                 mory|aud-codec-data|vid-codec-data|aud-output-0|aud-output-1|vid-output-1|vid-de                                                                                                 cimated-0|vid-copied-0|vid-macroblock-1|blitter|vid-enc-data-1|vid-enc-scaled-1|                                                                                                 vid-encoded-1|coredisplay-video|multicom|hades-l3|BPA2_Region0|BPA2_Region1:240M                                                                                                 :0x71000000,v4l2-vb2|v4l2-stmc8jpg|v4l2-stmvout|v4l2-compo:24M:0x6F800000,coproc                                                                                                 s:32M:0x40000000,modules|audio:8M:0x6F000000,bigphysarea|te-buffers|m2m-ca3:32M:                                                                                                 0x48000000,STMCReserve:32768:0x47FF8000 vmalloc=535m mem=720m@0x42000000 root=$s                                                                                                 yno_boot_dev rw $syno_extra_args syno_hw_version=$syno_hw_version hd_power_on_se                                                                                                 q=$syno_hdd_powerup_seq ihd_num=$syno_hdd_powerup_seq netif_num=$syno_net_if_num                                                                                                  flash_size=8 phys_memsize=$syno_phys_memsize" syno_mem_mode=1
syno_extra_args=
syno_hdd_powerup_seq=2
syno_hw_version=DS216play
syno_net_if_num=1
syno_phys_memsize=1024

Environment size: 1885/16380 bytes
B2120>
I deleted here the mac adress.
Any further ideas welcome. Thank you
Re: DS216 play Redboot problem?
April 21, 2021 05:41PM
karool,

bootcmd=run syno_bootargs; run spiboot
spiboot=eeprom read $fdt_load_addr $fdt_spi_addr 60000; eeprom read $rd_load_addr  $rd_spi_addr 440000;eeprom read $kernel_load_addr $kernel_spi_addr 2D0000;bootm  $kernel_load_addr $rd_load_addr $fdt_load_addr

But:

syno_bootargs=setenv bootargs "console=ttyS0,115200 CONSOLE=/dev/ttyS0 ip=off mtdparts=stm-nand-bch.0:0x500000(boot),-(rfs)

So the mtparts was passed in the kernel bootargs. The one usually in the DTS is not used. That's why there is no 6 mtdparts like other Synology boxes.

Therefore the DTB being loaded is the correct one. It is stored at $fdt_spi_addr, which is:
fdt_spi_addr=0x00060000

However, according to the bootargs, there should be 2 mtds.

======

BTW, your log was messed up really bad. It has real spaces inside the envs so it is hard to read. I had to bring up the post in edit mode to see the complete envs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: DS216 play Redboot problem?
April 22, 2021 04:20PM
Hello bodhi, thank you for your help so far, sorry for the console content, I copy it from putty only.
What do you think is wrong with the synology? Do I need to flash the memory with different layout? It is matching the layout which is above related to 6 MTD. Maybe I am wrong with that.
0x000000000000-0x0000000c0000 : "RedBoot" [ 22.284723] 0x0000000c0000-0x000000390000 : "zImage" [ 22.286362] 0x000000390000-0x0000007d0000 : "rd.gz" [ 22.288018] 0x0000007d0000-0x0000007e0000 : "vendor" [ 22.288041] vender Mac0 address : 00:11:32:74:xx:xx [ 22.288045] vender Mac1 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.288047] vender Mac2 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.288050] vender Mac3 doesn't set ucSum:0x00 Buf:0x00 Sum:0. [ 22.289703] serial number='1730NEN10xxxx' [ 22.289704] 0x0000007e0000-0x0000007f0000 : "RedBoot Config" [ 22.291332] 0x0000007f0000-0x000000800000 : "FIS directory"
I can create different layout myself from available info, u-boot, zimage, ramdisk, vender partition I can create also.

Thanks for any suggestions.
Re: DS216 play Redboot problem?
April 22, 2021 07:53PM
karool,

> What do you think is wrong with the synology? Do I
> need to flash the memory with different layout? It
> is matching the layout which is above related to 6
> MTD. Maybe I am wrong with that.

> I can create different layout myself from
> available info, u-boot, zimage, ramdisk, vender
> partition I can create also.

No, I think you should confirm that the stock boot log for a virgin DS216 box show what MTD layout being used.

If the log you posted was from an unhacked DS216 box, then the MTD layout should not be changed to match other type of Synology boxes.

OTOH, If this box has been modified in anyway, then perhaps the MTD layout is wrong.

Usually, a family of NAS like Synology used a same MTD layout. However, this is a different SoC (not Marvell SoC), different MTD layout might have been intentional.

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

Your Email:


Subject:


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