-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for support of FS2500 dtcpatch #11
Comments
Ready for tests: |
I am also ready to try at TC. https://github.com/PeterSuh-Q3/rp-ext/tree/main/dtbpatch/releases |
Yep, replace only dtbpatch binary |
The patched dtb file was converted to dts again and the contents were examined. SynologyNAS> ./dtc -I dtb -O dts -o output.dts output.dtb / {
}; |
Maybe model_r2.dtb or a model using a different name? |
Sorry for delay! I've study the DSM scripts and adapted the dtbpatch, please test with pocopico extension: |
That's OK. The ext of pocopico and the script you provided are merged as follows. https://github.com/PeterSuh-Q3/rp-ext/blob/main/dtbpatch/releases/install.sh This is first test result. It seems that HW revision information cannot be found in FS2500. SynologyNAS> cd /var/log SynologyNAS> cd /proc/sys/kernel/ |
Since I gave an example of ds920+, I don't know if it will be helpful, but pocopico once mentioned the following. Well that is not true, the original file has single digit values for port numbers. Bellow the snip taken from original /etc/model.dtb
Also the linuxrc.syno.impl refers to two different hardware revisions of ds920p. Depends on HW_VERSION and HW_REVISION linuxrc.syno.impl- HW_VERSION= More on that issue. /proc/sys/kernel/syno_hw_revision is empty so the /etc.defaults/model.dtb is always copied to /var/run. Jumkeys extension should work as designed. |
Like the RS4021xs+, the FS2500 is a dual PSU system. RS4021xs+ has the same PSU warning issue. A Korean user shares his analysis regarding REDPILL PSU.After installing Proxmox on the Dell r720, I uploaded the 4021xs+ model, but a PSU warning popped up even though it was a server device, so I looked for the related code and data.
2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: scemd_connector.c:142 scemd connector thread start. 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: manage_services.c:503 sys raid adjust thread 139872253769472 created 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: scemd_status/scemd_set_status.c:23 Scemd is abnormal restart... 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: redundant_power_check.c:359 Initialize the dual power cpld 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: raid_sys_volume_check.c:153 MD0 active disks 1, designed disks 12 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: raid_sys_volume_check.c:153 MD1 active disks 1, designed disks 12 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: system_status.c:274 Hibernation timer:-1 min(s) 2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: system_status.c:278 Deep sleep timer:-1 min(s) 2022-08-09T17:26:28+09:00 rs4021_test scemd[13512]: led.c:334 Enable power & phy LED 2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: redundant_power_check.c:366 Redundant power 1 fail 2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: sysnotify_send_notification.c:393 SYSNOTIFY: [RedundantPowerStopProvide] was sent to desktop,mobile 2022-08-09T17:26:30+09:00 rs4021_test scemd[13547]: plugin_action.c:319 synoplugin: [13512][POST][notification][synomibclient_event.sh][13547] ExitCode: 0 2022-08-09T17:26:30+09:00 rs4021_test scemd[13547]: plugin_action.c:319 synoplugin: [13512][POST][notification][synomibclient_event.sh][13547] Runtime: 0.047s 2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: plugin_action.c:317 synoplugin: [13512][POST][notification][MAIN] Runtime: 0.051s 2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: redundant_power_check.c:385 Redundant power 2 fail 2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_update_ds_token.c:52 fgets failed 2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_update_ds_token.c:147 Can't set api key 2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed. 2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_utils.c:387 GenerateDsToken Failed So I was looking for what that part was. Inside the file ds.broadwellnk-70.dev/usr/local/include/hwctl/ebox.h These things also exist. typedef enum { Above all, it seems that the power-related part in the redpill-lkm -> hwmon part is incomplete. https://github.com/PeterSuh-Q3/redpill-lkm/blob/master/shim/bios/bios_hwmon_shim.c#L298
https://github.com/RedPill-TTG/dsm-research/blob/master/quirks/hwmon.md |
hello, There are a few more items I found related to PSUs, so I'll share them with you. location: Synology NAS GPL Source/25426branch/broadwellnk-source/linux-4.4.x.txz/arch/x86/kernel/setup.c:530
It is very complex and difficult to understand, but it is shown as a code that checks the status of the PSU. |
Thanks for the information about PSUs. |
As you can see in the sample, the FS2500 uses a pattern value of mv14xx instead of ahci, phy instead of ata_port.
Can you include this new pattern in the dtb patch utility as well?
syno_block_info is the same as before.
( And during testing with pocopico, DS2422+ also found a peculiarity of the contents of the dtb file. dts file and I will request more. )
SynologyNAS> cat /sys/block/*/device/syno_block_info
pciepath=00:1f.2
ata_port_no=0
driver=ahci
pciepath=00:1f.2
ata_port_no=1
driver=ahci
pciepath=00:1f.2
ata_port_no=3
driver=ahci
SynologyNAS> cat output.dts.out
/dts-v1/;
/ {
compatible = "Synology";
model = "synology_v1000_fs2500";
version = <0x01>;
syno_hdd_powerup_seq = "true";
syno_smbus_hdd_type = "microp";
syno_smbus_hdd_adapter = <0x01>;
syno_smbus_hdd_address = <0x47>;
syno_cmos_reg_secure_flash = <0xe0>;
syno_cmos_reg_secure_boot = <0xe2>;
syno_uart_logout_gpio = <0x07 0x01>;
internal_slot@1 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x00>;
};
};
internal_slot@2 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x01>;
};
};
internal_slot@3 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x02>;
};
};
internal_slot@4 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x03>;
};
};
internal_slot@5 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x04>;
};
};
internal_slot@6 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x05>;
};
};
internal_slot@7 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x06>;
};
};
internal_slot@8 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x07>;
};
};
internal_slot@9 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x08>;
};
};
internal_slot@10 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x09>;
};
};
internal_slot@11 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x0a>;
};
};
internal_slot@12 {
protocol_type = "sata";
led_type = "1475";
mv14xx {
pcie_root = "00:01.1,00.0";
phy = <0x0b>;
};
};
pcie_slot@1 {
pcie_root = "00:01.2";
};
usb_slot@1 {
vbus {
syno_gpio = <0x2a 0x01>;
};
usb2 {
usb_port = "1-2";
};
usb3 {
usb_port = "2-2";
};
};
usb_slot@2 {
vbus {
syno_gpio = <0x0b 0x01>;
};
usb2 {
usb_port = "1-3";
};
usb3 {
usb_port = "2-3";
};
};
};
The text was updated successfully, but these errors were encountered: