一开始redpill-lkm和redpill-load源码都没下载成功.......... 先安装编译时ubuntu linux所需模: 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 先生成DS918的SN和MAC sudo ./redpill_tool_chain.sh sn ds918p 复制sample_user_config.json为ds918p_user_config.json 把SN和MAC填进ds918p_user_config.json里 添加扩展驱动: 虚拟机 sudo ./redpill_tool_chain.sh add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json 电源 sudo ./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-acpid/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 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json 编译镜像名称: sudo ./redpill_tool_chain.sh build ds918p-7.1.0-42661 编译: sudo ./redpill_tool_chain.sh auto ds918p-7.1.0-42661 清除编译环境: sudo ./redpill_tool_chain.sh clean ds918p-7.1.0-42661