Problems with pcie

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with pcie

1,937 Views
kylezhang
Contributor I

Hi, we want to extend the usb via pcie with chip (mcs9990). There is a strange thing, if the pcie setup up good, then the system stop after about 10s and then restart with "pcie link up failed". Here is the log if pcie setups ok.

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 3.0.35-2666-gbdde708 (oser@macbook) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08

/10 09:20) ) #6 SMP Tue Sep 17 09:04:37 CEST 2013

[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d

[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine: Dynsense DS7109 Board

[    0.000000] Memory policy: ECC disabled, Data cache writealloc

[    0.000000] CPU identified as i.MX6Q, silicon rev 1.2

[    0.000000] PERCPU: Embedded 7 pages/cpu @cc006000 s5728 r8192 d14752 u32768

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096

[    0.000000] Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk0p3 rootwait rw

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Memory: 1024MB = 1024MB total

[    0.000000] Memory: 1033972k/1033972k available, 14604k reserved, 360448K highmem

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)                                                                                  

[    0.000000]     vmalloc : 0xea800000 - 0xf2000000   ( 120 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xea000000   ( 672 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .init : 0xc0008000 - 0xc0033000   ( 172 kB)

[    0.000000]       .text : 0xc0033000 - 0xc04ce188   (4717 kB)

[    0.000000]       .data : 0xc04d0000 - 0xc05149e0   ( 275 kB)

[    0.000000]        .bss : 0xc0514a04 - 0xc05570a8   ( 266 kB)

[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] Hierarchical RCU implementation.

[    0.000000] NR_IRQS:624

[    0.000000] MXC GPIO hardware

[    0.000000] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

[    0.000000] arm_max_freq=1GHz

[    0.000000] MXC_Early serial console at MMIO 0x21f0000 (options '115200')

[    0.000000] bootconsole [ttymxc3] enabled

[    0.000000] Console: colour dummy device 80x30

[    0.217079] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

[    0.305391] pid_max: default: 32768 minimum: 301

[    0.310317] Mount-cache hash table entries: 512

[    0.315667] CPU: Testing write buffer coherency: ok                                                                                            

[    0.320824] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

[    0.330207] CPU1: Booted secondary processor

[    0.361619] CPU2: Booted secondary processor

[    0.401646] CPU3: Booted secondary processor

[    0.440862] Brought up 4 CPUs

[    0.456684] SMP: Total of 4 processors activated (6324.22 BogoMIPS).

[    0.463648] devtmpfs: initialized

[    0.485974] print_constraints: dummy:

[    0.489947] NET: Registered protocol family 16

[    0.498839] print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal

[    0.506463] print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal

[    0.514251] print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

[    0.521978] print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

[    0.529772] print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

[    0.537479] print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

[    0.549656] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

[    0.556488] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

[    0.563843] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.569727] L310 cache controller enabled

[    0.573764] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B

[    0.583862] IMX usb wakeup probe

[    0.587238] IMX usb wakeup probe

[    0.599086] bio: create slab <bio-0> at 0

[    0.606129] mxs-dma mxs-dma-apbh: initialized

[    0.610956] print_constraints: vmmc: 3300 mV

[    0.616092] SCSI subsystem initialized

[    0.620426] usbcore: registered new interface driver usbfs

[    0.626188] usbcore: registered new interface driver hub

[    0.631680] usbcore: registered new device driver usb

[    0.638581] Switching to clocksource mxc_timer1

[    0.643177] cfg80211: Calling CRDA to update world regulatory domain

[    0.657854] NET: Registered protocol family 2

[    0.662438] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)

[    0.670374] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)

[    0.679660] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)

[    0.687383] TCP: Hash tables configured (established 131072 bind 65536)

[    0.694025] TCP reno registered

[    0.697184] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    0.703180] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    0.710009] NET: Registered protocol family 1

[    0.714674] RPC: Registered named UNIX socket transport module.

[    0.720613] RPC: Registered udp transport module.                                                                                              

[    0.725342] RPC: Registered tcp transport module.

[    0.730061] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.737627] PMU: registered new PMU device of type 0

[    0.742741] Static Power Management for Freescale i.MX6

[    0.747994] wait mode is enabled for i.MX6

[    0.752315] cpaddr = ea880000 suspend_iram_base=ea828000

[    0.757735] PM driver module loaded

[    0.761300] iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

[    0.873230] PCIE: imx_pcie_pltfm_probe start link up.

[    0.896452] IMX PCIe port: link up.

[    0.900472] PCI: bus0: Fast back to back transfers disabled

[    0.923438] PCI: bus1: Fast back to back transfers disabled

[    0.931153] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff 64bit pref]

[    0.938948] pci 0000:00:00.0: BAR 0: set to [mem 0x01000000-0x010fffff 64bit pref] (PCI address [0x1000000-0x10fffff])

[    0.949687] pci 0000:00:00.0: BAR 8: assigned [mem 0x01100000-0x011fffff]

[    0.956506] pci 0000:00:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]

[    0.963769] pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x01100fff]

[    0.970587] pci 0000:01:00.0: BAR 0: set to [mem 0x01100000-0x01100fff] (PCI address [0x1100000-0x1100fff])

[    0.980365] pci 0000:01:00.1: BAR 0: assigned [mem 0x01101000-0x01101fff]

[    0.987190] pci 0000:01:00.1: BAR 0: set to [mem 0x01101000-0x01101fff] (PCI address [0x1101000-0x1101fff])

[    0.996968] pci 0000:01:00.2: BAR 0: assigned [mem 0x01102000-0x01102fff]

[    1.003804] pci 0000:01:00.2: BAR 0: set to [mem 0x01102000-0x01102fff] (PCI address [0x1102000-0x1102fff])

[    1.013582] pci 0000:01:00.3: BAR 0: assigned [mem 0x01103000-0x01103fff]

[    1.020399] pci 0000:01:00.3: BAR 0: set to [mem 0x01103000-0x01103fff] (PCI address [0x1103000-0x1103fff])

[    1.030177] pci 0000:01:00.4: BAR 0: assigned [mem 0x01104000-0x01104fff]

[    1.037001] pci 0000:01:00.4: BAR 0: set to [mem 0x01104000-0x01104fff] (PCI address [0x1104000-0x1104fff])

[    1.046779] pci 0000:01:00.5: BAR 0: assigned [mem 0x01105000-0x01105fff]

[    1.053603] pci 0000:01:00.5: BAR 0: set to [mem 0x01105000-0x01105fff] (PCI address [0x1105000-0x1105fff])

[    1.063380] pci 0000:01:00.6: BAR 0: assigned [mem 0x01106000-0x01106fff]

[    1.070198] pci 0000:01:00.6: BAR 0: set to [mem 0x01106000-0x01106fff] (PCI address [0x1106000-0x1106fff])

[    1.079976] pci 0000:01:00.7: BAR 0: assigned [mem 0x01107000-0x01107fff]

[    1.086799] pci 0000:01:00.7: BAR 0: set to [mem 0x01107000-0x01107fff] (PCI address [0x1107000-0x1107fff])

[    1.096577] pci 0000:00:00.0: PCI bridge to [bus 01-01]

[    1.101819] pci 0000:00:00.0:   bridge window [io  disabled]

[    1.107509] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x011fffff]

[    1.114327] pci 0000:00:00.0:   bridge window [mem pref disabled]

[    1.120837] IMX usb wakeup probe

[    1.124593] IMX usb wakeup probe

[    1.128126] cpu regulator mode:ldo_enable

[    1.132342] i.MXC CPU frequency driver

[    1.151254] highmem bounce pool size: 64 pages

[    1.169381] msgmni has been set to 1315                                                                                                        

[    1.174837] alg: No test for stdrng (krng)

[    1.179101] io scheduler noop registered

[    1.183040] io scheduler deadline registered

[    1.187408] io scheduler cfq registered (default)

[    1.192486] IMX-PCIe: MSI 0x3f00 @0x0:0x1ff8000, irq = 496

[    1.199230] imx-sdma imx-sdma: loaded firmware 1.1

[    1.208696] imx-sdma imx-sdma: initialized

[    1.350226] Serial: IMX driver

[    1.353438] imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX

[    1.359919] console [ttymxc3] enabled, bootconsole disabled

[    1.359919] console [ttymxc3] enabled, bootconsole disabled

[    1.376725] loop: module loaded

[    1.381551] usbcore: registered new interface driver asix

[    1.387076] usbcore: registered new interface driver cdc_ether

[    1.393037] usbcore: registered new interface driver smsc75xx

[    1.398920] usbcore: registered new interface driver smsc95xx

[    1.404788] usbcore: registered new interface driver net1080

[    1.410575] usbcore: registered new interface driver rndis_host

[    1.416620] usbcore: registered new interface driver cdc_subset

[    1.422669] usbcore: registered new interface driver zaurus

[    1.428266] cdc_ncm: 04-Aug-2011

[    1.431611] usbcore: registered new interface driver cdc_ncm

[    1.437410] usbcore: registered new interface driver rndis_wlan

[    1.443872] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    1.450527] add wake up source irq 73

[    1.454227] fsl-ehci fsl-ehci.2: Freescale On-Chip EHCI Host Controller

[    1.461279] fsl-ehci fsl-ehci.2: new USB bus registered, assigned bus number 1

[    1.493211] fsl-ehci fsl-ehci.2: irq 73, io base 0x02184400

[    1.513186] fsl-ehci fsl-ehci.2: USB 2.0 started, EHCI 1.00

[    1.518851] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    1.525654] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.532881] usb usb1: Product: Freescale On-Chip EHCI Host Controller

[    1.539331] usb usb1: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    1.545955] usb usb1: SerialNumber: fsl-ehci.2

[    1.551056] hub 1-0:1.0: USB hub found

[    1.554824] hub 1-0:1.0: 1 port detected

[    1.559261] add wake up source irq 74

[    1.562943] fsl-ehci fsl-ehci.3: Freescale On-Chip EHCI Host Controller

[    1.569893] fsl-ehci fsl-ehci.3: new USB bus registered, assigned bus number 2

[    1.603198] fsl-ehci fsl-ehci.3: irq 74, io base 0x02184600

[    1.623181] fsl-ehci fsl-ehci.3: USB 2.0 started, EHCI 1.00

[    1.628832] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002                                                                      

[    1.635632] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.642858] usb usb2: Product: Freescale On-Chip EHCI Host Controller

[    1.649306] usb usb2: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    1.655934] usb usb2: SerialNumber: fsl-ehci.3

[    1.660988] hub 2-0:1.0: USB hub found

[    1.664755] hub 2-0:1.0: 1 port detected

[    1.669192] add wake up source irq 75

[    1.677670] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller

[    1.684575] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 3

[    1.713200] fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000

[    1.733180] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00

[    1.738830] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002

[    1.745631] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.752859] usb usb3: Product: Freescale On-Chip EHCI Host Controller

[    1.759307] usb usb3: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    1.765934] usb usb3: SerialNumber: fsl-ehci.0

[    1.770988] hub 3-0:1.0: USB hub found

[    1.774755] hub 3-0:1.0: 1 port detected

[    1.779164] add wake up source irq 72

[    1.782865] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller

[    1.789777] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 4

[    1.823201] fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200

[    1.843185] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00

[    1.848835] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002

[    1.855637] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.862863] usb usb4: Product: Freescale On-Chip EHCI Host Controller

[    1.869312] usb usb4: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    1.875940] usb usb4: SerialNumber: fsl-ehci.1

[    1.880997] hub 4-0:1.0: USB hub found

[    1.884765] hub 4-0:1.0: 1 port detected

[    1.889282] PCI: enabling device 0000:01:00.1 (0140 -> 0142)

[    1.894989] ehci_hcd 0000:01:00.1: EHCI Host Controller

[    1.900490] ehci_hcd 0000:01:00.1: new USB bus registered, assigned bus number 5

[    1.908034] ehci_hcd 0000:01:00.1: applying MosChip frame-index workaround

[    1.943222] ehci_hcd 0000:01:00.1: irq 155, io mem 0x01101000

[    1.963182] ehci_hcd 0000:01:00.1: USB 2.0 started, EHCI 1.00

[    1.969010] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002

[    1.975816] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.983043] usb usb5: Product: EHCI Host Controller

[    1.987930] usb usb5: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    1.994553] usb usb5: SerialNumber: 0000:01:00.1

[    1.999488] +++ hub_port_connect_change:udev->level :1                                                                                          

[    1.999747] hub 5-0:1.0: USB hub found

[    1.999759] hub 5-0:1.0: 1 port detected

[    2.000187] PCI: enabling device 0000:01:00.3 (0140 -> 0142)

[    2.000214] ehci_hcd 0000:01:00.3: EHCI Host Controller

[    2.000509] ehci_hcd 0000:01:00.3: new USB bus registered, assigned bus number 6

[    2.000737] ehci_hcd 0000:01:00.3: applying MosChip frame-index workaround

[    2.023241] ehci_hcd 0000:01:00.3: irq 154, io mem 0x01103000

[    2.043189] ehci_hcd 0000:01:00.3: USB 2.0 started, EHCI 1.00

[    2.043272] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002

[    2.043280] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    2.043287] usb usb6: Product: EHCI Host Controller

[    2.043293] usb usb6: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    2.043300] usb usb6: SerialNumber: 0000:01:00.3

[    2.043862] hub 6-0:1.0: USB hub found

[    2.043875] hub 6-0:1.0: 1 port detected

[    2.044307] PCI: enabling device 0000:01:00.5 (0140 -> 0142)

[    2.044334] ehci_hcd 0000:01:00.5: EHCI Host Controller

[    2.044597] ehci_hcd 0000:01:00.5: new USB bus registered, assigned bus number 7

[    2.044811] ehci_hcd 0000:01:00.5: applying MosChip frame-index workaround

[    2.113240] ehci_hcd 0000:01:00.5: irq 153, io mem 0x01105000

[    2.223212] usb 3-1: new high speed USB device number 2 using fsl-ehci

[    2.243203] ehci_hcd 0000:01:00.5: USB 2.0 started, EHCI 1.00

[    2.249029] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002

[    2.255832] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    2.263059] usb usb7: Product: EHCI Host Controller

[    2.267946] usb usb7: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

[    2.274570] usb usb7: SerialNumber: 0000:01:00.5

[    2.279804] hub 7-0:1.0: USB hub found

[    2.283572] hub 7-0:1.0: 1 port detected

[    2.287948] PCI: enabling device 0000:01:00.7 (0140 -> 0142)

[    2.293641] ehci_hcd 0000:01:00.7: EHCI Host Controller

[    2.299165] ehci_hcd 0000:01:00.7: new USB bus registered, assigned bus number 8

[    2.306717] ehci_hcd 0000:01:00.7: applying MosChip frame-index workaround

[    2.343213] ehci_hcd 0000:01:00.7: request interrupt 152 failed

[    2.349138] ehci_hcd 0000:01:00.7: USB bus 8 deregistered

[    2.354820] ehci_hcd 0000:01:00.7: init 0000:01:00.7 fail, -22

[    2.360665] ehci_hcd: probe of 0000:01:00.7 failed with error -22

[    2.366899] usb register error with 0

[    2.370703] usbcore: registered new interface driver arc hset

[    2.376462] usb hset init succeed

[    2.380273] imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)

[    2.388450] cpuidle: using governor ladder                                                                                                      

[    2.392551] cpuidle: using governor menu

[    2.394974] unsupported device: not in white list

[    2.395019] +++ hub_port_connect_change:udev->level :1

[    2.406435] sdhci: Secure Digital Host Controller Interface driver

[    2.412619] sdhci: Copyright(c) Pierre Ossman

[    2.417084] sdhci sdhci-esdhc-imx.1: no write-protect pin available!

[    2.423491] mmc0: no vmmc regulator found

[    2.427681] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA

[    2.434999] Thermal calibration data is 0x59c50d69

[    2.439791] Thermal sensor with ratio = 186

[    2.463188] Anatop Thermal registered as thermal_zone0

[    2.468495] anatop_thermal_probe: default cooling device is cpufreq!

[    2.475415] NET: Registered protocol family 26

[    2.480355] TCP cubic registered

[    2.483599] NET: Registered protocol family 17

[    2.488055] lib80211: common routines for IEEE802.11 drivers

[    2.494497] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

[    2.502176] ThumbEE CPU extension supported.

[    2.506470] Registering SWP/SWPB emulation handler

[    2.511407] Bus freq driver module loaded

[    2.513199] usb 4-1: new high speed USB device number 2 using fsl-ehci

[    2.521949] Bus freq driver Enabled

[    2.527136] DVFS driver module loaded

[    2.532045] regulator_init_complete: vmmc: incomplete constraints, leaving on

After hang and reboot, pci linkup failed

[    0.761407] iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

[    0.873253] PCIE: imx_pcie_pltfm_probe start link up.

[    1.483143] link up failed, DB_R0:0xdc998200, DB_R1:0x0820f700!

[    1.489108] IMX PCIe port: link down!

But now the system works ok.

Or pice does not enumerate ep device successfully.

[    0.855725] PM driver module loaded

[    0.855802] iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

[    0.966432] PCIE: imx_pcie_pltfm_probe start link up.

[    0.998208]  dummy_timer is not functional.

[    1.002410] Could not switch to high resolution mode on CPU 3

[    1.176418] IMX PCIe port: link up.

[    1.180507] PCI: bus0: Fast back to back transfers disabled

[    1.205149] PCI: bus1: Fast back to back transfers enabled

[    1.211146] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff 64bit pref]

[    1.218946] pci 0000:00:00.0: BAR 0: set to [mem 0x01000000-0x010fffff 64bit pref] (PCI address [0x1000000-0x10fffff])

[    1.229690] pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]

[    1.236950] pci 0000:00:00.0: PCI bridge to [bus 01-01]

[    1.242194] pci 0000:00:00.0:   bridge window [io  disabled]

[    1.247893] pci 0000:00:00.0:   bridge window [mem disabled]

[    1.253575] pci 0000:00:00.0:   bridge window [mem pref disabled]

[    1.259715] PCI: enabling device 0000:00:00.0 (0000 -> 0003)

[    1.265796] IMX usb wakeup probe with device DR wakeup

[    1.271478] IMX usb wakeup probe with device USBH1 wakeup

[    1.277191] cpu regulator mode:ldo_enable

[    1.281412] i.MXC CPU frequency driver

[    1.300137] msgmni has been set to 21

[    1.304406] cryptodev: driver loaded.

[    1.308113] io scheduler noop registered

[    1.312048] io scheduler deadline registered

[    1.316388] io scheduler cfq registered (default)

[    1.321408] IMX-PCIe: MSI 0x3f00 @0x0:0x1ff8000, irq = 496

[    1.327809] imx-sdma imx-sdma: loaded firmware 1.1

[    1.337191] imx-sdma imx-sdma: initialized

[    1.479687] Serial: IMX driver

[    1.482896] imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX

[    1.489402] console [ttymxc3] enabled, bootconsole disabled

[    1.489402] console [ttymxc3] enabled, bootconsole disabled

[    1.506542] loop: module loaded


Thanks

Labels (2)
0 Kudos
4 Replies

789 Views
weiqing
Contributor II

We had similar problem with PCIe bridge before.

The PCIe devices can be enumerated sometimes while sometimes not.

The reason to us was: the power supplier to the PCIe bridge is not stable enough, which means after PCIe link is up the voltage to the PCIe bridge drops immediately.

We change in the hardware design to solve this problem.

Maybe you could measure the voltage to the PCIe bridge.

0 Kudos

789 Views
richard_zhu
NXP Employee
NXP Employee

Regarding to the logs pasted by you, it seems that the quality of the PCIe signals are not good enough.

BTW, regarding to the link up failure after system reboot,

did you power off/on your PCIe EP device when you reboot the system?

Best Regard

Richard

0 Kudos

789 Views
kylezhang
Contributor I

The pcie ep device resets while system starting. Does this mean most probably it's caused by the layout?

Best regards,

0 Kudos

789 Views
richard_zhu
NXP Employee
NXP Employee

The quality of PCIe signals are impacted by HW layout greatly.

Best Regard

Richard

0 Kudos