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

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

Discussion in '群晖 Synology DSM' started by llm1978, Mar 19, 2022.

  1. ryp717

    ryp717 New Member

    辛苦了
     
  2. xcgf

    xcgf Member

    tc@box:~$ sudo ./rploader.sh build apollolake-7.1.0-42661
    Rploader Version : 0.7.0.1
    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+
    Redpill sources already downloaded, pulling latest
    Already up to date.
    Loader sources already downloaded, pulling latest
    Already up to date.
    cleanning...
    rm: cannot remove '/home/tc/redpill-load/cache/*.pat': No such file or directory
    No extra build option specified, using default <static>
    Using static compiled redpill extension
    Removing any old redpill.ko modules
    https://github.com/pocopico/rp-ext/raw/main/redpill/rpext-index.json
    https://ghproxy.llm-y2k.workers.dev...pocopico/rp-ext/main/redpill/rpext-index.json
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 3191 0 3191 0 0 4827 0 --:--:-- --:--:-- --:--:-- 4820
    Looking for redpill for : ds918p_42661
    https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/ds918p_42218.json
    https://ghproxy.llm-y2k.workers.dev...ext/master/redpill/releases/ds918p_42218.json
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 381 0 381 0 0 232 0 --:--:-- 0:00:01 --:--:-- 232
    Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
    https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
    https://ghproxy.llm-y2k.workers.dev...ster/redpill/releases/redpill-4.4.180plus.tgz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
     
  3. xcgf

    xcgf Member

    [​IMG]
     
    ryp717 likes this.
  4. oldchen

    oldchen New Member

    编译报错 ./rploader.sh build broadwell-7.1.0-42661 用的 root 用户,tc 用户加 sudo 执行也是一样
    完整日志:https://pan.baidu.com/s/1BNpO9T-36hlwfC3jwPkvvA 提取码: 37ch


    Code:
    [#] Extension redpill-misc for ds3617xs_42661 platform is already up to date
    [#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3617xs_42661/boot-wait.sh file... [OK]
    [#] Updating extensions... [OK]
    [#] Verifying /home/tc/redpill-load/cache/ds3617xs_42661.pat file... [OK]
    [#] Unpacking /home/tc/redpill-load/cache/ds3617xs_42661.pat file to /home/tc/redpill-load/build/1649579472/pat-ds3617xs_42661-unpacked... [OK]
    [#] Verifying /home/tc/redpill-load/build/1649579472/pat-ds3617xs_42661-unpacked/zImage file... [OK]
    [#] Patching /home/tc/redpill-load/build/1649579472/pat-ds3617xs_42661-unpacked/zImage to /home/tc/redpill-load/build/1649579472/zImage-patched... [OK]
    [#] Verifying /home/tc/redpill-load/build/1649579472/pat-ds3617xs_42661-unpacked/rd.gz file... [OK]
    [#] Unpacking /home/tc/redpill-load/build/1649579472/pat-ds3617xs_42661-unpacked/rd.gz file to /home/tc/redpill-load/build/1649579472/rd-ds3617xs_42661-unpacked... [OK]
    [#] Apply patches to /home/tc/redpill-load/build/1649579472/rd-ds3617xs_42661-unpacked... [OK]
    [#] Patching config files in ramdisk... [OK]
    [#] Adding OS config patching... [OK]
    [#] Repacking ramdisk to /home/tc/redpill-load/build/1649579472/rd-patched-ds3617xs_42661.gz... [OK]
    [#] Repacking ramdisk to /home/tc/redpill-load/build/1649579472/rd-patched-ds3617xs_42661.gz... [ERR]
    [!] Failed to copy /home/tc/redpill-load/ext/patches/70-cpufreq-kernel.conf to /home/tc/redpill-load/build/1649579472/custom-initrd//lib/modules-load.d/70-cpufreq-kernel.conf
    
    /usr/local/bin/cp: cannot stat '/home/tc/redpill-load/ext/patches/70-cpufreq-kernel.conf': No such file or directory
    
    *** Process will exit ***
    FAILED : Loader creation failed check the output for any errors
    
     
    Last edited: Apr 10, 2022
  5. silentnook

    silentnook New Member

    别放弃啊,老当益壮啊。
     
  6. xffd

    xffd New Member

    很好.多谢了
     
  7. llm1978

    llm1978 Member


    已经编译成功了嘛
     
  8. ryp717

    ryp717 New Member

    兄弟 编译多久好的 我的2小时了。。
     
  9. llm1978

    llm1978 Member


    google相关网址我这边打不开的
     
  10. hljchm

    hljchm New Member

    7.1-42661编译成功