Jump to content
XPEnology Community

RedPill TinyCore Loader Installation Guide for DSM 7.1 BareMetal


Peter Suh

Recommended Posts

9 minutes ago, ulissessantos said:

tc@box:~$ ./rploader.sh update now
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Found newversion : 0.7.1.7
Current version : 0.7.1.7
There is a newer version of the script on the repo should we use that ? [yY/nN]y
OK, updating, please re-run after updating
Updating tinycore loader with latest updates
Backing up files to /mnt/sdc3//mydata.tgz
Done.
tc@box:~$ ./rploader.sh fullupgrade now
Performing a full TCRP upgrade
Warning some of your local files will be moved to /home/tc/old/xxxx.2022-May-24-                                                                                        18-06
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 33806  100 33806    0     0  67477      0 --:--:-- --:--:-- --:--:-- 67477
Updating custom_config_jun.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  8940  100  8940    0     0  17738      0 --:--:-- --:--:-- --:--:-- 17738
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  11932      0 --:--:-- --:--:-- --:--:-- 11932
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  18824      0 --:--:-- --:--:-- --:--:-- 18824
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   225k      0 --:--:-- --:--:-- --:--:--  225k
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   375k      0 --:--:-- --:--:-- --:--:-- 1230k
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    872      0 --:--:-- --:--:-- --:--:--   872
Updating dtc
  % 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   268k      0 --:--:-- --:--:-- --:--:--  464k
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 88522  100 88522    0     0   229k      0 --:--:-- --:--:-- --:--:--  229k
Updating ds1621p.dts
  % 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   5887      0 --:--:-- --:--:-- --:--:--  5887
Updating ds920p.dts
  % 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   4714      0 --:--:-- --:--:-- --:--:--  4714
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 3.8M , try to keep it less than 1GB as it might not fit                                                                                         into your image
Should i update the sdc with your current files [Yy/Nn]
y
Backing up home files to sdc : Backing up files to /mnt/sdc3//mydata.tgz
Done.

tc@box:~$ ./rploader.sh serialgen DS3622xs+
Serial Number for Model : 2150SQRAKJT3B
Mac Address for Model DS3622xs+ : 00:11:32:61:9E:67
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$ ./rploader.sh identifyusb now
Found Verbatim STORE SerialNumber: 0173000000021AAB
Vendor ID : 0x18a5 Product ID : 0x0302
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$ /rploader.sh satamap now
-sh: /rploader.sh: not found
tc@box:~$ ./rploader.sh satamap now

Found "00:1f.2 Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Contro                                                                                        ller [AHCI mode] (rev 03)"
2 drive(s) connected. How many ports does this controller have? [0-9] <2> 2

Recommended settings:
SataPortMap=2
DiskIdxMap=00

Should i update the user_config.json with these values ? [Yy/Nn] y
Done.
tc@box:~$ ./rploader.sh build broadwellnk-7.0.1-42218
Rploader Version : 0.7.1.7
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : dev                                                                                        elop
Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill mo                                                                                        dule branch : master
Extensions :
Extensions URL :
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.bro                                                                                        adwellnk-7.0.dev.txz/download
TOOLKIT_SHA : 0d9edca67d9e7e14c2529bbb58341b623936124d5264f71f1e4acbacf3ea202d
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS G                                                                                        PL%20Source/25426branch/broadwellnk-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1b                                                                                        e
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : broadwellnk
TARGET_VERSION    : 7.0.1
TARGET_REVISION : 42218
REDPILL_LKM_MAKE_TARGET : dev-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds3622xsp_42218
MODEL : DS3622xs+
Local Cache Folder : /mnt/sdc3/auxfiles
DATE Internet : 24052022 Local : 24052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1253, done.
remote: Counting objects: 100% (325/325), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 1253 (delta 302), reused 284 (delta 283), pack-reused 928
Receiving objects: 100% (1253/1253), 469.84 KiB | 2.13 MiB/s, done.
Resolving deltas: 100% (865/865), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 1994, done.
remote: Total 1994 (delta 0), reused 0 (delta 0), pack-reused 1994
Receiving objects: 100% (1994/1994), 114.70 MiB | 11.30 MiB/s, done.
Resolving deltas: 100% (937/937), done.
No extra build option or static specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds3622xsp_42218
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/re                                                                                        leases/redpill-4.4.180plus-broadwellnk.tgz
Extracting module
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/sr                                                                                        c/check-redpill.sh
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
--------------------------------------------------------------------------------                                                                                        ----------------
It looks that you will need the following modules :


Found SATA Controller : pciid 8086d00002929  Required Extension : ahci
Searching for matching extension for ahci
Found VGA Controller : pciid 10ded000006e9  Required Extension :
No matching extension
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/                                                                                        master/tg3/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_in                                                                                        dex.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.tg3 ====================                                                                                        ======================
[#] Extension name: tg3
[#] Description: Adds Broadcom Tigon3 ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/tg3
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpe                                                                                        xt-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621                                                                                         ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422                                                                                        18 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 d                                                                                        s918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218                                                                                         ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] ============================================================================                                                                                        ===========

Found Ethernet Interface : pciid 14e4d00001684 Required Extension : tg3
Searching for matching extension for tg3
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/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
Want to use firmware files from /home/tc/custom-module/*.pat ? [yY/nN] :
y
cp: cannot stat '/home/tc/custom-module/*42218*.pat': No such file or directory
Processing add_extensions entries found on custom_config.json file :
[#] Checking runtime for required tools... [OK]
[#] Updating extensions...

[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpil                                                                                        l-boot-wait/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-                                                                                        boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_i                                                                                        ndex.tmp_json
######################################################################### 100.0%
[OK]
[#] ========================================== redpill-boot-wait ===============                                                                                        ===========================
[#] Extension name: RedPill Bootwait
[#] Description: Simple extension which stops the execution early waiting for th                                                                                        e boot device to appear
[#] To get help visit: https://github.com/pocopico/rp-ext/redpill-boot-wait
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redp                                                                                        ill-boot-wait
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill                                                                                        -boot-wait/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621                                                                                         ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422                                                                                        18 ds3615xs_42661 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42218 dv                                                                                        a3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_422                                                                                        18 ds920p_42621 ds920p_42550 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_4                                                                                        2621 ds3615xs_42218 ds3622xsp_42621
[#] ============================================================================                                                                                        ===========

[#] Checking runtime for required tools... [OK]
[#] Updating pocopico.tg3 extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_in                                                                                        dex.tmp_json
######################################################################### 100.0%

[#] Extension pocopico.tg3 index is already up to date
[#] Updating redpill-boot-wait extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensio                                                                                        ns/_new_ext_index.tmp_json
######################################################################### 100.0%

[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-boot-wait extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds3622xsp_42218 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/releases/ds3622xsp_42218.json to /home/tc/redpill-load/custom/extension                                                                                        s/_ext_new_rcp.tmp_json
######################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension pocopico.tg3 platform ds362                                                                                        2xsp_42218
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/releases/tg3-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custo                                                                                        m/extensions/pocopico.tg3/ds3622xsp_42218/tg3-4.4.180plus-broadwellnk.tgz
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3622xsp_422                                                                                        18/tg3-4.4.180plus-broadwellnk.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds                                                                                        3622xsp_42218/tg3-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custom/ex                                                                                        tensions/pocopico.tg3/ds3622xsp_42218/... [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/src/check-tg3.sh to /home/tc/redpill-load/custom/extensions/pocopico.tg                                                                                        3/ds3622xsp_42218/check-tg3.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3622xsp_422                                                                                        18/check-tg3.sh file... [OK]
[#] Successfully processed recipe for extension pocopico.tg3 platform ds3622xsp_                                                                                        42218
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw                                                                                        /master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_n                                                                                        ew_rcp.tmp_json
######################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform                                                                                         ds3622xsp_42218
[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpil                                                                                        l-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/r                                                                                        edpill-boot-wait/ds3622xsp_42218/boot-wait.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xs                                                                                        p_42218/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds362                                                                                        2xsp_42218
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xs                                                                                        p_42218/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/tc/redpill-load/cache/ds3622xsp_42218.pat not found - downloa                                                                                        ding from https://global.download.synology.com/download/DSM/release/7.0.1/42218/                                                                                        DSM_DS3622xs+_42218.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  345M  100  345M    0     0  18.6M      0  0:00:18  0:00:18 --:--:-- 19.1M
[#] Verifying /home/tc/redpill-load/cache/ds3622xsp_42218.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds3622xsp_42218.pat file to /home/tc/r                                                                                        edpill-load/build/1653415716/pat-ds3622xsp_42218-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1653415716/pat-ds3622xsp_42218-unpacke                                                                                        d/zImage file... [OK]
[#] Patching /home/tc/redpill-load/build/1653415716/pat-ds3622xsp_42218-unpacked                                                                                        /zImage to /home/tc/redpill-load/build/1653415716/zImage-patched... [OK]
[#] Verifying /home/tc/redpill-load/build/1653415716/pat-ds3622xsp_42218-unpacke                                                                                        d/rd.gz file... [OK]
[#] Unpacking /home/tc/redpill-load/build/1653415716/pat-ds3622xsp_42218-unpacke                                                                                        d/rd.gz file to /home/tc/redpill-load/build/1653415716/rd-ds3622xsp_42218-unpack                                                                                        ed... [OK]
[#] Apply patches to /home/tc/redpill-load/build/1653415716/rd-ds3622xsp_42218-u                                                                                        npacked... [OK]
[#] Patching config files in ramdisk... [OK]
[#] Adding OS config patching... [OK]
[#] Repacking ramdisk to /home/tc/redpill-load/build/1653415716/rd-patched-ds362                                                                                        2xsp_42218.gz... [OK]
[#] Bundling extensions... [#] Checking runtime for required tools... [OK]
[#] Dumping ds3622xsp_42218 platform extensions to /home/tc/redpill-load/build/1                                                                                        653415716/custom-initrd/exts... [OK]
[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1653415716/custo                                                                                        m.gz... [OK]
[#] Generating GRUB config... [OK]
[#] Creating loader image at loader.img... [OK]
[#] Cleaning up... [OK]
Mounting /dev/sdc1 to localdiskp1
/dev/sdc2 localdiskp2
Creating tinycore entry
menuentry 'Tiny Core Image Build' {
        savedefault
        set root=(hd0,msdos3)
        echo Loading Linux...
        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791
        echo Loading initramfs...
        initrd /corepure64.gz
        echo Booting TinyCore for loader creation
}
Entries in Localdisk bootloader :
=======================================================================
menuentry 'RedPill DS3622xs v7.0.1-42218 Beta (USB, Verbose)' {
menuentry 'RedPill DS3622xs v7.0.1-42218 Beta (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {
Caching files for future use
Found /home/tc/redpill-load/cache/ds3622xsp_42218.pat, copying to cache director                                                                                        y : /mnt/sdc3/auxfiles
Saving user session for future use. Saving current extensions  -> OK !
Saving current user_config.json  -> OK !
tc@box:~$ ./rploader.sh clean now
Clearing local redpill files
tc@box:~$ ./rploader.sh build broadwellnk-7.1.0-42661
Rploader Version : 0.7.1.7
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : dev                                                                                        elop
Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill mo                                                                                        dule branch : master
Extensions :   redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-mi                                                                                        sc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.bro                                                                                        adwellnk-7.0.dev.txz/download
TOOLKIT_SHA : 0d9edca67d9e7e14c2529bbb58341b623936124d5264f71f1e4acbacf3ea202d
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS G                                                                                        PL%20Source/25426branch/broadwellnk-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1b                                                                                        e
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : broadwellnk
TARGET_VERSION    : 7.1.0
TARGET_REVISION : 42661
REDPILL_LKM_MAKE_TARGET : dev-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds3622xsp_42661
MODEL : DS3622xs+
Local Cache Folder : /mnt/sdc3/auxfiles
DATE Internet : 24052022 Local : 24052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1253, done.
remote: Counting objects: 100% (325/325), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 1253 (delta 302), reused 284 (delta 283), pack-reused 928
Receiving objects: 100% (1253/1253), 469.84 KiB | 2.10 MiB/s, done.
Resolving deltas: 100% (865/865), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 1994, done.
remote: Total 1994 (delta 0), reused 0 (delta 0), pack-reused 1994
Receiving objects: 100% (1994/1994), 114.70 MiB | 8.61 MiB/s, done.
Resolving deltas: 100% (940/940), done.
No extra build option or static specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds3622xsp_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/re                                                                                        leases/redpill-4.4.180plus-broadwellnk.tgz
Extracting module
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/sr                                                                                        c/check-redpill.sh
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
--------------------------------------------------------------------------------                                                                                        ----------------
It looks that you will need the following modules :


Found SATA Controller : pciid 8086d00002929  Required Extension : ahci
Searching for matching extension for ahci
Found VGA Controller : pciid 10ded000006e9  Required Extension :
No matching extension
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/                                                                                        master/tg3/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_in                                                                                        dex.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.tg3 ====================                                                                                        ======================
[#] Extension name: tg3
[#] Description: Adds Broadcom Tigon3 ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/tg3
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpe                                                                                        xt-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621                                                                                         ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422                                                                                        18 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 d                                                                                        s918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218                                                                                         ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] ============================================================================                                                                                        ===========

Found Ethernet Interface : pciid 14e4d00001684 Required Extension : tg3
Searching for matching extension for tg3
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/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
Found custom pat file /home/tc/custom-module/ds3622xsp_42218.pat
Processing old pat file to extract required files for extraction
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/sdc3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdc3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdc3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdc3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdc3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdc3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdc3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdc3/auxfile                                                                                        s
Copying usr/syno/bin/scemd to /mnt/sdc3/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 informat                                                                                        ion 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
Could not find pat file locally cached
Configdir : /home/tc/redpill-load/config/DS3622xs+/7.1.0-42661
Configfile: /home/tc/redpill-load/config/DS3622xs+/7.1.0-42661/config.json
Pat URL : https://global.download.synology.com/download/DSM/release/7.1/42661-1/                                                                                        DSM_DS3622xs%2B_42661.pat
Downloading pat file from URL : https://global.download.synology.com/download/DS                                                                                        M/release/7.1/42661-1/DSM_DS3622xs%2B_42661.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  352M  100  352M    0     0  38.4M      0  0:00:09  0:00:09 --:--:-- 45.6M
File //mnt/sdc3/auxfiles/ds3622xsp_42661.pat, is  encrypted
File //mnt/sdc3/auxfiles/ds3622xsp_42661.pat, has been cached but its encrypted,                                                                                         re-running decrypting process
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds3622xsp_42661.pat
File /home/tc/custom-module/ds3622xsp_42661.pat, is  encrypted
Extracting encrypted pat file : /home/tc/custom-module/ds3622xsp_42661.pat to /t                                                                                        mp/pat
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version informat                                                                                        ion available (required by /bin/syno_extract_system_patch)
Creating unecrypted pat file ds3622xsp_42661.pat to /home/tc/redpill-load/cache                                                                                         folder
./VERSION
Pat file  sha256sum is : bad4edf3ad0ccc4670b55c1647ada69f7a407332bc029a9c110f1ab                                                                                        29e7a206a
Checking config file existence -> OK
Editing config file -> Verifying config file -> OK !
Clearing temp folders
Processing add_extensions entries found on custom_config.json file :   redpill-m                                                                                        isc
Adding extension "https://github.com/pocopico/redpill-load/raw/master/redpill-mi                                                                                        sc/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/maste                                                                                        r/redpill-misc/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/master/                                                                                        redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ex                                                                                        t_index.tmp_json
######################################################################### 100.0%
[OK]
[#] ========================================== redpill-misc ====================                                                                                        ======================
[#] Extension name: Misc shell
[#] Description: Misc shell
[#] To get help visit: https://github.com/pocopico/redpill-load/raw/develop/redp                                                                                        ill-misc
[#] Extension preparer/packer: https://github.com/pocopico/redpill-load/raw/deve                                                                                        lop/redpill-misc
[#] Software author: https://github.com/pocopico/redpill-load/raw/develop/redpil                                                                                        l-misc
[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-mis                                                                                        c/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621                                                                                         ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422                                                                                        18 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 d                                                                                        s918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218                                                                                         ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] ============================================================================                                                                                        ===========

Updating extension : redpill-misc contents for model : ds3622xsp_42661
[#] Checking runtime for required tools... [OK]
[#] Updating ds3622xsp_42661 platforms extensions...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/                                                                                        _ext_new_rcp.tmp_json
######################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension redpill-misc platform ds362                                                                                        2xsp_42661
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/releases/install.sh to /home/tc/redpill-load/custom/extensions/red                                                                                        pill-misc/ds3622xsp_42661/install.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_426                                                                                        61/install.sh file...  [OK]
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/releases/install-all.sh to /home/tc/redpill-load/custom/extensions                                                                                        /redpill-misc/ds3622xsp_42661/install-all.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_426                                                                                        61/install-all.sh file...  [OK]
[#] Downloading remote file https://github.com/tsl0922/ttyd/releases/download/1.                                                                                        6.3/ttyd.x86_64 to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xs                                                                                        p_42661/ttyd
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_426                                                                                        61/ttyd file...  [OK]
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/releases/install_rd.sh to /home/tc/redpill-load/custom/extensions/                                                                                        redpill-misc/ds3622xsp_42661/install_rd.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_426                                                                                        61/install_rd.sh file...  [OK]
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/releases/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/r                                                                                        edpill-misc/ds3622xsp_42661/lrzsz.tar.gz
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_426                                                                                        61/lrzsz.tar.gz file...  [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds                                                                                        3622xsp_42661/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-mi                                                                                        sc/ds3622xsp_42661/...  [OK]
[#] Successfully processed recipe for extension redpill-misc platform ds3622xsp_                                                                                        42661
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds                                                                                        3622xsp_42661/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-mi                                                                                        sc/ds3622xsp_42661/...  [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating extensions...

[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpil                                                                                        l-boot-wait/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-                                                                                        boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_i                                                                                        ndex.tmp_json
######################################################################### 100.0%
[OK]
[#] ========================================== redpill-boot-wait ===============                                                                                        ===========================
[#] Extension name: RedPill Bootwait
[#] Description: Simple extension which stops the execution early waiting for th                                                                                        e boot device to appear
[#] To get help visit: https://github.com/pocopico/rp-ext/redpill-boot-wait
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redp                                                                                        ill-boot-wait
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill                                                                                        -boot-wait/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621                                                                                         ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422                                                                                        18 ds3615xs_42661 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42218 dv                                                                                        a3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_422                                                                                        18 ds920p_42621 ds920p_42550 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_4                                                                                        2621 ds3615xs_42218 ds3622xsp_42621
[#] ============================================================================                                                                                        ===========

[#] Checking runtime for required tools... [OK]
[#] Updating pocopico.tg3 extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_in                                                                                        dex.tmp_json
######################################################################### 100.0%

[#] Extension pocopico.tg3 index is already up to date
[#] Updating redpill-boot-wait extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensio                                                                                        ns/_new_ext_index.tmp_json
######################################################################### 100.0%

[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-misc extension...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_e                                                                                        xt_index.tmp_json
######################################################################### 100.0%
[OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds3622xsp_42661 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/releases/ds3622xsp_42218.json to /home/tc/redpill-load/custom/extension                                                                                        s/_ext_new_rcp.tmp_json
######################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension pocopico.tg3 platform ds362                                                                                        2xsp_42661
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/releases/tg3-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custo                                                                                        m/extensions/pocopico.tg3/ds3622xsp_42661/tg3-4.4.180plus-broadwellnk.tgz
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3622xsp_426                                                                                        61/tg3-4.4.180plus-broadwellnk.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds                                                                                        3622xsp_42661/tg3-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custom/ex                                                                                        tensions/pocopico.tg3/ds3622xsp_42661/... [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma                                                                                        ster/tg3/src/check-tg3.sh to /home/tc/redpill-load/custom/extensions/pocopico.tg                                                                                        3/ds3622xsp_42661/check-tg3.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3622xsp_426                                                                                        61/check-tg3.sh file... [OK]
[#] Successfully processed recipe for extension pocopico.tg3 platform ds3622xsp_                                                                                        42661
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw                                                                                        /master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_n                                                                                        ew_rcp.tmp_json
######################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform                                                                                         ds3622xsp_42661
[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpil                                                                                        l-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/r                                                                                        edpill-boot-wait/ds3622xsp_42661/boot-wait.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xs                                                                                        p_42661/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds362                                                                                        2xsp_42661
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop                                                                                        /redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/                                                                                        _ext_new_rcp.tmp_json
######################################################################### 100.0%
[#] Extension redpill-misc for ds3622xsp_42661 platform is already up to date
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xs                                                                                        p_42661/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] Verifying /home/tc/redpill-load/cache/ds3622xsp_42661.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds3622xsp_42661.pat file to /home/tc/r                                                                                        edpill-load/build/1653415858/pat-ds3622xsp_42661-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1653415858/pat-ds3622xsp_42661-unpacke                                                                                        d/zImage file... [OK]
[#] Patching /home/tc/redpill-load/build/1653415858/pat-ds3622xsp_42661-unpacked                                                                                        /zImage to /home/tc/redpill-load/build/1653415858/zImage-patched... [OK]
[#] Verifying /home/tc/redpill-load/build/1653415858/pat-ds3622xsp_42661-unpacke                                                                                        d/rd.gz file... [OK]
[#] Unpacking /home/tc/redpill-load/build/1653415858/pat-ds3622xsp_42661-unpacke                                                                                        d/rd.gz file to /home/tc/redpill-load/build/1653415858/rd-ds3622xsp_42661-unpack                                                                                        ed... [OK]
[#] Apply patches to /home/tc/redpill-load/build/1653415858/rd-ds3622xsp_42661-u                                                                                        npacked... [OK]
[#] Patching config files in ramdisk... [OK]
[#] Adding OS config patching... [OK]
[#] Repacking ramdisk to /home/tc/redpill-load/build/1653415858/rd-patched-ds362                                                                                        2xsp_42661.gz... [OK]
[#] Bundling extensions... [#] Checking runtime for required tools... [OK]
[#] Dumping ds3622xsp_42661 platform extensions to /home/tc/redpill-load/build/1                                                                                        653415858/custom-initrd/exts... [OK]
[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1653415858/custo                                                                                        m.gz... [OK]
[#] Generating GRUB config... [OK]
[#] Creating loader image at loader.img... [OK]
[#] Cleaning up... [OK]
Mounting /dev/sdc1 to localdiskp1
/dev/sdc2 localdiskp2
Creating tinycore entry
menuentry 'Tiny Core Image Build' {
        savedefault
        set root=(hd0,msdos3)
        echo Loading Linux...
        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791
        echo Loading initramfs...
        initrd /corepure64.gz
        echo Booting TinyCore for loader creation
}
Entries in Localdisk bootloader :
=======================================================================
menuentry 'RedPill DS3622xs v7.1.0-42661 Beta (USB, Verbose)' {
menuentry 'RedPill DS3622xs v7.1.0-42661 Beta (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {
Caching files for future use
No adequate space on TCRP loader partition /mnt/sdc3 to cache pat file
Found /mnt/sdc3/auxfiles/ds3622xsp_42218.pat
/mnt/sdc3/auxfiles/ds3622xsp_42661.pat file
Do you want me to remove older cached pat files and cache current ? [yY/nN] : y
Found /home/tc/redpill-load/cache/ds3622xsp_42661.pat, copying to cache director                                                                                        y : /mnt/sdc3/auxfiles
Saving user session for future use. Saving current extensions  -> OK !
Saving current user_config.json  -> OK !
tc@box:~$ ./rploader.sh clean now; rm -rf /mnt/sdb3/auxfiles; rm -rf /home/tc/cu
stom-module; ./rploader.sh backup now;
Clearing local redpill files
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 3.8M , try to keep it less than 1GB as it might not fit                                                                                         into your image
Should i update the sdc with your current files [Yy/Nn]
y
Backing up home files to sdc : Backing up files to /mnt/sdc3//mydata.tgz
Done.

tc@box:~$

 

If possible, please use the last eye icon, a spoiler.
Logs that are too long require unnecessary gaze on others.
thank you.

Link to comment
Share on other sites

In @pocopico's 0.4.6 img for legacy, the first partition is increased from 48mb to 96mb to secure space for the dtc utility to be copied, and it is an image that has been fully upgraded to the latest version 0.7.1.7.
Download it from the Google link below, decompress the gz and record it on a new USB stick.
And rploader.sh on my Github repo blocks the patchdtc function so that there are no errors like the log above, and also blocks the update of rploader.sh itself.

 

It's for the use of the new dtb util of jumkey

 

[tinycore-redpill.v0.7.1.7.img]

https://drive.google.com/file/d/1Jxr0znrDxkqIhcbFPTyll44VwdvuPBu-/view?usp=sharing

 

tc@box:~$ curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/rploader.sh" --output rploader.sh

 

mkdir /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles; sudo ln -s /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles /home/tc/custom-module;

 

./rploader.sh build geminilake-7.1.0-42661

 

./rploader.sh backup now

 

And

 

Share the tincore-redfill.v0.7.1.7.vmdk file.

For the use of the new dtb util of jumkey

This is a file that increased the first partition from 48MB to 96MB, as shown above in img for legacy.

 

[tinycore-redpill.v0.7.1.7.vmdk]

https://drive.google.com/file/d/1UCOzK1LTjLy3-bD2u5feeGblhqYN5UH_/view?usp=sharing

Edited by Peter Suh
Link to comment
Share on other sites

4 minutes ago, Doerk32 said:

hello,

 i want to update my ds918+.  where is the file where  tho olod pid/vid. etc are.

 how i can build the datas in theuser_config.json

sorry for my bad english.

 

mfg

doerk32

 

 

 

 

 

 

 

You do not need to worry about pid / vid, etc., as TC detects them automatically, and if you just want to use S/N or MAC as it is
You can check by ssh connection to the existing DS918+ with the command below.

 

poweroff@NAS4:~$ cat /proc/cmdline
BOOT_IMAGE=/zImage withefi syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=2 earlycon=uart8250,io,0x3f8,115200n8 mac2=00113263D464 mac1=00113263D462 sn=2030SQRXFVESX HddHotplug=0 DiskIdxMap=0002 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 root=/dev/md0 SataPortMap=45

  • Like 1
Link to comment
Share on other sites

On 5/26/2022 at 10:28 PM, Peter Suh said:

In @pocopico's 0.4.6 img for legacy, the first partition is increased from 48mb to 96mb to secure space for the dtc utility to be copied, and it is an image that has been fully upgraded to the latest version 0.7.1.7.
Download it from the Google link below, decompress the gz and record it on a new USB stick.
And rploader.sh on my Github repo blocks the patchdtc function so that there are no errors like the log above, and also blocks the update of rploader.sh itself.

 

It's for the use of the new dtb util of jumkey

 

[tinycore-redpill.v0.7.1.7.img]

https://drive.google.com/file/d/1Jxr0znrDxkqIhcbFPTyll44VwdvuPBu-/view?usp=sharing

 

tc@box:~$ curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/rploader.sh" --output rploader.sh

 

mkdir /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles; sudo ln -s /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles /home/tc/custom-module;

 

./rploader.sh build geminilake-7.1.0-42661

 

./rploader.sh backup now

 

And

 

Share the tincore-redfill.v0.7.1.7.vmdk file.

For the use of the new dtb util of jumkey

This is a file that increased the first partition from 48MB to 96MB, as shown above in img for legacy.

 

[tinycore-redpill.v0.7.1.7.vmdk]

https://drive.google.com/file/d/1UCOzK1LTjLy3-bD2u5feeGblhqYN5UH_/view?usp=sharing

I follow your guide and can make the system migrate to 7.1, no problem at all.
The next question is how can I make the NVME SSD cache or make the NVME SSD as a Volume inside DSM 7.1?

Now my NVME SSD is not recognize by DSM.

Link to comment
Share on other sites

4 hours ago, luutuananh said:

I follow your guide and can make the system migrate to 7.1, no problem at all.
The next question is how can I make the NVME SSD cache or make the NVME SSD as a Volume inside DSM 7.1?

Now my NVME SSD is not recognize by DSM.

 

After executing the commands below, send me the log that is the result.

 

If you can access the DSM installation request screen with ttyd as below,

Then send me the log with the command you see.

 

http://<youripaddr>:7681/

id : root / pw : ( no password )

 

ls -l /sys/block

 

ls -la /sys/class/ata_device

 

ls -l  /exts/redpill-dtb

 

cat /exts/redpill-dtb/output.dts.out

 

cat /var/log/*rc*

 

When attaching logs, please use the spoiler icon on the far right.

Link to comment
Share on other sites

On 5/24/2022 at 2:12 PM, Peter Suh said:

 

@Ribb, @luutuananh

 

This is the post I already shared above, how to build a new DS920+.

You don't need to worry about mappings related to SataPortMap etc or any Sata port at all.

Just build and use. It is recommended because it is a method that can also skip the M.2 slot.

Try this method.

 

 

Hello, I am stuck at the point where I have to add the .pat file to install the dsm from the web. I get an error at 55% with a message that the file is possibly corrupted. I have tried with several .pat files from different sites and downloaded several times but there is no way

Edited by javikobcn
Link to comment
Share on other sites

I've just set up my first install of xpenology - got dsm 7.1 running happily, thanks to this guide.

 

If, in the future, I add a SATA card, will I have to rebuild/reinstall DSM or is it possible to get it to accept that the SATA port count is increased (assuming driver compatibility)? 

Link to comment
Share on other sites

10 hours ago, sixfaces said:

I've just set up my first install of xpenology - got dsm 7.1 running happily, thanks to this guide.

 

If, in the future, I add a SATA card, will I have to rebuild/reinstall DSM or is it possible to get it to accept that the SATA port count is increased (assuming driver compatibility)? 

 

I don't know which model was built,
It's okay to rebuild the TC loader
You can also directly adjust the sataportmap value of grub.cfg by attaching this loader USB to Windows 10 and accessing the first partition, the GNU GRUB BOOT partition.

  • Thanks 1
Link to comment
Share on other sites

 

TCRP has already been converted to jumkey's new dtc port auto-dynamic mapping method,
Sometimes this method doesn't work well.

In this case, manually model_ds920p.dtb or model_ds1621p.dtb
You just need to prepare the file to compile.

 

It is good to compile the model_#platform.dtb file directly with dtc,
If even this does not work, edit install_rd.sh as shown below

 

You can also add the dtc compilation command one line in advance.
It is a method that can be applied immediately to a case that has succeeded in the actual test.

 

./my.sh DS1621+ noclean

 

cd redpill-load/custom/extensions/redpill-dtb/ds1621p_42661

 

cp /home/tc/ds1621p.dts .

 

lspci -tvnnq

 

ll /sys/block

 

vi ds1621p.dts

...

        internal_slot@1 {

                protocol_type = "sata";

                led_type = "lp3943";

                ahci {

                        pcie_root = "your device information";

                        ata_port = <0x0 your target port number>;

                };

...

:wq!

 

vi install_rd.sh

#add in line 7

./dtc -q -I dts -O dtb ds1621p.dts > model_ds1621p.dtb

:wq!

 

./my.sh DS1621+ noclean

Edited by Peter Suh
Link to comment
Share on other sites

22 hours ago, javikobcn said:

Hello, I am stuck at the point where I have to add the .pat file to install the dsm from the web. I get an error at 55% with a message that the file is possibly corrupted. I have tried with several .pat files from different sites and downloaded several times but there is no way

 

 

55%~57% of disk corruption messages are often disk corrupted or have nothing to do with the USB's vid/pid.
You need to find the cause by analyzing various logs in the dsm installation screen (called junior mode).
Log analysis should be done with professional help from a redpill developer like pocopico.

There is still no definitive solution to this issue.

In a recent success story, there was a report that the above phenomenon disappeared after setting the Windows version to 8.x in the bios.

Link to comment
Share on other sites

On 5/29/2022 at 7:36 PM, javikobcn said:

Hello, I am stuck at the point where I have to add the .pat file to install the dsm from the web. I get an error at 55% with a message that the file is possibly corrupted. I have tried with several .pat files from different sites and downloaded several times but there is no way

 

are you using the redpill-dtb ? You need to have also your usb port patched. A good alternative would be to change the usb port that you have your loader connected.

Link to comment
Share on other sites

Hello everyone,
after months I've decided to migrate my old N54L to RedPill DSM7 and unfortunately nothing work for me.
I found one French thread dedicated to N54L and there everything was clear, but from some reason after installation my machine stuck on Loading Kernel and is invisible in the network. 
I'm not using anything unusual, just regular N54L, so I'm surprised it didn't work.
Of course I tried 3615sx as it was suggested in that French thread.

But maybe it's not up to date? Maybe now procedure is different?
Could someone help me with that? Thanks :)
And one more - my disks are now with DSM 6.2.3 - I hope it will migrate automatically when it will just boot up? 
Thanks :)

Link to comment
Share on other sites

[NOTICE]

 

Because pocopico's redpill-dtb ext is changed to redpill-dtb-static ext
In TCRP, the dynamic and automatic dtc patch of jumkey was disabled, so the function was branched so that it can be used as a separate option.

 

To update a new function, follow the steps below.

 

./my.sh

 

If you want to use jumkey's dynamic and automatic dtc patch, you can build it with the options below and use it.

 

./my.sh DS920+ jumkey

 

----------------------------------------------------------------------------------------
Usage: ./my.sh <Synology Model Name> <Options>

Options: jumkey, noconfig, noclean, manual

- jumkey  : Option to apply jumkey's dynamic automatic dtc patch extension files (contrary to pocopico's static dtc patch).  

- noconfig: SKIP automatic detection change processing such as SN/Mac/Vid/Pid/SataPortMap of user_config.json file.

- noclean: SKIP the 💊   RedPill LKM/LOAD directory without clearing it with the Clean now command. 
           However, delete the Cache directory and loader.img.

- manual: Options for manual extension processing and manual dtc processing in build action (skipping extension auto detection)

Please type Synology Model Name after ./my.sh

./my.sh DS918+
./my.sh DS3617xs
./my.sh DS3615xs
./my.sh DS3622xs+
./my.sh DVA3221
./my.sh DS920+
./my.sh DS1621+

- for jun mode

./my.sh DS918+J                                                                                                      
./my.sh DS3617xsJ                                                                                                    
./my.sh DS3615xsJ                                                                                                    
./my.sh DS3622xs+J                                                                                                   
./my.sh DVA3221J                                                                                                     
./my.sh DS920+J                                                                                                      
./my.sh DS1621+J  

Link to comment
Share on other sites

I'm really sorry, but have some troubles with the Gigabyte B560I AORUS PRO AX + i5-11400 + 64Gb DDR4 (2x32)

Try a lot of variants, but I have ethernet link only before I had created loader. After reboot it is no link at all.

Try with 2-ports Intel Network Card: partially success with 3617sx, looks like DSM is installed correctly, but after reboot and "10 minutes" it says about migration. 
And so in the cycle.

Could you please help me?

lspci -nnq

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4c53] (rev 01)
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1 [UHD Graphics 730] [8086:4c8b] (rev 04)
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller [8086:43ed] (rev 11)
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-H Shared SRAM [8086:43ef] (rev 11)
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-H Management Engine Interface [8086:43e0] (rev 11)
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:43c4] (rev 11)
00:1c.0 PCI bridge [0604]: Intel Corporation Tiger Lake-H PCI Express Root Port#5 [8086:43bc] (rev 11)
00:1c.5 PCI bridge [0604]: Intel Corporation Device [8086:43bd] (rev 11)
00:1c.6 PCI bridge [0604]: Intel Corporation Device [8086:43be] (rev 11)
00:1d.0 PCI bridge [0604]: Intel Corporation Tiger Lake-H PCI Express Root Port#9 [8086:43b0] (rev 11)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4387] (rev 11)
00:1f.3 Audio device [0403]: Intel Corporation Tiger Lake-H HD Audio Controller[8086:43c8] (rev 11)
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-H SMBus Controller [8086:43a3] (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H SPI Controller [8086:43a4] (rev 11)
03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V[8086:15f3] (rev 03)
04:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)

VERY big thanks in advance!

Link to comment
Share on other sites

4 hours ago, Ingridis13 said:

I'm really sorry, but have some troubles with the Gigabyte B560I AORUS PRO AX + i5-11400 + 64Gb DDR4 (2x32)

Try a lot of variants, but I have ethernet link only before I had created loader. After reboot it is no link at all.

Try with 2-ports Intel Network Card: partially success with 3617sx, looks like DSM is installed correctly, but after reboot and "10 minutes" it says about migration. 
And so in the cycle.

Could you please help me?

lspci -nnq

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4c53] (rev 01)
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1 [UHD Graphics 730] [8086:4c8b] (rev 04)
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller [8086:43ed] (rev 11)
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-H Shared SRAM [8086:43ef] (rev 11)
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-H Management Engine Interface [8086:43e0] (rev 11)
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:43c4] (rev 11)
00:1c.0 PCI bridge [0604]: Intel Corporation Tiger Lake-H PCI Express Root Port#5 [8086:43bc] (rev 11)
00:1c.5 PCI bridge [0604]: Intel Corporation Device [8086:43bd] (rev 11)
00:1c.6 PCI bridge [0604]: Intel Corporation Device [8086:43be] (rev 11)
00:1d.0 PCI bridge [0604]: Intel Corporation Tiger Lake-H PCI Express Root Port#9 [8086:43b0] (rev 11)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4387] (rev 11)
00:1f.3 Audio device [0403]: Intel Corporation Tiger Lake-H HD Audio Controller[8086:43c8] (rev 11)
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-H SMBus Controller [8086:43a3] (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H SPI Controller [8086:43a4] (rev 11)
03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V[8086:15f3] (rev 03)
04:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)

VERY big thanks in advance!

 

 

According to the manager's guidance, each topic has been recently guided so that posts that fit the nature of the topic are written.

 

In this guide topic, we will not answer questions related to loader builds in the future.

 

The Noob Lounge and the general questions board seem to be a good place for this.

 

If you mention me with @ along with this question you asked on the above bulletin boards, I will be sure to answer it.

Edited by Peter Suh
  • Confused 1
Link to comment
Share on other sites

hello again

 i found my diskstation 918+ on an ASRock J5040-ITX wih 16gb ram. after he 10 min countdown the web assisen tell me tha here is an error and i should try it again.

what can i  do.

 i can`t reach he station via ssh

mfg

Doerk32

 

 

 

 

 

 

Link to comment
Share on other sites

On 6/2/2022 at 12:00 AM, Doerk32 said:

hello again

 i found my diskstation 918+ on an ASRock J5040-ITX wih 16gb ram. after he 10 min countdown the web assisen tell me tha here is an error and i should try it again.

what can i  do.

 i can`t reach he station via ssh

mfg

Doerk32

 

 

 

 

 

 

 

As analyzed by @pocopico, recovery mode will be repeated indefinitely with only the loader for DSM 7.1.0-42661 update1 prepared in the build above.
It seems that your HDD's system partition has already applied DSM 7.1.0-42661 update2, and @pocopico will give you a solution to solve this.
Please wait a little.

  • Like 2
Link to comment
Share on other sites

6 hours ago, Peter Suh said:

 

As analyzed by @pocopico, recovery mode will be repeated indefinitely with only the loader for DSM 7.1.0-42661 update1 prepared in the build above.
It seems that your HDD's system partition has already applied DSM 7.1.0-42661 update2, and @pocopico will give you a solution to solve this.
Please wait a little.

So for DSM 7.1.0-42661 update2 another Update from pocopico is required?

Synology recommened this update, while upgrade from 6.2 to 7.1with Redpill.

Link to comment
Share on other sites

1 hour ago, Constantino Gavin said:

So for DSM 7.1.0-42661 update2 another Update from pocopico is required?

Synology recommened this update, while upgrade from 6.2 to 7.1with Redpill.

 

For users already in the recovery loop, use the script below.

I made a temporary script of pocopico into a file and uploaded it to my repo.
Download and use it as shown below.

 

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/42661U2_patch.sh" --output 42661U2_patch.sh

chmod +x 42661U2_patch.sh

./42661U2_patch.sh

 

And, if you build with version 0.8.0.1 of pocopico, update2 seems to respond immediately, but it seems to be still being verified.

Link to comment
Share on other sites

11 minutes ago, Peter Suh said:

 

For users already in the recovery loop, use the script below.

I made a temporary script of pocopico into a file and uploaded it to my repo.
Download and use it as shown below.

 

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/42661U2_patch.sh" --output 42661U2_patch.sh

chmod +x 42661U2_patch.sh

./42661U2_patch.sh

 

And, if you build with version 0.8.0.1 of pocopico, update2 seems to respond immediately, but it seems to be still being verified

Yeah i'm already in the recovery loop :(

 

Sorry for asking such dumb questions, but should i run this from SSH over Port 7681 while DSM running or run it from within TC?

 

Thanks a lot for your help!

Edited by Constantino Gavin
Link to comment
Share on other sites

2 hours ago, Peter Suh said:

 

For users already in the recovery loop, use the script below.

I made a temporary script of pocopico into a file and uploaded it to my repo.
Download and use it as shown below.

 

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/42661U2_patch.sh" --output 42661U2_patch.sh

chmod +x 42661U2_patch.sh

./42661U2_patch.sh

 

And, if you build with version 0.8.0.1 of pocopico, update2 seems to respond immediately, but it seems to be still being verified.

 I'm online again! I used your script in TC, restarted and the Recovery was successfully!

 

Thank you man, you made my day!

Edited by Constantino Gavin
  • Like 1
Link to comment
Share on other sites

 

[NOTICE]

 

After applying DSM 7.1.0-42661 Update 2, a postupdate option has been added to solve the restore loop. No additional build is required.

 

To update a new function, follow the steps below.

 

./my.sh

 

you can patch it with the options below and use it.

 

./my.sh DS918+ postupdate

 

----------------------------------------------------------------------------------------
Usage: ./my.sh <Synology Model Name> <Options>

 

Options: jumkey, noconfig, noclean, manual

 

- postupdate : Option to patch the restore loop after applying DSM 7.1.0-42661 Update 2, no additional build required.

 

- jumkey  : Option to apply jumkey's dynamic automatic dtc patch extension files (contrary to pocopico's static dtc patch).  

 

- noconfig: SKIP automatic detection change processing such as SN/Mac/Vid/Pid/SataPortMap of user_config.json file.

 

- noclean: SKIP the 💊   RedPill LKM/LOAD directory without clearing it with the Clean now command. 

           However, delete the Cache directory and loader.img.

 

- manual: Options for manual extension processing and manual dtc processing in build action (skipping extension auto detection)

 

Please type Synology Model Name after ./my.sh

 

./my.sh DS918+
./my.sh DS3617xs
./my.sh DS3615xs
./my.sh DS3622xs+
./my.sh DVA3221
./my.sh DS920+
./my.sh DS1621+

 

- for jun mode

 

./my.sh DS918+J                                                                                                      
./my.sh DS3617xsJ                                                                                                    
./my.sh DS3615xsJ                                                                                                    
./my.sh DS3622xs+J                                                                                                   
./my.sh DVA3221J                                                                                                     
./my.sh DS920+J                                                                                                      
./my.sh DS1621+J  

  • Thanks 2
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...