Xavier jetpack4.2.2 enable pcie c4 controller failed

dtb enable pcie c4 controller:


xavier-jetpack4.2.2-pcie-c4-error.log (66.6 KB)

[ 6.558918] tegra-pcie-dw 14100000.pcie: link is up
[ 6.559350] tegra-pcie-dw 14100000.pcie: PCI host bridge to bus 0001:00
[ 6.559506] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 6.559624] pci_bus 0001:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x30100000-0x301fffff])
[ 6.559798] pci_bus 0001:00: root bus resource [mem 0x1230000000-0x123fffffff] (bus address [0x40000000-0x4fffffff])
[ 6.559985] pci_bus 0001:00: root bus resource [mem 0x1200000000-0x122fffffff pref]
[ 6.560531] iommu: Adding device 0001:00:00.0 to group 63
[ 6.562140] iommu: Adding device 0001:01:00.0 to group 64
[ 6.571839] pci 0001:00:00.0: BAR 14: assigned [mem 0x1230000000-0x12300fffff]
[ 6.572009] pci 0001:00:00.0: BAR 13: assigned [io 0x100000-0x100fff]
[ 6.572140] pci 0001:01:00.0: BAR 6: assigned [mem 0x1230000000-0x123003ffff pref]
[ 6.572310] pci 0001:01:00.0: BAR 5: assigned [mem 0x1230040000-0x12300407ff]
[ 6.572475] pci 0001:01:00.0: BAR 4: assigned [io 0x100000-0x10001f]
[ 6.572626] pci 0001:01:00.0: BAR 0: assigned [io 0x100020-0x100027]
[ 6.572798] pci 0001:01:00.0: BAR 2: assigned [io 0x100028-0x10002f]
[ 6.572939] pci 0001:01:00.0: BAR 1: assigned [io 0x100030-0x100033]
[ 6.578416] pci 0001:01:00.0: BAR 3: assigned [io 0x100034-0x100037]
[ 6.584738] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 6.589933] pci 0001:00:00.0: bridge window [io 0x100000-0x100fff]
[ 6.596154] pci 0001:00:00.0: bridge window [mem 0x1230000000-0x12300fffff]
[ 6.603714] pci 0001:00:00.0: Max Payload Size set to 256/ 256 (was 256), Max Read Rq 512
[ 6.612420] pci 0001:01:00.0: Max Payload Size set to 256/ 512 (was 128), Max Read Rq 512
[ 6.620817] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[ 6.627572] pci 0001:01:00.0: Signaling PME through PCIe PME interrupt
[ 6.645318] ahci 0001:01:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[ 6.645494] ahci 0001:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 6.651614] scsi host1: ahci
[ 6.653155] scsi host2: ahci
[ 6.656351] scsi host3: ahci
[ 6.659242] scsi host4: ahci
[ 6.661729] ata1: SATA max UDMA/133 abar m2048@0x1230040000 port 0x1230040100 irq 820
[ 6.669401] ata2: SATA max UDMA/133 abar m2048@0x1230040000 port 0x1230040180 irq 820
[ 6.677353] ata3: SATA max UDMA/133 abar m2048@0x1230040000 port 0x1230040200 irq 820
[ 6.685041] ata4: SATA max UDMA/133 abar m2048@0x1230040000 port 0x1230040280 irq 820
[ 6.692994] tegra-pcie-dw 14140000.pcie: Setting init speed to max speed
[ 6.700339] OF: PCI: host bridge /pcie@14140000 ranges:
[ 6.704754] OF: PCI: IO 0x34100000…0x341fffff → 0x34100000
[ 6.710762] OF: PCI: MEM 0x12b0000000…0x12bfffffff → 0x40000000
[ 6.717060] OF: PCI: MEM 0x1280000000…0x12afffffff → 0x1280000000
[ 6.834884] tegra-pcie-dw 14140000.pcie: link is up
[ 6.835287] tegra-pcie-dw 14140000.pcie: PCI host bridge to bus 0003:00
[ 6.835420] pci_bus 0003:00: root bus resource [bus 00-ff]
[ 6.835525] pci_bus 0003:00: root bus resource [io 0x200000-0x2fffff] (bus address [0x34100000-0x341fffff])
[ 6.835698] pci_bus 0003:00: root bus resource [mem 0x12b0000000-0x12bfffffff] (bus address [0x40000000-0x4fffffff])
[ 6.835915] pci_bus 0003:00: root bus resource [mem 0x1280000000-0x12afffffff pref]
[ 6.836429] iommu: Adding device 0003:00:00.0 to group 65
[ 6.838241] iommu: Adding device 0003:01:00.0 to group 66
[ 6.847822] pci 0003:00:00.0: BAR 14: assigned [mem 0x12b0000000-0x12b00fffff]
[ 6.847993] pci 0003:01:00.0: BAR 0: assigned [mem 0x12b0000000-0x12b0001fff 64bit]
[ 6.848237] pci 0003:01:00.0: BAR 2: assigned [mem 0x12b0002000-0x12b00020ff 64bit]
[ 6.848454] pci 0003:01:00.0: BAR 4: assigned [mem 0x12b0002100-0x12b00021ff 64bit]
[ 6.848684] pci 0003:00:00.0: PCI bridge to [bus 01-ff]
[ 6.848791] pci 0003:00:00.0: bridge window [mem 0x12b0000000-0x12b00fffff]
[ 6.848944] pci 0003:00:00.0: Max Payload Size set to 256/ 256 (was 256), Max Read Rq 512
[ 6.851530] pci 0003:01:00.0: Max Payload Size set to 256/ 512 (was 128), Max Read Rq 512
[ 6.860257] pcieport 0003:00:00.0: Signaling PME through PCIe PME interrupt
[ 6.866864] pci 0003:01:00.0: Signaling PME through PCIe PME interrupt
[ 6.873812] lan743x 0003:01:00.0: enabling device (0000 → 0002)
[ 6.879402] lan743x 0003:01:00.0 (unnamed net_device) (uninitialized): PCI: Vendor ID = 0x1055, Device ID = 0x7430
[ 6.889569] lan743x 0003:01:00.0 (unnamed net_device) (uninitialized): ID_REV = 0x74300011, FPGA_REV = 0.0
[ 6.912035] lan743x 0003:01:00.0 (unnamed net_device) (uninitialized): MAC address set to 00:11:22:33:44:77
[ 6.927737] libphy: lan743x-mdiobus: probed
[ 6.928537] tegra-pcie-dw 14160000.pcie: Setting init speed to max speed
˙âWARNING: at platform/drivers/mailbox/mail_mach.c:148
WARNING: at platform/drivers/mailbox/mail_mach.c:161
WARNING: at platform/drivers/mailbox/mail_mach.c:177
WARNING: at platform/drivers/mailbox/mail_mach.c:161
WARNING: at platform/drivers/mailbox/mail_mach.c:177
WARNING: at platform/drivers/mailbox/mail_mach.c:161
WARNING: at platform/drivers/mailbox/mail_mach.c:177
WARNING: at platform/drivers/mailbox/mail_mach.c:161
WARNING: at platform/drivers/mailbox/mail_mach.c:177
WARNING: at platform/drivers/mailbox/mail_mach.c:161
WARNING: at platform/drivers/mailbox/mail_mach.c:177
WARNING: at platform/drivers/mailbox/mail_mach.c:161
WARNING: at platform/drivers/mailbox/mail_mach.c:177
WARNING: at platform/drivers/mailbox/mail_mach.c:161

Device tree looks correct. Better checking on newer release.

application only support in jetpact4.2.2. so must solve this issue.

The JetPack 4.2.2 was released at 2019-Aug, that’s really too old to support by now.

pls help me, maybe need check anywhere?

先后验证了jetpack4.2、4.3、4.4版本,验证方法如下:1、把对应jetpack版本 kernel 源码使能pcie c4: pcie@14160000 {
status = “okay”;

            vddio-pex-ctl-supply = <&p2888_spmic_sd3>;
            nvidia,disable-aspm-states = <0xf>;
            nvidia,enable-power-down;
            nvidia,disable-clock-request;

            nvidia,max-speed = <4>;

            phys = <&p2u_8>,
            <&p2u_9>;

            phy-names = "pcie-p2u-0", "pcie-p2u-1";
    };

然后编译出kernel dtb,然后sudo ./flash.sh jetson-xavier mmcblk0p1烧到模组,启动后从串口可以看到卡在:

2、最后尝试到jetpack4.5版本后(包括4.6.1),同样使能pcie c4后就不存在上述问题了。在4.5版本应该解决了上述问题,还请RD开放有关在jetpack4.5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.