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.

[参考译文] 在我的定制器件上、使用 Yocto 生成的 SDK 版本为10.01.00.04的 tiboot3.bin 会遇到错误、导致无法正确刷写

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1520948/on-my-custom-device-the-tiboot3-bin-generated-using-yocto-with-sdk-version-10-01-00-04-encounters-an-error-that-prevents-it-from-being-flashed-properly

器件型号:TDA4VM

工具/软件:

在我的定制电路板上、使用 Yocto 与 SDK 版本10.01.00.04生成的 tiboot3.bin 会遇到阻止正常刷写的错误。 步骤如下:

首先、刷写 tiboot3.bin

刷写 tiboot3.bin 后、刷写 sysfw.itb 时发生错误

此时应该已显示该代码、但 DFU 器件不再可用。

我确认可以使用 ti-processor-sdk-linux-j7-evm-08_06_00_11版本的 SDK 来刷写我的定制器件。 但是、现在我已升级到10_01_00_04、因此无法正确刷写。 我已确保在升级之前和之后没有对我的硬件进行任何修改。

当 tda4vm 在10_01_00_04处失败时、串行端口终端:上会出现提示

tda4vm 在08_06-00_11上失败时、串行端口终端会显示提示:

我的硬件在此过程中没有变化、它全部通过 DFU 刷写到 EMMC 中。

我是否可以使用08_06-00_11版本的 Yocto 正常进行闪存和写入? tiboot3.bin 的新版本是否有任何变化。官方是否可以帮助我进行调查? 非常感谢

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

    我犯了一个错误,说了上面的东西:
    tda4vm 在08_06-00_11上成功时、串行端口终端会显示提示:

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

    您好、

    我已将您的问题交给相关专家。

    此致、
    Jared

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

    您好、

    能否提供所用引导文件的大小(例如:tiboot3.bin、sysfw.itb,tispl.bin,u-boot.img)。

    此致

    Gokul

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

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

    您好、

    我在 SDK 版本10.01.00.04上进行了相同的测试、并且在我们的 TI EVM 上运行正常。

    目标板日志:

    Welcome to minicom 2.8
    
    OPTIONS: I18n 
    Port /dev/ttyUSB0, 16:11:12
    
    Press CTRL-A Z for help on special keys
    
    
    U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    Trying to boot from DFU
    ######################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    init_env from device 18 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
    NOTICE:  BL31: Built : 04:20:32, Nov  1 2024
    I/TC: 
    I/TC: OP-TEE version: 4.4.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Oct 18 17:45:27 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: HUK Initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    Detected: J7X-BASE-CPB rev A
    Trying to boot from DFU
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    
    SoC:   J721E SR1.0 GP
    Model: Texas Instruments J721e EVM
    Board: J721EX-PM2-SOM rev E6
    DRAM:  2 GiB (effective 4 GiB)
    Core:  144 devices, 35 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1
    Detected: J7X-BASE-CPB rev A
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0 
    => 
    => 
    

    只需问几个问题:

    • SDK 中的预编译映像具有以下大小:
      • 1090079字节:tispl.bin
      • 1296715字节:u-boot.img  

    • 但是、上述2个文件的文件大小在您的情况下似乎不同。那么您是否修改了这些文件?  
      • 如果是、这些修改很可能导致问题、因为在使用 DFU 进行引导时 TI EVM 上没有出现任何问题。

    此致

    Gokul

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

    我对您下载中心的 boot-adas-j721e-evm.tar.gz 文件有疑问。 是否以任何方式进行了修改?

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

    您好、

    是否以任何方式进行了修改?

    能否就此提供更清晰的说明?

    此致

    Gokul

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

    你好
    1.我的意思是我想知道您是否可以成功刷写您使用的 tiboot3.bin、sysfw.itb、tispl.bin、u-boot.img。
    2.您使用的是 boot-adas-j721e-evm.tar.gz 吗? 它是否为纯默认配置。

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

    你好
    我发现了另一个问题
    09.02.00.05
    09.01.00.06
    09.00.01.03
    09.00.00.08
    上述版本可以正常写入 sysfw.itb tiboot3.bin tispl.bin u-boot.img。 它在10_01版本中开始失败

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

    您好、

    2. 您使用的是 boot-adas-j721e-evm.tar.gz 吗? 是否为纯默认配置。

    是的、这是我使用过的。 下载并解压该 tar 文件后、必须使用具有以下名称的文件:

    • tiboot3.bin
    • sysfw.itb.
    • tispl.bin
    • u-boot.img
    09.02.00.05

    您是否可以继续使用此版本、因为它是最新的工作版本。

    此致

    Gokul

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

    你好

    目前我们需要10.01版本。 目前、我想知道哪些问题可能会引起和解决。 您的帮助对我们非常重要


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

    您好、

    您是否在工作的 SDK 案例中尝试使用默认启动文件、或者您是否进行了任何软件更改?

    此致

    Gokul

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

    我尝试在09.02.00.05-SDK 上生成 sysfw.itb tiboot3.bin tispl.bin u-boot.img。 我发现与10.01版本相比、sysfw.itb tiboot3.bin tispl.bin u-boot.img 可以正常通过 DFU 进行刷写。

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

    然而、在09.02.00.05-SDK 上、在我编写 rootfs 后、我只能正常启动一次、以后无法正常启动。 我有点怀疑是否存在内存覆盖问题

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

    您好、

    I 试图在09.02.00.05-SDK 上生成 sysfw.itb tiboot3.bin tispl.bin u-boot.img。 我发现与10.01版本相比、sysfw.itb tiboot3.bin tispl.bin u-boot.img 通常可以通过 DFU 刷写

    您能否提供对上的引导文件所做的代码更改 09.02.00.05和10.01 SDK 、以便我们可以查看和识别问题、因为它正在处理中的文件  boot-adas-j721e-evm.tar.gz

    此致

    Gokul