Sorry, here you are and thank you // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Device Tree file for Western Digital My Cloud Mirror Gen 2 * (BWVZ/Grand Teton) * * Copyright (C) 2020 * * Based on the code from: * * Copyright (C) 2019 Evgeny Kolesnikov <evgenyz@gmail.com> * Copyright (C) 2016 Martin Mueller <mm@sig21.net> * Copyright (C) 2013 Gregory CLEMENby CyberPK - Debian
Top to bottom: Power/System LED Sata1 LED: Blue(mpp53), Red(mpp43) Sata2 LED: Blue(mpp55), Red(mpp52) in addition, disk1 present(mpp48) disk2 present(mpp58) STOCK: SataX led BLUE: disk presence BLUE blinking: disk activity RED: Disk crashed because I cannot drive the blue led with two trigger, decided to have Blue led triggered by the disk present gpio, and the red red triggered bby CyberPK - Debian
Sorry, I have not explained the problem well. The disk activity through ide-disk1&2 is working good with your patch. The above gpio is to sense the presence of the disk. The expected result is to have the blue led poweron when the drive is inserted, and blink the red on disk activityby CyberPK - Debian
Sorry, maybe I did not understand. What I miss is only the way to add gpio48 (gpio1 16) in this snippet > sata1-blue { > label = "wdmcmg2:blue:detecthdd1"; > gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; > linux,default-trigger = "gpio"; > linux,default-inverted = "1"; > }; otherwise I have to set it in the rc.local root@debian:by CyberPK - Debian
bodhi Wrote: ------------------------------------------------------- > QuoteYes, the device has a drive-detect gpio, > but in the dts I cannot understand how to set the > gpio to monitor. > > > Quotesata1-blue { > label = "wdmcmg2:blue:detecthdd1"; > gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; > linux,default-trigger = "gpio"by CyberPK - Debian
Yes, the device has a drive-detect gpio, but in the dts I cannot understand how to set the gpio to monitor.by CyberPK - Debian
Thank you, already understood your patch and the inner working. sata1-blue { label = "wdmcmg2:blue:detecthdd1"; gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; linux,default-trigger = "gpio"; linux,default-inverted = "1"; }; As you can see, I set the trigger on gpio mode to light up the blue led, but cannot understand how to set the gpio tby CyberPK - Debian
Hi bodhi, I need your help. I'm making some trial on the DTS to obtain the same led behaviour as in stock software, but I cannot obtain what a I need. Let me explain. I would like to have the blue led powerup when a sata disk is inserted, and blink on activity. Unfortunately it seems that the same led/gpio cannot be connected to more than 1 trigger. Any idea? I have also triedby CyberPK - Debian
bodhi Wrote: ------------------------------------------------------- > Yes. Please add a postfix to the kernel version. > Such as (anything to avoid confusion). Also note > if you've changed any kernel parameters from > config-5.5.3-mvebu-tld-1. > Example: > > 5.5.3-mvebu-tld-1-cpk-1 > Ok, I will make this change in next days. I've changed some paramby CyberPK - Debian
bodhi Wrote: > Could you also post: > > > dmesg > cat /proc/mtd > I'm working to the dts to add the sata HDD sensing, so may be containg wring informations. I'm just finishing some mods, to test if the DTS works good, or I've to move the sata triggers to the rc.local If you want the dmesg as is, I can send it. root@debian:~# cat /proc/mtd dev:by CyberPK - Debian
Here follows my notes on installing debian 10 and omv 5 and are not perfectly refined, but are working without problems. at this link all the useful script and compiled packages: https://drive.google.com/drive/folders/1kNRCABVaWv6PvDHiqwBxtz0FTcb6dO93?usp=sharing This post assumes that you are able to connect to the serial interface of the device. Before continuing make sure you haveby CyberPK - Debian
Thank you! I would like to share my result, but I need to be sure that there is not any error. Can you help me better understand the uBoot and related arguments (obviously web resources or books to read)? Can you build the dtb also for the WD My Cloud Mirror Gen 2 for the next releases? (If I'm correct it's the same as EX2 Ultra, but with less RAM, only 512MB) OT: Do you know iby CyberPK - Debian
My hesitation is because I do not master all the knowledge required, and before bricking the box, I think is better to make a simple question to someone more knowledgeable than me :) Thank you very muchby CyberPK - Debian
Thank you for helping. 1) The uImage size appears irrilevant to me; 2) The kernel is compiled following these instuction https://themm.net/public/ex2u/kernel with this config: https://raw.githubusercontent.com/c-MM/mcm-daemon/master/kernel/4.8.12/config.txt What you suggest to check? Maybe there is a relocation? To me 0x00f00000+0x01461000 appear to be the base address + uRamdisk size + aliby CyberPK - Debian
Thank you for answering. Effectively my question was a bit confusing. Thank you for trying to understand my problems. About the network-console, effectively I do not need it for the network console (and kernel messages), but I've used it (probably wrongly) to make the ssh daemon start in unattended mode using the pressed.cfg (done with success). Probably I should have used only the netbooby CyberPK - Debian
I own a WD My Cloud Mirror Gen 2 and I'm already trying to use your package. Only the dts is from fox-exe (http://fox-exe.ru/WDMyCloud/Other/Official_linux_kernel/armada-385-wdmc-mirror-gen2.dts) because there isn't in your patch. If I use the precompiled kernel, in uboot format, I cannot load the uRamdisk with the debian net installer. I would like to build the kernel by my own, andby CyberPK - Debian
I've compiled the mainline kernel (without patches) and trying to run the generated uImage and the ramdisk of the debian installer. My problem is that if I use the precompiled kernle 5.1.2 the initrd is not loaded beacuse the ramfs is disabled. My compiled kernel with BLK_DEV_RAM=y instead of external module fails with these errors ... [ 0.000000][ T0] INITRD: 0x00f00000+0x0146100by CyberPK - Debian
Hello, I've compiled the kernel by my own, but I cannot boot to debian installer with ssh. Because I'm not able to find an usb to com adapter, I'm trying to use the network-console initrd modified with the preseed.cfg. I'm able to boot from usb drive following the instruction from https://themm.net/public/ex2u/start but if I use the network-console initrd with or withoutby CyberPK - Debian
Thank you for answering. As you have understood I'm not an expert. Do you think is a good idea to run debian from an usb drive? This way I'll avoid the drive spinning all the time? What about the differences in the dts file by this forum users and the fox_exe version? At now, I've used the fox_exe binary to convert the wd to debian Stretch and flashed his rootfs. Then Iby CyberPK - Debian
Hello everyone, this is my first post and I'm a newbie to the topic of compiling a kernel and working with the arm toolchain. I've read almost all the topic, the how to by MM and the topic by fox_exe in wd forum about the alternative firmwares. I actually own a WD MyCloud Mirror Gen2 and I want to update to debian to install openmediavault or anything else better than the buggy and lby CyberPK - Debian