Install Debian on WD My Cloud home

Thanks for the clarification. So I assume you can still reach the console / rescue usb with the latest stock fw on mch single? They hopefully haven’t changed the bootloader / flash?
Someone said that the console now requires a password…

OTA firmware installer:

https://updates.mycloud.com/MCAndroid/prod/7.16.0-220/MCAndroid-prod-7.16.0-220-ota-installer-monarch.zip

hey guys, I’m trying to boot fro tftp following the instructions from here , I copied the files from the files from Install_usb_disk_Debian11(OMV6)(GPL_MCH_Monarch_8.7.0-107_20220623).zip to a tftp server and did this int he boot loader:

Realtek> env set ipaddr 192.168.5.5
Realtek> env set serverip 192.168.5.1
Realtek> env set tftpblocksize 1468
Realtek> tftp 0x01b00000 bluecore.audio
Realtek> tftp 0x03000000 sata.uImage
Realtek> tftp 0x02100000 rescue.sata.dtb
Realtek> tftp 0x02200000 rescue.root.sata.cpio.gz_pad.img
Realtek> go all

but I get kernel panic with stack trace. what am I missing to boot the device from tftp in single user mode?

Start Audio Firmware ...
kylin_bring up hwsetting
Finish kylin_bring_temp hwsetting
[+][AO][aio_HWEnable]
[AO]aio_CRTOn:
SYS_CLOCK_ENABLE1 [ 0x9800000c]: 0x13de85e5
[AO]aio_PowerControlDACOn_clk:
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x580fe416
[AO]aio_PowerControlHDMIOn:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x585fe416
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x585fe416
[AO]aio_PowerControlSPDIFOn:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x587fe416
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x587fe416
[AO]aio_PowerControlI2SOn:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x58ffe416
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0x58ffe416
SYS_SOFT_RESET1 [ 0x98000000]: 0xb7da14a1
SYS_SOFT_RESET4 [ 0x98000050]: 0x0000801f
[AO]ao_SetDACAnalogOff:
set AIO_O_ACANA_GCTL1 [ 0x98006604]: 0x000a2aac
get AIO_O_ACANA_GCTL1 [ 0x98006604]: 0x24900004
set AIO_I_ACANA_ADC_GCTL2 [ 0x98006610]: 0x880a2a00
[-][AO][aio_HWEnable]
[ACPU] Set protect, start: 0x00000000 end: 0x00001000 moduleid:6
HDMI Raw Enable: MPG AC3 DTS MPEG2 AAC DDP WMAPRO MLP

SPDIF Raw Enable: MPG AC3 DTS MPEG2 AAC DDP WMAPRO MLP

Force 2ch Format: DTS DTSHD AC3 DDP MLP AAC WMAPRO



[AO][InitHDMIVideoType]HDMI Frequecny 27, resolution 1


@@@@@@@One Step TV System magic number = 0xc0de0bee, addr = 0xa001f800@@@@@@@
[AUDIO WARNING] ERR UNCACHEABLE_VADDR  0xb8071200 @  0x81b2e48c

@@@@@@@@@ boot_info->tv_sys.interfaceType 0
[@@VIDEO_RPC_VOUT_ToAgent_ConfigTVSystem_0_svc]type 0!
HDMIOff = 1
[VO]vo->is_hdmi_off_clock_on:0
[@@VIDEO_RPC_VOUT_ToAgent_ConfigVideoStandard_0_svc]
[VO_SetVideoStandard]st 1 p 1 0 0
[VO_SetVideoStandard]ped 1 data0  0x00000004 data1  0x00000000
[VO_SetVideoStandard]HDMIoff 1 is_tve_on 0 user_cvbs_off 1
lvds.format 0 port_setting  0x00000381 lvds_wb 0
[VO setTVStandard 1 3D 0 0]

(TVE) TVE_DAC_mode 0,cmd->enProg 1!!
TV_NTSC_J
~~comp 1, ch2 0, mode_3D 0!!
VO:Disable HDMI interrupt!
VO:HDMI poweroff!
SetVideoStandard return!
[@@VIDEO_RPC_VOUT_ToAgent_ConfigHdmiInfoFrame_0_svc]

(VO_ConfigHDMI_InfoFrame) L:236, is_hdmi_plugin 0, hdmiMode 2!!Mode 2 dataByte1  0x00000000  0x00000000  0x00000000
dataByte4  0x00000000  0x00000000 int0  0x00000000
!!![VO]VO_ConfigHDMI_InfoFrame. There is no tve and hdmi, return.
boot_info  0xa0000000 magic  0xffffdfd7 en 127
[AO][_AO_if_video_HDMI_mode]gpAudio->HDMI_output_en = 0
*****************************************
factory {
        bootstate = "3";
        bna = "0";
        nbr = "A";
        cbr = "A";
        ver = "4.1.4";
        serial = "*****";
        ipaddr = "192.168.5.5";
        ethaddr = "00:00:C0:01:CE:45";
};
*****************************************


EXPORT ENV AT 0x10000000, ENV size info:0x00002000,0x00001ffc,0x00000004
rtk_preload_bootimages_spi : header info
 0x00000600 0x00067440 0x00010b00 0x00000000
 0x00005040 0x00000000 0x00000000 0x00026360
 0x00000000
rtk_preload_bootimages_spi : load U-Boot 64 from 0x8819de60 to 0x01500000 with size 0x00026360
rtk_preload_bootimages_spi : load BL31 from 0x88198e00 to 0x10120000 with size 0x00005040
copy_2nd_bootloader_and_run : src:0x01500000, dst:0x00021000, size:0x00028000
Jumping to 2nd bootloader...


U-Boot 2015.07-g5a4a178-dirty (Jun 22 2016 - 11:33:46 +0800)

CPU  : Cortex-A53 Quad Core
Board: Realtek QA Board
[ERR] get_accessible_ddr_size: hw setting error. (impossible value 0x0)
[ERR] Fall back to using CONFIG_SYS_RAM_DCU1_SIZE
DRAM:  1 GiB
mapping memory 0x20000000-0x40000000 non-cached
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
rtk_plat_set_fw not port yet, use default configs
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   reserving fdt memory region: addr=0 size=100000
   reserving fdt memory region: addr=1f000 size=1000
   reserving fdt memory region: addr=1b00000 size=400000
   reserving fdt memory region: addr=1ffe000 size=4000
   reserving fdt memory region: addr=2200000 size=400000
   reserving fdt memory region: addr=2600000 size=800000
   reserving fdt memory region: addr=2e00000 size=b800000
   reserving fdt memory region: addr=10000000 size=14000
   reserving fdt memory region: addr=12000000 size=3c00000
   reserving fdt memory region: addr=22000000 size=200000
   reserving fdt memory region: addr=1f00000 size=a000
   Using Device Tree in place at 0000000001f00000, end 0000000001f0cfff
Bring UP slave CPUs

Starting Kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.17 (root@WDMCH) (gcc version 4.8.4 (Debian/Linaro 4.8.4-1) ) #1 SMP PREEMPT Sun Jul 17 13:13:14 UTC 2022 (commit id:)
[    0.000000] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: enabling workaround for ARM erratum 845719
[    0.000000] earlycon: Early serial console at MMIO32 0x98007800 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] cma: fdt region 0
[    0.000000] cma: size 0x0000000002000000, base 0x0000000020000000, fixed(1)
[    0.000000] cma: Reserved 32 MiB at 0x0000000020000000
[    0.000000] PERCPU: Embedded 18 pages/cpu @ffffffc03ff78000 s33240 r8192 d32296 u73728
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258048
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] software IO TLB [mem 0x3fc7c000-0x3fd7c000] (1MB) mapped at [ffffffc03fc7c000-ffffffc03fd7bfff]
[    0.000000] Memory: 713228K/1048576K available (8439K kernel code, 917K rwdata, 2908K rodata, 632K init, 570K bss, 302580K reserved, 32768K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0000000 - 0xffffffbdc1000000   (    16 MB actual)
[    0.000000]     fixed   : 0xffffffbffabfd000 - 0xffffffbffac00000   (    12 KB)
[    0.000000]     PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000   (    16 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000]       .init : 0xffffffc000d96000 - 0xffffffc000e34000   (   632 KB)
[    0.000000]       .text : 0xffffffc000280000 - 0xffffffc000d95f24   ( 11352 KB)
[    0.000000]       .data : 0xffffffc000e46000 - 0xffffffc000f2b660   (   918 KB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 timer(s) running at 27.00MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns
[    0.009344] rtk_mem_remap_of_init: no matching rtk_mem_remap found
[    0.016819] Console: colour dummy device 80x25
[    0.021836] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=270000)
[    0.033515] pid_max: default: 32768 minimum: 301
[    0.038837] Security Framework initialized
[    0.043486] SELinux:  Initializing.
[    0.047574] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.055140] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.064040] Initializing cgroup subsys blkio
[    0.068871] Initializing cgroup subsys memory
[    0.073811] Initializing cgroup subsys devices
[    0.078819] Initializing cgroup subsys freezer
[    0.083844] Initializing cgroup subsys net_cls
[    0.088860] Initializing cgroup subsys perf_event
[    0.094176] Initializing cgroup subsys net_prio
[    0.099314] ftrace: allocating 28998 entries in 114 pages
[    0.178316] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.238468] CPU1: Booted secondary processor
[    0.238477] Detected VIPT I-cache on CPU1
[    0.258453] CPU2: Booted secondary processor
[    0.258460] Detected VIPT I-cache on CPU2
[    0.278462] CPU3: Booted secondary processor
[    0.278469] Detected VIPT I-cache on CPU3
[    0.278554] Brought up 4 CPUs
[    0.309842] SMP: Total of 4 processors activated.
[    0.315136] CPU: All CPU(s) started at EL2
[    0.319782] alternatives: patching kernel code
[    0.325614] devtmpfs: initialized
[    0.345375] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.358150] pinctrl core: initialized pinctrl subsystem
[    0.365177] NET: Registered protocol family 16
[    0.371576] vdso: 2 pages (1 code @ ffffffc000e4d000, 1 data @ ffffffc000e4c000)
[    0.379952] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.388957] DMA: preallocated 256 KiB pool for atomic allocations
[    0.396279] ------------[ cut here ]------------
[    0.401508] WARNING: CPU: 0 PID: 1 at /home/user/GPL_MCH_7.16.0-220_20211216/linux-kernel/linux-kernel/drivers/soc/realtek/rtd129x/rtd129x_restart.c:87 rtk_setup_restart+0x18c/0x1d0()
[    0.419931] Unable to setup watchdog restart
[    0.424540] Modules linked in:
[    0.428185] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.17 #1
[    0.434861] Hardware name: Realtek RTD1295 Giraffe Board (DT)
[    0.441329] Call trace:
[    0.444083] [<ffffffc000289854>] dump_backtrace+0x0/0x170
[    0.450178] [<ffffffc0002899e8>] show_stack+0x24/0x2c
[    0.455868] [<ffffffc000aa9c44>] dump_stack+0x7c/0xc4
[    0.461576] [<ffffffc0002b601c>] warn_slowpath_common+0xa0/0xd4
[    0.468246] [<ffffffc0002b60c8>] warn_slowpath_fmt+0x78/0x88
[    0.474635] [<ffffffc0006da7a0>] rtk_setup_restart+0x18c/0x1d0
[    0.481205] [<ffffffc000281938>] do_one_initcall+0xd0/0x1cc
[    0.487496] [<ffffffc000d96b38>] kernel_init_freeable+0x1b0/0x254
[    0.494361] [<ffffffc000aa422c>] kernel_init+0x18/0xe0
[    0.500175] ---[ end trace 2d560c83c9efded1 ]---
[    0.505470] ****** rtk_lockapi_init 609, chip: id=0x00000000, revision=0x00010000
[    0.524808] [RTK_DCSYS_DBG] DC_EC_CTRL(0x98008300) = 70c0000
[    0.531212] [RTK_DCSYS_DBG] initialized
[    0.538432] [GPIO] set_default_gpio: gpio 8 is in use
[    0.544161] [GPIO] set_default_gpio: gpio 100 is in use
[    0.550955] [GPIO] No default gpio need to set
[    0.631591] Unable to handle kernel NULL pointer dereference at virtual address 000000d4
[    0.640803] pgd = ffffffc000fbe000
[    0.644632] [000000d4] *pgd=000000003e81c003, *pud=000000003e81c003, *pmd=000000003e81d003, *pte=00600000ff011707
[    0.656227] Internal error: Oops: 96000045 [#1] PREEMPT SMP
[    0.662500] Modules linked in:
[    0.665942] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G        W       4.1.17 #1
[    0.673974] Hardware name: Realtek RTD1295 Giraffe Board (DT)
[    0.680440] task: ffffffc03e8ecb80 ti: ffffffc03e960000 task.ti: ffffffc03e960000
[    0.688872] PC is at acpu_set_flag+0x30/0x6c
[    0.693681] LR is at acpu_set_flag+0x28/0x6c
[    0.698485] pc : [<ffffffc0006df654>] lr : [<ffffffc0006df64c>] pstate: 80000045
[    0.706811] sp : ffffffc03e963d10
[    0.710536] x29: ffffffc03e963d10 x28: 0000000000000000
[    0.716522] x27: ffffffc000f2e000 x26: 00000000000000e4
[    0.722507] x25: ffffffc000f2e000 x24: ffffffc000de4ea0
[    0.728490] x23: 0000000000000000 x22: ffffffc000dc3f88
[    0.734473] x21: ffffffc000e64ce0 x20: 0000000000000000
[    0.740457] x19: 0000000000000000 x18: ffffffc000b35cc0
[    0.746442] x17: 0000000000000040 x16: 0000000000000001
[    0.752428] x15: 0000000000000000 x14: 0ffffffffffffffd
[    0.758413] x13: 0000000000000000 x12: 0101010101010101
[    0.764396] x11: ffffffff7f7f7fff x10: fefefebeff2d30e3
[    0.770383] x9 : ffffffff7fffff7f x8 : 0000000080000080
[    0.776367] x7 : 8000000000000000 x6 : 0000000000000074
[    0.782350] x5 : ffffffc03eb0a890 x4 : 0000000000000000
[    0.788333] x3 : ffffffc03e960000 x2 : ffffffc000ca3710
[    0.794318] x1 : 00000000000000d4 x0 : 0000000000000200
[    0.800305]

!!!!! cut out the contents of the registers due to post limit !!!!

[    2.012194]
[    2.013868] Process swapper/0 (pid: 1, stack limit = 0xffffffc03e960020)
[    2.021413] Stack: (0xffffffc03e963d10 to 0xffffffc03e964000)
[    2.027884] 3d00:                                     3e963d30 ffffffc0 00dc3fac ffffffc0
[    2.037098] 3d20: 00e64ce0 ffffffc0 3eb0a880 ffffffc0 3e963dd0 ffffffc0 00281938 ffffffc0
[    2.046308] 3d40: 00e64ce0 ffffffc0 3eb0a880 ffffffc0 00e64ce0 ffffffc0 00dc3f88 ffffffc0
[    2.055519] 3d60: 00000000 00000000 00de4ea0 ffffffc0 00f2e000 ffffffc0 000000e4 00000000
[    2.064732] 3d80: 00f2e000 ffffffc0 00000000 00000000 3e963dd0 ffffffc0 00281928 ffffffc0
[    2.073947] 3da0: 00e64ce0 ffffffc0 3eb0a880 ffffffc0 00e64ce0 ffffffc0 00dc3f88 ffffffc0
[    2.083159] 3dc0: 00000000 00000000 00de4ea0 ffffffc0 3e963e50 ffffffc0 00d96b38 ffffffc0
[    2.092372] 3de0: 00e28d40 ffffffc0 00de4df0 ffffffc0 00000004 00000000 00d96270 ffffffc0
[    2.101585] 3e00: 00d8e1c0 ffffffc0 000000e4 00000000 00f2e000 ffffffc0 00000000 00000000
[    2.110798] 3e20: 00e6d600 ffffffc0 3ffc2200 ffffffc0 00f0e0c8 ffffffc0 00e6e748 ffffffc0
[    2.120014] 3e40: 00000004 00000004 3ffc22ed ffffffc0 3e963eb0 ffffffc0 00aa422c ffffffc0
[    2.129227] 3e60: 00aa4214 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[    2.138437] 3e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.147649] 3ea0: 00000000 00000000 00284bf4 ffffffc0 00000000 00000000 00284c00 ffffffc0
[    2.156861] 3ec0: 00aa4214 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[    2.166074] 3ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.175288] 3f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.184501] 3f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.193715] 3f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.202925] 3f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.212139] 3f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.221351] 3fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.230565] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000005 00000000
[    2.239777] 3fe0: 00000000 00000000 00000000 00000000 9ee509e6 1182b848 80a710a6 e3e45121
[    2.248983] Call trace:
[    2.251738] [<ffffffc0006df654>] acpu_set_flag+0x30/0x6c
[    2.257722] [<ffffffc000dc3fac>] rtk_suspend_init+0x24/0x72c
[    2.264095] [<ffffffc000281938>] do_one_initcall+0xd0/0x1cc
[    2.270372] [<ffffffc000d96b38>] kernel_init_freeable+0x1b0/0x254
[    2.277236] [<ffffffc000aa422c>] kernel_init+0x18/0xe0
[    2.283023] Code: d5033abf 97fff7fd 91035281 52804000 (b9000020)
[    2.290040] ---[ end trace 2d560c83c9efded2 ]---
[    2.295291] Kernel panic - not syncing: Fatal exception
[    2.301179] CPU1: stopping
[    2.304228] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W       4.1.17 #1
[    2.312262] Hardware name: Realtek RTD1295 Giraffe Board (DT)
[    2.318728] Call trace:
[    2.321484] [<ffffffc000289854>] dump_backtrace+0x0/0x170
[    2.327566] [<ffffffc0002899e8>] show_stack+0x24/0x2c
[    2.333254] [<ffffffc000aa9c44>] dump_stack+0x7c/0xc4
[    2.338944] [<ffffffc00028e99c>] handle_IPI+0x1d4/0x2a8
[    2.344825] [<ffffffc0002814dc>] gic_handle_irq+0x84/0x88
[    2.350900] Exception stack(0xffffffc03e9afe00 to 0xffffffc03e9aff20)
[    2.358155] fe00: 00e50000 ffffffc0 00f08000 ffffffc0 3e9aff40 ffffffc0 002859cc ffffffc0
[    2.367368] fe20: 002f6010 ffffffc0 00000000 00000000 3e9aff50 ffffffc0 00e53000 ffffffc0
[    2.376580] fe40: 00000001 00000000 00000000 00000000 447f1a86 00000000 00000241 00000000
[    2.385794] fe60: 3e9a4710 ffffffc0 3e9afea0 ffffffc0 fefeff3f fefefefe 7f7f7f7f 7f7f7f7f
[    2.395005] fe80: 01010101 01010101 00000018 00000000 fffffffe 0fffffff 00000001 00000000
[    2.404217] fea0: 00000007 00000000 0000000e 00000000 00b35cc0 ffffffc0 00e50000 ffffffc0
[    2.413429] fec0: 00f08000 ffffffc0 00ac3000 ffffffc0 00000000 00000000 00000000 00000000
[    2.422642] fee0: 00e310e0 ffffffc0 00c85000 ffffffc0 00000000 00000000 00e32000 ffffffc0
[    2.431853] ff00: 00e50000 ffffffc0 3e9aff40 ffffffc0 002859c8 ffffffc0 3e9aff40 ffffffc0
[    2.441064] [<ffffffc0002845a8>] el1_irq+0x68/0xd8
[    2.446461] [<ffffffc0002f6010>] cpu_startup_entry+0x28c/0x404
[    2.453032] [<ffffffc00028e3b4>] secondary_start_kernel+0x120/0x144
[    2.460088] CPU2: stopping
[    2.463139] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D W       4.1.17 #1
[    2.471170] Hardware name: Realtek RTD1295 Giraffe Board (DT)
[    2.477635] Call trace:
[    2.480391] [<ffffffc000289854>] dump_backtrace+0x0/0x170
[    2.486475] [<ffffffc0002899e8>] show_stack+0x24/0x2c
[    2.492161] [<ffffffc000aa9c44>] dump_stack+0x7c/0xc4
[    2.497849] [<ffffffc00028e99c>] handle_IPI+0x1d4/0x2a8
[    2.503731] [<ffffffc0002814dc>] gic_handle_irq+0x84/0x88
[    2.509806] Exception stack(0xffffffc03e9b3e00 to 0xffffffc03e9b3f20)
[    2.517064] 3e00: 00e50000 ffffffc0 00f08000 ffffffc0 3e9b3f40 ffffffc0 002859cc ffffffc0
[    2.526275] 3e20: 002f6010 ffffffc0 00000000 00000000 3e9b3f50 ffffffc0 00e53000 ffffffc0
[    2.535486] 3e40: 00000001 00000000 00000000 00000000 887f360e 00000000 000003ff 00000000
[    2.544699] 3e60: 3e9a7290 ffffffc0 3e9b3ea0 ffffffc0 ffffffff ffffffff ffffffff ffffffff
[    2.553909] 3e80: 00000ae2 00000000 00000ae2 00000000 000c8000 00000000 00000000 00000000
[    2.563123] 3ea0: 00000001 00000000 00000040 00000000 00b35cc0 ffffffc0 00e50000 ffffffc0
[    2.572334] 3ec0: 00f08000 ffffffc0 00ac3000 ffffffc0 00000000 00000000 00000000 00000000
[    2.581545] 3ee0: 00e310e0 ffffffc0 00c85000 ffffffc0 00000000 00000000 00e32000 ffffffc0
[    2.590756] 3f00: 00e50000 ffffffc0 3e9b3f40 ffffffc0 002859c8 ffffffc0 3e9b3f40 ffffffc0
[    2.599969] [<ffffffc0002845a8>] el1_irq+0x68/0xd8
[    2.605367] [<ffffffc0002f6010>] cpu_startup_entry+0x28c/0x404
[    2.611938] [<ffffffc00028e3b4>] secondary_start_kernel+0x120/0x144
[    2.618991] CPU0: stopping
[    2.622041] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D W       4.1.17 #1
[    2.630074] Hardware name: Realtek RTD1295 Giraffe Board (DT)
[    2.636539] Call trace:
[    2.639296] [<ffffffc000289854>] dump_backtrace+0x0/0x170
[    2.645377] [<ffffffc0002899e8>] show_stack+0x24/0x2c
[    2.651067] [<ffffffc000aa9c44>] dump_stack+0x7c/0xc4
[    2.656757] [<ffffffc00028e99c>] handle_IPI+0x1d4/0x2a8
[    2.662640] [<ffffffc0002814dc>] gic_handle_irq+0x84/0x88
[    2.668719] Exception stack(0xffffffc000e4bdb0 to 0xffffffc000e4bed0)
[    2.675974] bda0:                                     00e50000 ffffffc0 00f08000 ffffffc0
[    2.685188] bdc0: 00e4bef0 ffffffc0 002859cc ffffffc0 002f6010 ffffffc0 00000000 00000000
[    2.694402] bde0: 00e4bf00 ffffffc0 00e53000 ffffffc0 00000001 00000000 00000000 00000000
[    2.703618] be00: 8897a284 00000000 000001ff 00000000 00e65490 ffffffc0 00e4be50 ffffffc0
[    2.712830] be20: ffffffff ffffffff ffffffff ffffffff 00000ae2 00000000 00000ae2 00000000
[    2.722042] be40: 000c8000 00000000 00000001 00000000 00000007 00000000 0000000e 00000000
[    2.731256] be60: 00b35cc0 ffffffc0 00e50000 ffffffc0 00f08000 ffffffc0 00ac3000 ffffffc0
[    2.740467] be80: 00000000 00000000 00000000 00000000 00e310e0 ffffffc0 00c85000 ffffffc0
[    2.749683] bea0: 00000000 00000000 00e32000 ffffffc0 00e50000 ffffffc0 00e4bef0 ffffffc0
[    2.758890] bec0: 002859c8 ffffffc0 00e4bef0 ffffffc0
[    2.764576] [<ffffffc0002845a8>] el1_irq+0x68/0xd8
[    2.769972] [<ffffffc0002f6010>] cpu_startup_entry+0x28c/0x404
[    2.776541] [<ffffffc000aa420c>] rest_init+0x8c/0x94
[    2.782128] [<ffffffc000d96974>] start_kernel+0x37c/0x390
[    2.788208] Rebooting in 5 seconds..
[    7.792557] reboot: [DEBUG] emergency_restart
[    7.797658] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G      D W       4.1.17 #1
[    7.805689] Hardware name: Realtek RTD1295 Giraffe Board (DT)
[    7.812154] Call trace:
[    7.814909] [<ffffffc000289854>] dump_backtrace+0x0/0x170
[    7.820988] [<ffffffc0002899e8>] show_stack+0x24/0x2c
[    7.826673] [<ffffffc000aa9c44>] dump_stack+0x7c/0xc4
[    7.832364] [<ffffffc0002d8038>] emergency_restart+0x28/0x40
[    7.838741] [<ffffffc000aa5cd0>] panic+0x1cc/0x230
[    7.844136] [<ffffffc000289ba0>] die+0x1b0/0x1bc
[    7.849334] [<ffffffc000aa5ab4>] __do_kernel_fault.part.4+0x7c/0x8c
[    7.856394] [<ffffffc000296314>] do_page_fault+0x28c/0x2d0
[    7.862573] [<ffffffc00029642c>] do_translation_fault+0xd4/0x104
[    7.869336] [<ffffffc0002812d4>] do_mem_abort+0x50/0xb0
[    7.875218] Exception stack(0xffffffc03e963b50 to 0xffffffc03e963c70)
[    7.882472] 3b40:                                     00000000 00000000 00000000 00000000
[    7.891686] 3b60: 3e963d10 ffffffc0 006df654 ffffffc0 3e963b90 ffffffc0 002cc8b8 ffffffc0
[    7.900899] 3b80: 3e8cf400 ffffffc0 002e0730 ffffffc0 3e963bc0 ffffffc0 0028cc14 ffffffc0
[    7.910112] 3ba0: 00000001 00000000 00000040 00000000 00000000 00000000 002ce730 ffffffc0
[    7.919325] 3bc0: 3e963c50 ffffffc0 006a066c ffffffc0 3eb0a880 ffffffc0 00c8c9d8 ffffffc0
[    7.928538] 3be0: 3e963dd0 ffffffc0 00b24168 ffffffc0 00000200 00000000 000000d4 00000000
[    7.937750] 3c00: 00ca3710 ffffffc0 3e960000 ffffffc0 00000000 00000000 3eb0a890 ffffffc0
[    7.946964] 3c20: 00000074 00000000 00000000 80000000 80000080 00000000 7fffff7f ffffffff
[    7.956176] 3c40: ff2d30e3 fefefebe 7f7f7fff ffffffff 01010101 01010101 00000000 00000000
[    7.965387] 3c60: fffffffd 0fffffff 00000000 00000000
[    7.971073] [<ffffffc000284428>] el1_da+0x18/0x70
[    7.976370] [<ffffffc000dc3fac>] rtk_suspend_init+0x24/0x72c
[    7.982744] [<ffffffc000281938>] do_one_initcall+0xd0/0x1cc
[    7.989016] [<ffffffc000d96b38>] kernel_init_freeable+0x1b0/0x254
[    7.995879] [<ffffffc000aa422c>] kernel_init+0x18/0xe0
[    8.001659] Reboot failed -- System halted

Perhaps due to the fact that this instruction is for RTL1295 + EMMC devices (Pelican), not Monarch.

I’m using the sata files though, which are for the monarch. I guess the board and bootloader are the same, it’s just where it loads the os from. so I’d expect it to boot with the sata kernel, dtb and rootfs… My expectation is either wrong or I’m doing something wrong. There’s an amazing file linked in that post about the boards, which is valid for RTD129x

Does your kernel boot from USB?

I suppose the loading addresses are the same as for sata boot?

I was able to boot from USB with the same set of files. not sure why it doesn’t boot from tftp…

You are using modified files, they have a check of the connected USB disk. Try to connect any USB disk (MBR FAT32) and boot from TFTP.

it worked with go k like this:

Realtek> env set ipaddr 192.168.5.5; env set serverip 192.168.5.1; env set tftpblocksize 1468; tftp $kernel_loadaddr sata.uImage; tftp $fdt_loadaddr rescue.sata.dtb; tftp $rootfs_loadaddr rescue.root.sata.cpio.gz_pad.img; go k

hey @Alex-N , i did the following steps on my unit ( 9.4-191 ).

  • touched enable_root on the config partition
  • took the latest image.cfs
  • unsquashfs it
  • remove the fw_verify lines from script/system_init , they were only in validate_start_sshd function though…
  • mksquashfs it and place it back on the unit
  • placed an sshd binary and id_ecdsa.pub on the USB stick
  • now when the device boots i get:
Squashfs MD5 checksum not match !!!!!
Reboot device to B firmware

it reboots and I see:

[validate_start_sshd] Root privilege is enabled, try to search sshd from USB...

but this is the only message regarding ssh ( this is due to the enable_root ) , so it doesn’t start my sshd fro USB stick.

what am I missing here?

Wow, finally somebody is joining in :wink:
Looks like you only missed to md5sum your new image.cfs.

It’s booting the older image now, which might re-update the other partition again. So make sure to reapply your image.cfs together with your image_md5.txt.Alex

I managed to have sshd running from USB, the device appears in the mycloud interface offline though… How did you enable docker on stock firmware?

so I figured that docker is started in system_init. the problem was that I did unsquashfs and mksquashfs as normal user instead of root. The sudoers.so got created by the normal user, and the start-daemon.sh is using sudo to start the daemons as restsdk but my sudo was broken due to the ownership. this is why docker didn’t start and the device showed up offline in the mycloud.

Perfekt, that’s exactly what I did.
As I wrote before, the Docker containers even survive an update. One might be tempted to run an SSHD container … :wink:

hey @RAH-66 where did you get this link from? I tried boot in gold mode, because my unit was stuck on 8.8.0 ( was booting from the rescue partition and had 0:F:0 in bootconfig , therefore I received an email from wd, in case I don’t update I won’t have access to my device anymore ) with the install.img from this archive on the usb, and now the tftp, usb, fatload commands are gone form my bootloader, and has fewer options for the go command. I assume this is due the older version of uboot in this archive. I’d like to find a newer version of this installer…
BTW, the gold mode wipes out the data partition apparently :(, I wasn’t aware …

I’m getting with the downgraded uboot this:

Realtek> bootr
rtk_plat_set_fw not port yet, use default configs
Not raw Image, Starting Decompress Image.gz...


Error: Bad gzipped data
Decompress FAIL!!
ERROR do_booti failed!
Realtek>

I successfully followed everything in the Russian post but forgot to execute this line:

make_ext4fs -L UsersFolders /dev/sda21

of course now I don’t have that mounted … I tried to redo the whole process but I can no longer boot off the USB … what can I do to fix this ?

Im not able to boot from usb after everything has been installed … why ?

I found this in my logs of the console:

rtk_preload_bootimages_spi : header info
 0x00000600 0x00067440 0x00010b00 0x00000000
 0x00005040 0x00000000 0x00000000 0x00026360
 0x00000000
rtk_preload_bootimages_spi : load U-Boot 64 from 0x8819de60 to 0x01500000 with size 0x00026360
rtk_preload_bootimages_spi : load BL31 from 0x88198e00 to 0x10120000 with size 0x00005040
copy_2nd_bootloader_and_run : src:0x01500000, dst:0x00021000, size:0x00028000
Jumping to 2nd bootloader...

U-Boot 2015.07-g5a4a178-dirty (Jun 22 2016 - 11:33:46 +0800)

and noticed that the serial is missing from:

Info: Try to add new node /factory...
*****************************************
factory {
        bootstate = "0";
        bna = "0";
        nbr = "F";
        cbr = "A";
        ver = "4.1.4";
        ipaddr = "192.168.3.5";
        ethaddr = "00:10:20:30:40:50";
};
*****************************************

I didn’t know there are 2 bootloaders. how can I jump back to the 1st one?
I assume this is the problem, the second is too old.

Hi,
i am not able to install OMV on my cloud home.
i have bought wd my home cloud with version 7.16.0-220.
After one week it is auto updated in OTA and it is now at version 9.4.0-191.
I have formatted usb key in MBR and i have unzipped inside the file of Install_usb_disk_Debian11(OMV6)(GPL_MCH_Monarch_8.7.0-107_20220623). How long does i press reset button? After tree minutes the led is not fixed and i am not able to connect with telnet. Is there a problem with my actual version?
Thanks.
Regards.