参考文章:
https://wp.gxnas.com/11358.html
http://www.gebi1.com/forum.php?mod=viewthread&tid=299889&ordertype=1
https://gitee.com/ronggq/redpill-tool-chain
访问 https://github.com/tossp/redpill-tool-chain下载tossp大神的RedPill引导一键编译源代码仓库
redpill_tool_chain.sh需要先安装jq工具
yum -y install epel-release
yum install jq.x86_64
编译DS918+的引导,必须要用这个文件名
cp sample_user_config.json ds918p_user_config.json
修改上面json文件的pid、vid、sn、mac
浏览器访问【 pocopico大神的扩展驱动源代码仓库】
添加megaraid_sas、mpt3sas、ixgbe
找到3个驱动的url
./redpill_tool_chain add https://raw.githubusercontent.com/pocopico/rp-ext/main/ixgbe/rpext-index.json
./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/main/megaraid_sas/rpext-index.json
./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/main/mpt3sas/rpext-index.json
编译需要先安装docker,否则报错
不要用yum直接安装docker,版本太低,需要用阿里的epel源
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo Loaded plugins: fastestmirror, product-id, subscription-manager
sudo yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
编译 ds918
./redpill_tool_chain.sh auto ds918p_user_config.json
构建工具链镜像
-
./redpill_tool_chain.sh build ds3615xs-6.2.4-25556
-
./redpill_tool_chain.sh build ds918p-7.0.1-42218
制作 redpill 引导镜像
-
./redpill_tool_chain.sh auto ds3615xs-6.2.4-25556
-
./redpill_tool_chain.sh auto ds918p-7.0.1-42218