安装编译模块 sudo apt-get update sudo apt install docker.io sudo apt install jq sudo apt install curl sudo apt install device-tree-compiler sudo apt-get install bsdiff 下载源码 git clone https://github.com/tossp/redpill-tool-chain.git 授权目录 sudo chmod -R 777 redpill-tool-chain 进入目录 cd redpill-tool-chain 生成SN和MAC sudo ./redpill_tool_chain.sh sn ds3622xsp 复制ds3622xsp_user_config.json并修改SN和MAC sudo cp sample_user_config.json ds3622xsp_user_config.json 添加扩展驱动 sudo ./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/3w-sas/rpext-index.json sudo ./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/8139cp/rpext-index.json sudo ./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/aacraid/rpext-index.json sudo ./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json 编译镜像名称 sudo ./redpill_tool_chain.sh build ds3622xsp-7.0.1-42218 编译 sudo ./redpill_tool_chain.sh auto ds3622xsp-7.0.1-42218 如果从新编译 清除 sudo ./redpill_tool_chain.sh clean all 删除 sudo rm -rf custom/extensions/thethorgroup.boot-wait