This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VEN-Q1:J722S EVM、DFU 引导

Guru**** 2484615 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1444942/tda4ven-q1-j722s-evm-dfu-boot

器件型号:TDA4VEN-Q1

工具与软件:

尊敬的专家:  

我正在尝试在 J722S EVM 上测试 DFU 引导。 但我在 Ubuntu 上找不到 DFU 器件。 我在其他器件上测试的方法相同。  

1.启动模式可能不正确,请双确认: SW3[1-8]:1100 1011 SW4[1-8]:0010 0000  

2.我们在 EVM 上测试的功能,您可以在您这边尝试一下吗?

此致、

Fredy Zhang

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Fredy:

    请参阅 SDK 文档了解以下内容:

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j722s/09_02_00_05/exports/docs/linux/Foundational_Components U-Boot/UG-DFU.html#usb-peripheral-boot-mode-spl-DFU-support

    此致
    Diwakar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Diwakar、  

    您可以再次查看我的问题吗? 这与我的问题无关。 这是 DFU 的映像构建。  

    Rgeards、

    Fredy Zhang

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、 Fredy

    要使 EVM 上的器件保持在 DFU 引导模式 DIP 开关配置  

    SW3[1-8]= 11001010

    SW4[1-8]= 00000000

    此外、确保  USB0端口处于 UFP/DRP 模式:SW2[2:3]= 01或00

    此致
    Diwakar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    该设置适用于 DFU。 方法。 但 DFU 有一些误差。  

    `μ A

    [SDK-1000-j722s-DRA829]:~/startjacinto/tools/host-tools/k3-bootswitch/bin/j722s-evm> sudo dfu-util -l
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    Found DFU: [0451:6165] ver=0200, devnum=34, cfg=1, intf=0, path="3-4", alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6165] ver=0200, devnum=34, cfg=1, intf=0, path="3-4", alt=0, name="bootloader", serial="01.00.00.00"
    [SDK-1000-j722s-DRA829]:~/startjacinto/tools/host-tools/k3-bootswitch/bin/j722s-evm> sudo dfu-util -R -a bootloader -D tiboot3.bin
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6165
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 512
    Copying data from PC to DFU device
    Download        [=========================] 100%       350004 bytes
    Download done.
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    dfu-util: unable to read DFU status after completion
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    我最终在10.00 SDK 上进行了测试、它适合我使用。

    交换机配置  

    SW3[1-8]= 11001010

    SW4[1-8]= 00000000

    目标日志:

    U-Boot SPL 2024.04-dirty (Dec 02 2024 - 16:24:07 +0530)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 17048 bytes
    Trying to boot from DFU
    ###################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    Authentication passed
    init_env from device 10 not supported!
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2024.04-dirty (Dec 02 2024 - 16:27:12 +0530)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from DFU
    #####DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-dirty (Dec 02 2024 - 16:27:12 +0530)
    
    SoC:   J722S SR1.0 HS-FS
    Model: Texas Instruments J722S EVM
    DRAM:  2 GiB (effective 8 GiB)
    Core:  79 devices, 29 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    => 
    => 
    => 
    

    主机日志:

    sudo dfu-util -v -R -a bootloader -D tiboot3.bin
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6165
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 512
    Copying data from PC to DFU device
    Download	[=========================] 100%       349928 bytes
    Download done.
    Sent a total of 349928 bytes
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    dfu-util: unable to read DFU status after completion
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    0.00user 0.00system 0:02.47elapsed 0%CPU (0avgtext+0avgdata 2688maxresident)k
    0inputs+0outputs (0major+223minor)pagefaults 0swaps
    
    
     sudo time  dfu-util -v -R -a tispl.bin -D tispl.bin
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6165
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1026819 bytes
    Download done.
    Sent a total of 1026819 bytes
    state(7) = dfuMANIFEST, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    0.00user 0.00system 0:02.40elapsed 0%CPU (0avgtext+0avgdata 3328maxresident)k
    0inputs+0outputs (0major+386minor)pagefaults 0swaps
    
    
    sudo time  dfu-util -v -R -a  u-boot.img  -D u-boot.img
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6165
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #1 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1182619 bytes
    Download done.
    Sent a total of 1182619 bytes
    state(7) = dfuMANIFEST, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    0.00user 0.00system 0:02.93elapsed 0%CPU (0avgtext+0avgdata 3584maxresident)k
    0inputs+0outputs (0major+426minor)pagefaults 0swaps
    
    

    图像:

    e2e.ti.com/.../tiboot3_2D00_j722s_2D00_hs_2D00_fs_2D00_evm.bin

    e2e.ti.com/.../1300.tispl.bin

    e2e.ti.com/.../6170.u_2D00_boot.img

    此致
    Diwakar