排行榜 统计
  • 文章总数:250 篇
  • 评论总数:0 条
  • 分类总数:13 个
  • 最后更新:4天前
原创群晖

黑群晖引导Yet Another Jun's Mod编译 支持DSM7.1.1

本文阅读 3 分钟
首页 群晖 正文

群晖更新DSM7.1.0-42661 Update2版本,RedPill引导的黑群晖升级后基本都挂了。。。

根据XPE论坛的反馈Yet Another Jun's Mod引导支持正常升级,我编译测试升级没啥问题。。。

简单的写写哦。。。可以参考前面我写的DSM7.1编译过程,注意:此次编译的是7.0.1引导支持升级的,不需要去折腾编译7.1

【原创】RedPill黑群晖DSM7.1.0-42661引导编译过程

######建议使用Jun模式编译的引导,支持系统升级:https://imnks.com/5722.html 以下教程已过时!!!仅作为存档参考! 以下教程已过时!!!仅作为存档....

建议自行看教程编译,按需添加驱动!!!Jun模式启动比较慢,等网口灯亮再去搜索安装系统。

编译DS918+引导

apt-get install curl bspatch jq git
git clone https://github.com/jumkey/redpill-load

解压redpill-4.4.180plus.tgz改名redpill-linux-v4.4.180+.ko上传到/root/redpill-load/ext/rp-lkm目录

上传ds918p_42218.pat到/root/redpill-load/cache目录

上传user_config-ds918.json到/root/redpill-load目录,写法参考:https://imnks.com/5081.html

编译举例:(你可以自己搞DS918+、DS920+、DS1621+、DS2422+、DS3615xs、DS3617xs、DS3622xs+)

自定义驱动来源:https://github.com/pocopico/rp-ext

cd /root/redpill-load
#增加支持DSM7.1
./ext-manager.sh add 'https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json'
#增加自定义驱动(自行增减)
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8152/rpext-index.json
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json
#增加物理黑群晖电源键修复
./ext-manager.sh add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json
#增加自定义虚拟机网卡驱动(自行增减)
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
./ext-manager.sh add https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json
#增加自定义SAS卡驱动(自行增减)
./ext-manager.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt2sas/rpext-index.json
#开始编译
BRP_JUN_MOD=1 BRP_DEBUG=1 BRP_USER_CFG=user_config-ds918.json ./build-loader.sh 'DS918+' '7.0.1-42218'

测试系统升级OK

编译完成的DSM7.0.1引导目前测试支持升级DSM7.1以及新出的Update3

2628554323.png

万由NS202适配引导,2022.7.26更新

1、物理机引导,测试OK
YAJM-DS918+_7.0.1-42218_r8125+r8152+acpid2+4lan-0726.img

2、虚拟机引导,未测试
YAJM-DS918+_7.0.1-42218_r8125+r8152+e1000e+e1000+vmnet3-0726.img

温馨提示:登录后可阅读隐藏的内容。 登录可见

PS:正常来说,DSM7的引导不通用,需要按照自己的机器网卡型号、数量+各种扩展卡驱动,尽量自己编译不要太懒了。。。

现在引导编译非常简单,唯一有困难的可能是github访问需要梯子,这个你得自己想办法路由器FQ或者搞个香港VPS折腾。。。

关于eSATA参数的集成

DSM7后引导系统启动过程会被重新初始化覆盖synoinfo.conf,所以需要在编译引导过程添加eSATA的参数。

(下面图片来自第一纳斯网)

3200534633.png

user_config-ds918.json中添加esataportcfg、internalportcfg、maxdisks三个参数

举例 3-12盘为eSATA1、1和2盘为SATA:参数就是0xfffc、0x3,最大16盘(一般就16不要改)

{
  "extra_cmdline": {
    "vid": "0x090C",
    "pid": "0x2000",
    "sn": "2010PDN860100",
    "mac1": "001132C5B34F",
    "mac2": "001132C5B350",
    "netif_num": "2"
  },
"synoinfo": {
    "maxlanport": "4",
    "esataportcfg": "0xfffc",
    "internalportcfg": "0x3",
    "maxdisks": "16"
},
    "ramdisk_copy": {}
}

编译完成后即可支持eSATA盘位直接使用,无需再去修改rd.gz(现在此文件好像无法再直接解压修改的。。。)

原创文章,作者:我不是矿神,本文章内容未经书面许可禁止一切形式的转载:https://imnks.com/5722.html
群晖套件:Roon音乐播放管理系统1.8.1126 支持DSM6、7
« 上一篇 05-30
NAS迅雷套件正式上架威联通AppCenter!
下一篇 » 06-16
人生是一场孤独的旅行