Redpill_CustomBuild icon indicating copy to clipboard operation
Redpill_CustomBuild copied to clipboard

Redpill 定制化编译,自定义配置及驱动并通过 Github Action 编译 DSM redpill 引导的平台. 理论上与本地编并无区别, 优点只是不需要linux基础.而且编译速度快., 适合没有linux基础和需要反复替换驱动的人使用.

Redpill_CustomBuild

介绍

Redpill_CustomBuild

说明

方式一:
在本项目 Issues 中创建问题,按需填写即可发起定制构建。
【👉快速创建】 如果没有json基础或者首次,建议使用。
【👉快速创建】(dev) 增加DS918+的7.1.1(自行测试),修复部分驱动。
【👉图文说明】
【👉参考示例】
【👉驱动列表】 如果报 Checksum 错, 请尝试使用(dev)模式, (dev)模式默认使用我修复的库。
【👉JSON检测】
【👉问题反馈】

感谢 hoping 大佬制作的 UI界面

  1. 构建成功 Issues 会自动 closed。
  2. 构建失败 后请调整参数重新创建Issues发起重新构建, 或者修改body后 Close Issue + Reopen 重新触发。(触发编译:open, reopen)。
  3. ext 存在兼容性问题, 添加时请与型号和版本对应, 并酌情添加 (不恰当的例子:r8125 不支持 DS920+ 的 7.0.1-42218 版本, 添加会编译失败)
  4. 再次构建,直接 reopen 会再次触发构建。
  5. 打上 'schedule' 标签 将会每日构建(通过Reopen的方式, 因此如果构建失败Issues没有Closed 将终止).
  6. 根据github官方说明所有的编译结果保留90天,周知。
  7. 如果没有魔法,附件下载不下来,请参考 https://github.com/wjz304/hosts 设置hosts。
  8. 必读!!!
  9. 需要一个群吗?QQ群:21609194 TG:https://t.me/Redpill_CustomBuild
    (PS: 如有疑问请私信我吧, 在Issues上评论我可能看不到, 邮件太多了, 一天几千封邮件根本看不过来, 只能偶尔看下失败的Issues.)

方式二:
fork 本项目 通过 Actions 填写相关参数进行构建。

title:

标题请以 custom 开头(不区分大小写),且不要包含'(单引号),"(双引号) 等转义字符。

  • eg:
    • custom 918
    • Custom test
    • CUSTOM Ing 定制

body:

内容 以json格式编写 ( 切记符号为英文符号,json check)

参数 必选 默认值 说明
platform "DS918+" 选择你需要编译的型号. "DS918+", "DS920+", "DS1621+", "DS3615xs", "DS3617xs", "DS3622xs+", "DVA1622", "DVA3221"
version "7.1.0-42661" 选择你需要编译的版本. "7.1.1-42951", "7.1.0-42661", "7.0.1-42218", "6.2.4-25556"
config × - 更新 user_config.json 参数 [①] 参考#931
map × - 控制器盘数(SataPortMap)和盘序(DiskIdxMap)两个字段, 并以","间隔. eg: "0, 10"
dtb × - dtb文件下载URL(support ext: .dts,.dtb,.tar.gz,.zip) #47
sn × - 序列号. 默认根据型号随机生成. eg: "1980PDN002189"
mac × - MAC地址. 多个请以 "," 间隔. 默认根据型号随机生成. eg: "001132888A95, 001132888A96"
usb × "0x0001, 0x46f4" 设备识别码(pid)和供应商ID(vid)[格式: pid, vid]. 默认无. eg: "0xa4a5, 0x0525"
ext × - 多个请以 "," 间隔. 支持名字(pocopico库)或者链接,名字参考rp-ext. eg: "r8125, tg3", 链接参考#753
exp × "pocopico" 编译依赖的基础库. "pocopico", "jumkey" (大佬的抉择,7.1 优先选 pocopico, 7.0-jun 优先选 jumkey)
jun × "0" 仅7.0.1-42218 版本可以选择jun模式,jun模式 支持 7.0.1~7.1.1 的 DSM。
*①: 格式 json, key会更新到默认的user_config.json中, 因此请谨慎编写.
   - 比如 想修改 maxlanport, 需要填写完整的 synoinfo 属性, 当仅填写 {"synoinfo": {"maxlanport": "8"}} 时, 将更新 synoinfo 为只有 maxlanport, 原有 internalportcfg 将会丢失。

  • eg:
    • {"platform":"DS3622xs+", "version":"7.0.1-42218", "jun":"1", "ext":"r8125, tg3"}
    • {"platform":"DS3622xs+", "map":"1, 10", "usb":"0xa4a5, 0x0525"}
    • {"platform":"DS3622xs+", "version":"7.1.0-42661", "sn":"1980PDN002189", "mac":"001132888A95", "ext":"r8125"}
    • {"platform":"DS3622xs+", "version":"7.0.1-42218", "jun":"1", "mac":"001132888A95, 001132888A96", "ext":"r8125, tg3"}
    • {"platform":"DS920+", "version":"7.0.1-42218", "dtb": "https://github.com/wjz304/Redpill_CustomBuild/files/9235785/ds920p.zip", "ext":"r8125"}
    • {
      "platform":"DS3622xs+",
      "version":"7.0.1-42218",
      "jun":"1",
      "exp": "jumkey",
      "mac":"001132888A95, 001132888A96, 001132888A97",
      "ext":"r8125, r8168, e1000e, igb, vmxnet3, ixgbe"
      }
    • {
      "platform":"DS3622xs+",
      "version":"7.1.1-42951",
      "ext":"r8125, e1000, e1000e, vmxnet3, https://raw.githubusercontent.com/wjz304/rp-ext/main/rtl8150/rpext-index.json"
      }
    • { "platform":"DS3622xs+", "version":"7.0.1-42218", "config":{"synoinfo": {"maxlanport": "4","esataportcfg": "0xfffc","internalportcfg": "0x3","maxdisks": "16"}}, "ext":"r8125, e1000, e1000e, vmxnet3" }

body 高级自定义:

"由于权限太高, 防止有些人执行非法操作, 仅仓库作者可操作, 请联系该仓库管理员或者fork到自己名下操作."
请在 body 中 以 ``` ``` 包裹自定义的 shell 命令, 将在 build 前运行. 参考#3
eg:

  • ```
    ./ext-manager.sh add https://raw.githubusercontent.com/xxx/yyy/main/redpill-acpid/rpext-index.json
    ```

  • ```
    echo "just so so ..."
    ```

鸣谢

https://github.com/RedPill-TTG/redpill-load
https://github.com/jumkey/redpill-load
https://github.com/pocopico/redpill-load
https://github.com/Online24Hours/Redpill_Build