1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

【更新至0.9.4.4,可直接编译】DSM7引导编译器Tinycore-redpill使用教程

本帖由 llm19782022-03-19 发布。版面名称:群晖 Synology DSM

  1. brelle0219

    brelle0219 New Member

    注册:
    2019-08-06
    帖子:
    8
    感谢分享!!
     
  2. boysking

    boysking New Member

    注册:
    2022-01-24
    帖子:
    17
    login as: tc
    [email protected]'s password:
    ( '>')
    /) TC (\ Core is distributed with ABSOLUTELY NO WARRANTY.
    (/-_--_-\) www.tinycorelinux.net

    tc@box:~$ sudo ./rploader.sh serialgen DS918+ now
    Serial Number for Model : 1980PDN028120
    Mac Address for Model DS918+ : 00:11:32:EA:DD:2F
    Should i update the user_config.json with these values ? [Yy/Nn]
    y
    tc@box:~$ sudo ./rploader.sh satamap now
    HBA: 00:11.0 Disks : 4
    HBA: 00:14.1 Disks : 2
    SataPortMap=42
    DiskIdxMap=0002
    Should i update the user_config.json with these values ? [Yy/Nn]
    y
    tc@box:~$ sudo ./rploader.sh identifyusb now
    Found USB SerialNumber: 0700879568F15B74
    Vendor ID : 0x13fe Product ID : 0x4300
    Should i update the user_config.json with these values ? [Yy/Nn]
    y
    tc@box:~$ ./rploader.sh build apollolake-7.1.0-42661
    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/ds...ch/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 : 05052022 Local : 05052022
    No extra build option specified, using default <static>
    Using static compiled redpill extension
    Removing any old redpill.ko modules
    Redirecting...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 3306 0 3306 0 0 2576 0 --:--:-- 0:00:01 --:--:-- 2578
    Looking for redpill for : ds918p_42661
    Redirecting...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 381 0 381 0 0 369 0 --:--:-- 0:00:01 --:--:-- 369
    Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
    Redirecting...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 66789 100 66789 0 0 35601 0 0:00:01 0:00:01 --:--:-- 35582
    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 1002d00009802 Required Extension : radeon
    Searching for matching extension for radeon
    Found SATA Controller : pciid 1002d00004391 Required Extension : ahci
    Searching for matching extension for ahci
    Found IDE Controller : pciid 1002d0000439c Required Extension : pata_atiixp
    Searching for matching extension for pata_atiixp
    [#] 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
    [#] Redirecting...
    ##O#- #
    [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 10ecd00008168 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
    Redirecting...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 3577 0 3577 0 0 4060 0 --:--:-- --:--:-- --:--:-- 4055
    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 21.7M 0 0:00:15 0:00:15 --:--:-- 22.7M
    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
    Could not find pat file locally cached
    Configdir : /home/tc/redpill-load/config/DS918+/7.1.0-42661
    Configfile: /home/tc/redpill-load/config/DS918+/7.1.0-42661/config.json
    Pat URL : https://global.download.synology.com/download/DSM/release/7.1/42661/DSM_DS918+_42661.pat
    Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1/42661/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 3376 0 --:--:-- --:--:-- --:--:-- 3376
    Could not determine if file //mnt/sdb3/auxfiles/ds918p_42661.pat is encrypted or not, maybe corrupted
    -rwxrwxrwx 1 root root 3322 May 5 14:03 //mnt/sdb3/auxfiles/ds918p_42661.pat
    041
    这是什么错误啊,请大佬指点!
     
  3. xucaiyang

    xucaiyang New Member

    注册:
    2022-05-05
    帖子:
    1
    谢谢分享
     
  4. llm1978

    llm1978 Member

    注册:
    2019-11-03
    帖子:
    57

    tc@box:~$ ./rploader.sh build apollolake-7.1.0-42661
    ...
    cpio: dev/console: Cannot mknod: Operation not permitted
    cpio: dev/net/tun: Cannot mknod: Operation not permitted


    build命令前面的sudo呢?提示没有权限。教程写的很清楚了,仔细一点。
    sudo ./rploader.sh build apollolake-7.1.0-42661
     
  5. llm1978

    llm1978 Member

    注册:
    2019-11-03
    帖子:
    57
    这个文件在作者驱动库里确实没有找到,尝试删除 /home/tc/redpill-load/custom/extensions/ 目录下所有文件后再试。
     
  6. llm1978

    llm1978 Member

    注册:
    2019-11-03
    帖子:
    57
    自动生成的sn、mac和自动生成的vid、pid不要修改,最后检查安装文件版本是否正确。
     
  7. jonhjs

    jonhjs New Member

    注册:
    2022-04-30
    帖子:
    7
    好的,谢谢大佬,我再试试
     
  8. 57068368

    57068368 New Member

    注册:
    2022-04-20
    帖子:
    19
    看看怎么用的
     
  9. xqsdbr

    xqsdbr Member

    注册:
    2022-05-04
    帖子:
    37
    搞不出来啊
     
  10. docyc

    docyc New Member

    注册:
    2018-08-13
    帖子:
    2