请问一下,烧录固件时校验分区失败该怎么解决?

开发接入

(freeone1991) #1

我的板子是 A113 linux 版 烧录时每次都卡在校验 sha1sum 码时报错,烧录工具内提供的 log (出错段节选)如下:

[10:41:36 167][HUB2-3][Inf]-------------ERASE FLASH-----------
[10:41:36 167][HUB2-3][Inf]--disk_initial 4
[10:41:36 167][HUB2-3][Inf]--Send command success
[10:41:36 173][HUB2-3][Inf]--Read command status success
[10:41:36 173][HUB2-3][Inf]-------------Download _aml_dtb.PARTITION-----------
[10:41:36 174][HUB2-3][Inf]--0-7-0-16
[10:41:36 174][HUB2-3][Inf]--download store _aml_dtb normal 34992
[10:41:36 174][HUB2-3][Inf]--Send download command success
[10:41:36 188][HUB2-3][Inf]--Read command status success
[10:41:36 291][HUB2-3][Inf]--Transfer complete
[10:41:36 291][HUB2-3][Inf]--Send download get_status command succeed
[10:41:36 295][HUB2-3][Inf]--get_status success
[10:41:36 295][HUB2-3][Inf]--verify sha1sum 0432ef0cad94851b14cb935467ee31e3ca403d55
[10:41:36 295][HUB2-3][Inf]--Send verify cmd succeed
[10:41:36 377][HUB2-3][Err]--failed:Verify Failed with sha1sum, origin sum "0432ef0cad94851b14cb935467ee31e3ca403d55" != gen sum "1f2ce1d56a8590e1ff5215660dc67b1ccf373a5d"

[10:41:36 384][HUB2-3][Err]--[0x30405004]UBOOT/Partition _aml_dtb/Verify patition/Error result

烧录工具内的报错提示如下:

想请教一下各位大神,出现这种情况该怎么解决?


(yam.zhang) #2

你换个端口试试看呢


(freeone1991) #3

感谢回复,还是不行。。。 已经把所有的口,hub的所有的口挨个试了一圈,并且把 ftp 上 m m2 m3 目录下最新的固件都试了一圈,都是卡到这个验证的地方,看了 log,似乎都是校验固件的值不等于 3cbdbd213cf4b9b4635a61f34d132fecab16e371

m3
[10:58:23 285][HUB2-1][Inf]--Send download get_status command succeed
[10:58:23 289][HUB2-1][Inf]--get_status success
[10:58:23 289][HUB2-1][Inf]--verify sha1sum aad45082cc6c4b80fcc900b84fd1f05d5c07f6e8
[10:58:23 289][HUB2-1][Inf]--Send verify cmd succeed
[10:58:23 371][HUB2-1][Err]--failed:Verify Failed with sha1sum, origin sum "aad45082cc6c4b80fcc900b84fd1f05d5c07f6e8" != gen sum "3cbdbd213cf4b9b4635a61f34d132fecab16e371"

[10:58:23 377][HUB2-1][Err]--[0x30405004]UBOOT/Partition _aml_dtb/Verify patition/Error result
[10:58:23 377][HUB2-1][Inf]--Close device handle 0x00000ca4


m2:
[10:59:42 530][HUB2-2][Inf]-------------ERASE FLASH-----------
[10:59:42 530][HUB2-2][Inf]--disk_initial 1
[10:59:42 530][HUB2-2][Inf]--Send command success
[10:59:49 466][HUB2-2][Inf]--Read command status success
[10:59:49 466][HUB2-2][Inf]-------------Download _aml_dtb.PARTITION-----------
[10:59:49 467][HUB2-2][Inf]--0-7-0-16
[10:59:49 467][HUB2-2][Inf]--download store _aml_dtb normal 35048
[10:59:49 467][HUB2-2][Inf]--Send download command success
[10:59:49 482][HUB2-2][Inf]--Read command status success
[10:59:49 584][HUB2-2][Inf]--Transfer complete
[10:59:49 585][HUB2-2][Inf]--Send download get_status command succeed
[10:59:49 588][HUB2-2][Inf]--get_status success
[10:59:49 588][HUB2-2][Inf]--verify sha1sum 1a62ba82d3fb2376d5a715aa768e6b53b11ae558
[10:59:49 588][HUB2-2][Inf]--Send verify cmd succeed
[10:59:49 655][HUB2-2][Err]--failed:
[10:59:49 659][HUB2-2][Err]--[0x30405004]UBOOT/Partition _aml_dtb/Verify patition/Error result
[10:59:49 659][HUB2-2][Inf]--Close device handle 0x000009f0

m:

[11:01:14 755][HUB2-3][Inf]-------------Download _aml_dtb.PARTITION-----------
[11:01:14 756][HUB2-3][Inf]--0-7-0-16
[11:01:14 756][HUB2-3][Inf]--download store _aml_dtb normal 35251
[11:01:14 756][HUB2-3][Inf]--Send download command success
[11:01:14 770][HUB2-3][Inf]--Read command status success
[11:01:14 874][HUB2-3][Inf]--Transfer complete
[11:01:14 874][HUB2-3][Inf]--Send download get_status command succeed
[11:01:14 878][HUB2-3][Inf]--get_status success
[11:01:14 878][HUB2-3][Inf]--verify sha1sum aad45082cc6c4b80fcc900b84fd1f05d5c07f6e8
[11:01:14 878][HUB2-3][Inf]--Send verify cmd succeed
[11:01:14 960][HUB2-3][Err]--failed:Verify Failed with sha1sum, origin sum "aad45082cc6c4b80fcc900b84fd1f05d5c07f6e8" != gen sum "3cbdbd213cf4b9b4635a61f34d132fecab16e371"

[11:01:14 966][HUB2-3][Err]--[0x30405004]UBOOT/Partition _aml_dtb/Verify patition/Error result
[11:01:14 966][HUB2-3][Inf]--Close device handle 0x00000f70

(yam.zhang) #4

你下载的是 这个吗? ftp://ftp-customer.rokid-inc.com:9921/images/amlogic_a113_audio/amlogic_linux_audio_baba_m2_a113_dev/dev/300/aml_upgrade_package.img


(freeone1991) #5

是的没错各个版本我尝试烧录的都是 aml_upgrade_package.img 这个文件


(767150435) #6

双击windows 红色地方 可以把烧录工具的日志拿出来,然后贴出来


(freeone1991) #7

感谢,上面其实都有贴 log 了,我再贴一下:

[14:06:12 122][Global][Inf]--User click start button
[14:06:12 124][Global][Inf]--SetErase
[14:06:12 124][Global][Inf]--Enable burning 1
[14:06:12 124][Global][Inf]--Scan usb device
[14:06:12 124][Global][Inf]--Aml scan WorldCup Device
[14:06:12 125][Global][Inf]--Host: USB xHCI Compliant Host Controller
[14:06:12 126][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_a12f&subsys_222d17aa&rev_31#3&33fd14ca&0&a0#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[14:06:12 126][Global][Inf]---->Roothub:USB#ROOT_HUB30#4&2058489a&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[14:06:12 126][Global][Inf]-------->[Port0]USB#VID_1A40&PID_0101#5&2c5535ca&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[14:06:12 126][Global][Inf]---------->[Port0]NoDeviceConnected
[14:06:12 126][Global][Inf]---------->[Port1]NoDeviceConnected
[14:06:12 127][Global][Inf]---------->[Port2]\\?\usb#vid_1b8e&pid_c003#6&2adec21e&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[14:06:12 127][Global][Inf]---------->[Port3]NoDeviceConnected
[14:06:12 128][Global][Inf]-------->[Port1]Other device
[14:06:12 128][Global][Inf]-------->[Port2]NoDeviceConnected
[14:06:12 128][Global][Inf]-------->[Port3]NoDeviceConnected
[14:06:12 128][Global][Inf]-------->[Port4]NoDeviceConnected
[14:06:12 128][Global][Inf]-------->[Port5]NoDeviceConnected
[14:06:12 128][Global][Inf]-------->[Port6]NoDeviceConnected
[14:06:12 129][Global][Inf]-------->[Port7]Other device
[14:06:12 129][Global][Inf]-------->[Port8]Other device
[14:06:12 129][Global][Inf]-------->[Port9]NoDeviceConnected
[14:06:12 130][Global][Inf]-------->[Port10]Other device
[14:06:12 130][Global][Inf]-------->[Port11]NoDeviceConnected
[14:06:12 131][Global][Inf]-------->[Port12]Other device
[14:06:12 131][Global][Inf]-------->[Port13]Other device
[14:06:12 132][Global][Inf]-------->[Port14]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port15]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port16]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port17]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port18]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port19]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port20]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port21]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port22]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port23]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port24]NoDeviceConnected
[14:06:12 132][Global][Inf]-------->[Port25]NoDeviceConnected
[14:06:12 132][Global][Inf]--Scan USB host controller complete
[14:06:12 132][Global][Inf]--Update data center with HubMap
[14:06:12 132][Global][Inf]--Update hub2 device data
[14:06:12 132][Global][Inf]--Update HUB2-1 
[14:06:12 132][HUB2-1][Inf]--Update device path
[14:06:12 132][Global][Inf]--Update HUB2-2 
[14:06:12 132][HUB2-2][Inf]--Update device path
[14:06:12 132][Global][Inf]--Update HUB2-3 \\?\usb#vid_1b8e&pid_c003#6&2adec21e&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[14:06:12 132][HUB2-3][Inf]--Update device path
[14:06:12 132][Global][Inf]--Update HUB2-4 
[14:06:12 132][HUB2-4][Inf]--Update device path
[14:06:12 138][Global][Inf]--Burning thread HUB2-3 start
[14:06:12 188][HUB2-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#6&2adec21e&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000b98
[14:06:12 238][HUB2-3][Inf]--Connect path=USB xHCI Compliant Host Controller/P0/P0/P2
[14:06:12 238][HUB2-3][Inf]--Start burning...
[14:06:12 289][HUB2-3][Inf]--------------ERASE BOOTLOADER------------
[14:06:12 289][HUB2-3][Inf]-------------Download DDR.USB-----------
[14:06:12 290][HUB2-3][Inf]--0-7-0-16
[14:06:12 290][HUB2-3][Inf]--Upload encrypt at 0xff800228
[14:06:12 307][HUB2-3][Inf]--ulValue = 0xe0dc318c
[14:06:12 307][HUB2-3][Inf]--No need download
[14:06:12 309][HUB2-3][Inf]--0-7-0-16
[14:06:12 309][HUB2-3][Inf]--No need download
[14:06:12 309][HUB2-3][Inf]--    low_power
[14:06:12 314][HUB2-3][Inf]--Send command success
[14:06:12 317][HUB2-3][Inf]--Read command status success
[14:06:12 318][HUB2-3][Inf]-------------Download meson1.dtb-----------
[14:06:12 319][HUB2-3][Inf]--0-7-0-16
[14:06:12 319][HUB2-3][Inf]--Enc(0xe0dc318c)
[14:06:12 319][HUB2-3][Inf]--    download mem dtb normal 34992
[14:06:12 319][HUB2-3][Inf]--Send download command success
[14:06:12 333][HUB2-3][Inf]--Read command status success
[14:06:12 343][HUB2-3][Inf]--Transfer complete
[14:06:12 343][HUB2-3][Inf]--Send download get_status command succeed
[14:06:12 346][HUB2-3][Inf]--get_status success
[14:06:12 848][HUB2-3][Inf]-------------ERASE FLASH-----------
[14:06:12 848][HUB2-3][Inf]--disk_initial 0
[14:06:12 849][HUB2-3][Inf]--Send command success
[14:06:12 854][HUB2-3][Inf]--Read command status success
[14:06:12 855][HUB2-3][Inf]-------------Download _aml_dtb.PARTITION-----------
[14:06:12 856][HUB2-3][Inf]--0-7-0-16
[14:06:12 856][HUB2-3][Inf]--download store _aml_dtb normal 34992
[14:06:12 856][HUB2-3][Inf]--Send download command success
[14:06:12 870][HUB2-3][Inf]--Read command status success
[14:06:12 973][HUB2-3][Inf]--Transfer complete
[14:06:12 973][HUB2-3][Inf]--Send download get_status command succeed
[14:06:12 977][HUB2-3][Inf]--get_status success
[14:06:12 977][HUB2-3][Inf]--verify sha1sum 0432ef0cad94851b14cb935467ee31e3ca403d55
[14:06:12 978][HUB2-3][Inf]--Send verify cmd succeed
[14:06:13 044][HUB2-3][Err]--failed:
[14:06:13 052][HUB2-3][Err]--[0x30405004]UBOOT/Partition _aml_dtb/Verify patition/Error result
[14:06:13 052][HUB2-3][Inf]--Close device handle 0x00000b98
[14:08:34 294][Global][War]--User click stop button
[14:08:34 296][Global][Inf]--Enable burning 0