rdkx5 Bootloader 固件烧录失败

报错信息:E[Burn thread-1][20:47:47] [ERROR] Uart xmodem download uart_usb/bl3x_all.bin failed

[Burn thread-1][20:47:47] [ERROR] Step ‘xmodem_boot’ failed

[Burn thread-1][20:47:47] [ERROR] Board-1, burn failed

[Burn thread-1][20:47:47] [ERROR] Board-1 [Storage: nand] Status: FAILED

Process terminated, exit code: 0

根据报错信息和社区类似案例,你的问题核心是:烧录工具识别的启动介质(eMMC)与镜像分区格式(NAND)不匹配。

:bullseye: 问题定位

现象 原因
报错 Uart xmodem download uart_usb/bl3x_all.bin failed BL2 加载后续镜像时失败
配置中选择 Emmc 存储介质 但镜像可能是 NAND 分区格式
实际板子启动模式识别错误 BOOT Strap 引脚配置问题

:wrench: 排查步骤

:one: 检查烧录配置

从你的截图看到:

  • 存储介质:选择的是 Emmc
  • 固件类型:secure
  • 下载模式:Xmodem+Fastboot

关键问题:你使用的镜像文件是 eMMC 版本还是 NAND 版本?

:two: 确认镜像类型

检查镜像目录 D:\edge\product_20251111 中的文件:

# 查看镜像包名称或文档说明
# eMMC 版本通常包含:emmc_disk.img 或 disk_emmc.img
# NAND 版本通常包含:nand_disk.img 或 disk_nand.img

:three: 检查板子启动模式

RDK X5 的启动模式由 BOOT Strap 引脚 决定:

启动模式 BOOT 引脚配置 说明
eMMC 启动 下拉(GND) 从 eMMC 加载
NAND 启动 浮空或上拉 从 NAND 加载

排查方法:

  1. 查看官方原理图中 BOOT 或 STRAP 相关网络
  2. 用万用表测量板子上 BOOT 引脚的实际电平
  3. 对比你的改版设计与官方原理图的差异

:four: 尝试解决方案

方案 A:使用正确的镜像

如果板子是 eMMC 启动 → 使用 eMMC 版本镜像
如果板子是 NAND 启动 → 使用 NAND 版本镜像

方案 B:修改烧录配置

在 Xburn 工具中:

  • 如果镜像是 NAND 版本,将 存储介质 改为 Nand
  • 如果镜像是 eMMC 版本,保持 Emmc 不变

方案 C:检查硬件连接

1. 确认串口连接稳定(COM5,波特率 115200)
2. 检查板子供电是否充足(5V/3A)
3. 确认板子已进入烧录模式(按住 Recovery 键上电)

需要你补充的信息

为了更精准定位,请回复:

  1. 镜像包的具体名称(从哪个 SDK 包解压的?)
  2. 板子类型:是官方 RDK X5 开发板,还是自研底板?
  3. 如果是自研底板:
    • 改了哪些部分?(eMMC 型号/DDR/电源?)
    • 是否有官方原理图对比?
  4. 完整报错日志:从烧录开始到结束的完整文字输出

:telephone_receiver: 官方支持渠道

如果是自研底板,这类硬件设计问题建议走官方支持:

硬件支持申请:https://horizonrobotics.feishu.cn/share/base/form/shrcnpxBa3PjdjFmtxZS3tBXw0e

:books: 相关参考

建议先确认镜像类型与板子启动模式是否匹配,这是最常见的问题根源。

eMMC 版本镜像可以去哪下载吗?

1 个赞

eMMC 版本的系统镜像在官方镜像站有提供,但需要注意镜像包结构和烧录方式:

:inbox_tray: eMMC 镜像下载路径

官方镜像站

https://archive.d-robotics.cc/downloads/os_images/rdk_x5/

最新版本:rdk_os_3.5.0-2026-4-9(2026-04-09 发布)

镜像包结构说明

进入版本目录后(如 rdk_os_3.5.0-2026-4-9/),你会看到:

  • SD 卡启动镜像:.img.xz 格式(用于 SD 卡启动)
  • eMMC 烧录包:通常在 emmc/ 或 flash/ 子目录中
  • 烧录工具:Xburn 或相关脚本

:magnifying_glass_tilted_left: 关键问题:你的烧录场景

根据你的报错和配置截图,问题可能不在"下载 eMMC 镜像",而是:

情况 1:使用官方 RDK X5 开发板

如果是官方板子:

  1. 默认就是 eMMC 启动,不需要特殊配置
  2. 直接使用官方提供的完整镜像包
  3. Xburn 工具中选择 Emmc 存储介质即可

情况 2:自研底板(更可能)

从你之前的描述看,你是参考官方原理图改版的板子,这时需要:

  1. 确认 BOOT 引脚配置

    • eMMC 启动:BOOT 引脚需要下拉(GND)
    • NAND 启动:BOOT 引脚浮空或上拉
  2. 镜像包匹配

    如果板子配置为 eMMC 启动 → 使用 eMMC 分区格式的镜像
    如果板子配置为 NAND 启动 → 使用 NAND 分区格式的镜像
    
  3. Xburn 配置

    • 存储介质:必须与板子实际启动模式一致
    • 你截图中选的是 Emmc,但报错显示在尝试下载 nand_disk.img

:hammer_and_wrench: 立即排查步骤

步骤 1:确认镜像包内容

检查你的镜像目录 D:\edge\product_20251111:

# 查看有哪些镜像文件
dir /b D:\edge\product_20251111

# 关键文件:
# - emmc_disk.img 或 disk_emmc.img → eMMC 版本
# - nand_disk.img 或 disk_nand.img → NAND 版本

步骤 2:检查板子启动模式

# 如果有串口输出,上电后查看:
# 1. 是否显示 "Booting from eMMC" 或 "Booting from NAND"
# 2. 在 Hobot> 提示符下输入:version

步骤 3:修正烧录配置

在 Xburn 中:

  • 如果镜像是 eMMC 版本 → 保持 存储介质:Emmc
  • 如果镜像是 NAND 版本 → 改为 存储介质:Nand

:clipboard: 需要你确认的信息

为了给你更精准的建议,请回复:

  1. 板子类型:官方 RDK X5 开发板 还是 自研底板?
  2. 镜像包来源:从哪个 SDK 或镜像包解压的?完整名称是什么?
  3. 镜像文件列表:D:\edge\product_20251111 目录下有哪些 .img 文件?

相关参考

建议:如果是自研底板,优先确认 BOOT 引脚配置,这是最常见的问题根源。

product_20251111里有nand_disk

:bullseye: 问题确认

核心问题:你使用的是 NAND 版本镜像(有 nand_disk.img),但 Xburn 中配置的是 Emmc 存储介质,导致烧录失败。


:white_check_mark: 解决方案(二选一)

方案 A:修改 Xburn 配置(推荐先试)

在 Xburn 烧录工具中:

配置项 当前值 应改为
存储介质 Emmc Nand
下载模式 Xmodem+Fastboot 保持不变
固件类型 secure 保持不变

操作步骤:

  1. 关闭当前烧录进程
  2. 重新打开 Xburn
  3. 将 存储介质 从 Emmc 改为 Nand
  4. 重新烧录

方案 B:下载 eMMC 版本镜像

如果你希望使用 eMMC 启动,需要:

  1. 确认板子 BOOT 引脚配置为 eMMC 模式(下拉到 GND)
  2. 下载 eMMC 版本镜像包

eMMC 镜像下载:

https://archive.d-robotics.cc/downloads/os_images/rdk_x5/

进入最新版本目录(如 rdk_os_3.5.0-2026-4-9/),查找包含 emmc_disk.img 的包。


:warning: 重要提醒(自研底板)

由于你是参考官方原理图改版的板子,需要确认:

BOOT 引脚配置

启动模式 BOOT 引脚状态 对应镜像
NAND 启动 浮空/上拉 nand_disk.img
eMMC 启动 下拉(GND) emmc_disk.img

如果 BOOT 引脚配置与镜像不匹配,即使烧录成功也无法启动。


:clipboard: 建议操作顺序

1. 先用方案 A(改 Xburn 配置为 Nand)→ 最快验证
2. 如果烧录成功但无法启动 → 检查 BOOT 引脚配置
3. 如需长期使用 eMMC → 下载 eMMC 镜像 + 确认硬件配置

:magnifying_glass_tilted_left: 烧录成功后验证

烧录完成后,串口应能看到:

NOTICE: Booting from NAND
...
Hobot>

如果能看到 Hobot> 提示符,说明 bootloader 烧录成功。


先试试方案 A,把存储介质改为 Nand 后重新烧录,有问题再反馈具体报错!

启动日志里直接找到证据。日志里写着 Enter SPI NAND-FLASH Mode...,这说明板子在启动时,正确识别并进入了 NAND Flash 工作模式,但方案 A:修改 Xburn 配置(推荐先试)存储介质只有一个选项只能选emmc,没nand的选择怎么办

你好,目前Xburn选项正确,可以提供一下硬件链接 图像

完整的烧录log 驱动信息等内容,以及是否正常按照手册进行 操作,两个与PC相连的线材是否为数据线

板卡 1

16%

失败

[MainThread][15:55:17] [INFO] xburn 1.1.9

[MainThread][15:55:17] [INFO] xburn Build Time 2026-02-02 14:29:03 [d4bbcfb-dirty]

[MainThread][15:55:17] [INFO] Run command: \\?\D:\1\XBurn\xburn.exe -V info -p X5 -l serial_usb -d xmodem_fastboot --storage_type emmc --security_type secure -i D:\edge\product_20260408 --batch_num 1 --baudrate 115200 --serial COM3 --reboot

[MainThread][15:55:17] [INFO] Configuration merged with xburn config, command-line args and product config: {

“log_level”: “info”,

“product_type”: “X5”,

“link_type”: “serial_usb”,

“dl_mode”: “xmodem_fastboot”,

“img_files”: [

“D:\\edge\\product_20260408\\nand_disk.img”

],

“erase_scrub”: false,

“storage_type”: “nand”,

“security_type”: “secure”,

“boot_check”: false,

“batch_num”: 1,

“host_ip”: [

“192.168.1.100”

],

“board_ip”: [

“192.168.1.10”

],

“netmask”: [

“255.255.255.0”

],

“gateway”: [

“192.168.1.1”

],

“ipv6”: false,

“usb_port”: “usb2.0”,

“serial”: [

“COM3”

],

“baudrate”: [

“115200”

],

“mcu_serial”: [

“N/A”

],

“hsm_serial”: [

“N/A”

],

“erase_part”: [],

“select_part”: [

“all”

],

“backup_part”: [],

“fetch_part”: false,

“reboot”: true,

“compress_image”: true,

“check_version_latest”: true,

“support_images_name”: [

“*disk.img”,

“*disk.simg”

],

“support_baudrate”: [

“4800”,

“9600”,

“38400”,

“115200”,

“921600”

],

“xmodem_support_files”: “update files(*.img)”,

“ymodem_support_files”: “update files(*.img)”,

“dfu_support_files”: “update files(*.img *.json)”,

“fastboot_support_files”: “update files(*.img *.json)”,

“ota_support_files”: “update files(*.zip)”,

“mcu_support_files”: “update files(*.zip)”,

“separate”: “0x08000000”,

“ota_mode”: [

“sftp”

],

“boot_choose”: [

“misc”

],

“username”: “root”,

“password”: “root”,

“uboot_prompt”: “Hobot>”,

“login_prompt”: “login:”,

“shell_prompt”: “root@”,

“recovery_prompt”: “/userdata/cache”,

“boot_timeout”: 120,

“ota_update_timeout”: 180,

“ota_app_update_timeout”: 120,

“fastboot_timeout”: 3000,

“ddr_size”: “0x190000000”,

“load_address”: “0x90000000”,

“ota_result”: “/userdata/log/ota/result”,

“backup_timeout”: 1500,

“unzip_address”: “0xa0000000”,

“download_root”: “/userdata”,

“boot_file”: “D:\\1\\XBurn\\configs\\product_config\\x5\\boot_config\\x5_uart_boot.json”,

“boot_config”: [

{

“file”: “uart_usb/bl2_uart_ddr.bin”,

“uart”: “acore”,

“method”: “xmodem”,

“timeout”: 2

},

{

“file”: “uart_usb/bl3x_all.bin”,

“uart”: “acore”,

“method”: “xmodem”,

“timeout”: 2

}

],

“serial_prompt_info”: “[IMPORTANT] Please power on or reboot the Board!”,

“name”: “X5”,

“support_link_type”: [

“usb”,

“serial_usb”,

“serial_ethernet”,

“serial”

],

“support_partitions”: [

“all”,

“mbr”,

“miniboot”,

“miniboot_bak1”,

“misc”,

“uboot”,

“ubootenv”,

“vbmeta”,

“boot”,

“system”,

“hbre”,

“app”,

“private”,

“userdata”

],

“support_storage_type”: [

“emmc”

],

“support_firmware_type”: [

“secure”,

“nosecure”

],

“usb3_enable”: true,

“upfile_json”: [

“x5-soc-debug-gpt.json”,

“x5-soc-debug-nand-gpt.json”

],

“usb_select”: false,

“serial_into_usb”: “usb20”,

“usb_vendor”: “3652”,

“mmc_index”: “0”,

“cmd_reboot_usb2_fasboot”: “reboot -m usb2 -f”,

“cmd_reboot_usb3_fasboot”: “reboot -m usb3 -f”,

“original_img_dirs”: “D:\\edge\\product_20260408”

}

[MainThread][15:55:17] [INFO]

[MainThread][15:55:17] [INFO] ********************************************************************************

[MainThread][15:55:17] [INFO] Burning board [1/1], total boards: 1

[MainThread][15:55:17] [INFO] Product: X5

[MainThread][15:55:17] [INFO] Link type: serial_usb

[MainThread][15:55:17] [INFO] Download mode: xmodem_fastboot

[MainThread][15:55:17] [INFO] Serial: COM3

[MainThread][15:55:17] [INFO] Baudrate: 115200

[MainThread][15:55:17] [INFO] Image File(s): [‘D:\\edge\\product_20260408\\nand_disk.img’]

[MainThread][15:55:17] [INFO] Burn chain:

[MainThread][15:55:17] [INFO] Step 1: check_board_status → progress: [1, 5]%

[MainThread][15:55:17] [INFO] Step 2: prepare_boot → progress: [6, 10]%

[MainThread][15:55:17] [INFO] Step 3: xmodem_boot → progress: [11, 20]%

[MainThread][15:55:17] [INFO] Step 4: prepare_burn → progress: [21, 25]%

[MainThread][15:55:17] [INFO] Step 5: fastboot_burn → progress: [26, 85]%

[MainThread][15:55:17] [INFO] Step 6: after_burn → progress: [86, 90]%

[MainThread][15:55:17] [INFO] Step 7: check_burn_result → progress: [91, 100]%

[MainThread][15:55:17] [INFO] ********************************************************************************

[MainThread][15:55:17] [INFO]

[Burn thread-1][15:55:17] [INFO] Start burning…

[Burn thread-1][15:55:17] [INFO] Start step: check_board_status

[Burn thread-1][15:55:17] [PROGRESS] Board 1 burn progress 1.0%

[Burn thread-1][15:55:17] [INFO] Check board status to confirm the burn process…

[Burn thread-1][15:55:17] [INFO] Running probe_board_state…

[Burn thread-1][15:55:17] [INFO] Probing board state…

[Burn thread-1][15:55:18] [WARNING] Operation timed out after 0.5 seconds

[Burn thread-1][15:55:18] [WARNING] Board state: UNKNOWN

[Burn thread-1][15:55:18] [INFO] Step ‘check_board_status’ completed successfully

[Burn thread-1][15:55:18] [PROGRESS] Board 1 burn progress 5.0%

[Burn thread-1][15:55:18] [INFO] Start step: prepare_boot

[Burn thread-1][15:55:18] [PROGRESS] Board 1 burn progress 6.0%

[Burn thread-1][15:55:18] [INFO] Prepare boot…

[Burn thread-1][15:55:18] [INFO] Please try enter UART download mode

[Burn thread-1][15:55:18] [INFO] Try entry UART download mode…

[Burn thread-1][15:55:18] [WARNING] [IMPORTANT] Please power on or reboot the Board! Wait 30 seconds…

SNOTICE: Welcome to Horizon X5 ASIC BOOTROM - V4.1

NOTICE: OTP config:

NOTICE: otp exist: true

NOTICE: test region size: 304

NOTICE: secure region size: 120

NOTICE: none secure region size: 56

NOTICE: Enable MMU

NOTICE: Booting Trusted Firmware

NOTICE: BL1: v2.8(release):

NOTICE: BL1: Built : 17:42:12, Oct 19 2023

x2dbg

NOTICE: Currtenly use xmodem to download file

## Ready for (xmodem) download to 0x1ff00000

CCCCCCC[Burn thread-1][15:55:29] [INFO] State transition: UNKNOWN → UART_Download_Mode

[Burn thread-1][15:55:29] [INFO] Successfully entered UART_DOWNLOAD mode.

[Burn thread-1][15:55:29] [INFO] Step ‘prepare_boot’ completed successfully

CCCCCC

[Burn thread-1][15:55:29] [PROGRESS] Board 1 burn progress 10.0%

[Burn thread-1][15:55:29] [INFO] Start step: xmodem_boot

[Burn thread-1][15:55:29] [PROGRESS] Board 1 burn progress 11.0%

[Burn thread-1][15:55:29] [INFO] Try entry UART download mode…

[Burn thread-1][15:55:29] [INFO] Successfully entered UART_DOWNLOAD mode.

CCCCCC[Burn thread-1][15:55:29] [INFO] Uart download wait 2 seconds …

CCCC[Burn thread-1][15:55:31] [INFO] Start uart download boot file D:\edge\product_20260408\uart_usb/bl2_uart_ddr.bin, Total size: 675692 Bytes

[Burn thread-1][15:55:31] [INFO] start xmodem transfer.

[Burn thread-1][15:55:31] [PROGRESS] Board 1 burn progress 11.0%

[Burn thread-1][15:55:32] [PROGRESS] Board 1 burn progress 11.0%

[Burn thread-1][15:55:32] [INFO] Transfer: 0.2% | Blocks: 1/660

[Burn thread-1][15:55:37] [PROGRESS] Board 1 burn progress 11.4%

[Burn thread-1][15:55:37] [INFO] Transfer: 8.5% | Blocks: 56/660

[Burn thread-1][15:55:42] [PROGRESS] Board 1 burn progress 11.8%

[Burn thread-1][15:55:42] [INFO] Transfer: 16.8% | Blocks: 111/660

[Burn thread-1][15:55:47] [PROGRESS] Board 1 burn progress 12.1%

[Burn thread-1][15:55:47] [INFO] Transfer: 25.2% | Blocks: 166/660

[Burn thread-1][15:55:52] [PROGRESS] Board 1 burn progress 12.5%

[Burn thread-1][15:55:52] [INFO] Transfer: 33.6% | Blocks: 222/660

[Burn thread-1][15:55:57] [PROGRESS] Board 1 burn progress 12.9%

[Burn thread-1][15:55:57] [INFO] Transfer: 42.1% | Blocks: 278/660

[Burn thread-1][15:56:02] [PROGRESS] Board 1 burn progress 13.3%

[Burn thread-1][15:56:02] [INFO] Transfer: 50.6% | Blocks: 334/660

[Burn thread-1][15:56:07] [PROGRESS] Board 1 burn progress 13.7%

[Burn thread-1][15:56:07] [INFO] Transfer: 58.9% | Blocks: 389/660

[Burn thread-1][15:56:12] [PROGRESS] Board 1 burn progress 14.0%

[Burn thread-1][15:56:12] [INFO] Transfer: 67.3% | Blocks: 444/660

[Burn thread-1][15:56:17] [PROGRESS] Board 1 burn progress 14.4%

[Burn thread-1][15:56:17] [INFO] Transfer: 75.6% | Blocks: 499/660

[Burn thread-1][15:56:22] [PROGRESS] Board 1 burn progress 14.8%

[Burn thread-1][15:56:22] [INFO] Transfer: 83.9% | Blocks: 554/660

[Burn thread-1][15:56:27] [PROGRESS] Board 1 burn progress 15.2%

[Burn thread-1][15:56:27] [INFO] Transfer: 92.3% | Blocks: 609/660

[Burn thread-1][15:56:32] [PROGRESS] Board 1 burn progress 15.5%

[Burn thread-1][15:56:32] [INFO] Transfer: 100.0% | Blocks: 660/660

[Burn thread-1][15:56:32] [INFO]

Transfer complete:

[Burn thread-1][15:56:32] [INFO] - File size: 675,692 bytes

[Burn thread-1][15:56:32] [INFO] - Time elapsed: 60.50 seconds

[Burn thread-1][15:56:32] [INFO] - Transfer rate: 10.91 KB/s

[Burn thread-1][15:56:32] [INFO] - Successful blocks: 660

[Burn thread-1][15:56:32] [INFO] - Transmission succeeded

[Burn thread-1][15:56:32] [PROGRESS] Board 1 burn progress 15.5%

[Burn thread-1][15:56:32] [INFO] load success

00 = 675840 Bytes

NOTICE: Get S1PK

NOTICE: [verify_signature] pass.

NOTICE: [verify_hash] pass.

NOTICE: [verify_hash] pass.

NOTICE: [auth_decrypt] pass.

NOTICE: BL1: BL2 memory layout address = 0x1fe9f000

NOTICE: BL1: Booting BL2

E[Burn thread-1][15:58:12] [ERROR] Uart xmodem download uart_usb/bl3x_all.bin failed

[Burn thread-1][15:58:12] [ERROR] Step ‘xmodem_boot’ failed

[Burn thread-1][15:58:12] [ERROR] Board-1, burn failed

[Burn thread-1][15:58:12] [ERROR] Board-1 [Storage: nand] Status: FAILED

Process terminated, exit code: 0

线都是新买的线,应该没问题

下载的镜像是nand,但设置只能选emmc,是这个原因导致失败吗?

你好,不是这个emmc的问题,硬件连接没问题

现在还能进入系统吗,能进入系统的话,直接 rdk-miniboot-update 即可升级

就是进入不了系统才重刷的,连显示器也没反应,之前是能用的,连接登入状态下电脑直接关机了,在供电状态放了一天一夜,之后就没用了,会是什么原因导致的呢?

:bullseye: 问题定位

根据你的描述,这是典型的异常断电导致 Bootloader 损坏的变砖案例。


:magnifying_glass_tilted_left: 根本原因分析

现象 原因
电脑直接关机(板子供电中) eMMC/NAND 正在读写时断电
放置后无法启动 Bootloader 分区损坏
烧录卡在 bl3x_all.bin BL2 加载后无法初始化存储介质
Xburn 只能选 eMMC 当前 Xburn 版本对 RDK X5 仅支持 eMMC 烧录

核心问题:你的板子是 eMMC 存储,但使用的镜像包是 NAND 版本,导致烧录失败。


:white_check_mark: 解决方案

方案 A:获取正确的 eMMC 镜像(推荐)

你当前使用的 product_20260408 包含 nand_disk.img,这是 NAND 版本镜像,不适用于你的板子。

下载 eMMC 版本镜像:

官方镜像站:https://archive.d-robotics.cc/downloads/os_images/rdk_x5/

进入最新版本目录(如 rdk_os_3.5.0-2026-4-9/),查找:

  • :white_check_mark: emmc_disk.img 或 disk_emmc.img → eMMC 版本
  • :cross_mark: nand_disk.img → NAND 版本(不要用)

方案 B:强制恢复 Miniboot(如果方案 A 不行)

Marcelo 提到的 rdk-miniboot-update 是板端恢复命令,但需要能进入系统。既然无法启动,需要用 USB 强制烧录模式:

步骤:

  1. 准备 eMMC 版本镜像包
  2. 进入 USB 烧录模式:
    - 按住 Recovery 键
    - 插入 USB 线(连接电脑 USB 口)
    - 上电
    - 等待 3 秒后松开 Recovery 键
    
  3. 在 Xburn 中:
    • 连接类型:选择 USB(不是 Serial+USB)
    • 存储介质:Emmc
    • 重新烧录

方案 C:检查硬件是否损坏

如果以上方案都失败,可能是异常断电导致 eMMC 芯片损坏:

排查方法:

1. 串口上电后是否有任何输出?
2. 如果完全无输出 → 可能是电源或芯片损坏
3. 如果有 "Booting from eMMC" 但卡住 → Bootloader 损坏(可恢复)

:clipboard: 需要你确认的信息

请回复以下内容,帮你进一步定位:

项目 操作
1. 串口上电输出 上电后串口是否有任何打印?完整日志
2. 镜像包来源 product_20260408 是从哪里下载的?
3. 板子购买渠道 官方开发板 还是 第三方?
4. HDMI 输出 上电后显示器是否有任何信号?

:books: 相关参考


建议立即行动:

  1. 先确认串口上电是否有输出
  2. 下载正确的 eMMC 版本镜像
  3. 尝试 USB 强制烧录模式

有串口日志的话贴出来,能更精准判断是软件损坏还是硬件故障!

NOTICE: OTP config:
NOTICE: otp exist: true
NOTICE: test region size: 304
NOTICE: secure region size: 120
NOTICE: none secure region size: 56
NOTICE: Enable MMU
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.8(release):
NOTICE: BL1: Built : 17:42:12, Oct 19 2023
NOTICE: Enter SPI NAND-FLASH Mode…
NOTICE: Nand PAGE_SIZE_2K
NOTICE: Nand is_dummy = true
NOTICE: Nand CLK_12M
NOTICE: SPI baudrate is set to 12000000Hz
NOTICE: Nand reset
NOTICE: reg_status should = 0x18
NOTICE: Invalid enable flash buffer mode
NOTICE: Manufacturer ID 0xc8 Device ID 0x41c8
NOTICE: Enter media_source_select process(5).
NOTICE: SPI Nand flash set quad PASS
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_hash] pass.
NOTICE: [auth_decrypt] pass.
NOTICE: BL1: BL2 memory layout address = 0x1fe9f000
NOTICE: BL1: Booting BL2
NOTICE: OTP config:
NOTICE: otp exist: true
NOTICE: test region size: 304
NOTICE: secure region size: 120
NOTICE: none secure region size: 56
NOTICE: origin vdd cpu:800mv, now vdd cpu: 850mv
NOTICE: BL2: v2.8(release):v1.0.8-61-g0aaad43fc
NOTICE: BL2: Built : 10:24:50, Nov 19 2024
NOTICE: Enter SPI NAND-FLASH Mode…
NOTICE: dw_apb_ssi_params.apb_bus_freq: 100000000
NOTICE: SPI baudrate is set to 12500000Hz
NOTICE: Enter media_source_select process(5).
NOTICE: BL2 config file
NOTICE: ab slot is : 0
NOTICE: fip index:0
NOTICE: start to load bl2 cfg image
NOTICE: BL2 CFG ADDR:0x1ff00000, MAGIC:0x474643324c424248
NOTICE: bypass update efuse
NOTICE: calibration_offset -10
NOTICE: trimming_value 7
NOTICE: ADC read channel[2]: 309mv
NOTICE: ddr info:[LPDDR4]-[DUAL_RANK]-[ECC OFF]-[DVFS ON]-[4266M]
NOTICE: JTAG ENABLE
NOTICE: disable wdt
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_signature] pass.
NOTICE: start to load ddr image
NOTICE: [verify_hash] pass.
NOTICE: run ddr Fw
NOTICE: matching profile: profile_2 from aon config
NOTICE: type: LP4, freq: 4266, ecc: 0(0x7f), rank: 2, dvfs: 1, version: 6.03
NOTICE: ddr cost: 152503 us, ddr size: 4 GB, manuid: 0x13
NOTICE: ddr ready
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_signature] pass.
NOTICE: start to load bl31 image
NOTICE: [verify_hash] pass.
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_signature] pass.
NOTICE: start to load optee image
NOTICE: [verify_hash] pass.
NOTICE: [verify_hash] pass.
NOTICE: start to load uboot image
NOTICE: BL1: Booting BL31
NOTICE: multicore_init: sec_entrypoint = 0x2000010c
NOTICE: BL31: v2.8(release):v1.0.8-61-g0aaad43fc
NOTICE: BL31: Built : 10:25:18, Nov 19 2024
ERROR: No GICR base frame found for Primary CPU
PANIC in EL3.
x30 = 0x0000000000000000
x0 = 0x0000000000000060
x1 = 0x0000000000000002
x2 = 0x0000000030cd183f
x3 = 0x0000000030cd183b
x4 = 0x000000002001aef8
x5 = 0x0000000020003b54
x6 = 0x0000000000000000
x7 = 0x0000000000000000
x8 = 0x0000000032120000
x9 = 0x0000000000000060
x10 = 0x000000002001ffff
x11 = 0x000000002001afb0
x12 = 0x0000000040000000
x13 = 0x0000000000000000
x14 = 0x00000000000000b8
x15 = 0x0000000080000000
x16 = 0x000000001fec0e20
x17 = 0x00000000ffffffe0
x18 = 0x000000001fe9f000
x19 = 0x0000000000000000
x20 = 0x0000000000000020
x21 = 0x00000000200127f3
x22 = 0x000000001fec87e0
x23 = 0x0000000000000000
x24 = 0x0000000000000000
x25 = 0x0000000000000000
x26 = 0x0000000000000000
x27 = 0x0000000000000000
x28 = 0x0000000000000000
x29 = 0x0000000000000000
scr_el3 = 0x0000000000000238
sctlr_el3 = 0x0000000030cd183f
cptr_el3 = 0x0000000000000010
tcr_el3 = 0x0000000080803530
daif = 0x00000000000002d0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x00000000000003cd
elr_el3 = 0x0000000020000000
ttbr0_el3 = 0x000000002001c451
esr_el3 = 0x000000005e000010
far_el3 = 0x0280148000014011
spsr_el1 = 0x0000000000000000
elr_el1 = 0x0000000000000000
spsr_abt = 0x00000000000411a2
spsr_und = 0x0000000028806200
spsr_irq = 0x0000000000801080
spsr_fiq = 0x0000000000101080
sctlr_el1 = 0x000000000048181f
actlr_el1 = 0x0000000000000010
cpacr_el1 = 0x000000001fec10a0
csselr_el1 = 0x0000000000000000
sp_el1 = 0x000000001fecfb81
esr_el1 = 0x0000000000000000
ttbr0_el1 = 0x00000000004404ff
ttbr1_el1 = 0x0000000000000000
mair_el1 = 0x000000000048181f
amair_el1 = 0x0000000000000010
tcr_el1 = 0x0000000000803530
tpidr_el1 = 0x0000000000000010
tpidr_el0 = 0x0000000000000010
tpidrro_el0 = 0x0000000000000010
par_el1 = 0x0000000000000010
mpidr_el1 = 0x0000000081000010
afsr0_el1 = 0x0000000000000010
afsr1_el1 = 0x0000000000000010
contextidr_el1 = 0x0000000000000010
vbar_el1 = 0x000000001febd010
cntp_ctl_el0 = 0x0000000000000010
cntp_cval_el0 = 0x0010800001002010
cntv_ctl_el0 = 0x0000000000000010
cntv_cval_el0 = 0x4c00002a00008090
cntkctl_el1 = 0x0000000000000010
sp_el0 = 0x0000000020015340
isr_el1 = 0x0000000000000010
cpuectlr_el1 = 0x000000002808bc10之前的串口日志

:bullseye: 问题确诊

根据串口日志,问题非常清晰:

阶段 状态 说明
BL1 :white_check_mark: 成功 芯片启动,识别为 SPI NAND 模式
BL2 :white_check_mark: 成功 DDR 初始化完成(4GB LPDDR4)
BL31 :cross_mark: 崩溃 ERROR: No GICR base frame found for Primary CPU
系统 :cross_mark: 无法启动 PANIC in EL3,硬件中断控制器初始化失败

:magnifying_glass_tilted_left: 根本原因

你的板子是 NAND 版本(日志明确显示 Enter SPI NAND-FLASH Mode),但:

  1. Xburn GUI 版本 1.1.9 只支持 eMMC 烧录(配置里 support_storage_type: ["emmc"])
  2. 用 eMMC 配置烧 NAND 镜像 → 分区表不匹配 → BL31 加载错误地址 → GICR 初始化失败
  3. 异常断电导致原 bootloader 损坏,需要用正确方式恢复

:white_check_mark: 解决方案

方案 A:使用命令行强制指定 NAND 存储类型(推荐)

Xburn 支持命令行参数覆盖 GUI 配置:

# Windows CMD(以管理员身份运行)
cd D:\1\XBurn

xburn.exe -V info -p X5 -l serial_usb -d xmodem_fastboot ^
  --storage_type nand ^
  --security_type secure ^
  -i D:\edge\product_20260408 ^
  --batch_num 1 ^
  --baudrate 115200 ^
  --serial COM3 ^
  --reboot

关键参数:--storage_type nand(强制指定 NAND,绕过 GUI 限制)


方案 B:修改 Xburn 配置文件

编辑 Xburn 的配置文件,添加 NAND 支持:

位置:D:\1\XBurn\configs\product_config\x5\
文件:x5_product_config.json 或类似配置文件

找到 "support_storage_type": ["emmc"]
改为:"support_storage_type": ["emmc", "nand"]

然后重启 Xburn,GUI 中应该会出现 NAND 选项。


方案 C:联系官方获取支持 NAND 的 Xburn 版本

由于 RDK X5 NAND 版本可能是特殊配置,建议:

  1. 提交工单:https://horizonrobotics.feishu.cn/share/base/form/shrcnpxBa3PjdjFmtxZS3tBXw0e
  2. 说明情况:
    • 板子是 NAND 版本(串口日志证实)
    • Xburn 1.1.9 不支持 NAND 烧录
    • 需要支持 NAND 的烧录工具或镜像

:warning: 重要提醒

从日志看,板子硬件是 NAND 启动模式,不要尝试:

  • :cross_mark: 修改 BOOT 引脚改为 eMMC 模式(硬件设计已固定)
  • :cross_mark: 使用 eMMC 镜像(分区表完全不匹配)

必须使用 NAND 版本镜像 + NAND 烧录配置。


:clipboard: 立即行动

1. 先试方案 A(命令行强制 --storage_type nand)
2. 如果失败,试方案 B(修改配置文件)
3. 仍不行,走方案 C(联系官方获取工具)

:books: 相关参考

先试试命令行方式,有报错再贴出来继续排查!

D:\1\XBurn>xburn.exe -V info -p X5 -l serial_usb -d xmodem_fastboot --storage_type nandflash --security_type secure -i D:\edge\product_20260408 --batch_num 1 --baudrate 115200 --serial COM3 --reboot
[MainThread][16:33:22] [INFO] xburn 1.1.9
[MainThread][16:33:22] [INFO] xburn Build Time 2026-02-02 14:29:03 [d4bbcfb-dirty]
[MainThread][16:33:22] [INFO] Run command: xburn.exe -V info -p X5 -l serial_usb -d xmodem_fastboot --storage_type nandflash --security_type secure -i D:\edge\product_20260408 --batch_num 1 --baudrate 115200 --serial COM3 --reboot
[MainThread][16:33:22] [INFO] Configuration merged with xburn config, command-line args and product config: {
“log_level”: “info”,
“product_type”: “X5”,
“link_type”: “serial_usb”,
“dl_mode”: “xmodem_fastboot”,
“img_files”: [
“D:\edge\product_20260408\nand_disk.img”
],
“erase_scrub”: false,
“storage_type”: “nand”,
“security_type”: “secure”,
“boot_check”: false,
“batch_num”: 1,
“host_ip”: [
“192.168.1.100”
],
“board_ip”: [
“192.168.1.10”
],
“netmask”: [
“255.255.255.0”
],
“gateway”: [
“192.168.1.1”
],
“ipv6”: false,
“usb_port”: “usb2.0”,
“serial”: [
“COM3”
],
“baudrate”: [
“115200”
],
“mcu_serial”: [
“N/A”
],
“hsm_serial”: [
“N/A”
],
“erase_part”: ,
“select_part”: [
“all”
],
“backup_part”: ,
“fetch_part”: false,
“reboot”: true,
“compress_image”: true,
“check_version_latest”: true,
“support_images_name”: [
“disk.img",
“disk.simg"
],
“support_baudrate”: [
“4800”,
“9600”,
“38400”,
“115200”,
“921600”
],
“xmodem_support_files”: "update files(
.img)”,
“ymodem_support_files”: “update files(.img)”,
“dfu_support_files”: “update files(.img .json)",
“fastboot_support_files”: "update files(
.img .json)",
“ota_support_files”: "update files(
.zip)”,
“mcu_support_files”: "update files(.zip)”,
“separate”: “0x08000000”,
“ota_mode”: [
“sftp”
],
“boot_choose”: [
“misc”
],
“username”: “root”,
“password”: “root”,
“uboot_prompt”: “Hobot>”,
“login_prompt”: “login:”,
“shell_prompt”: “root@”,
“recovery_prompt”: “/userdata/cache”,
“boot_timeout”: 120,
“ota_update_timeout”: 180,
“ota_app_update_timeout”: 120,
“fastboot_timeout”: 3000,
“ddr_size”: “0x190000000”,
“load_address”: “0x90000000”,
“ota_result”: “/userdata/log/ota/result”,
“backup_timeout”: 1500,
“unzip_address”: “0xa0000000”,
“download_root”: “/userdata”,
“boot_file”: “D:\1\XBurn\configs\product_config\x5\boot_config\x5_uart_boot.json”,
“boot_config”: [
{
“file”: “uart_usb/bl2_uart_ddr.bin”,
“uart”: “acore”,
“method”: “xmodem”,
“timeout”: 2
},
{
“file”: “uart_usb/bl3x_all.bin”,
“uart”: “acore”,
“method”: “xmodem”,
“timeout”: 2
}
],
“serial_prompt_info”: “[IMPORTANT] Please power on or reboot the Board!”,
“name”: “X5”,
“support_link_type”: [
“usb”,
“serial_usb”,
“serial_ethernet”,
“serial”
],
“support_partitions”: [
“all”,
“mbr”,
“miniboot”,
“miniboot_bak1”,
“misc”,
“uboot”,
“ubootenv”,
“vbmeta”,
“boot”,
“system”,
“hbre”,
“app”,
“private”,
“userdata”
],
“support_storage_type”: [
“emmc”
],
“support_firmware_type”: [
“secure”,
“nosecure”
],
“usb3_enable”: true,
“upfile_json”: [
“x5-soc-debug-gpt.json”,
“x5-soc-debug-nand-gpt.json”
],
“usb_select”: false,
“serial_into_usb”: “usb20”,
“usb_vendor”: “3652”,
“mmc_index”: “0”,
“cmd_reboot_usb2_fasboot”: “reboot -m usb2 -f”,
“cmd_reboot_usb3_fasboot”: “reboot -m usb3 -f”,
“original_img_dirs”: “D:\edge\product_20260408”
}
[MainThread][16:33:22] [INFO]
[MainThread][16:33:22] [INFO] ********************************************************************************
[MainThread][16:33:22] [INFO] Burning board [1/1], total boards: 1
[MainThread][16:33:22] [INFO] Product: X5
[MainThread][16:33:22] [INFO] Link type: serial_usb
[MainThread][16:33:22] [INFO] Download mode: xmodem_fastboot
[MainThread][16:33:22] [INFO] Serial: COM3
[MainThread][16:33:22] [INFO] Baudrate: 115200
[MainThread][16:33:22] [INFO] Image File(s): [‘D:\edge\product_20260408\nand_disk.img’]
[MainThread][16:33:22] [INFO] Burn chain:
[MainThread][16:33:22] [INFO] Step 1: check_board_status → progress: [1, 5]%
[MainThread][16:33:22] [INFO] Step 2: prepare_boot → progress: [6, 10]%
[MainThread][16:33:22] [INFO] Step 3: xmodem_boot → progress: [11, 20]%
[MainThread][16:33:22] [INFO] Step 4: prepare_burn → progress: [21, 25]%
[MainThread][16:33:22] [INFO] Step 5: fastboot_burn → progress: [26, 85]%
[MainThread][16:33:22] [INFO] Step 6: after_burn → progress: [86, 90]%
[MainThread][16:33:22] [INFO] Step 7: check_burn_result → progress: [91, 100]%
[MainThread][16:33:22] [INFO] ********************************************************************************
[MainThread][16:33:22] [INFO]
[Burn thread-1][16:33:22] [INFO] Start burning…
[Burn thread-1][16:33:22] [INFO] Start step: check_board_status

[Burn thread-1][16:33:22] [PROGRESS] Board 1 burn progress 1.0%
[Burn thread-1][16:33:22] [INFO] Check board status to confirm the burn process…
[Burn thread-1][16:33:22] [INFO] Running probe_board_state…
[Burn thread-1][16:33:22] [INFO] Probing board state…
[Burn thread-1][16:33:22] [WARNING] Operation timed out after 0.5 seconds
[Burn thread-1][16:33:22] [WARNING] Board state: UNKNOWN
[Burn thread-1][16:33:22] [INFO] Step ‘check_board_status’ completed successfully

[Burn thread-1][16:33:22] [PROGRESS] Board 1 burn progress 5.0%
[Burn thread-1][16:33:22] [INFO] Start step: prepare_boot

[Burn thread-1][16:33:22] [PROGRESS] Board 1 burn progress 6.0%
[Burn thread-1][16:33:22] [INFO] Prepare boot…
[Burn thread-1][16:33:22] [INFO] Please try enter UART download mode
[Burn thread-1][16:33:22] [INFO] Try entry UART download mode…
[Burn thread-1][16:33:22] [WARNING] [IMPORTANT] Please power on or reboot the Board! Wait 30 seconds…
SNOTICE: Welcome to Horizon X5 ASIC BOOTROM - V4.1
NOTICE: OTP config:
NOTICE: otp exist: true
NOTICE: test region size: 304
NOTICE: secure region size: 120
NOTICE: none secure region size: 56
NOTICE: Enable MMU
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.8(release):
NOTICE: BL1: Built : 17:42:12, Oct 19 2023
x2dbg
NOTICE: Currtenly use xmodem to download file

Ready for (xmodem) download to 0x1ff00000

CCCCCCCCCCCCC[Burn thread-1][16:33:27] [INFO] State transition: UNKNOWN → UART_Download_Mode
CCCCCC[Burn thread-1][16:33:27] [INFO] Successfully entered UART_DOWNLOAD mode.
[Burn thread-1][16:33:27] [INFO] Step ‘prepare_boot’ completed successfully

[Burn thread-1][16:33:27] [PROGRESS] Board 1 burn progress 10.0%
[Burn thread-1][16:33:27] [INFO] Start step: xmodem_boot

[Burn thread-1][16:33:27] [PROGRESS] Board 1 burn progress 11.0%
[Burn thread-1][16:33:27] [INFO] Try entry UART download mode…
[Burn thread-1][16:33:27] [INFO] Successfully entered UART_DOWNLOAD mode.
CCCCCC[Burn thread-1][16:33:27] [INFO] Uart download wait 2 seconds …
CCCC[Burn thread-1][16:33:29] [INFO] Start uart download boot file D:\edge\product_20260408\uart_usb/bl2_uart_ddr.bin, Total size: 675692 Bytes
[Burn thread-1][16:33:29] [INFO] start xmodem transfer.

[Burn thread-1][16:33:29] [PROGRESS] Board 1 burn progress 11.0%

[Burn thread-1][16:33:30] [PROGRESS] Board 1 burn progress 11.0%
[Burn thread-1][16:33:30] [INFO] Transfer: 0.2% | Blocks: 1/660

[Burn thread-1][16:33:35] [PROGRESS] Board 1 burn progress 11.4%
[Burn thread-1][16:33:35] [INFO] Transfer: 8.5% | Blocks: 56/660

[Burn thread-1][16:33:40] [PROGRESS] Board 1 burn progress 11.8%
[Burn thread-1][16:33:40] [INFO] Transfer: 16.8% | Blocks: 111/660

[Burn thread-1][16:33:45] [PROGRESS] Board 1 burn progress 12.1%
[Burn thread-1][16:33:45] [INFO] Transfer: 25.2% | Blocks: 166/660

[Burn thread-1][16:33:50] [PROGRESS] Board 1 burn progress 12.5%
[Burn thread-1][16:33:50] [INFO] Transfer: 33.5% | Blocks: 221/660

[Burn thread-1][16:33:55] [PROGRESS] Board 1 burn progress 12.9%
[Burn thread-1][16:33:55] [INFO] Transfer: 41.8% | Blocks: 276/660

[Burn thread-1][16:34:00] [PROGRESS] Board 1 burn progress 13.3%
[Burn thread-1][16:34:00] [INFO] Transfer: 50.2% | Blocks: 331/660

[Burn thread-1][16:34:05] [PROGRESS] Board 1 burn progress 13.6%
[Burn thread-1][16:34:05] [INFO] Transfer: 58.5% | Blocks: 386/660

[Burn thread-1][16:34:10] [PROGRESS] Board 1 burn progress 14.0%
[Burn thread-1][16:34:10] [INFO] Transfer: 66.8% | Blocks: 441/660

[Burn thread-1][16:34:15] [PROGRESS] Board 1 burn progress 14.4%
[Burn thread-1][16:34:15] [INFO] Transfer: 75.2% | Blocks: 496/660

[Burn thread-1][16:34:20] [PROGRESS] Board 1 burn progress 14.8%
[Burn thread-1][16:34:20] [INFO] Transfer: 83.5% | Blocks: 551/660

[Burn thread-1][16:34:25] [PROGRESS] Board 1 burn progress 15.1%
[Burn thread-1][16:34:25] [INFO] Transfer: 91.8% | Blocks: 606/660

[Burn thread-1][16:34:30] [PROGRESS] Board 1 burn progress 15.5%
[Burn thread-1][16:34:30] [INFO] Transfer: 100.0% | Blocks: 660/660
[Burn thread-1][16:34:30] [INFO]

Transfer complete:
[Burn thread-1][16:34:30] [INFO] - File size: 675,692 bytes
[Burn thread-1][16:34:30] [INFO] - Time elapsed: 60.57 seconds
[Burn thread-1][16:34:30] [INFO] - Transfer rate: 10.89 KB/s
[Burn thread-1][16:34:30] [INFO] - Successful blocks: 660
[Burn thread-1][16:34:30] [INFO] - Transmission succeeded

[Burn thread-1][16:34:30] [PROGRESS] Board 1 burn progress 15.5%
[Burn thread-1][16:34:30] [INFO] load success
00 = 675840 Bytes
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_hash] pass.
NOTICE: [auth_decrypt] pass.
NOTICE: BL1: BL2 memory layout address = 0x1fe9f000
NOTICE: BL1: Booting BL2
E[Burn thread-1][16:36:10] [ERROR] Uart xmodem download uart_usb/bl3x_all.bin failed
[Burn thread-1][16:36:10] [ERROR] Step ‘xmodem_boot’ failed
[Burn thread-1][16:36:10] [ERROR] Board-1, burn failed
[Burn thread-1][16:36:10] [ERROR] Board-1 [Storage: nand] Status: FAILED

:bullseye: 问题分析

命令行参数生效了("storage_type": "nand"),但仍在 bl3x_all.bin 下载阶段失败。这说明:

阶段 状态 说明
BL1 :white_check_mark: 成功 进入 UART 下载模式
BL2 (DDR) :white_check_mark: 成功 DDR 初始化完成
BL3x :cross_mark: 失败 BL2 执行后通信中断

核心原因:BL2 加载后,板子应切换到 USB Fastboot 模式,但切换失败导致 Xmodem 超时。


:white_check_mark: 解决方案(按优先级尝试)

方案 1:提高波特率(最可能解决)

115200 波特率在 BL2 加载后可能不稳定,尝试 921600:

cd D:\1\XBurn

xburn.exe -V info -p X5 -l serial_usb -d xmodem_fastboot ^
  --storage_type nand ^
  --security_type secure ^
  -i D:\edge\product_20260408 ^
  --batch_num 1 ^
  --baudrate 921600 ^
  --serial COM3 ^
  --reboot

关键变化:--baudrate 921600


方案 2:检查 USB 连接切换

BL2 加载后,板子会从 串口下载 切换到 USB Fastboot。请确认:

  1. USB 线连接:确保板子的 USB2.0 口(不是 Type-C 供电口)连接到电脑
  2. 设备管理器:BL2 加载后,查看是否出现新 USB 设备(Horizon/Android Bootloader)
  3. 驱动安装:确保已安装 Android ADB/Fastboot 驱动

接线检查:

板子 Micro USB 调试口 → 电脑 USB 口(数据传输)
板子 Type-C 口 → 5V/3A 电源(仅供电)

方案 3:验证镜像文件完整性

检查 bl3x_all.bin 文件是否正常:

# 在 CMD 中执行
dir D:\edge\product_20260408\uart_usb\bl3x_all.bin

# 文件大小应约为 2-4 MB,如果过小或为 0 则文件损坏

如果文件异常,重新下载镜像包。


方案 4:修改 boot_config 配置

编辑 Xburn 的 boot 配置文件,延长超时时间:

文件位置:D:\1\XBurn\configs\product_config\x5\boot_config\x5_uart_boot.json

找到:
"file": "uart_usb/bl3x_all.bin",
"timeout": 2

改为:
"file": "uart_usb/bl3x_all.bin",
"timeout": 10

然后重新执行烧录命令。


方案 5:联系官方获取 NAND 专用工具

从日志看,Xburn 1.1.9 的 support_storage_type 仍只显示 ["emmc"],说明当前版本对 NAND 支持不完整。

提交工单获取支持:


:clipboard: 建议操作顺序

1. 先试方案 1(921600 波特率)→ 5 分钟
2. 同时检查方案 2(USB 连接)→ 确认设备管理器有新设备
3. 仍失败则试方案 4(修改超时配置)
4. 最后走方案 5(联系官方)

:magnifying_glass_tilted_left: 补充排查

执行烧录命令时,同时打开串口工具(如 MobaXterm/SecureCRT)监控板子输出,看 BL2 加载后是否有以下打印:

NOTICE:  BL2: Booting BL3x
...
Fastboot: Start

如果有打印但 Xburn 超时 → USB 驱动/连接问题
如果无打印 → BL2 执行崩溃(镜像不匹配)


先试 921600 波特率,这是最常见的通信不稳定问题!有结果随时反馈。

你好,不要修改原始Xburn文件

建议换个线和口,重新测试一下,我这边测试时正常烧录的

可以尝试先全盘擦除emmc ,看日志可能是ddr emmc坏块了

勾选了全盘擦除emmc还是这样,是硬件损坏了吗?

:bullseye: 问题确诊

从你的串口日志和烧录日志来看,问题已经比较清晰:

现象 分析
串口显示 Enter SPI NAND-FLASH Mode 板子是 NAND 存储
Xburn GUI 只支持 Emmc 选项 工具版本对 NAND 支持不完整
bl3x_all.bin 下载超时失败 BL2 加载后 USB 切换失败 或 存储芯片异常
异常断电后变砖 可能是 eMMC/NAND 坏块 或 Bootloader 分区损坏

:white_check_mark: 排查方案(按优先级)

方案 1:确认 USB 连接切换(最关键)

BL2 加载后,板子会从 串口下载模式 切换到 USB Fastboot 模式。如果 USB 连接有问题,就会卡在 bl3x_all.bin 下载阶段。

操作步骤:

  1. 检查接线:

    板子 Micro USB 调试口 → 电脑 USB 口(必须支持数据传输)
    板子 Type-C 口 → 5V/3A 电源适配器(仅供电)
    
  2. 监控设备管理器:

    • 烧录过程中打开 Windows 设备管理器
    • 观察 BL2 加载后是否出现新 USB 设备(如 Android Bootloader 或 Horizon Device)
    • 如果没有新设备 → USB 连接/驱动问题
  3. 更换 USB 口和线:

    • 换到电脑 后置 USB 2.0 口(前置供电可能不足)
    • 换一根 确认能传输数据 的 USB 线(有些线只能充电)

方案 2:使用更高波特率

115200 在 BL2 加载后可能不稳定:

cd D:\1\XBurn

xburn.exe -V info -p X5 -l serial_usb -d xmodem_fastboot ^
  --storage_type nand ^
  --security_type secure ^
  -i D:\edge\product_20260408 ^
  --batch_num 1 ^
  --baudrate 921600 ^
  --serial COM3 ^
  --reboot

方案 3:确认板子类型和镜像匹配

关键问题:你的板子到底是 官方 RDK X5 开发板 还是 自研底板?

板子类型 存储介质 应使用的镜像
官方 RDK X5 开发板 eMMC emmc_disk.img
自研底板(NAND 配置) SPI NAND nand_disk.img

从串口日志看是 NAND 模式,但 Marcelo 提到"擦除 eMMC",这里可能存在混淆。

请确认:

  1. 板子购买渠道(官方/第三方/自研)
  2. 镜像包 product_20260408 的来源

方案 4:联系官方获取支持

从日志看,Xburn 1.1.9 的 support_storage_type 仍只显示 ["emmc"],说明当前版本对 NAND 支持可能不完整。

提交工单:


:warning: 硬件损坏可能性

如果以上方案都失败,可能是 异常断电导致存储芯片损坏:

症状 可能原因
烧录卡在 15-16% BL2 加载后无法访问存储介质
串口有输出但无法启动 Bootloader 分区损坏
完全无串口输出 电源/芯片硬件损坏

判断方法:

  • 如果 Marcelo 用同样工具和镜像能正常烧录 → 你的板子硬件可能有问题
  • 如果换线/换口/换电脑仍失败 → 硬件损坏概率较高

:clipboard: 建议下一步

1. 先换 USB 线和 USB 口,重新测试(Marcelo 建议)
2. 同时监控设备管理器,确认 USB 设备是否被识别
3. 确认板子类型和镜像来源是否匹配
4. 如仍失败,提交官方工单申请硬件检测

补充问题:你的板子是官方 RDK X5 开发板吗?还是参考原理图自研的底板?这会影响后续支持方案。