Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bsp/ESP/ESP32_C3/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ def elf2image(target, source, env):
print("Creating esp32c3 image...")

image = CHIP_DEFS["esp32c3"].BOOTLOADER_IMAGE()
image.min_rev = 3
image.min_rev = 0
image.min_rev_full = 3
image.max_rev_full = 199

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] 扩大修订范围前需要提供真正兼容 v1.1 的 bootloader

本 PR 的 bootloader.bin 仍包含版本字符串 v5.0-dev-5148-g259c1776e9-dirty。与基线逐字节比较,除镜像头偏移 14/15/17/18 和末尾 32 字节摘要外,代码完全未变。Espressif 的 AR2024-009 兼容性公告 明确指出 v1.1 调整了 ROM 函数地址,旧 IDF 固件必须升级并重新编译;5.0 分支最低要求为 v5.0.5。设置 max_rev_full=199 并重算摘要只放宽版本检查,无法修复这些 ROM 调用,在目标 v1.1 芯片上仍可能启动失败或异常。请基于支持 v1.1 的 IDF 重建预置 bootloader,保留可复现的版本/config/构建说明,并核对应用所用 IDF 包及 ROM 链接文件;再补充 v1.1 与原有修订芯片的启动验证。

image.entrypoint = e.entrypoint
image.flash_mode = 2 # flash_mode: dio

Expand Down
Binary file modified bsp/ESP/ESP32_C3/builtin_imgs/bootloader.bin
Binary file not shown.
Loading