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.

关于C6678EVM PCIe启动



大家好:

     我在使用C6678 EVM板做PCIe boot测试:

      如 C:\ti\mcsdk_2_01_02_06\tools\boot_loader\examples\pcie\docs文档所说,我想测试文档中的第7点EDMA-Interrupt启动,但还有些不明白的地方想请教大家:

在interrupt_elf2HBin.bat,几个参数情况如下:

set C6000_CG_DIR="C:\Program Files\Texas Instruments\C6000 Code Generation Tools 7.4.0"
set TOOL_DIR="..\..\..\..\..\..\"
set TARGET=6678
set ENDIAN=little
set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;

我想问下TOOL_DIR和PATH具体是指什么的路径呢?我修改了C6000_CG_DIR,在

C:\ti\mcsdk_2_01_02_06\tools\boot_loader\examples\pcie\pcieboot_interrupt\evmc6678l\bin中生成了pcieboot_interrupt.bin;pcieboot_interrupt.btbl;pcieboot_interrupt.h;pcieInterrupt.h四个文件,是否有对这四个文件使用介绍的文档?我应该有一个镜像文件作为linux PC通过PCIe传递到C6678的启动镜像吧?这个镜像是如何产生的?通过什么操作或指令让镜像传到C6678?

IBL的代码是否已经是固化在了0x51地址中,它的源代码C:\ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\src,其中C66xinit.c中有关于PCIe配置的代码。如果我想修改PCIe某个寄存器的配置的话,是否只需要改变C66xinit.c的代码,然后重新编译烧写至0x51?

谢谢!





  • 1TOOL_DIR指的是*.bat工具所处的目录位置

    2文件格式和镜像启动过程请查阅bootloader userguide中的boot configuration format 和 boot process章节

    http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sprugy5&fileType=pdf

    3对的,你的理解是正确的