Jump to content
XPEnology Community

RedPill TinyCore Loader Installation Guide for DSM 7.1 BareMetal


Peter Suh

Recommended Posts

hi, please help install

try to install DS3622xs+ on GA-Z87X-D3H -i7-4771 LSI 9240-8i HBA mode

MB SATA - disable

before build  add extension

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt2sas/rpext-index.json

 

after ./rploader.sh satamap now

SataPortMap = "8",

DiskIdxMap = "00"

But after booting no HDD found

 

Also try build 7.0.1-42218 and 7.1.0-42661

Link to comment
Share on other sites

13 minutes ago, -iliya- said:

hi, please help install

try to install DS3622xs+ on GA-Z87X-D3H -i7-4771 LSI 9240-8i HBA mode

MB SATA - disable

before build  add extension

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt2sas/rpext-index.json

 

after ./rploader.sh satamap now

SataPortMap = "8",

DiskIdxMap = "00"

But after booting no HDD found

 

Also try build 7.0.1-42218 and 7.1.0-42661

 

The 9240-8i is known for the same chipset as the 9211, so expect TC to automatically detect mpt3sas ext.
Check which ext is created after the normal build is completed with the command below.
Let's check the ext directory of redpill-load .
./rploader.sh build bromolow-7.1.0-42661
ll ./redpill-load/custom/e*

 

Also, check if the HDD is normally listed in the HBA.
ll /sys/block

Edited by Peter Suh
Link to comment
Share on other sites

1 hour ago, Peter Suh said:

 

I don't know if pocopico will check if I leave a log like this here.
Do you know how to use annotations starting with @?

@chechill


Looking at the logs, I can't figure out why the r8169 NIC is delayed by 10 minutes.


And it seems to be trying to install DSM, but the revision seems to be inconsistent.
42661 and 42621 are different versions.
42661 is the official version, and 42621 is the RC version.

 

Sorry. can you check if i do correct steps?

./rploader.sh update now
./rploader.sh fullupgrade now
./rploader.sh serialgen DS918+ now
./rploader.sh satamap now
./rploader.sh identifyusb now

./rploader.sh build apollolake-7.0.1-42218

./rploader.sh clean now

vi /home/tc/ds920p.dts   (edit my sata config)

./rploader.sh build apollolake-7.1.0-42661

./rploader.sh clean now; rm -rf /mnt/sdb3/auxfiles; rm -rf /home/tc/custom-module; ./rploader.sh backup now;

sudo reboot

 

Is this procedire right?

 

Can you please reply this question?

I must erase that config? Because always match the pcie_root nic adress with this esata port during the auto-detection process

image.png.c85256086d5be67d55b617363d741435.png

 

 

Kind Regards.

 

 

Edited by chechill
Link to comment
Share on other sites

55 минут назад, Peter Suh сказал:

ll ./redpill-load/custom/e*

tc@box:~$ ll ./redpill-load/custom/e*
total 4
-rw-r--r-- 1 tc   staff 920 May  3 16:35 REALLY_README.txt
drwxr-sr-x 3 tc   staff  80 May  3 16:40 pocopico.e1000e/
drwxr-sr-x 3 root staff  80 May  3 16:40 redpill-boot-wait/
drwxr-sr-x 3 tc   staff  80 May  3 16:40 redpill-misc/

 

56 минут назад, Peter Suh сказал:

ll /sys/block

lrwxrwxrwx 1 root root 0 May  3 16:34 sdc -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:0/end_device-2:0/target2:0:0/2:0:0:0/block/sdc
lrwxrwxrwx 1 root root 0 May  3 16:34 sdd -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:1/end_device-2:1/target2:0:1/2:0:1:0/block/sdd
lrwxrwxrwx 1 root root 0 May  3 16:34 sde -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:2/end_device-2:2/target2:0:2/2:0:2:0/block/sde
lrwxrwxrwx 1 root root 0 May  3 16:34 sdf -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:3/end_device-2:3/target2:0:3/2:0:3:0/block/sdf
lrwxrwxrwx 1 root root 0 May  3 16:34 sdg -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:4/end_device-2:4/target2:0:4/2:0:4:0/block/sdg
lrwxrwxrwx 1 root root 0 May  3 16:34 sdh -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:5/end_device-2:5/target2:0:5/2:0:5:0/block/sdh
lrwxrwxrwx 1 root root 0 May  3 16:34 sdi -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:6/end_device-2:6/target2:0:6/2:0:6:0/block/sdi
lrwxrwxrwx 1 root root 0 May  3 16:34 sdj -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:7/end_device-2:7/target2:0:7/2:0:7:0/block/sdj

Link to comment
Share on other sites

6 hours ago, -iliya- said:

tc@box:~$ ll ./redpill-load/custom/e*
total 4
-rw-r--r-- 1 tc   staff 920 May  3 16:35 REALLY_README.txt
drwxr-sr-x 3 tc   staff  80 May  3 16:40 pocopico.e1000e/
drwxr-sr-x 3 root staff  80 May  3 16:40 redpill-boot-wait/
drwxr-sr-x 3 tc   staff  80 May  3 16:40 redpill-misc/

 

lrwxrwxrwx 1 root root 0 May  3 16:34 sdc -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:0/end_device-2:0/target2:0:0/2:0:0:0/block/sdc
lrwxrwxrwx 1 root root 0 May  3 16:34 sdd -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:1/end_device-2:1/target2:0:1/2:0:1:0/block/sdd
lrwxrwxrwx 1 root root 0 May  3 16:34 sde -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:2/end_device-2:2/target2:0:2/2:0:2:0/block/sde
lrwxrwxrwx 1 root root 0 May  3 16:34 sdf -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:3/end_device-2:3/target2:0:3/2:0:3:0/block/sdf
lrwxrwxrwx 1 root root 0 May  3 16:34 sdg -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:4/end_device-2:4/target2:0:4/2:0:4:0/block/sdg
lrwxrwxrwx 1 root root 0 May  3 16:34 sdh -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:5/end_device-2:5/target2:0:5/2:0:5:0/block/sdh
lrwxrwxrwx 1 root root 0 May  3 16:34 sdi -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:6/end_device-2:6/target2:0:6/2:0:6:0/block/sdi
lrwxrwxrwx 1 root root 0 May  3 16:34 sdj -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:7/end_device-2:7/target2:0:7/2:0:7:0/block/sdj

 

It seems that HBA's ext auto-detection failed.

I was expecting mpt3sas ext, but it is not visible. I see 8 disks, is it SAS type? Is it SATA type?
Is HBA in IR Mode? Is it IT Mode?

 

First, try using mpt3sas instead of mpt2sas.

 

Please send more logs, which are the results of the two commands below, to check the reason why automatic detection is not working.
lspci
lspci -tvnnq

Link to comment
Share on other sites

6 hours ago, chechill said:

 

Sorry. can you check if i do correct steps?

./rploader.sh update now
./rploader.sh fullupgrade now
./rploader.sh serialgen DS918+ now
./rploader.sh satamap now
./rploader.sh identifyusb now

./rploader.sh build apollolake-7.0.1-42218

./rploader.sh clean now

vi /home/tc/ds920p.dts   (edit my sata config)

./rploader.sh build apollolake-7.1.0-42661

./rploader.sh clean now; rm -rf /mnt/sdb3/auxfiles; rm -rf /home/tc/custom-module; ./rploader.sh backup now;

sudo reboot

 

Is this procedire right?

 

Can you please reply this question?

I must erase that config? Because always match the pcie_root nic adress with this esata port during the auto-detection process

image.png.c85256086d5be67d55b617363d741435.png

 

 

Kind Regards.

 

 

 

 

The ds918+ does not use dts.


Assuming you are using bare metal, try rebuilding it according to the guide below.

It is a shell program that executes the commands listed above in batches and adds a little help to the loader build.

 

tc@box:~$ wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz; tar -zxvf my.sh.gz;

 

tc@box:~$ ./my.sh DS918+

 

Once the DS918+ has been successfully installed with this process,
Let's talk about the build of the DS920+ again.

Link to comment
Share on other sites

8 hours ago, -iliya- said:

tc@box:~$ ll ./redpill-load/custom/e*
total 4
-rw-r--r-- 1 tc   staff 920 May  3 16:35 REALLY_README.txt
drwxr-sr-x 3 tc   staff  80 May  3 16:40 pocopico.e1000e/
drwxr-sr-x 3 root staff  80 May  3 16:40 redpill-boot-wait/
drwxr-sr-x 3 tc   staff  80 May  3 16:40 redpill-misc/

 

lrwxrwxrwx 1 root root 0 May  3 16:34 sdc -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:0/end_device-2:0/target2:0:0/2:0:0:0/block/sdc
lrwxrwxrwx 1 root root 0 May  3 16:34 sdd -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:1/end_device-2:1/target2:0:1/2:0:1:0/block/sdd
lrwxrwxrwx 1 root root 0 May  3 16:34 sde -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:2/end_device-2:2/target2:0:2/2:0:2:0/block/sde
lrwxrwxrwx 1 root root 0 May  3 16:34 sdf -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:3/end_device-2:3/target2:0:3/2:0:3:0/block/sdf
lrwxrwxrwx 1 root root 0 May  3 16:34 sdg -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:4/end_device-2:4/target2:0:4/2:0:4:0/block/sdg
lrwxrwxrwx 1 root root 0 May  3 16:34 sdh -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:5/end_device-2:5/target2:0:5/2:0:5:0/block/sdh
lrwxrwxrwx 1 root root 0 May  3 16:34 sdi -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:6/end_device-2:6/target2:0:6/2:0:6:0/block/sdi
lrwxrwxrwx 1 root root 0 May  3 16:34 sdj -> ../devices/pci0000:00/0000:00:01.0/0000:01:00.0/host2/port-2:7/end_device-2:7/target2:0:7/2:0:7:0/block/sdj

 

And there is one more thing I would like to advise.
There is the following information.
If you're currently using 9240-8i Natural Rom,
Consider flushing to the 9211-8i IT/IR ROM as instructed below.
This is a common HBA H200 ROM that will surely succeed in recognizing mpt3sas.

 

LSI MegaRAID SAS 9240-8i 2x4 port internal SAS vertical, no cache, no BBU, RAID 0, 1, 10, 5 and 50, can be crossflashed to LSI9211 IT/IR

 

https://forums.servethehome.com/index.php?threads/lsi-raid-controller-and-hba-complete-listing-plus-oem-models.599/

 

If you decide to flush the ROM, please refer to the following.

 

https://techmattr.wordpress.com/2016/04/11/updated-sas-hba-crossflashing-or-flashing-to-it-mode-dell-perc-h200-and-h310/

Edited by Peter Suh
Link to comment
Share on other sites

7 hours ago, Peter Suh said:

I test a new installation for 918+.

Is normal that in /home/tc appears the file ds920p.dts as you can see in the image below?

 

image.thumb.png.5d0c897d400ed209cfbe58348417c8f2.png

7 hours ago, Peter Suh said:

 

The ds918+ does not use dts.


Assuming you are using bare metal, try rebuilding it according to the guide below.

It is a shell program that executes the commands listed above in batches and adds a little help to the loader build.

 

tc@box:~$ wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz; tar -zxvf my.sh.gz;

 

tc@box:~$ ./my.sh DS918+

 

Once the DS918+ has been successfully installed with this process,
Let's talk about the build of the DS920+ again.

 

Link to comment
Share on other sites

46 minutes ago, Peter Suh said:

 

It is a file that has been downloaded by the automatic processing of the full upgrade action in the m-shell. It's a normal list, so don't worry.


Are you sure you are baremetal?

Yes, i have baremetall install on asrock J4205 motherboard.

Sure that i'm doing something wrong but i don't know what.

 

tc@box:~$ wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz
; tar -zxvf my.sh.gz;
Connecting to github.com (140.82.112.4:443)
Connecting to raw.githubusercontent.com (185.199.108.133:443)
saving to 'my.sh.gz'
my.sh.gz             100% |********************************|  3015  0:00:00 ETA
'my.sh.gz' saved
my.sh
tc@box:~$ ./my.sh DS918+

MODEL is DS918+
Checking Internet Access -> OK
Checking if a newer mshell version exists on the repo -> There is a newer versio                                                                       n of m shell script on the repo should we use that ? [yY/nN]y
OK, updating, please re-run after updating
m.sh
Updating m shell with latest updates
tc@box:~$ ./my.sh DS918+

MODEL is DS918+
Checking Internet Access -> OK
Checking if a newer mshell version exists on the repo -> Version is current

tcrppart is sdb3

making directory  /mnt/sdb3/auxfiles and make link custom-module

TARGET_PLATFORM is apollolake
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> There is a newer version of th                                                                       e script on the repo should we use that ? [yY/nN]OK, updating, please re-run aft                                                                       er updating
Updating tinycore loader with latest updates
Backing up files to /mnt/sdb3//mydata.tgz
Done.
Performing a full TCRP upgrade
Warning some of your local files will be moved to /home/tc/old/xxxx.2022-May-04-                                                                       06-11
Updating custom_config.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 33840  100 33840    0     0  44351      0 --:--:-- --:--:-- --:--:--  202k
Updating global_config.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  5692  100  5692    0     0   8992      0 --:--:-- --:--:-- --:--:--  8992
Updating modules.alias.3.json.gz
mv: cannot stat 'modules.alias.3.json.gz': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  5591  100  5591    0     0  12424      0 --:--:-- --:--:-- --:--:-- 12424
Updating modules.alias.4.json.gz
mv: cannot stat 'modules.alias.4.json.gz': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 89007  100 89007    0     0   182k      0 --:--:-- --:--:-- --:--:--  182k
Updating rpext-index.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  211k  100  211k    0     0   325k      0 --:--:-- --:--:-- --:--:--  325k
Updating user_config.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   431  100   431    0     0    687      0 --:--:-- --:--:-- --:--:-- 10775
Updating dtc
mv: cannot stat 'dtc': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  146k  100  146k    0     0   194k      0 --:--:-- --:--:-- --:--:--  194k
Updating rploader.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 78809  100 78809    0     0   164k      0 --:--:-- --:--:-- --:--:--  164k
Updating ds1621p.dts
mv: cannot stat 'ds1621p.dts': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  3026  100  3026    0     0   4864      0 --:--:-- --:--:-- --:--:-- 73804
Updating ds920p.dts
mv: cannot stat 'ds920p.dts': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2423  100  2423    0     0   3833      0 --:--:-- --:--:-- --:--:--  3833
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.5M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdb with your current files [Yy/Nn]
OK, keeping last status
Do you want to restore your own user_config.json from old directory ?  [Yy/Nn]
y
Before changing user_config.json
{
  "extra_cmdline": {
    "pid": "0xa4a5",
    "vid": "0x0525",
    "sn": "1230LWN009033",
    "mac1": "0011322A46E7",
    "SataPortMap": "58",
    "DiskIdxMap": "0A00"
  },
  "synoinfo": {

          "internalportcfg" : "0xffff",
          "maxdisks" : "16",
              "support_bde_internal_10g" : "no",
              "support_disk_compatibility" : "no",
          "support_memory_compatibility" : "no"


},
  "ramdisk_copy": {


}

}
Serial Number for Model : 1860PDN021237
Mac Address for Model DS918+ : 00:11:32:CB:B9:22
Should i update the user_config.json with these values ? [Yy/Nn]
Found Kingston DT SerialNumber: 001CC0EC34D1BC31F63A02A0
Vendor ID : 0x0951 Product ID : 0x1642
Should i update the user_config.json with these values ? [Yy/Nn]
HBA: 00:12.0 Disks : 2
HBA: 00:13.2 Disks : 2
SataPortMap=22
DiskIdxMap=0002
Should i update the user_config.json with these values ? [Yy/Nn]


DSM PAT file pre-downloading in progress...
https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS918+_42661.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3322  100  3322    0     0   1753      0  0:00:01  0:00:01 --:--:--  1752

Loader Building in progress...

Rploader Version : 0.7.0.7
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/RedPill-TTG/redpill-lkm.git : Redpill module branch : master
Extensions :   redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/apollolake-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : apollolake
TARGET_VERSION    : 7.1.0
TARGET_REVISION : 42661
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds918p_42661
MODEL : DS918+
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet : 04052022 Local : 04052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1051, done.
remote: Counting objects: 100% (251/251), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 1051 (delta 234), reused 217 (delta 217), pack-reused 800
Receiving objects: 100% (1051/1051), 441.74 KiB | 1.08 MiB/s, done.
Resolving deltas: 100% (727/727), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 1720, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 1720 (delta 0), reused 2 (delta 0), pack-reused 1715
Receiving objects: 100% (1720/1720), 28.45 MiB | 13.78 MiB/s, done.
Resolving deltas: 100% (819/819), done.
No extra build option specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds918p_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
Extracting module
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :


Found VGA Controller : pciid 8086d00005a84  Required Extension : i915
Searching for matching extension for i915
Found SATA Controller : pciid 8086d00005ae3  Required Extension : ahci
Searching for matching extension for ahci
Found SATA Controller : pciid 1b21d00000612  Required Extension : ahci
Searching for matching extension for ahci
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.r8169 ==========================================
[#] Extension name: r8169
[#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8169
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

Found Ethernet Interface : pciid 10ecd00008161 Required Extension : r8169
Searching for matching extension for r8169
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  345M  100  345M    0     0  66.5M      0  0:00:05  0:00:05 --:--:-- 68.4M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42506 blocks
extract rd
mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdb3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdb3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdb3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdb3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sdb3/auxfiles
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tools is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Copyright (c) 2003-2021 Synology Inc. All rights reserved.

/bin/syno_extract_system_patch PATCH_PATH DEST_PATH
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds918p_42661.pat
Could not determine if file /home/tc/custom-module/ds918p_42661.pat is encrypted or not, maybe corrupted
-rwxrwxrwx 1 root root 3322 May  4 06:11 /home/tc/custom-module/ds918p_42661.pat
041

Backup in progress...

Clearing local redpill files
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.3M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdb with your current files [Yy/Nn]
Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz
Done.

tc@box:~$ ls
custom_config.json  ds920p.dts  global_config.json  modules.alias.3.json  my.sh     rpext-index.json  user_config.json
ds1621p.dts         dtc         m.sh                modules.alias.4.json  my.sh.gz  rploader.sh
tc@box:~$ ls -la
total 2240
drwxr-s--- 6 tc   staff     580 May  4 06:12 ./
drwxrwxr-x 3 root staff      60 Nov 25 19:27 ../
drwxr-s--- 2 tc   staff      40 Nov 25 19:27 .X.d/
-rw------- 1 tc   staff      48 May  4 05:47 .Xauthority
-rwxr-xr-x 1 tc   staff     275 Nov 25 19:27 .Xdefaults
-rw-rw-r-- 1 tc   staff     117 May  4 06:15 .ash_history
-rw-r--r-- 1 tc   staff     424 Feb 13  2021 .ashrc
-rw-r--r-- 1 tc   staff      45 Nov 25 20:15 .bashrc
-rwxr-xr-x 1 root staff    2590 Jan  5 09:50 .dialogrc
drwxr-sr-x 3 tc   staff      60 Nov 25 19:27 .fltk/
drwxr-s--- 3 tc   staff      60 Nov 25 19:27 .local/
-rw-r--r-- 1 tc   staff     937 Nov 28 21:43 .profile
-rwxr-xr-x 1 tc   staff     103 Nov 25 19:27 .setbackground
lrwxrwxrwx 1 root staff      20 May  4 05:47 .wbar -> /usr/local/tce.icons
drwxr-sr-x 4 tc   staff      80 May  4 05:47 .wmx/
-rwx------ 1 tc   staff     550 Nov 25 19:27 .xsession
-rw-r--r-- 1 tc   staff   33840 May  4 06:11 custom_config.json
-rw-r--r-- 1 tc   staff    3026 May  4 06:11 ds1621p.dts
-rw-r--r-- 1 tc   staff    2423 May  4 06:11 ds920p.dts
-rw-r--r-- 1 tc   staff  150200 May  4 06:11 dtc
-rw-r--r-- 1 tc   staff    5692 May  4 06:11 global_config.json
-rwxr-xr-x 1 tc   staff   13161 Apr 30 10:13 m.sh
-rw-r--r-- 1 tc   staff   81845 May  4 06:11 modules.alias.3.json
-rw-r--r-- 1 tc   staff 1628600 May  4 06:11 modules.alias.4.json
-rwxr-xr-x 1 tc   staff   13457 Apr 30 10:13 my.sh
-rw-r--r-- 1 tc   staff    3001 May  4 06:10 my.sh.gz
-rw-r--r-- 1 tc   staff  216702 May  4 06:11 rpext-index.json
-rwx------ 1 tc   staff   78809 May  4 06:11 rploader.sh
-rw-r--r-- 1 tc   staff     431 May  4 06:11 user_config.json
tc@box:~$ pwd


 

Edited by chechill
Link to comment
Share on other sites

8 minutes ago, chechill said:

Yes, i have baremetall install on asrock J4205 motherboard.

Sure that i'm doing something wrong but i don't know what.

 


tc@box:~$ wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz
; tar -zxvf my.sh.gz;
Connecting to github.com (140.82.112.4:443)
Connecting to raw.githubusercontent.com (185.199.108.133:443)
saving to 'my.sh.gz'
my.sh.gz             100% |********************************|  3015  0:00:00 ETA
'my.sh.gz' saved
my.sh
tc@box:~$ ./my.sh DS918+

MODEL is DS918+
Checking Internet Access -> OK
Checking if a newer mshell version exists on the repo -> There is a newer versio                                                                       n of m shell script on the repo should we use that ? [yY/nN]y
OK, updating, please re-run after updating
m.sh
Updating m shell with latest updates
tc@box:~$ ./my.sh DS918+

MODEL is DS918+
Checking Internet Access -> OK
Checking if a newer mshell version exists on the repo -> Version is current

tcrppart is sdb3

making directory  /mnt/sdb3/auxfiles and make link custom-module

TARGET_PLATFORM is apollolake
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> There is a newer version of th                                                                       e script on the repo should we use that ? [yY/nN]OK, updating, please re-run aft                                                                       er updating
Updating tinycore loader with latest updates
Backing up files to /mnt/sdb3//mydata.tgz
Done.
Performing a full TCRP upgrade
Warning some of your local files will be moved to /home/tc/old/xxxx.2022-May-04-                                                                       06-11
Updating custom_config.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 33840  100 33840    0     0  44351      0 --:--:-- --:--:-- --:--:--  202k
Updating global_config.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  5692  100  5692    0     0   8992      0 --:--:-- --:--:-- --:--:--  8992
Updating modules.alias.3.json.gz
mv: cannot stat 'modules.alias.3.json.gz': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  5591  100  5591    0     0  12424      0 --:--:-- --:--:-- --:--:-- 12424
Updating modules.alias.4.json.gz
mv: cannot stat 'modules.alias.4.json.gz': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 89007  100 89007    0     0   182k      0 --:--:-- --:--:-- --:--:--  182k
Updating rpext-index.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  211k  100  211k    0     0   325k      0 --:--:-- --:--:-- --:--:--  325k
Updating user_config.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   431  100   431    0     0    687      0 --:--:-- --:--:-- --:--:-- 10775
Updating dtc
mv: cannot stat 'dtc': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  146k  100  146k    0     0   194k      0 --:--:-- --:--:-- --:--:--  194k
Updating rploader.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 78809  100 78809    0     0   164k      0 --:--:-- --:--:-- --:--:--  164k
Updating ds1621p.dts
mv: cannot stat 'ds1621p.dts': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  3026  100  3026    0     0   4864      0 --:--:-- --:--:-- --:--:-- 73804
Updating ds920p.dts
mv: cannot stat 'ds920p.dts': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2423  100  2423    0     0   3833      0 --:--:-- --:--:-- --:--:--  3833
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.5M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdb with your current files [Yy/Nn]
OK, keeping last status
Do you want to restore your own user_config.json from old directory ?  [Yy/Nn]
y
Before changing user_config.json
{
  "extra_cmdline": {
    "pid": "0xa4a5",
    "vid": "0x0525",
    "sn": "1230LWN009033",
    "mac1": "0011322A46E7",
    "SataPortMap": "58",
    "DiskIdxMap": "0A00"
  },
  "synoinfo": {

          "internalportcfg" : "0xffff",
          "maxdisks" : "16",
              "support_bde_internal_10g" : "no",
              "support_disk_compatibility" : "no",
          "support_memory_compatibility" : "no"


},
  "ramdisk_copy": {


}

}
Serial Number for Model : 1860PDN021237
Mac Address for Model DS918+ : 00:11:32:CB:B9:22
Should i update the user_config.json with these values ? [Yy/Nn]
Found Kingston DT SerialNumber: 001CC0EC34D1BC31F63A02A0
Vendor ID : 0x0951 Product ID : 0x1642
Should i update the user_config.json with these values ? [Yy/Nn]
HBA: 00:12.0 Disks : 2
HBA: 00:13.2 Disks : 2
SataPortMap=22
DiskIdxMap=0002
Should i update the user_config.json with these values ? [Yy/Nn]


DSM PAT file pre-downloading in progress...
https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS918+_42661.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3322  100  3322    0     0   1753      0  0:00:01  0:00:01 --:--:--  1752

Loader Building in progress...

Rploader Version : 0.7.0.7
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/RedPill-TTG/redpill-lkm.git : Redpill module branch : master
Extensions :   redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/apollolake-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : apollolake
TARGET_VERSION    : 7.1.0
TARGET_REVISION : 42661
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds918p_42661
MODEL : DS918+
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet : 04052022 Local : 04052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1051, done.
remote: Counting objects: 100% (251/251), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 1051 (delta 234), reused 217 (delta 217), pack-reused 800
Receiving objects: 100% (1051/1051), 441.74 KiB | 1.08 MiB/s, done.
Resolving deltas: 100% (727/727), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 1720, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 1720 (delta 0), reused 2 (delta 0), pack-reused 1715
Receiving objects: 100% (1720/1720), 28.45 MiB | 13.78 MiB/s, done.
Resolving deltas: 100% (819/819), done.
No extra build option specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds918p_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
Extracting module
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :


Found VGA Controller : pciid 8086d00005a84  Required Extension : i915
Searching for matching extension for i915
Found SATA Controller : pciid 8086d00005ae3  Required Extension : ahci
Searching for matching extension for ahci
Found SATA Controller : pciid 1b21d00000612  Required Extension : ahci
Searching for matching extension for ahci
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.r8169 ==========================================
[#] Extension name: r8169
[#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8169
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

Found Ethernet Interface : pciid 10ecd00008161 Required Extension : r8169
Searching for matching extension for r8169
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  345M  100  345M    0     0  66.5M      0  0:00:05  0:00:05 --:--:-- 68.4M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42506 blocks
extract rd
mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdb3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdb3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdb3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdb3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sdb3/auxfiles
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tools is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Copyright (c) 2003-2021 Synology Inc. All rights reserved.

/bin/syno_extract_system_patch PATCH_PATH DEST_PATH
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds918p_42661.pat
Could not determine if file /home/tc/custom-module/ds918p_42661.pat is encrypted or not, maybe corrupted
-rwxrwxrwx 1 root root 3322 May  4 06:11 /home/tc/custom-module/ds918p_42661.pat
041

Backup in progress...

Clearing local redpill files
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.3M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdb with your current files [Yy/Nn]
Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz
Done.

tc@box:~$ ls
custom_config.json  ds920p.dts  global_config.json  modules.alias.3.json  my.sh     rpext-index.json  user_config.json
ds1621p.dts         dtc         m.sh                modules.alias.4.json  my.sh.gz  rploader.sh
tc@box:~$ ls -la
total 2240
drwxr-s--- 6 tc   staff     580 May  4 06:12 ./
drwxrwxr-x 3 root staff      60 Nov 25 19:27 ../
drwxr-s--- 2 tc   staff      40 Nov 25 19:27 .X.d/
-rw------- 1 tc   staff      48 May  4 05:47 .Xauthority
-rwxr-xr-x 1 tc   staff     275 Nov 25 19:27 .Xdefaults
-rw-rw-r-- 1 tc   staff     117 May  4 06:15 .ash_history
-rw-r--r-- 1 tc   staff     424 Feb 13  2021 .ashrc
-rw-r--r-- 1 tc   staff      45 Nov 25 20:15 .bashrc
-rwxr-xr-x 1 root staff    2590 Jan  5 09:50 .dialogrc
drwxr-sr-x 3 tc   staff      60 Nov 25 19:27 .fltk/
drwxr-s--- 3 tc   staff      60 Nov 25 19:27 .local/
-rw-r--r-- 1 tc   staff     937 Nov 28 21:43 .profile
-rwxr-xr-x 1 tc   staff     103 Nov 25 19:27 .setbackground
lrwxrwxrwx 1 root staff      20 May  4 05:47 .wbar -> /usr/local/tce.icons
drwxr-sr-x 4 tc   staff      80 May  4 05:47 .wmx/
-rwx------ 1 tc   staff     550 Nov 25 19:27 .xsession
-rw-r--r-- 1 tc   staff   33840 May  4 06:11 custom_config.json
-rw-r--r-- 1 tc   staff    3026 May  4 06:11 ds1621p.dts
-rw-r--r-- 1 tc   staff    2423 May  4 06:11 ds920p.dts
-rw-r--r-- 1 tc   staff  150200 May  4 06:11 dtc
-rw-r--r-- 1 tc   staff    5692 May  4 06:11 global_config.json
-rwxr-xr-x 1 tc   staff   13161 Apr 30 10:13 m.sh
-rw-r--r-- 1 tc   staff   81845 May  4 06:11 modules.alias.3.json
-rw-r--r-- 1 tc   staff 1628600 May  4 06:11 modules.alias.4.json
-rwxr-xr-x 1 tc   staff   13457 Apr 30 10:13 my.sh
-rw-r--r-- 1 tc   staff    3001 May  4 06:10 my.sh.gz
-rw-r--r-- 1 tc   staff  216702 May  4 06:11 rpext-index.json
-rwx------ 1 tc   staff   78809 May  4 06:11 rploader.sh
-rw-r--r-- 1 tc   staff     431 May  4 06:11 user_config.json
tc@box:~$ pwd


 

 

There seems to have been an error during the duplicate download of the ds918+ dsm pat file. I'll build it myself now and try it again.

Link to comment
Share on other sites

58 minutes ago, Peter Suh said:

 

There seems to have been an error during the duplicate download of the ds918+ dsm pat file. I'll build it myself now and try it again.

 

 

The result of my rebuild test is normal.

 

DSM PAT file pre-downloading in progress...
https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS918+_42661.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                       Dload  Upload   Total   Spent    Left  Speed
100  346M  100  346M    0     0   432k      0  0:13:41  0:13:41 --:--:--  642k


I looked at your log
42661-1 (update 1) It seems that the dsm file download did not proceed normally.
If this download is normal, it does not download again in the tc at the bottom.

The download of the first ds918+ pat file is currently quite slow.
I don't know if this has an effect, but in my case it was possible to download completely, although it was very slow.

Check your internet status or other environment again.
Or, try the Synology Global Downloads page again when you want.

 

 

DSM PAT file pre-downloading in progress...

https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS918+_42661.pat  

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  

                                                      Dload  Upload   Total   Spent    Left  Speed

100  3322  100  3322    0     0   1753      0  0:00:01  0:00:01 --:--:--  1752

Edited by Peter Suh
Link to comment
Share on other sites

Tryed again.

Same problems, after install, on next reboot, about 10-15 min to get IP. Always the same problem.

Installation goes OK. Download time goes long like you but 100% downloaded.

I have done the last tests with the integrated LAN card. This time same tests with a new PCIe Gigabit LAN TP-link TG-3468 with Realteck chipset RTL8168B.

 

1º No LAN link led after the reboot.

2º Power OFF the NAS 

3º Power ON the NAS

4º Now LAN link led blinks

5º Makint a ping -t <IP> - Time 13 Min to get IP

6º logging to DSM OK. Dissable IPV6 in Manager LAN options

image.thumb.png.f2f7578a91c4056c49967f6c010ff2cf.png

 

7º Reboot NAS. Making ping -t and gets 6 min to get IP

 

Those timmings happens with PCIe NIC and internal NIC.

 

 

 

image.png

Edited by chechill
Link to comment
Share on other sites

17 minutes ago, chechill said:

Tryed again.

Same problems, after install, on next reboot, about 10-15 min to get IP. Always the same problem.

Installation goes OK. Download time goes long like you but 100% downloaded.

I have done the last tests with the integrated LAN card. This time same tests with a new PCIe Gigabit LAN TP-link TG-3468 with Realteck chipset RTL8168B.

 

1º No LAN link led after the reboot.

2º Power OFF the NAS 

3º Power ON the NAS

4º Now LAN link led blinks

5º Makint a ping -t <IP> - Time 13 Min to get IP

6º logging to DSM OK. Dissable IPV6 in Manager LAN options

7º Reboot NAS. Making ping -t and gets 6 min to get IP

 

Those timmings happens with PCIe NIC and internal NIC.

 

 

 

 

Isn't this slow IP assignment the same when eth0 is assigned an IP after booting TC Linux?
Even in ds918+, the slow IP assignment seems to be irrelevant to the ext of the TC bootloader. I think you should look into your router environment.

Link to comment
Share on other sites

1 hour ago, Peter Suh said:

 

Isn't this slow IP assignment the same when eth0 is assigned an IP after booting TC Linux?
Even in ds918+, the slow IP assignment seems to be irrelevant to the ext of the TC bootloader. I think you should look into your router environment.

 

Nope. Booting TC Linux is fast, IP is assigned in 10-20 seg from power on.

Testing with DSM 7.1.0 3615. Boots in 1 min, always.

 

Attached /var/log/messages from last 918+ install.  Maybe helps

 

var log messages.txt

 

 

ergio@synology:/$ dmesg | grep error
[   13.001726] intel-lpss: probe of 0001:00:16.0 failed with error -22
[   13.001739] intel-lpss: probe of 0001:00:18.0 failed with error -22
[   13.001751] intel-lpss: probe of 0001:00:19.0 failed with error -22
[   13.001762] intel-lpss: probe of 0001:00:19.2 failed with error -22
[   19.015211] ahci: probe of 0001:01:00.0 failed with error -22
[   19.021247] ahci: probe of 0001:00:12.0 failed with error -22
[   49.835627] xhci_hcd: probe of 0001:00:15.0 failed with error -16
[   52.755200] <redpill/bios_shim.c:215> Symbol #54 in mfgBIOS "apollolake_synobios" {synobios_sata_error_report}<ffffffffa00e5460>
[   52.779446] <redpill/bios_shim.c:215> Symbol #56 in mfgBIOS "apollolake_synobios" {synobios_record_scsi_error_event}<ffffffffa00e5510>
[   52.792120] <redpill/bios_shim.c:215> Symbol #57 in mfgBIOS "apollolake_synobios" {synobios_error_btrfs_meta_corrupted_event}<ffffffffa00e5570>
[   52.805619] <redpill/bios_shim.c:215> Symbol #58 in mfgBIOS "apollolake_synobios" {synobios_error_fs_btrfs_event}<ffffffffa00e55c0>
[   52.818040] <redpill/bios_shim.c:215> Symbol #59 in mfgBIOS "apollolake_synobios" {synobios_error_fs_event}<ffffffffa00e5610>
[   52.866460] <redpill/bios_shim.c:215> Symbol #63 in mfgBIOS "apollolake_synobios" {synobios_error_oom_event}<ffffffffa00e5840>
[  281.694534] igb: probe of 0001:02:00.0 failed with error -5
[  281.694558] igb: probe of 0001:03:00.0 failed with error -5
[  285.627759] <redpill/bios_shim.c:215> Symbol #54 in mfgBIOS "apollolake_synobios" {synobios_sata_error_report}<ffffffffa028b460>
[  285.627762] <redpill/bios_shim.c:215> Symbol #56 in mfgBIOS "apollolake_synobios" {synobios_record_scsi_error_event}<ffffffffa028b510>
[  285.627764] <redpill/bios_shim.c:215> Symbol #57 in mfgBIOS "apollolake_synobios" {synobios_error_btrfs_meta_corrupted_event}<ffffffffa028b570>
[  285.627766] <redpill/bios_shim.c:215> Symbol #58 in mfgBIOS "apollolake_synobios" {synobios_error_fs_btrfs_event}<ffffffffa028b5c0>
[  285.627768] <redpill/bios_shim.c:215> Symbol #59 in mfgBIOS "apollolake_synobios" {synobios_error_fs_event}<ffffffffa028b610>
[  285.627777] <redpill/bios_shim.c:215> Symbol #63 in mfgBIOS "apollolake_synobios" {synobios_error_oom_event}<ffffffffa028b840>
[  295.224389] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
 

 

Edited by chechill
Link to comment
Share on other sites

1 hour ago, chechill said:

 

Nope. Booting TC Linux is fast, IP is assigned in 10-20 seg from power on.

Testing with DSM 7.1.0 3615. Boots in 1 min, always.

 

Attaced /var/log/messages from last 918+ install.  Maybe helps

 

var log messages.txt 242.24 kB · 1 download

 

 

ergio@synology:/$ dmesg | grep error
[   13.001726] intel-lpss: probe of 0001:00:16.0 failed with error -22
[   13.001739] intel-lpss: probe of 0001:00:18.0 failed with error -22
[   13.001751] intel-lpss: probe of 0001:00:19.0 failed with error -22
[   13.001762] intel-lpss: probe of 0001:00:19.2 failed with error -22
[   19.015211] ahci: probe of 0001:01:00.0 failed with error -22
[   19.021247] ahci: probe of 0001:00:12.0 failed with error -22
[   49.835627] xhci_hcd: probe of 0001:00:15.0 failed with error -16
[   52.755200] <redpill/bios_shim.c:215> Symbol #54 in mfgBIOS "apollolake_synobios" {synobios_sata_error_report}<ffffffffa00e5460>
[   52.779446] <redpill/bios_shim.c:215> Symbol #56 in mfgBIOS "apollolake_synobios" {synobios_record_scsi_error_event}<ffffffffa00e5510>
[   52.792120] <redpill/bios_shim.c:215> Symbol #57 in mfgBIOS "apollolake_synobios" {synobios_error_btrfs_meta_corrupted_event}<ffffffffa00e5570>
[   52.805619] <redpill/bios_shim.c:215> Symbol #58 in mfgBIOS "apollolake_synobios" {synobios_error_fs_btrfs_event}<ffffffffa00e55c0>
[   52.818040] <redpill/bios_shim.c:215> Symbol #59 in mfgBIOS "apollolake_synobios" {synobios_error_fs_event}<ffffffffa00e5610>
[   52.866460] <redpill/bios_shim.c:215> Symbol #63 in mfgBIOS "apollolake_synobios" {synobios_error_oom_event}<ffffffffa00e5840>
[  281.694534] igb: probe of 0001:02:00.0 failed with error -5
[  281.694558] igb: probe of 0001:03:00.0 failed with error -5
[  285.627759] <redpill/bios_shim.c:215> Symbol #54 in mfgBIOS "apollolake_synobios" {synobios_sata_error_report}<ffffffffa028b460>
[  285.627762] <redpill/bios_shim.c:215> Symbol #56 in mfgBIOS "apollolake_synobios" {synobios_record_scsi_error_event}<ffffffffa028b510>
[  285.627764] <redpill/bios_shim.c:215> Symbol #57 in mfgBIOS "apollolake_synobios" {synobios_error_btrfs_meta_corrupted_event}<ffffffffa028b570>
[  285.627766] <redpill/bios_shim.c:215> Symbol #58 in mfgBIOS "apollolake_synobios" {synobios_error_fs_btrfs_event}<ffffffffa028b5c0>
[  285.627768] <redpill/bios_shim.c:215> Symbol #59 in mfgBIOS "apollolake_synobios" {synobios_error_fs_event}<ffffffffa028b610>
[  285.627777] <redpill/bios_shim.c:215> Symbol #63 in mfgBIOS "apollolake_synobios" {synobios_error_oom_event}<ffffffffa028b840>
[  295.224389] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
 

 

 

Just following eth0 in this log, it seems that r8169 ext is not normal.

I think you should ask @pocopico to stabilize the ext with this log file.
I don't think there's anything else I can help.

Link to comment
Share on other sites

2 minutes ago, Peter Suh said:

 

Just following eth0 in this log, it seems that r8169 ext is not normal.

I think you should ask @pocopico to stabilize the ext with this log file.
I don't think there's anything else I can help.

 

Many thanks Peter. Can you tell me witch is the better thread i must copy that info?

Link to comment
Share on other sites

19 часов назад, Peter Suh сказал:

 

It seems that HBA's ext auto-detection failed.

I was expecting mpt3sas ext, but it is not visible. I see 8 disks, is it SAS type? Is it SATA type?
Is HBA in IR Mode? Is it IT Mode?

 

First, try using mpt3sas instead of mpt2sas.

 

Please send more logs, which are the results of the two commands below, to check the reason why automatic detection is not working.
lspci
lspci -tvnnq

Thanks for you helps

i create new flash and build 3622

-rw-r--r-- 1 tc   staff 920 May  4 18:05 REALLY_README.txt
drwxr-sr-x 3 tc   staff  80 May  4 18:06 pocopico.e1000e/
drwxr-sr-x 3 tc   staff  80 May  4 18:06 pocopico.mlx4_core/
drwxr-sr-x 3 tc   staff  80 May  4 18:06 pocopico.mpt3sas/
drwxr-sr-x 3 root staff  80 May  4 18:06 redpill-boot-wait/
drwxr-sr-x 3 tc   staff  80 May  4 18:06 redpill-misc/

Successful install, but after restart and try to open on browser pc immediately shutdown

 

Скрытый текст

tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d4)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2116 PCI-Express Fusion-MPT SAS-2 [Meteor] (rev 02)
03:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
05:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3]
tc@box:~$ lspci -tvnnq
-[0000:00]-+-00.0  Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00]
           +-01.0-[01]----00.0  LSI Logic / Symbios Logic SAS2116 PCI-Express Fusion-MPT SAS-2 [Meteor] [1000:0064]
           +-02.0  Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412]
           +-03.0  Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c]
           +-14.0  Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31]
           +-16.0  Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a]
           +-19.0  Intel Corporation Ethernet Connection I217-V [8086:153b]
           +-1a.0  Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d]
           +-1b.0  Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20]
           +-1c.0-[02]--
           +-1c.3-[03-04]----00.0-[04]--
           +-1c.4-[05]----00.0  Mellanox Technologies MT27500 Family [ConnectX-3] [15b3:1003]
           +-1d.0  Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26]
           +-1f.0  Intel Corporation Z87 Express LPC Controller [8086:8c44]
           +-1f.2  Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02]
           \-1f.3  Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22]

 

 

Link to comment
Share on other sites

wanted to know about DS3622xs+ and its core count. I see that the Xeon-D1531 supports 6/12T and the Xeon-D1541 supports 8/16T that family of cpu Xeon D-1571  supports 16/32T. Does anyone know what the Kernel supported in DS3622xs?

Link to comment
Share on other sites

When I migrate from DS918+ to DS920+ only 4 disks and my m.2 disk are detected. When I migrate back to DS918+ disk 5 is in crashed state and needs to be deactivated/repaired. @Peter Suh could you help me fix the .dts so it detects my sata disks properly in DS920+?

 

lspci
0000:00:00.0 Class 0600: Device 8086:3ec2 (rev 07)
0000:00:02.0 Class 0300: Device 8086:3e92
0000:00:14.0 Class 0c03: Device 8086:a2af
0000:00:14.2 Class 1180: Device 8086:a2b1
0000:00:16.0 Class 0780: Device 8086:a2ba
0000:00:17.0 Class 0106: Device 8086:a282
0000:00:1d.0 Class 0604: Device 8086:a298 (rev f0)
0000:00:1f.0 Class 0601: Device 8086:a2c9
0000:00:1f.2 Class 0580: Device 8086:a2a1
0000:00:1f.3 Class 0403: Device 8086:a2f0
0000:00:1f.4 Class 0c05: Device 8086:a2a3
0000:00:1f.6 Class 0200: Device 8086:15b8
0000:01:00.0 Class 0108: Device 1344:5405
0001:00:12.0 Class 0106: Device 8086:5ae3
0001:00:13.0 Class 0000: Device 8086:5ad8
0001:00:14.0 Class 0000: Device 8086:5ad6
0001:00:15.0 Class 0c03: Device 8086:5aa8
0001:00:16.0 Class 1180: Device 8086:5aac
0001:00:18.0 Class 1180: Device 8086:5abc
0001:00:19.0 Class 1180: Device 8086:5ac6
0001:00:19.2 Class 1180: Device 8086:5ac6
0001:00:1f.0 Class 0c05: Device 8086:5ad4
0001:00:1f.1 Class 0c05: Device 8086:5ad4
0001:01:00.0 Class 0106: Device 1b4b:9215 (rev 11)
0001:02:00.0 Class 0200: Device 8086:1539 (rev 03)
0001:03:00.0 Class 0200: Device 8086:1539 (rev 03)

 

lspci -tvnnq
-+-[0001:03]---00.0  Intel Corporation I211 Gigabit Network Connection [8086:1539]
 +-[0001:02]---00.0  Intel Corporation I211 Gigabit Network Connection [8086:1539]
 +-[0001:01]---00.0  Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215]
 +-[0001:00]-+-12.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3]
 |           +-13.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 [8086:5ad8]
 |           +-14.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B #1 [8086:5ad6]
 |           +-15.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8]
 |           +-16.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 [8086:5aac]
 |           +-18.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 [8086:5abc]
 |           +-19.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 [8086:5ac6]
 |           +-19.2  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 [8086:5ac6]
 |           +-1f.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4]
 |           \-1f.1  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4]
 \-[0000:00]-+-00.0  Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2]
             +-02.0  Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] [8086:3e92]
             +-14.0  Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af]
             +-14.2  Intel Corporation 200 Series PCH Thermal Subsystem [8086:a2b1]
             +-16.0  Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
             +-17.0  Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
             +-1d.0-[01]----00.0  Micron Technology Inc Device [1344:5405]
             +-1f.0  Intel Corporation Z370 Chipset LPC/eSPI Controller [8086:a2c9]
             +-1f.2  Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller [8086:a2a1]
             +-1f.3  Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
             +-1f.4  Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller [8086:a2a3]
             \-1f.6  Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]

 

ds920p.dts (I've copied from ds1621p.dts since it has 5 sata devices listed)

 

Spoiler

/dts-v1/;

/ {
    compatible = "Synology";
    model = "synology_geminilake_920+";
    version = <0x1>;
    syno_spinup_group = <0x2 0x1 0x1>;
    syno_spinup_group_delay = <0xb>;
    syno_hdd_powerup_seq = "true";
    syno_cmos_reg_secure_flash = <0x66>;
    syno_cmos_reg_secure_boot = <0x68>;

    DX517 {
        compatible = "Synology";
        model = "synology_dx517";

        pmp_slot@1 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x0>;
            };
        };

        pmp_slot@2 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x1>;
            };
        };

        pmp_slot@3 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x2>;
            };
        };

        pmp_slot@4 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x3>;
            };
        };

        pmp_slot@5 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x4>;
            };
        };
    };

    internal_slot@1 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x0>;
        };

        led_green {
            led_name = "syno_led0";
        };

        led_orange {
            led_name = "syno_led1";
        };
    };

    internal_slot@2 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x1>;
        };

        led_green {
            led_name = "syno_led2";
        };

        led_orange {
            led_name = "syno_led3";
        };
    };

    internal_slot@3 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x2>;
        };

        led_green {
            led_name = "syno_led4";
        };

        led_orange {
            led_name = "syno_led5";
        };
    };

    internal_slot@4 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x3>;
        };

        led_green {
            led_name = "syno_led6";
        };

        led_orange {
            led_name = "syno_led7";
        };
    };

    internal_slot@5 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:01.6,00.0";
            ata_port = <0x2>;
        };

        led_green {
            led_name = "syno_led8";
        };

        led_orange {
            led_name = "syno_led9";
        };
    };

    internal_slot@6 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:01.6,00.0";
            ata_port = <0x3>;
        };

        led_green {
            led_name = "syno_led10";
        };

        led_orange {
            led_name = "syno_led11";
        };
    };

    esata_port@1 {

        ahci {
            pcie_root = "00:01.5,00.0";
            ata_port = <0x0>;
        };
    };

    esata_port@2 {

        ahci {
            pcie_root = "00:01.6,00.0";
            ata_port = <0x0>;
        };
    };

    nvme_slot@1 {
        pcie_root = "00:01.3";
        port_type = "ssdcache";
    };

    nvme_slot@2 {
        pcie_root = "00:01.4";
        port_type = "ssdcache";
    };

    pcie_slot@1 {
        pcie_root = "00:01.2";
    };

    usb_slot@1 {

        vbus {
            syno_gpio = <0x2a 0x1>;
        };

        usb2 {
            usb_port = "1-2";
        };

        usb3 {
            usb_port = "2-2";
        };
    };

    usb_slot@2 {

        vbus {
            syno_gpio = <0xb 0x1>;
        };

        usb2 {
            usb_port = "3-1";
        };

        usb3 {
            usb_port = "4-1";
        };
    };

    usb_slot@3 {

        vbus {
            syno_gpio = <0xc 0x1>;
        };

        usb2 {
            usb_port = "1-3";
        };

        usb3 {
            usb_port = "2-3";
        };
    };
};
 

 

Thanks

Edited by MrGarak
Link to comment
Share on other sites

12 minutes ago, Biocef said:

Hi,

 

When I perfom "./rploader.sh fullupgrade now" command it only shows option of command as if i am only running "./rploader.sh" command.

I use the tinycore-redpill.v0.4.6.img from https://github.com/pocopico/tinycore-redpill (updated 2 months ago). Is there a new version of the .img?

 

Regards.

 

 

You must perform an update before you can perform a fullupgrade.

./rploader.sh update now

 

Link to comment
Share on other sites

19 minutes ago, MrGarak said:

When I migrate from DS918+ to DS920+ only 4 disks and my m.2 disk are detected. When I migrate back to DS918+ disk 5 is in crashed state and needs to be deactivated/repaired. @Peter Suh could you help me fix the .dts so it detects my sata disks properly in DS920+?

 


lspci
0000:00:00.0 Class 0600: Device 8086:3ec2 (rev 07)
0000:00:02.0 Class 0300: Device 8086:3e92
0000:00:14.0 Class 0c03: Device 8086:a2af
0000:00:14.2 Class 1180: Device 8086:a2b1
0000:00:16.0 Class 0780: Device 8086:a2ba
0000:00:17.0 Class 0106: Device 8086:a282
0000:00:1d.0 Class 0604: Device 8086:a298 (rev f0)
0000:00:1f.0 Class 0601: Device 8086:a2c9
0000:00:1f.2 Class 0580: Device 8086:a2a1
0000:00:1f.3 Class 0403: Device 8086:a2f0
0000:00:1f.4 Class 0c05: Device 8086:a2a3
0000:00:1f.6 Class 0200: Device 8086:15b8
0000:01:00.0 Class 0108: Device 1344:5405
0001:00:12.0 Class 0106: Device 8086:5ae3
0001:00:13.0 Class 0000: Device 8086:5ad8
0001:00:14.0 Class 0000: Device 8086:5ad6
0001:00:15.0 Class 0c03: Device 8086:5aa8
0001:00:16.0 Class 1180: Device 8086:5aac
0001:00:18.0 Class 1180: Device 8086:5abc
0001:00:19.0 Class 1180: Device 8086:5ac6
0001:00:19.2 Class 1180: Device 8086:5ac6
0001:00:1f.0 Class 0c05: Device 8086:5ad4
0001:00:1f.1 Class 0c05: Device 8086:5ad4
0001:01:00.0 Class 0106: Device 1b4b:9215 (rev 11)
0001:02:00.0 Class 0200: Device 8086:1539 (rev 03)
0001:03:00.0 Class 0200: Device 8086:1539 (rev 03)

 


lspci -tvnnq
-+-[0001:03]---00.0  Intel Corporation I211 Gigabit Network Connection [8086:1539]
 +-[0001:02]---00.0  Intel Corporation I211 Gigabit Network Connection [8086:1539]
 +-[0001:01]---00.0  Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215]
 +-[0001:00]-+-12.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3]
 |           +-13.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 [8086:5ad8]
 |           +-14.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B #1 [8086:5ad6]
 |           +-15.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8]
 |           +-16.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 [8086:5aac]
 |           +-18.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 [8086:5abc]
 |           +-19.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 [8086:5ac6]
 |           +-19.2  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 [8086:5ac6]
 |           +-1f.0  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4]
 |           \-1f.1  Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4]
 \-[0000:00]-+-00.0  Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2]
             +-02.0  Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] [8086:3e92]
             +-14.0  Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af]
             +-14.2  Intel Corporation 200 Series PCH Thermal Subsystem [8086:a2b1]
             +-16.0  Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
             +-17.0  Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
             +-1d.0-[01]----00.0  Micron Technology Inc Device [1344:5405]
             +-1f.0  Intel Corporation Z370 Chipset LPC/eSPI Controller [8086:a2c9]
             +-1f.2  Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller [8086:a2a1]
             +-1f.3  Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
             +-1f.4  Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller [8086:a2a3]
             \-1f.6  Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]

 

ds920p.dts (I've copied from ds1621p.dts since it has 5 sata devices listed)

 

  ds920p.dts (Hide contents)

/dts-v1/;

/ {
    compatible = "Synology";
    model = "synology_geminilake_920+";
    version = <0x1>;
    syno_spinup_group = <0x2 0x1 0x1>;
    syno_spinup_group_delay = <0xb>;
    syno_hdd_powerup_seq = "true";
    syno_cmos_reg_secure_flash = <0x66>;
    syno_cmos_reg_secure_boot = <0x68>;

    DX517 {
        compatible = "Synology";
        model = "synology_dx517";

        pmp_slot@1 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x0>;
            };
        };

        pmp_slot@2 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x1>;
            };
        };

        pmp_slot@3 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x2>;
            };
        };

        pmp_slot@4 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x3>;
            };
        };

        pmp_slot@5 {

            libata {
                EMID = <0x0>;
                pmp_link = <0x4>;
            };
        };
    };

    internal_slot@1 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x0>;
        };

        led_green {
            led_name = "syno_led0";
        };

        led_orange {
            led_name = "syno_led1";
        };
    };

    internal_slot@2 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x1>;
        };

        led_green {
            led_name = "syno_led2";
        };

        led_orange {
            led_name = "syno_led3";
        };
    };

    internal_slot@3 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x2>;
        };

        led_green {
            led_name = "syno_led4";
        };

        led_orange {
            led_name = "syno_led5";
        };
    };

    internal_slot@4 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:1e.0,01.0,07.0";
            ata_port = <0x3>;
        };

        led_green {
            led_name = "syno_led6";
        };

        led_orange {
            led_name = "syno_led7";
        };
    };

    internal_slot@5 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:01.6,00.0";
            ata_port = <0x2>;
        };

        led_green {
            led_name = "syno_led8";
        };

        led_orange {
            led_name = "syno_led9";
        };
    };

    internal_slot@6 {
        protocol_type = "sata";
        led_type = "lp3943";

        ahci {
            pcie_root = "00:01.6,00.0";
            ata_port = <0x3>;
        };

        led_green {
            led_name = "syno_led10";
        };

        led_orange {
            led_name = "syno_led11";
        };
    };

    esata_port@1 {

        ahci {
            pcie_root = "00:01.5,00.0";
            ata_port = <0x0>;
        };
    };

    esata_port@2 {

        ahci {
            pcie_root = "00:01.6,00.0";
            ata_port = <0x0>;
        };
    };

    nvme_slot@1 {
        pcie_root = "00:01.3";
        port_type = "ssdcache";
    };

    nvme_slot@2 {
        pcie_root = "00:01.4";
        port_type = "ssdcache";
    };

    pcie_slot@1 {
        pcie_root = "00:01.2";
    };

    usb_slot@1 {

        vbus {
            syno_gpio = <0x2a 0x1>;
        };

        usb2 {
            usb_port = "1-2";
        };

        usb3 {
            usb_port = "2-2";
        };
    };

    usb_slot@2 {

        vbus {
            syno_gpio = <0xb 0x1>;
        };

        usb2 {
            usb_port = "3-1";
        };

        usb3 {
            usb_port = "4-1";
        };
    };

    usb_slot@3 {

        vbus {
            syno_gpio = <0xc 0x1>;
        };

        usb2 {
            usb_port = "1-3";
        };

        usb3 {
            usb_port = "2-3";
        };
    };
};
 

 

Thanks

 

Is the recognition of four disks using TC auto-mapping?
You can also manually map the pcie_root/ata_port part of the ds920p.dts file, which of the two methods did you use?

And, if possible, rather than using dts for 1621,
It would be better to add ports 5 and 6 to the existing ds920p.dts as below.

 

And, avoid automatic build of TC and need manual build.

If you want to use my "m shell", you need to build 2 times.

1. Preserve "redpill-load" directory with
./my.sh DS920+ noclean

2. Edit the ./redpill-load/ds920p.dts

3.Back up the directory with

cp -r ./redpill-load ./redpill-load-bak

4.Complete the final build with

./my.sh DS920+ manual

 

 

    internal_slot@5 {
        protocol_type = "sata";
        power_pin_gpio = <0x18 0x00>;
        detect_pin_gpio = <0x27 0x01>;
        led_type = "lp3943";

        ahci { pcie_root = "00:12.0";
            ata_port = <0x04>;
        };

        led_green {
            led_name = "syno_led8";
        };

        led_orange {
            led_name = "syno_led9";
        };
    };


    internal_slot@6 {
        protocol_type = "sata";
        power_pin_gpio = <0x19 0x00>;
        detect_pin_gpio = <0x28 0x01>;
        led_type = "lp3943";

        ahci { pcie_root = "00:12.0";
            ata_port = <0x05>;
        };

        led_green {
            led_name = "syno_led10";
        };

        led_orange {
            led_name = "syno_led11";
        };
    };

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...