Skip to content

feat(copy_to_tftp): 添加配置文件系统和摘要信息显示#59

Merged
Charliechen114514 merged 1 commit into
mainfrom
feat/update_tftp_copy
Jun 8, 2026
Merged

feat(copy_to_tftp): 添加配置文件系统和摘要信息显示#59
Charliechen114514 merged 1 commit into
mainfrom
feat/update_tftp_copy

Conversation

@Charliechen114514

Copy link
Copy Markdown
Member

脚本增强:

  • 支持通过 .conf 配置文件管理路径
  • 新增多板子配置支持 (tftp-.conf)
  • 默认从 out/release-latest 获取预编译文件
  • 复制后显示内核版本、设备树信息和文件大小
  • 新增 --config, --list-configs, --rootfs, --uboot 参数

新增文件:

  • scripts/server_helper/tftp.conf.example (配置模板)
  • scripts/server_helper/tftp-imx6ull-aes.conf (默认配置,Release-all编译的产物)

文档更新:

  • 更新 copy_to_tftp.sh.md 反映新功能
  • 在 document/scripts/index.md 添加链接

使用方式:
./scripts/server_helper/copy_to_tftp.sh # 使用默认配置, 默认的情况下会直接找Release-all编译的产物
./scripts/server_helper/copy_to_tftp.sh --list-configs # 列出可用配置
BOARD_NAME=imx6ull-aes ./scripts/server_helper/copy_to_tftp.sh

这个PR是额外关联的 #58 的工作任务

脚本增强:
- 支持通过 .conf 配置文件管理路径
- 新增多板子配置支持 (tftp-<BOARD>.conf)
- 默认从 out/release-latest 获取预编译文件
- 复制后显示内核版本、设备树信息和文件大小
- 新增 --config, --list-configs, --rootfs, --uboot 参数

新增文件:
- scripts/server_helper/tftp.conf.example (配置模板)
- scripts/server_helper/tftp-imx6ull-aes.conf (默认配置)

文档更新:
- 更新 copy_to_tftp.sh.md 反映新功能
- 在 document/scripts/index.md 添加链接

使用方式:
  ./scripts/server_helper/copy_to_tftp.sh          # 使用默认配置
  ./scripts/server_helper/copy_to_tftp.sh --list-configs  # 列出可用配置
  BOARD_NAME=imx6ull-aes ./scripts/server_helper/copy_to_tftp.sh
@Charliechen114514 Charliechen114514 merged commit a19a078 into main Jun 8, 2026
16 checks passed
@Charliechen114514 Charliechen114514 deleted the feat/update_tftp_copy branch June 8, 2026 11:17
@Charliechen114514 Charliechen114514 linked an issue Jun 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sub-tasks: tftp脚本更新

1 participant