Skip to content

Add board-specific U-Boot load address configuration to ostool-server#109

Merged
ZR233 merged 1 commit into
mainfrom
load-address
May 22, 2026
Merged

Add board-specific U-Boot load address configuration to ostool-server#109
ZR233 merged 1 commit into
mainfrom
load-address

Conversation

@bullhh
Copy link
Copy Markdown
Contributor

@bullhh bullhh commented May 22, 2026

概要

为 ostool-server 增加开发板级 U-Boot 加载地址配置。

管理员现在可以在开发板编辑页面配置:

kernel_load_addr
fit_load_addr
bootm_addr

如果服务端未配置这些字段,则保持现有 U-Boot 流程不变。如果本地 .board.toml 写了同名字段,则本地配置仍然优先覆盖服务端网页配置。

改动内容

  • 扩展 ostool-server 的 U-Boot board profile,增加可选地址字段。
  • 在 admin board API 中支持新字段的 normalize、保存和返回。
  • 在 /admin/boards 页面增加地址输入项。
  • 扩展 ostool board server client,解析服务端返回的新字段。
  • 在远端 U-Boot runner 中把服务端地址作为 runtime fallback 使用。
  • TFTP/DHCP 启动命令和串口 loady fallback 都支持配置后的 bootm 地址。
  • 增加/更新 API normalize、配置解析、Web UI payload、U-Boot 命令生成相关测试。

@ZR233 ZR233 merged commit 93db64f into main May 22, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request May 22, 2026
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.

2 participants