专栏底层软件新控制器烧录报错 fatal error: bl31 verify failed

新控制器烧录报错 fatal error: bl31 verify failed

解答中
雪奇的开发生活6小时前
3
1
公司设计了J3芯片的控制器,使用hbupdate_0.8.5 烧录工具烧录,报错bl31 not add header fatal error: bl31 verify failed。这是什么原因导致的?如何排查?

详细log如下:

[2026-06-23 11:16:43,967] [MainThread] [INFO] hbupdate-gui.py:1483 Horizon Robotics chip Update tool v0.8.5
[2026-06-23 11:16:43,968] [MainThread] [INFO] hbupdate-gui.py:1484 Windows 6.1.7601, pwd: G:\download_hor\hbupdate_0623\hbupdate_win64_v0.8.5_GP\hbupdate, encode: cp936
[2026-06-23 11:16:44,866] [MainThread] [DEBUG] tftpd.py:38 tftp server start on G:\download_hor\hbupdate_0623\hbupdate_win64_v0.8.5_GP\hbupdate
[2026-06-23 11:16:49,726] [MainThread] [ERROR] utils.py:47 <urlopen error [Errno 11004] getaddrinfo failed>
[2026-06-23 11:17:08,371] [MainThread] [DEBUG] hbupdate-gui.py:783 
[2026-06-23 11:17:44,659] [MainThread] [DEBUG] hbupdate-gui.py:783 F:/Downloads/WISE95D-01K01-J3A-disk-V1.7.1/WISE95D-01K01-J3A-disk-V1.7.1.img
[2026-06-23 11:17:50,343] [MainThread] [DEBUG] hbupdate-gui.py:1210 {'compress_img': True, 'check_latest': True, 'external_tftp': '', 'title': '', 'board_user': 'root', 'password': '', 'uboot_prompt': 'Hobot>', 'login_prompt': 'Horizon Robotic', 'shell_prompt': 'root@', 'recovery_prompt': '/userdata/cache', 'boot_timeout': 120, 'ota_update_timeout': 380, 'ota_app_update_timeout': 120, 'name': 'xj3_pilot', 'ota_mode': ['sftp', 'tftp', 'adb'], 'support_mode': ['ota', 'uboot', 'uart', 'fastboot'], 'boot_choose': ['lpddr4_jmicron_sec_3200', 'lpddr4_jmicron_sec_2666', 'choose'], 'uart_mode': ['tftp', 'uart', 'fastboot'], 'erase_part': ['all', 'veeprom', 'sbl', 'ddr', 'bl31', 'uboot', 'vbmeta', 'boot', 'recovery', 'system', 'bpu', 'app', 'userdata'], 'baudrate': 921600, 'support_os': ['Linux', 'Darwin', 'Windows'], 'ddr_size': '0x80000000', 'load_address': '0x06000000', 'download_root': '/userdata', 'download_speed': 200, 'download_speed_uart': 5, 'boot_config': {'lpddr4_jmicron_sec_3200': 'data/board_config/xj3-key1/boot_config/xj3_pilot_lpddr4_jmicron_3200_secure_boot.json', 'lpddr4_jmicron_sec_2666': 'data/board_config/xj3-key1/boot_config/xj3_pilot_lpddr4_micron_2666_secure_boot.json'}}
[2026-06-23 11:17:50,343] [MainThread] [DEBUG] hbupdate -gui.py:1211 uart
[2026-06-23 11:17:50,343] [MainThread] [DEBUG] hbupdate-gui.py:1212 True
[2026-06-23 11:17:50,343] [MainThread] [DEBUG] hbupdate-gui.py:1213 True
[2026-06-23 11:17:50,343] [MainThread] [DEBUG] hbupdate-gui.py:1216 =================
[2026-06-23 11:17:50,343] [MainThread] [DEBUG] hbupdate-gui.py:1217 F:/Downloads/WISE95D-01K01-J3A-disk-V1.7.1/WISE95D-01K01-J3A-disk-V1.7.1.img
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1218 COM50
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1219 192.168.10.168
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1220 192.168.10.10
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1221 192.168.10.20
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1222 255.255.255.0
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1223 192.168.10.255
[2026-06-23 11:17:50,344] [MainThread] [DEBUG] hbupdate-gui.py:1241 invalid MAC
[2026-06-23 11:18:00,422] [MainThread] [DEBUG] hbupdate-gui.py:1210 {'compress_img': True, 'check_latest': True, 'external_tftp': '', 'title': '', 'board_user': 'root', 'password': '', 'uboot_prompt': 'Hobot>', 'login_prompt': 'Horizon Robotic', 'shell_prompt': 'root@', 'recovery_prompt': '/userdata/cache', 'boot_timeout': 120, 'ota_update_timeout': 380, 'ota_app_update_timeout': 120, 'name': 'xj3_pilot', 'ota_mode': ['sftp', 'tftp', 'adb'], 'support_mode': ['ota', 'uboot', 'uart', 'fastboot'], 'boot_choose': ['lpddr4_jmicron_sec_3200', 'lpddr4_jmicron_sec_2666', 'choose'], 'uart_mode': ['tftp', 'uart', 'fastboot'], 'erase_part': ['all', 'veeprom', 'sbl', 'ddr', 'bl31', 'uboot', 'vbmeta', 'boot', 'recovery', 'system', 'bpu', 'app', 'userdata'], 'baudrate': 921600, 'support_os': ['Linux', 'Darwin', 'Windows'], 'ddr_size': '0x80000000', 'load_address': '0x06000000', 'download_root': '/userdata', 'download_speed': 200, 'download_speed_uart': 5, 'boot_config': {'lpddr4_jmicron_sec_3200': 'data/board_config/xj3-key1/boot_config/xj3_pilot_lpddr4_jmicron_3200_secure_boot.json', 'lpddr4_jmicron_sec_2666': 'data/board_config/xj3-key1/boot_config/xj3_pilot_lpddr4_micron_2666_secure_boot.json'}}
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1211 uart
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1212 True
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1213 True
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1216 =================
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1217 F:/Downloads/WISE95D-01K01-J3A-disk-V1.7.1/WISE95D-01K01-J3A-disk-V1.7.1.img
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1218 COM50
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1219 192.168.10.168
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1220 192.168.10.10
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1221 192.168.10.20
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1222 255.255.255.0
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1223 192.168.10.255
[2026-06-23 11:18:00,423] [MainThread] [DEBUG] hbupdate-gui.py:1241 invalid MAC
[2026-06-23 11:18:01,514] [Update0] [INFO] prepare_image.py:153 F:/Downloads/WISE95D-01K01-J3A-disk-V1.7.1/WISE95D-01K01-J3A-disk-V1.7.1.img -> all(emmc)
[2026-06-23 11:18:01,514] [Update0] [INFO] prepare_image.py:61 one upfile don't need sort
[2026-06-23 11:18:01,514] [Update0] [INFO] Board.py:134 checking board...
[2026-06-23 11:18:01,515] [Update0] [INFO] Board.py:137 Start to enter the branch of different download modes...
[2026-06-23 11:18:01,515] [Update0] [INFO] uart_update.py:69 prepare to entry UART download mode
[2026-06-23 11:18:06,172] [Update0] [INFO] uart_update.py:61 in UART download mode
[2026-06-23 11:18:06,175] [Update0] [DEBUG] uart_boot.py:108 data/board_config/xj3-key1/boot_config/boot_file/spl-pilot-lpddr4-jmicron-uart-3200-secure.bin start 5.000000 end 7.880668
[2026-06-23 11:18:06,175] [Update0] [INFO] uart_boot.py:109 start load data/board_config/xj3-key1/boot_config/boot_file/spl-pilot-lpddr4-jmicron-uart-3200-secure.bin
[2026-06-23 11:18:07,180] [Update0] [DEBUG] uart_boot.py:60 b'NOTICE:  ******** Load Next FWU By UART ********\r\nNOTICE:  Waiting for a moment ...\r\nC'
[2026-06-23 11:18:13,190] [Update0] [INFO] xmodem.py:249 loaded 88%, remaining time is 0m 0s
[2026-06-23 11:18:13,880] [Update0] [INFO] uart_boot.py:124 load success
[2026-06-23 11:18:13,880] [Update0] [DEBUG] uart_boot.py:108 data/board_config/xj3-key1/boot_config/boot_file/boot_pilot_uart_secure.pkg start 7.880668 end 30.000000
[2026-06-23 11:18:13,881] [Update0] [INFO] uart_boot.py:109 start load data/board_config/xj3-key1/boot_config/boot_file/boot_pilot_uart_secure.pkg
[2026-06-23 11:18:14,262] [Update0] [DEBUG] xmodem.py:317 send to device char = None:1
[2026-06-23 11:18:14,302] [Update0] [DEBUG] xmodem.py:317 send to device char = None:2
[2026-06-23 11:18:14,342] [Update0] [DEBUG] xmodem.py:317 send to device char = None:3
[2026-06-23 11:18:14,413] [Update0] [DEBUG] xmodem.py:317 send to device char = None:1
[2026-06-23 11:18:14,453] [Update0] [DEBUG] xmodem.py:317 send to device char = None:2
[2026-06-23 11:18:14,493] [Update0] [DEBUG] xmodem.py:317 send to device char = None:3
[2026-06-23 11:18:14,533] [Update0] [DEBUG] xmodem.py:317 send to device char = None:4
[2026-06-23 11:18:14,573] [Update0] [DEBUG] xmodem.py:317 send to device char = None:5
[2026-06-23 11:18:14,613] [Update0] [DEBUG] xmodem.py:317 send to device char = None:6
[2026-06-23 11:18:14,653] [Update0] [DEBUG] xmodem.py:317 send to device char = None:7
[2026-06-23 11:18:14,693] [Update0] [DEBUG] xmodem.py:317 send to device char = None:8
[2026-06-23 11:18:14,733] [Update0] [DEBUG] xmodem.py:317 send to device char = None:9
[2026-06-23 11:18:14,773] [Update0] [DEBUG] xmodem.py:317 send to device char = None:10
[2026-06-23 11:18:14,813] [Update0] [DEBUG] xmodem.py:317 send to device char = None:11
[2026-06-23 11:18:24,099] [Update0] [INFO] xmodem.py:249 loaded 11%, remaining time is 0m 38s
[2026-06-23 11:18:29,114] [Update0] [INFO] xmodem.py:249 loaded 23%, remaining time is 0m 33s
[2026-06-23 11:18:34,128] [Update0] [INFO] xmodem.py:249 loaded 34%, remaining time is 0m 28s
[2026-06-23 11:18:39,142] [Update0] [INFO] xmodem.py:249 loaded 46%, remaining time is 0m 23s
[2026-06-23 11:18:44,161] [Update0] [INFO] xmodem.py:249 loaded 57%, remaining time is 0m 18s
[2026-06-23 11:18:49,177] [Update0] [INFO] xmodem.py:249 loaded 69%, remaining time is 0m 13s
[2026-06-23 11:18:54,194] [Update0] [INFO] xmodem.py:249 loaded 81%, remaining time is 0m 8s
[2026-06-23 11:18:59,207] [Update0] [INFO] xmodem.py:249 loaded 92%, remaining time is 0m 3s
[2026-06-23 11:19:02,505] [Update0] [INFO] uart_boot.py:124 load success
[2026-06-23 11:19:02,537] [Update0] [INFO] core.py:74 [com] xyzModem - CRC mode, 3(SOH)/1054(STX)/0(CAN) packets, 2 retries
[2026-06-23 11:19:02,537] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:04,037] [Update0] [INFO] core.py:74 [com] ymodem Loaded 1079296 bytes
[2026-06-23 11:19:04,037] [Update0] [INFO] core.py:74 [com] ymodem load u-boot: dest_addr=, len=2168064
[2026-06-23 11:19:04,037] [Update0] [INFO] core.py:74 [com] uboot not add header
[2026-06-23 11:19:04,038] [Update0] [INFO] core.py:74 [com] ymodem load warm boot spl: dest_addr=, len=33792
[2026-06-23 11:19:04,038] [Update0] [INFO] core.py:74 [com] ymodem load bl31: dest_addr=, len=13312
[2026-06-23 11:19:04,038] [Update0] [INFO] core.py:74 [com] bl31 not add header
[2026-06-23 11:19:04,038] [Update0] [INFO] core.py:74 [com] fatal error: bl31 verify failed
[2026-06-23 11:19:05,639] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:08,739] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:11,839] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:14,939] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:18,039] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:21,139] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:24,239] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:27,339] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:30,439] [Update0] [DEBUG] core.py:152 try entry linux shell
[2026-06-23 11:19:33,539] [Update0] [ERROR] uart_update.py:82 entry U-boot fail after UART boot
[2026-06-23 11:19:33,583] [Update0] [ERROR] hbupdate-gui.py:144 update fail: 
底层软件
技术深度解析征程3
评论1
0/600
  • 费小财
    Lv.5

    你烧写文件的版本是匹配的吗

    3小时前
    0
    0