From af91d557997f4505cbe5bcb3958614c154f5bae7 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Mon, 13 Jul 2026 22:32:28 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index ae21766..fd7598f 100644 --- a/README.md +++ b/README.md @@ -164,22 +164,25 @@ files/etc/uci-defaults/99-sshd-root-login 这个机制适合放置默认配置、初始化脚本、SSH 配置、LuCI 配置等文件。 - ## 关于开发 -如果需要增加新设备固件. 你可以用以下`提示词`和`材料`喂给AI -材料: +如果需要增加新设备固件. 你可以用以下`提示词`和`材料`喂给 AI + +#### 材料: + - 代码模板: 找项目其中一个构建脚本作为模板, 比如: x86-64.sh -- imm openwrt image builder 下载地址 +- ImmortalWrt image builder 下载地址: 其中下载地址可以在[https://downloads.immortalwrt.org/](https://downloads.immortalwrt.org/)找. 名字以x86-64为例,叫这个`immortalwrt-imagebuilder-25.12.1-x86-64.Linux-x86_64.tar.zst` +- 设备系统架构: 如果设备已安装了`openwrt`系统, 可以通过命令`cat /etc/os-release | grep ARCH`查找设备系统架构信息. - - -AI提示词: -``` -image builder 下载地址: xxxx - -目标设备: xxx - -我想构建xxx设备固件, 请你按这个代码模板编写代码. +#### AI 提示词: + +``` +image builder的下载地址: xxxx + +目标设备型号: xxx + +设备系统架构是: xxx + +我想构建xxx设备固件, 请你按这个代码模板编写代码. ```