扫描二维码关注官方公众号
返回列表 发布新帖

[讨论/分享] 920+引导编译教程 小白也能编译

评论47

CCKLv.10 发表于 2022-4-19 15:08:44 | 显示全部楼层
mxj666 发表于 2022-4-19 13:00
咨询一下,你的引导文件是什么版本的,我下载的0.4.6运行sudo ./rploader.sh fullupgrade now不行,没有ful ...

你下载的没有这个命令,可能是下了国内大神的优化版本,下载原版的就好。
源地址:https://github.com/pocopico/tinycore-redpill
回复 点赞

使用道具 举报

nb12nb34楼主Lv.7互助团队 发表于 2022-4-19 15:50:56 来自手机 | 显示全部楼层
kennyhn 发表于 2022-4-17 23:03
我编译了一下
我的是蜗牛星际
输入lspci -tnnvq

不知道是用虚拟机还是实体机编译,虚拟机的话,会默认屏蔽第一个硬盘,建议实体机再次编译,应该没问题!不过也可以考虑tossp大神的在线编译,这个要简单的多,直接上传自己的dtb文件,编译的时候改下链接,3分钟编译好了!
回复 点赞

使用道具 举报

kennyhnLv.2 发表于 2022-4-19 19:25:10 | 显示全部楼层
nb12nb34 发表于 2022-4-19 15:50
不知道是用虚拟机还是实体机编译,虚拟机的话,会默认屏蔽第一个硬盘,建议实体机再次编译,应该没问题! ...

我是直接蜗牛星际实体机编译的
你说的tossp那个是什么网址
麻烦发一下 谢谢
还有 自己的dtb文件怎么来的呢?
感谢
回复 点赞

使用道具 举报

nb12nb34楼主Lv.7互助团队 发表于 2022-4-19 19:55:17 来自手机 | 显示全部楼层
kennyhn 发表于 2022-4-19 19:25
我是直接蜗牛星际实体机编译的
你说的tossp那个是什么网址
麻烦发一下 谢谢

dtb文件可以用poco的引导直接生成,不过生成的可能不对,一般都是硬盘数量和自己的对不上,但是pciroot地址是对的,然后自己对照修改就行了,tossp可以在github搜索就行了tossp然后fork到自己仓库,修改后自己编译就行了!
回复 点赞

使用道具 举报

mxj666Lv.5 发表于 2022-4-20 08:10:41 | 显示全部楼层
CCK 发表于 2022-4-19 15:08
你下载的没有这个命令,可能是下了国内大神的优化版本,下载原版的就好。
源地址:https://github.com/po ...

是不是因为我没有tizi的原因,我下的就是这个版本的,怎么都不成功,第一个命令update都不成功
回复 点赞

使用道具 举报

mxj666Lv.5 发表于 2022-4-20 12:19:41 | 显示全部楼层
本帖最后由 mxj666 于 2022-4-20 13:07 编辑

D:\360安全浏览器下载\20220420115543.png
我这个是什么原因,是不是因为没有tizi
20220420115543.png
回复 点赞

使用道具 举报

zorgzolaLv.10 发表于 2022-4-20 17:25:26 | 显示全部楼层
mxj666 发表于 2022-4-20 12:19
我这个是什么原因,是不是因为没有tizi

这个样子就是你说的那种了。
回复 点赞

使用道具 举报

likeme@2Lv.6 发表于 2022-4-20 18:22:31 | 显示全部楼层
mxj666 发表于 2022-4-19 13:00
咨询一下,你的引导文件是什么版本的,我下载的0.4.6运行sudo ./rploader.sh fullupgrade now不行,没有ful ...

0.4.6里面的rploader.sh是旧版本的。
你先 sudo ./rploader.sh update now
之后 sudo ./rploader.sh fullupgrade now

我的难题一直是TI子
回复 点赞

使用道具 举报

mxj666Lv.5 发表于 2022-4-21 08:41:17 来自手机 | 显示全部楼层
CCK 发表于 2022-4-19 15:08
你下载的没有这个命令,可能是下了国内大神的优化版本,下载原版的就好。
源地址:https://github.com/po ...

我用这个链接都下载不了,是不是因为没有tizi
回复 点赞

使用道具 举报

likeme@2Lv.6 发表于 2022-4-21 12:18:14 | 显示全部楼层
nb12nb34 发表于 2022-4-13 20:57
我就是用虚拟机编译的,硬盘设置要用sata,然后步骤就是按照我写的方法编译就行了
前提是你的网络要可以 ...

我虚拟机编译DS920集成了 vmxnet3 的驱动。然后VM的网卡也设置了vmxnet3,但是启动总是找不到DSM(就是无法获取到IP)。
你是怎么弄的呢?
回复 点赞

使用道具 举报

nb12nb34楼主Lv.7互助团队 发表于 2022-4-21 13:10:40 | 显示全部楼层
likeme@2 发表于 2022-4-21 12:18
我虚拟机编译DS920集成了 vmxnet3 的驱动。然后VM的网卡也设置了vmxnet3,但是启动总是找不到DSM(就是无 ...

不知道你的用哪个虚拟机,vm的话直接修改网卡为e1000e,然后就可以找到了
回复 点赞

使用道具 举报

likeme@2Lv.6 发表于 2022-4-21 15:48:16 | 显示全部楼层
nb12nb34 发表于 2022-4-21 13:10
不知道你的用哪个虚拟机,vm的话直接修改网卡为e1000e,然后就可以找到了

我使用 VMware Workstation Pro 16。
基本上 DS3622 DS918都能得到IP。实在是搞不懂。
也可能是我编译的哪里出了问题。你能否给我你使用正常的 VMDK (引导盘就可以)?
vmx文件也一起吧。我就想确定一下哪里出了问题。
谢谢。
回复 点赞

使用道具 举报

nb12nb34楼主Lv.7互助团队 发表于 2022-4-21 16:05:42 | 显示全部楼层
likeme@2 发表于 2022-4-21 15:48
我使用 VMware Workstation Pro 16。
基本上 DS3622 DS918都能得到IP。实在是搞不懂。
也可能是我编译的 ...

直接用tossp大神的 在线编译吧。。https://github.com/tossp/redpill-tool-chain 这个要方便的多
回复 点赞

使用道具 举报

liyuqingVIPLv.3 发表于 2022-4-22 01:17:16 | 显示全部楼层
编译成功了找不到硬盘
回复 点赞

使用道具 举报

likeme@2Lv.6 发表于 2022-4-22 10:17:56 | 显示全部楼层
nb12nb34 发表于 2022-4-21 16:05
直接用tossp大神的 在线编译吧。。https://github.com/tossp/redpill-tool-chain 这个要方便的多 ...

我已经搞定。
可能是BUG(没找到具体bug点),在只集成VMXNET3而没有E1000E的情况下,不管是VMXNET3还是E1000E都无法找到设备。

最终确定是在我的环境里 针对DS920+ 的 VMXNET3 驱动有BUG
回复 点赞

使用道具 举报

pfqcklLv.5 发表于 2022-4-23 11:33:10 | 显示全部楼层
liyuqing 发表于 2022-4-22 01:17
编译成功了找不到硬盘

和我一样,4个硬盘,只能找到2块
回复 点赞

使用道具 举报

ghxwzbcLv.6 发表于 2022-4-24 19:41:14 | 显示全部楼层
楼主能帮忙看看怎么调吗?我编译通过了,但启动后找不到硬盘
硬件信息是:
tc@box:~$ lspci -tnnvq
-[0000:00]-+-00.0  Intel Corporation Skylake Host Bridge/DRAM Registers [8086:191f]
           +-02.0  Intel Corporation HD Graphics 530 [8086:1912]
           +-14.0  Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f]
           +-16.0  Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a]
           +-17.0  Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102]
           +-1c.0-[01]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           +-1d.0-[02]----00.0  Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166]
           +-1f.0  Intel Corporation Sunrise Point-H LPC Controller [8086:a143]
           +-1f.2  Intel Corporation Sunrise Point-H PMC [8086:a121]
           +-1f.3  Intel Corporation Sunrise Point-H HD Audio [8086:a170]
           \-1f.4  Intel Corporation Sunrise Point-H SMBus [8086:a123]
我自己的dts文件里是这样调的
internal_slot@1 {
                protocol_type = "sata";
                power_pin_gpio = <0x14 0x0>;
                detect_pin_gpio = <0x23 0x1>;
                led_type = "lp3943";

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

                led_green {
                        led_name = "syno_led0";
                };

                led_orange {
                        led_name = "syno_led1";
                };
        };
回复 点赞

使用道具 举报

nb12nb34楼主Lv.7互助团队 发表于 2022-4-24 20:22:44 | 显示全部楼层
ghxwzbc 发表于 2022-4-24 19:41
楼主能帮忙看看怎么调吗?我编译通过了,但启动后找不到硬盘
硬件信息是:
tc@box:~$ lspci -tnnvq

pcie_root = "00:17.0";试试看看
回复 点赞

使用道具 举报

ghxwzbcLv.6 发表于 2022-4-24 22:08:11 | 显示全部楼层
nb12nb34 发表于 2022-4-24 20:22
pcie_root = "00:17.0";试试看看

把后面的00.0去掉对吗?
回复 点赞

使用道具 举报

6094194订阅40℃Lv.3 发表于 2022-4-24 22:35:59 来自手机 | 显示全部楼层
你好,我也是用tinycore-redpill 编译工具编译的,但是编译之后提示Pat file  sha256sum is : a8cd788e901de75f6113c1f6177a25b1b6517c4199f988e1066076cb9747fb69
Checking config file existence -> No config file found, please use the proper repo, clean and download again


不知道是什么问题,,大神能帮看看嘛?


tc@box:~$ sudo ./rploader.sh build broadwellnk-7.1.0-42661
ln: failed to create symbolic link '/home/tc/custom-module/auxfiles': Operation not permitted
Rploader Version : 0.7.0.5
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/dogodefi/redpill-lkm.git : Redpill module branch : develop
Extensions :   redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects ... .0.dev.txz/download
TOOLKIT_SHA : 0d9edca67d9e7e14c2529bbb58341b623936124d5264f71f1e4acbacf3ea202d
SYNOKERNEL_URL : https://sourceforge.net/projects ... -4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be
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/sda3/auxfiles
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
fatal: not a git repository (or any of the parent directories): .git
No extra build option 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.co ... lus-broadwellnk.tgz
Extracting module
Getting file https://raw.githubusercontent.co ... rc/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 IDE Controller : pciid 8086d00007111  Required Extension :
No matching extension
parse error: Expected another key-value pair at line 1209, column 3
Found VGA Controller : pciid 15add00000405  Required Extension : vmwgfx
Searching for matching extension for vmwgfx
parse error: Expected another key-value pair at line 1209, column 3
Found SCSI Controller : pciid 1000d00000030  Required Extension : mptspi
Searching for matching extension for mptspi
parse error: Expected another key-value pair at line 1209, column 3
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.co ... rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.co ... 0e/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
[-] https://raw.githubusercontent.co ... 0e/rpext-index.json
[-] rpext-index.json
[-] json
[-] https://ghproxy.llm-y2k.workers. ... 0e/rpext-index.json
-=O=-      #   #     #    #                                                   

[!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/pocopico.e1000e/pocopico.e1000e.json). For more info use "ext-manager.sh info pocopico.e1000e"

*** Process will exit ***
Found Ethernet Interface : pciid 8086d0000100f Required Extension : e1000
Searching for matching extension for e1000
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json"
Found SATA Controller : pciid 15add000007e0  Required Extension :
No matching extension
------------------------------------------------------------------------------------------------
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
Found build request for revision greater than 42218
Found extractor locally cached
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tool is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/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 /tmp/pat
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information 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 : a8cd788e901de75f6113c1f6177a25b1b6517c4199f988e1066076cb9747fb69
Checking config file existence -> No config file found, please use the proper repo, clean and download again
这究竟是啥问题
回复 点赞

使用道具 举报

回复

懒得打字嘛,点击右侧快捷回复 【本站酷狼4T,750元】
您需要登录后才可以回帖 登录 | 注册

本版积分规则

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表