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.

[参考译文] AM62L:AM62L 在使用 snagfactory 工具时遇到了一些问题

Guru**** 2445440 points
Other Parts Discussed in Thread: AM62L

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1545955/am62l-the-am62l-is-experiencing-a-bit-of-a-problem-with-the-snagfactory-tool

器件型号:AM62L
主题: DRA821 中讨论的其他器件

工具/软件:

尊敬的 TI:

BL1 阶段打印加载 2 次、打印日志如下所示:
NOTICE:  bl1_plat_arch_setup arch setup 
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.12.0(release):11.00.15-1-g2ae701def-dirty
NOTICE:  BL1: Built : 08:31:01, Jul 23 2025
NOTICE:  BL1: dram_class: 10
NOTICE:  lpddr4: post start - PI training status=0x29c02000 
NOTICE:  bl1_platform_setup DDR init done
NOTICE:  k3_bl1_handoff ENTERING WFI - end of bl1
NOTICE:  bl1_plat_arch_setup arch setup 
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.12.0(release):11.00.15-1-g2ae701def-dirty
NOTICE:  BL1: Built : 08:31:01, Jul 23 2025
NOTICE:  BL1: dram_class: 10
NOTICE:  lpddr4: start failed status = 0x5
NOTICE:  bl1_platform_setup DDR init failed 
snagfactory 的日志如下:
TI 专家能否帮助我了解原因?您可以参考此链接继续运行: software-dl.ti.com/.../Flash_via_Fastboot.html
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    1/。 您的硬件是 TI AM62L EVM 还是客户电路板?
    2/。 我们是否在您的硬件上按照以下所述测试了 DFU?
    https://software-dl.ti.com/processor-sdk-linux/esd/AM62LX/11_00_15_05/exports/docs/linux/Foundational_Components /U-Boot/UG-DFU.html
    此致、
    - Hong

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

    1.我们的硬件是客户板。

    我们已经在我们的硬件、上测试了 DFU、DFU 日志如下:

    NOTICE:  bl1_plat_arch_setup arch setup 
    NOTICE:  Booting Trusted Firmware
    NOTICE:  BL1: v2.12.0(release):11.00.15-1-g2ae701def-dirty
    NOTICE:  BL1: Built : 08:31:01, Jul 23 2025
    NOTICE:  BL1: dram_class: 10
    NOTICE:  lpddr4: post start - PI training status=0x29c02000 
    NOTICE:  bl1_platform_setup DDR init done
    NOTICE:  k3_bl1_handoff ENTERING WFI - end of bl1
    NOTICE:  BL31: v2.12.0(release):11.00.15-1-g2ae701def-dirty
    NOTICE:  BL31: Built : 08:31:04, Jul 23 2025
    NOTICE:  SYSFW ABI: 4.0 (firmware rev 0x000b '11.0.12-v11.00.12 (Fancy Rat)')
    ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
    
    U-Boot SPL 2025.01-ga779a6c06ef7-dirty (Jul 28 2025 - 18:13:00 +0800)
    SPL initial stack usage: 1872 bytes
    Trying to boot from DFU
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
    
    
    U-Boot 2025.01-ga779a6c06ef7-dirty (Jul 28 2025 - 18:13:00 +0800)
    
    SoC:   AM62LX SR1.0 HS-FS
    Model: Texas Instruments AM62L3 Evaluation Module
    DRAM:  475 MiB (total 512 MiB)
    ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
    Core:  66 devices, 30 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Warning: ethernet@8000000port@2 (eth1) using random MAC address - 56:24:15:a6:61:d3
    , eth1: ethernet@8000000port@2
    Hit any key to stop autoboot:  0 
    => 
    => 
    => 
    => 
    => run qspi_nand_dfu_boot
    Erasing 0x00000000 ... 0x0007ffff (4 eraseblock(s))
    
    device spi-nand0 <spi-nand0>, # parts = 5
     #: name                size            offset          mask_flags
     0: ospi_nand.tiboot3   0x00080000      0x00000000      0
     1: ospi_nand.tispl     0x00100000      0x00080000      0
     2: ospi_nand.u-boot    0x00200000      0x00180000      0
     3: ospi_nand.rootfs    0x07be0000      0x00400000      0
     4: ospi_nand.phypattern0x00020000      0x07fe0000      0
    
    active partition: spi-nand0,0 - (ospi_nand.tiboot3) 0x00080000 @ 0x00000000
    
    defaults:
    mtdids  : 
    mtdparts: 
    generic_phy_get_bulk : no phys property
    ##DOWNLOAD ... OK
    Ctrl+C to exit ...
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###########DOWNLOAD ... OK
    Ctrl+C to exit ...
    #####################################################################################################################################################################################################################DOWNLOAD ... OK
    Ctrl+C to exit ...

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

    感谢您的回复、并确认 DFU 在您的电路板上正常工作。
    这是 Linux 11.01 版本的更新 snagfactory 用户指南、可用作 AM62L 的参考
    https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/11_01_05_03/exports/docs/linux/Foundational_Components Flash_via_Fastboot.html
    此致、
    - Hong

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

    TI 是否在 am62l 上测试了 snagfactory?我已经按照此操作运行、但仍然失败。我们之前遇到了由错误的 DDR 配置引起的这个问题。我们现在使用新的 DDR 配置、am62l 可以从 USB DFU 和 QSPI NAND 引导、 但仍然无法使用 snagfactory 进行引导。 TI 能给我一些建议吗、谢谢。

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

    我们在 AM6234 平台上实现了 snagfactory。

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

    是的、AM62L 支持 Snagfactory。
    https://github.com/bootlin/snagboot/blob/3bc4fa83f0047d8eae4aa8203080be37ba8df658/src cs./snagrecover/supported_socs.yaml#l18
    附件是 TI SDK 团队在 AM62L EVM 上提供的 Snagfactory 刷写示例日志、供您参考。
    此致、
    - Hong

    e2e.ti.com/.../am62l_5F00_snagfactory_5F00_flashing.log

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

    您好、

    您能给我一个 am62l 的 snagfactory yaml 配置文件吗? 我的配置文件可能有问题。

    谢谢

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

    附加 ospi-config.yaml 以供参考。
    此致、
    - Hong

    e2e.ti.com/.../ospi_2D00_config.yaml

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

    您好、

    SNAGFACTORY 现在是否支持 DRA821?

    谢谢

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

    AM62/A/P/L 和 AM64 系列器件目前支持 Snagfactory

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

    您好、张:
    AM62L Snagfactory 刷写现在是否可以在您的电路板上正常工作?
    此致、
    - Hong

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

    是的、 我的配置文件有问题。

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

    您好、张:
    最好知道电路板上的 Snagfactory 刷写工作正常。
    我将关闭 e2e。
    此致、
    - Hong