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.

[参考译文] AM6411:am6411、u-boot:添加 PCI 支持

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1636649/am6411-am6411-u-boot-add-pci-support

器件型号: AM6411

您好、

我尝试在 u-boot 上添加 PCI 支持以使用 Renesas uPD720201、并想询问我的方法有什么问题。

我使用的是 ti-processor-sdk-linux-am64xx-evm-09.02.01.10、我的定制电路板具有 512MB RAM。 由于 RAM 很小、因此无法升级到最新的 SDK。 当新的 SDK 版本支持 512MB ram 时、我将升级到较新的 SDK 版本。

是的、我支持 PCI

1) ti-u-boot-2023.04+gitAUTOINC+8366064208/configs/am64x_evm_a53_defconfig : add config

  CONFIG_CMD_PCI=y

  CONFIG_PCI=y

  CONFIG_PCIE_DW_COMMONITOM=y
  CONFIG_PCI_Keyston=y

  CONFIG_AM654_PHY=y

  CONFIG_USB_XHIC_PCI=y

2) ti-u-boot-2023.04+gitAUTOINC+8366064208/arch/arm/dts/k3-am642-evm.dts :添加兼容字符串

{&S serdes0}{
  serdes0_pcie_link:PHY@0{
    reg =<0>;
    CDN、num-lanes =<1>;
    #phy-cells =<0>;
    CDN、phy-type = ;
    RESET =<&SERDES_wiz0 1>;
  };
};

&pcie0_rc{
  /* u-boot:pcie_dw_ti.c */
  兼容=“ti、am654-PCIe-RC“;  
  状态=“正常“;
  Reset-GPIOs =<&MAIN_GPIO1 36 GPIO_ACTIVE_HIGH>;
  PHY =<&S serdes0_pcie_link>;
  PHY-NAMES =“PCIe-phy";“;
  num-lanes =<1>;
};

但我得到的结果为空:

=> mw.l 0x0060103c 0x00000010 // GPIO1_36 复位
=> mw.l 0x00601038 0x00000010 // GPIO1_36 复位
=> PCI 枚举
=> PCI

和“dm 树“

=> dm 树

NOP       1 []    phy-j721e-wiz      |  -- wiz@f000000
物理层       0[]     CDN、torrent      ||    `Ω — SerDes@f000000

PCI      0 [ ] pcie_dw_ti        |-- PCIe@f102000

我没有看到“+"表示“表示 PCI 和串行器/解串器。

我非常感激我的方法有什么问题。

此致、

张浩

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

    嗨、Hugh、

    U-Boot 中的 PCIe RC 模式从未经过验证/测试。 U-Boot 中不支持该功能。

    [引述 userid=“573058" url="“ url="~“~/support/processors-group/processors/f/processors-forum/1636649/am6411-am6411-u-boot-add-pci-support

    当新的 SDK 版本支持 512MB ram 时、我将升级到较新的 SDK 版本。

    [/报价]

    新 SDK 支持 512MB DDR。

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

    尊敬的 Bin:

    感谢您的答复。