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.

[参考译文] J784S4XEVM:在 J784S4XG01EVM 上从 OSPI/QSPI 进行闪存和引导的程序

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1643017/j784s4xevm-procedure-to-flash-and-boot-from-ospi-qspi-on-j784s4xg01evm

器件型号: J784S4XEVM

尊敬的 TI 团队:

我目前正在使用 SDK 11.02 在 J784S4XG01EVM 电路板上进行定制操作系统构建。 我成功构建了默认 ADAS 映像、将其刷写到 SD 卡中、并启动 EVM 而没有任何问题。 我还将同一映像刷写到 eMMC、并已验证从 eMMC 成功启动。

我现在尝试从 EVM 上的 OSPI/QSPI 接口进行刷写和引导。

作为参考、我的电流开关(引导模式)配置如下:

SW11: 12345678  
SW7 : 12345678  

SD    : 10000010   00000000  
eMMC  : 10000000   01000000  
OSPI  : 00000110   01000000  
UART  : 00000000   01110000  
PCIe  : 10001000   01010000  

您能否提供使用 SD 卡、eMMC 或 DFU 刷写和更新该板上的 OSPI/QSPI 和 NAND 的详细分步过程?

此外、如果您可以包含以下操作所需的确切命令、将会非常有用:

  1. 将引导加载程序、rootfs 和必要的二进制文件刷写到 OSPI/QSPI

  2. 正确配置引导模式

  3. 从 OSPI/QSPI 成功引导系统

非常感谢针对 J784S4XG01EVM 平台的任何特定指导。

此致、
Adnan

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

    尊敬的 Adnan:

    以下链接中介绍了刷写到 OSPI/QSPI 和 NAND 的过程。 请随时查看。

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j784s4/11_02_00_04/exports//docs/linux/Foundational_Components /U-Boot/UG-QSPI.html

    此致

    Gokul Praveen

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

    尊敬的 Gokul:

    您分享的链接建议使用 TFTP;但是、文档(第 3.1.2.2.1 节)指出、仅在特定平台上支持通过网络引导 U-Boot/SPL。

    您能否澄清一下该方法是否适用于我们的平台?




    此致、
    Adnan

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

    尊敬的 Adnan:

    不支持 TFTP。

    此致

    Gokul Praveen

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

    尊敬的 Gokul:

    我尝试了使用 DFU 模式刷写 OSPI。

    我能够成功刷写引导二进制文件、但是当尝试从 OSPI 引导时、我在调试 UART 上看不到任何日志。

    以下是在 U-Boot 终端中执行的用于启用 DFU 的命令:

    U-Boot # env default -a
    U-Boot # setenv dfu_alt_info ${dfu_alt_info_ospi}; dfu 0 sf "0:0:25000000:0"

    sf probe
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-8
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
    SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
    => env default -a
    ## Resetting to default environment
    => setenv dfu_alt_info ${dfu_alt_info_ospi}; dfu 0 sf "0:0:25000000:0"
    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 ...
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    
    


    从 PC 端执行的用于刷写引导加载程序二进制文件的命令:

    sudo dfu-util -l
    sudo dfu-util -c 1 -i 0 -a 0 -D tiboot3.bin
    sudo dfu-util -c 1 -i 0 -a 1 -D tispl.bin
    sudo dfu-util -c 1 -i 0 -a 2 -D u-boot.img



    sudo dfu-util -l
    dfu-util 0.11
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2021 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    Found DFU: [0451:6168] ver=7e91, devnum=7, cfg=1, intf=0, path="1-3", alt=5, name="rootfs", serial="UNKNOWN"
    Found DFU: [0451:6168] ver=7e91, devnum=7, cfg=1, intf=0, path="1-3", alt=4, name="sysfw.itb", serial="UNKNOWN"
    Found DFU: [0451:6168] ver=7e91, devnum=7, cfg=1, intf=0, path="1-3", alt=3, name="u-boot-env", serial="UNKNOWN"
    Found DFU: [0451:6168] ver=7e91, devnum=7, cfg=1, intf=0, path="1-3", alt=2, name="u-boot.img", serial="UNKNOWN"
    Found DFU: [0451:6168] ver=7e91, devnum=7, cfg=1, intf=0, path="1-3", alt=1, name="tispl.bin", serial="UNKNOWN"
    Found DFU: [0451:6168] ver=7e91, devnum=7, cfg=1, intf=0, path="1-3", alt=0, name="tiboot3.bin", serial="UNKNOWN"
    dell@dell-Latitude-7480:~/Documents/SRM-TDA4VH88TGAALYRQ1/EVK/bootfs$ sudo dfu-util -c 1 -i 0 -a 0 -D tiboot3.bin
    dfu-util 0.11
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2021 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Warning: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6168
    Device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%       506652 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    dell@dell-Latitude-7480:~/Documents/SRM-TDA4VH88TGAALYRQ1/EVK/bootfs$ sudo dfu-util -c 1 -i 0 -a 1 -D tispl.bin
    dfu-util 0.11
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2021 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Warning: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6168
    Device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Interface #1 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1322627 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    dell@dell-Latitude-7480:~/Documents/SRM-TDA4VH88TGAALYRQ1/EVK/bootfs$ sudo dfu-util -c 1 -i 0 -a 2 -D u-boot.img
    dfu-util 0.11
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2021 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Warning: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6168
    Device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Interface #2 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1398771 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    dell@dell-Latitude-7480:~/Documents/SRM-TDA4VH88TGAALYRQ1/EVK/bootfs$ 
    


    启动模式 SW11 (1–8) SW7 (1–8)
    SD 卡 10000010. 00000000
    eMMC 10000000 01000000
    OSPI 00000110 01000000
    UART 00000000 01110000
    PCIe 100010001000 01010000

    目前、我正在使用上述 OSPI 引导引脚配置。

    其他设置:

    • SW2.1 =关闭
    • SW2.[4:3] = 01(DRP 模式)

    如何将 UBI rootfs 刷写到 OSPI 并从 OSPI 引导整个系统?并从 ospi 引导?


    此致、
    Adnan

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

    尊敬的 Adnan:

    您是否可以将以下开关设置用于 OSPI:

    SW11:0000 1010

    SW7:0110 0000

    此致

    Gokul Praveen

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

    尊敬的 Gokul:

    我能够使用您提供的交换机配置来加载引导加载程序。

    以下命令用于 OSPI、对吧? 您能否还分享 QSPI 的等效命令?

    setenv dfu_alt_info ${dfu_alt_info_ospi};DFU 0 SF “0:0:25000000:0“

    我还想了解如何将根文件系统刷写到 QSPI 并从中引导。

    在我们的定制板上、USB0 直接连接到 Type-A 连接器。 我随附了与之相关的原理图图像。 是否可以使用此配置访问 DFU 模式、或者是否需要进行任何硬件/软件更改才能成功使用 DFU 模式?

     

    Regards,
    Adnan

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

    尊敬的 Gokul:

    是否对上述查询进行了更新?

    此致、
    Adnan

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

    尊敬的 Shaik:

    延迟的应答。

    在我们的定制电路板上、USB0 直接连接到 Type-A 连接器。 我随附了与之相关的原理图图像。 可以使用此配置访问 DFU 模式、或者是否需要进行任何硬件/软件更改才能成功使用 DFU 模式?

    无法对 A 类连接器访问 DFU、因为 A 类 在主机模式下运行、但 DFU 需要仅支持 Type-C 端口的设备模式。

    [引述 userid=“641958“ url=“~/support/processors-group/processors/f/processors-forum/1643017/j784s4xevm-procedure-to-flash-and-boot-from-ospi-qspi-on-j784s4xg01evm/6337715

    我还想了解如何将根文件系统刷写到 QSPI 并从中引导。

    [/报价]

    J784S4 EVM 上没有对 QSPI 的硬件支持。

    此致

    Gokul Praveem

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

    尊敬的 Gokul:

    USB ID 引脚可用于确定接口是在主机模式还是器件模式下工作、对吗?

    此外、您能否确认 J784S4XG01EVM 上的 USB 2.0 接口是否支持 DFU 模式?

    在 J784S4 EVM 上没有对 QSPI 的硬件支持。

    不过、我可以 ospi0 ospi1 在器件树中看到这两个和已配置。

    从 DTS 中:

    • ospi0 通过 ospi0_nor 总线宽度 8 配置闪存
    • ospi1 通过 ospi1_nor 总线宽度 4 配置闪存


    此致、
    Adnan

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

    尊敬的 Shaik:

    在 TI EVM 上、使用 A 型时、USB ID 引脚在硬件 itsel 中被拉低、这就是为什么在 TI EVM 上无法将 DFU 模式与 A 型搭配使用的原因。

    USB ID 引脚可用于确定接口是在主机模式还是设备模式下工作、正确吗?

    现在、考虑到您的定制电路板用例、根据您分享的原理图、USB ID 引脚接地、这意味着 USB0 接口在主机模式下运行、因此无法使用 DFU。

    [引述 userid=“641958“ url=“~/support/processors-group/processors/f/processors-forum/1643017/j784s4xevm-procedure-to-flash-and-boot-from-ospi-qspi-on-j784s4xg01evm/6343133

    不过、我可以 ospi0 ospi1 在器件树中看到这两个和已配置。

    从 DTS 中:

    • ospi0 通过 ospi0_nor 总线宽度 8 配置闪存
    • ospi1 通过 ospi1_nor 总线宽度 4 配置闪存
    [/报价]

    关于使用 DFU 刷写到 QSPI、您能否尝试执行以下 E2E 步骤:

    e2e.ti.com/.../processor-sdk-j721e-how-to-flash-u-boot-to-qspi-using-dfu

    此致

    Gokul Praveen

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

    尊敬的 Gokul:

    现在、考虑到您的定制电路板用例、根据您共享的原理图、USB ID 引脚接地、这意味着 USB0 接口在主机模式下运行、因此不能使用 DFU。


    如果移除 USB ID 下拉电阻器且 ID 引脚保持悬空、您能否确认 DFU 模式是否有效?

    此致、
    Adnan

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

    尊敬的 Shaik:

    如果移除 USB ID 下拉电阻且 ID 引脚保持悬空、您能否确认 DFU 模式是否有效?

    我已通知 USB 硬件专家对此有一个研究. Shreyas Rao  您对此有任何意见吗?

    [引述 userid=“641958“ url=“~/support/processors-group/processors/f/processors-forum/1643017/j784s4xevm-procedure-to-flash-and-boot-from-ospi-qspi-on-j784s4xg01evm/6343133

    不过、我可以 ospi0 ospi1 在器件树中看到这两个和已配置。

    从 DTS 中:

    • ospi0 通过 ospi0_nor 总线宽度 8 配置闪存
    • ospi1 通过 ospi1_nor 总线宽度 4 配置闪存

    [/报价]

    关于使用 DFU 刷写到 QSPI、您能否尝试执行以下 E2E 步骤:

    e2e.ti.com/.../processor-sdk-j721e-how-to-flash-u-boot-to-qspi-using-dfu

    此致

    Gokul Praveen

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

    尊敬的 Gokul:

    我能够使用共享链接中提到的命令将引导加载程序刷写到 QSPI。
     

    dfu 0 sf "1:0:25000000:0"
    
    The 1:0 instance corresponds to QSPI.

    您能告诉我如何专门从 QSPI (OSPI1_NOR) 引导吗? 选择 OSPI1 引导是否需要任何专用开关设置?

    我是否也应该使用之前为 OSPI0 引导共享的以下开关设置?

    SW11:0000 1010
    SW7:0110 0000

    此致、
    Adnan

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

    尊敬的 Shaik:

    能否尝试使用以下 QSPI 设置:

    SW7:00100000

    SW11:00000000

    此致

    Gokul Praveen

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

    尊敬的 Gokul:

    我能够使用您提供的引导引脚设置进行引导。

    U-Boot SPL 2025.01-00773-gdf1fe2382304 (Dec 24 2025 - 07:50:42 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    Initialized 4 DRAM controllers
    SPL initial stack usage: 13584 bytes
    Trying to boot from SPI
    Skipping authentication on GP device
    Skipping authentication on GP device
    Skipping authentication on GP device
    Skipping authentication on GP device
    Skipping authentication on GP device
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty
    NOTICE:  BL31: Built : 07:01:36, Jul  1 2025
    I/TC: 
    I/TC: OP-TEE version: 4.7.0-47-ga9690ae39-dev (gcc version 13.4.0 (GCC)) #1 Thu Aug  7 15:25:10 UTC 2025 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 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: EIP76D TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: HUK Initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2025.01-00773-gdf1fe2382304 (Dec 24 2025 - 07:50:42 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.8--v11.02.08 (Fancy Rat)')
    DM ABI: 3.0 (firmware ver 0x000b 'PSDK.11.02.00.07--v11.02.07' patch_ver: 7)
    Trying to boot from SPI
    jedec_spi_nor flash@0: Software reset enable failed: -524
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:328
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    cadence_spi spi@47050000: Pattern not found. Skipping calibration
    Skipping authentication on GP device
    Skipping authentication on GP device
    
    
    U-Boot 2025.01-00773-gdf1fe2382304 (Dec 24 2025 - 07:50:42 +0000)
    
    SoC:   J784S4 SR1.0 GP
    Model: Texas Instruments J784S4 EVM
    DRAM:  2 GiB (total 32 GiB)
    Core:  147 devices, 36 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2880000
    Out:   serial@2880000
    Err:   serial@2880000
    Net:   am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    eth0: ethernet@46000000port@1am65_cpsw_nuss ethernet@c200000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    mdio_register: non unique device name 'mdio@f00'
    am65_cpsw_nuss_port ethernet@c200000port@1: phy_connect() failed
    
    Hit any key to stop autoboot:  0 
    => 
    => 

    我现在能够成功刷写引导加载程序并从 QSPI 和 OSPI 接口进行引导。

    现在、我想了解如何从这些 SPI 闪存接口引导 Linux 内核和根文件系统。

    我看到一些参考文献提到此设置可能需要 UBI 映像。 请您澄清一下:

    • UBI/UBIFS 对于从 QSPI/OSPI NOR 闪存引导内核和 rootfs 是否是必需的
    • 如何在 SDK/Yocto 构建环境中生成所需的 UBI 映像
    • 任何所需的分区布局或 U-Boot 环境都会发生更改
    • 针对内核、DTB 和 rootfs 到 SPI NOR 中的建议刷写步骤

    另外、如果此用例有任何参考文档或闪存布局示例、敬请告知。

    此致、
    Adnan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引述 userid=“567772“ url=“~/support/processors-group/processors/f/processors-forum/1643017/j784s4xevm-procedure-to-flash-and-boot-from-ospi-qspi-on-j784s4xg01evm/6344982

    我已通知 USB 硬件专家对此有一个研究.   您对此有任何意见吗?

    [/报价]

    在数据手册中:  

    对于 USB 设备模式、USB_ID 必须接地以进行主机操作、并使其保持悬空或开路、并且绝不应连接到任何其他外部电压源。