build(dlcvcam): boot.img 一键打包与 sidecar 校验 - #15
Closed
ymxc152 wants to merge 3 commits into
Closed
Conversation
- build_bootimg.sh:配置/编译/打包命名镜像 + 自动 bump - scripts/dlcvcam_verify_bootimg.py:整包 SHA 与 FIT 内嵌 hash - 手册:编包与烧录前校验;防砖改外链 u-boot / CamOS Admin - gitignore:本地 bad_packages 与镜像 sidecar boot-try 用户态与 recovery sync 不在本仓(见 u-boot tools/dlcvcam、Admin)。 Co-Authored-By: Claude <noreply@anthropic.com>
ymxc152
force-pushed
the
feat/dlcvcam-recovery-golden-boot
branch
from
August 4, 2026 02:02
4f7ee08 to
834ee25
Compare
Co-Authored-By: Claude <noreply@anthropic.com>
交付物收敛为 boot.img / boot-rk3576-*.img 与整包 .sha256。 FIT 内嵌 hash 仍由 verify 检查;JSON 清单不再生成。
ymxc152
pushed a commit
that referenced
this pull request
Aug 7, 2026
以 feat/dlcvcam-recovery-golden-boot 为编包/校验权威口径: 仅交付 boot.img + .sha256,去掉 .dlcvcam.json;补齐 .gitignore 与手册 §4。 冲突文件 build_bootimg.sh、scripts/dlcvcam_verify_bootimg.py 采用 #15 版本。
Author
|
已并入 #14(
请继续在 #14 评审与合并,本 PR 关闭以免重复合入。 |
ymxc152
added a commit
that referenced
this pull request
Aug 10, 2026
以 feat/dlcvcam-recovery-golden-boot 为编包/校验权威口径: 仅交付 boot.img + .sha256,去掉 .dlcvcam.json;补齐 .gitignore 与手册 §4。 冲突文件 build_bootimg.sh、scripts/dlcvcam_verify_bootimg.py 采用 #15 版本。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
RK3576 DLCVCAM 日常需要可重复的 boot.img(FIT) 出包流程,并在上传/烧录前做 hash 完整性检查(无签名)。
本 PR 只提供内核树内的编包与校验工具 + 手册。
防砖启动逻辑不在本仓:
fit.ctools/dlcvcam/改动
build_bootimg.shboot.img→ 命名交付镜像;自动 bumpDLCVCAM_BUILD_VERSIONscripts/dlcvcam_verify_bootimg.pygen-sidecar/verify(整包 SHA + FIT 内嵌 hash)DLCVCAM内核编译与更新操作手册.md.gitignore/bad_packages/、*.img.sha256、legacy*.img.dlcvcam.json、/boot-rk3576-*.img交付物
仅镜像 + 整包 hash(不再生成
.dlcvcam.json):<img>.sha256用法
明确不包含(已迁出)
dlcvcam_boot_try.py/ confirm systemd → u-boottools/dlcvcam/+ Admin 安装dlcvcam_sync_boot_to_recovery.sh→ CamOS Admin.c/DTS/Kconfig 改动.dlcvcam.json清单(已去掉,避免与 FIT 内嵌 hash 重复)相关
feat/admin-kernel-updateChecklist
.sha256sidecar + verify(整包 + FIT)