专栏底层软件HBUPDATE下载-update fail: local variable 'partition_one' referenced before assignment

HBUPDATE下载-update fail: local variable 'partition_one' referenced before assignment

已解决
danyxnever2022-12-05
47
5

[2022-12-05 17:42:14,149] [Update0] [INFO] core.py:92 [com] U-Boot 2018.09-gfed2490e-dirty (Oct 26 2022 - 17:42:24 +0800) for hobot_j5

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] +++show_board_info

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] DRAM: 8 GiB

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] Flash: +++drivers/core/uclass.c:222/uclass_find_first_device()!

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] 1111111111ret:0,name:mtd

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] 222222222222

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] ## Unknown flash on Bank 1 - Size = 0x00000000 = 0 MB

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] 0 Bytes

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] MMC: +++drivers/core/uclass.c:222/uclass_find_first_device()!

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] 1111111111ret:0,name:mmc

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] 222222222222

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] 3333333333333:-1140894432

[2022-12-05 17:42:14,150] [Update0] [INFO] core.py:92 [com] sdhc@0x48030000: 0, sdhc@0x48040000: 1

[2022-12-05 17:42:14,152] [Update0] [INFO] core.py:92 [com] Loading Environment from NVRAM... OK

[2022-12-05 17:42:14,152] [Update0] [INFO] core.py:92 [com] In: uart@43B90000

[2022-12-05 17:42:14,152] [Update0] [INFO] core.py:92 [com] Out: uart@43B90000

[2022-12-05 17:42:14,152] [Update0] [INFO] core.py:92 [com] Err: uart@43B90000

[2022-12-05 17:42:14,152] [Update0] [INFO] core.py:92 [com] Net: +++drivers/core/uclass.c:570/uclass_first_device_check()!

。。。

[2022-12-05 17:42:29,426] [Update0] [INFO] core.py:92 [com] printenv fastboot.is-secureboot

[2022-12-05 17:42:29,426] [Update0] [INFO] core.py:92 [com] fastboot.is-secureboot=yes

[2022-12-05 17:42:29,426] [Update0] [INFO] core.py:92 [com] Hobot#

[2022-12-05 17:42:29,427] [Update0] [DEBUG] transfer_to_board.py:343 run fastboot_cmd

[2022-12-05 17:42:30,428] [Update0] [INFO] transfer_to_board.py:347 cmd:fastboot -s udp:10.10.16.12:5554 getvar pksel

[2022-12-05 17:42:30,428] [Update0] [DEBUG] core.py:633 cd tools/adb/windows-j5 && fastboot -s udp:10.10.16.12:5554 getvar pksel

[2022-12-05 17:42:33,084] [Update0] [DEBUG] utils.py:256 error: no response from target

< waiting for udp:10.10.16.12:5554 >

getvar:pksel FAILED (remote: 'Variable not implemented')

Finished. Total time: 0.001s

[2022-12-05 17:42:33,085] [Update0] [INFO] transfer_to_board.py:370 after switch spl_file_name: D:/J5/package\spl.img0.bin, gpt_file_name: gpt_main-secure.img

[2022-12-05 17:42:33,085] [Update0] [INFO] transfer_to_board.py:371 start fastboot burn in j5 uboot...

[2022-12-05 17:42:33,085] [Update0] [INFO] transfer_to_board.py:372 start burn partition: ['all', 'sbl', 'gpt']

[2022-12-05 17:42:33,085] [Update0] [INFO] transfer_to_board.py:375 cmd:fastboot -s udp:10.10.16.12:5554 flash gpt "D:/J5/package\gpt_main-secure.img"

[2022-12-05 17:42:33,085] [Update0] [DEBUG] core.py:633 cd tools/adb/windows-j5 && fastboot -s udp:10.10.16.12:5554 flash gpt "D:/J5/package\gpt_main-secure.img"

[2022-12-05 17:42:33,260] [Update0] [DEBUG] utils.py:256 Sending 'gpt' (17 KB) OKAY [ 0.006s]

Writing 'gpt' FAILED (remote: 'error write the image')

fastboot: error: Command failed

[2022-12-05 17:42:33,373] [Update0] [ERROR] hbupdate-gui.py:149 update fail: local variable 'partition_one' referenced before assignment

[2022-12-05 17:44:06,385] [MainThread] [DEBUG] hbupdate-gui.py:629 app exit

这个可能是什么问题

底层软件
征程5
评论3
0/1000
  • 疯狂星期6
    Lv.1

    您好:

    烦请补充下以下3点信息,以便进一步定位:

    1. 出上述异常时,地平线升级工具的界面截图。

    2. 请告知下,这个异常是必现的,还是偶现的?

    3. 请简要描述下,出异常时执行的操作流程。

    谢谢!

    2022-12-05
    0
    2
    • danyxnever回复疯狂星期6:

      2、必现

      3、接上线,点升级就出现了

      2022-12-06
      0
    • 疯狂星期6回复danyxnever:

      您好:

      请使用高版本的升级工具试一下,这个问题在1.8版本的工具已修复。可使用1.9版本的工具试一下。

      谢谢!

      2022-12-06
      0
  • Daitao
    Lv.1

    您好:

    可以升级到hbupdate 1.9版本试一下。

    目测为该版本hbupdate的bug。

    谢谢

    2022-12-08
    0
    0
  • danyxnever
    Lv.1

    谢谢,已解决,emmc故障,串口进去看不到emmc设备

    2022-12-08
    0
    0