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

真·自製引導不求人~~~初試Pocopico tiny core redpill 7.0.1

本帖由 Rebutia2022-02-10 发布。版面名称:群晖 Synology DSM

  1. Rebutia

    Rebutia New Member

    注册:
    2019-04-26
    帖子:
    23
    tc@box:~$ sudo ./rploader.sh build apollolake-7.0.1-42218
    Loader source : https://github.com/jumkey/redpill-load.git Loader Branch : develop
    Redpill module source : https://github.com/RedPill-TTG/redpill-lkm.git : Redpill module branch : master
    Extensions :
    Extensions URL :
    TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download
    TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
    SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/apollolake-source/linux-4.4.x.txz/download
    SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
    COMPILE_METHOD : toolkit_dev
    TARGET_PLATFORM : apollolake
    TARGET_VERSION : 7.0.1
    TARGET_REVISION : 42218
    REDPILL_LKM_MAKE_TARGET : test-v7
    Checking Internet Access -> OK
    Checking if a newer version exists on the repo -> Version is current
    Redpill sources already downloaded, pulling latest
    Already up to date.
    Loader sources already downloaded, pulling latest
    Already up to date.
    Using static compiled redpill extension
    Looking for redpill for : ds918p_42218
    Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
    Extracting module
    Got redpill-linux-v4.4.180+.ko
    Testing modules.alias.json -> File OK
    ------------------------------------------------------------------------------------------------
    It looks that you will need the following modules :


    Found VGA Controller : pciid 8086d00001622 Required Extension : i915
    Searching for matching extension for i915
    Found SATA Controller : pciid 8086d00008c82 Required Extension : ahci
    Searching for matching extension for ahci
    [#] Checking runtime for required tools... [OK]
    [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/ixgbe/rpext-index.json...
    [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/ixgbe/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
    ######################################################################## 100.0%
    [OK]
    [#] ========================================== pocopico.ixgbe ==========================================
    [#] Extension name: ixgbe
    [#] Description: Adds Intel(R) 10GbE PCI Express Linux Network Driver Support
    [#] To get help visit: <todo>
     
  2. Rebutia

    Rebutia New Member

    注册:
    2019-04-26
    帖子:
    23
  3. Rebutia

    Rebutia New Member

    注册:
    2019-04-26
    帖子:
    23
    ###################################################################################################################################################################################################################################### 100.0%
    [#] Extension thethorgroup.jg.virtio for ds918p_42218 platform is already up to date
    [#] Updating ds918p_42218 platforms extensions... [OK]
    [#] Updating extensions... [OK]
    [#] Verifying /home/tc/redpill-load/cache/ds918p_42218.pat file... [OK]
    [#] Unpacking /home/tc/redpill-load/cache/ds918p_42218.pat file to /home/tc/redpill-load/build/1644652231/pat-ds918p_42218-unpacked... [OK]
    [#] Verifying /home/tc/redpill-load/build/1644652231/pat-ds918p_42218-unpacked/zImage file... [OK]
    [#] Patching /home/tc/redpill-load/build/1644652231/pat-ds918p_42218-unpacked/zImage to /home/tc/redpill-load/build/1644652231/zImage-patched... [OK]
    [#] Verifying /home/tc/redpill-load/build/1644652231/pat-ds918p_42218-unpacked/rd.gz file... [OK]
    [#] Unpacking /home/tc/redpill-load/build/1644652231/pat-ds918p_42218-unpacked/rd.gz file to /home/tc/redpill-load/build/1644652231/rd-ds918p_42218-unpacked... [OK]
    [#] Apply patches to /home/tc/redpill-load/build/1644652231/rd-ds918p_42218-unpacked... [OK]
    [#] Patching config files in ramdisk... [OK]
    [#] Adding OS config patching... [OK]
    [#] Repacking ramdisk to /home/tc/redpill-load/build/1644652231/rd-patched-ds918p_42218.gz... [OK]
    [#] Bundling extensions... [#] Checking runtime for required tools... [OK]
    [#] Dumping ds918p_42218 platform extensions to /home/tc/redpill-load/build/1644652231/custom-initrd/exts... [OK]
    [#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1644652231/custom.gz... [OK]
    [#] Generating GRUB config... [OK]
    [#] Creating loader image at loader.img... [OK]
    [#] Cleaning up... [OK]
    Mounting /dev/sde1 to localdiskp1
    Mounting /dev/sde2 to 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 DS918+ v7.0.1-42218 (USB, Verbose)' {
    menuentry 'RedPill DS918+ v7.0.1-42218 (SATA, Verbose)' {
    menuentry 'Tiny Core Image Build' {
    tc@box:~$
    ------------
    沒問題啊
    是不是有當中的source code 給"牆"了?
     
  4. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
    机器接网线的 整个网络都能上网 请问你说的上网是什么意思 这个机器接在无线路由器上吗

    [​IMG]
     
    最后编辑: 2022-02-12
  5. Rebutia

    Rebutia New Member

    注册:
    2019-04-26
    帖子:
    23
  6. Rebutia

    Rebutia New Member

    注册:
    2019-04-26
    帖子:
    23
    tc@box:~$ mkdir temp
    tc@box:~$ cd temp
    tc@box:~/temp$ ls -al
    total 0
    drwxr-sr-x 2 tc staff 40 Feb 12 08:21 ./
    drwxr-s--- 9 tc staff 560 Feb 12 08:21 ../
    tc@box:~/temp$ wget https://raw.githubusercontent.com/pocopico/tinycore-redpill/main/rploader.sh
    Connecting to raw.githubusercontent.com (185.199.111.133:443)
    saving to 'rploader.sh'
    rploader.sh 100% |*********************************************************************************************************************************************************************************************| 34969 0:00:00 ETA
    'rploader.sh' saved
    tc@box:~/temp$

    可以運行這些命令嗎?
     
  7. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
  8. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
    中国电信的网络 为什么打不开这个网站 我怎么办啊
     
  9. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
    我复制过来的
    XPEnology pcopico发布了Tinycore编译引导工具,大大降低了自己编译引导难度,只需要几个简单的命令就能在p大神的驱动库自动匹配驱动自动生成7.0引导.

    下载地址https://github.com/pocopico/tiny ... dpill.v0.4.4.img.gz

    1.解压把img文件烧录到U盘(主板修改为legacy mode,uefi暂时不支持,如果主板只支持uefi需要自己添加,添加方法有需要的话再讲)

    2.u盘启动,会进入core界面,打开终端,输入sudo -i 获取root权限,首次使用输入# passwd tc 修改密码

    输入# ./rploader.sh update now 并回答 y 更新一下

    3. ipconfig查看当前ip ,然后使用winscp ssh到群晖主机 修改user_config.json 添加自己的PID VID SN MAC

    4.使用putty或类似工具ssh到主机,账号tc 密码是之前设置的

    5. putty输入sudo ./rploader.sh satamap now

    6.输入sudo ./rploader.sh backup now

    7.a .ds3615输入sudo ./rploader.sh build bromolow-7.0.1-42218

    b.ds918 sudo ./rploader.sh build apollolake-7.0.1-42218

    引导生成完成

    8.reboot。
     
  10. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
    请问 是不是需要两台电脑 u盘插在第一台电脑 打开第二台电脑用winscp ssh登陆