AnsweredAssumed Answered

imx6q  release doesn't support PCIe  Msi  ,Can pcie work ?

Question asked by harhy harhy on Nov 13, 2013
Latest reply on Nov 14, 2013 by harhy harhy

my linux L3.0.35_Version is 1.1.0_121218,MSI does not work in the version but I Want use pcie,this is my dmesg:

root@freescale ~$ dmesg

 

 

usbcore: registered new device driver usb

Freescale USB OTG Driver loaded, $Revision: 1.55 $

imx-i2c imx-i2c.1: <i2c_imx_probe>

imx-i2c imx-i2c.1: <i2c_imx_probe> bitrate:100000

mc_pfuze 1-0008: ID: 0,Full lay: 1 ,Metal lay: 1

mc_pfuze 1-0008: FAB: 0 ,FIN: 0

print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV

print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV

print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV

print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV

print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV

print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV

print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV

print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV

print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 1800 mV

print_constraints: PFUZE100_VREFDDR: at 750 mV

print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV

print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV

print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2800 mV

print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV

print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 3000 mV

print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV

i2c i2c-1: claimed irq 69

i2c i2c-1: device resources from 0x21a4000 to 0x21a4fff

i2c i2c-1: allocated 4096 bytes at 0x21a4000

i2c i2c-1: adapter name: "imx-i2c"

i2c i2c-1: IMX I2C adapter registered

imx-i2c imx-i2c.2: <i2c_imx_probe>

imx-i2c imx-i2c.2: <i2c_imx_probe> bitrate:100000

i2c i2c-2: claimed irq 70

i2c i2c-2: device resources from 0x21a8000 to 0x21a8fff

i2c i2c-2: allocated 4096 bytes at 0x21a8000

i2c i2c-2: adapter name: "imx-i2c"

i2c i2c-2: IMX I2C adapter registered

imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Version 1.0.24.

Bluetooth: Core ver 2.16

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

cfg80211: Calling CRDA to update world regulatory domain

i2c-core: driver [max17135] using legacy suspend method

i2c-core: driver [max17135] using legacy resume method

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

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

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

TCP bind hash table entries: 65536 (order: 7, 786432 bytes)

TCP: Hash tables configured (established 131072 bind 65536)

TCP reno registered

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

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

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

PCI: CLS 0 bytes, default 32

PMU: registered new PMU device of type 0

Static Power Management for Freescale i.MX6

wait mode is enabled for i.MX6

cpaddr = c0880000 suspend_iram_base=c091c000

PM driver module loaded

IMX PCIe port: link up.

pci 0000:00:00.0: [16c3:abcd] type 1 class 0x000604

pci 0000:00:00.0: reg 10: [mem 0x00000000-0x000fffff 64bit pref]

pci 0000:00:00.0: reg 38: [mem 0x00000000-0x0000ffff pref]

pci 0000:00:00.0: supports D1

pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold

pci 0000:00:00.0: PME# disabled

PCI: bus0: Fast back to back transfers disabled

pci 0000:01:00.0: [14f1:8580] type 0 class 0x000400

pci 0000:01:00.0: reg 10: [mem 0x00000000-0x001fffff 64bit]

pci 0000:01:00.0: supports D1 D2

pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot

pci 0000:01:00.0: PME# disabled

PCI: bus1: Fast back to back transfers disabled

pci 0000:00:00.0: BAR 8: assigned [mem 0x01200000-0x013fffff]

pci 0000:00:00.0: BAR 0: assigned [mem 0x01100000-0x011fffff 64bit pref]

pci 0000:00:00.0: BAR 0: set to [mem 0x01100000-0x011fffff 64bit pref] (PCI address [0x1100000-0x11fffff])

pci 0000:00:00.0: BAR 6: assigned [mem 0x01400000-0x0140ffff pref]

pci 0000:01:00.0: BAR 0: assigned [mem 0x01200000-0x013fffff 64bit]

pci 0000:01:00.0: BAR 0: set to [mem 0x01200000-0x013fffff 64bit] (PCI address [0x1200000-0x13fffff])

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

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

pci 0000:00:00.0:   bridge window [mem 0x01200000-0x013fffff]

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

IMX usb wakeup probe

the wakeup pdata is 0xbfcf6040

add wake up source irq 75

IMX usb wakeup probe

the wakeup pdata is 0xbfcf6c80

cpu regulator init ldo=1

_regulator_get: get() with no identifier

mx6_cpu_regulator_init: failed to get pu regulator

i.MXC CPU frequency driver

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

msgmni has been set to 1750

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb

valid mode RGB666

_regulator_get: get() with no identifier

mxc_ldb mxc_ldb: ldb_clk to di clk: ldb_di0_clk -> ipu1_di0_clk

mxc_ldb mxc_ldb: Single mode channel 0 route to IPU0-DI0

Inside ldb_disp_setup pixel_clk:64998000 rounded_pixel_clk:64653061

imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

mxc_sdc_fb mxc_sdc_fb.0:  ### fb_blank line:1039

mxc_sdc_fb mxc_sdc_fb.0: blank = 0

Inside ldb_disp_setup pixel_clk:64998000 rounded_pixel_clk:64653061

Console: switching to colour frame buffer device 170x48

mxc_sdc_fb mxc_sdc_fb.0:  mxcfb_pan_display line:1399

### Called fb_pan_display err:-22

mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb

valid mode RGB666

mxc_ldb mxc_ldb: for second ldb displdb mode should in separate mode

mxc_sdc_fb mxc_sdc_fb.1: NO mxc display driver found!

mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver lcd

mxc_sdc_fb mxc_sdc_fb.2: ipu0-di0 already in use

mxc_sdc_fb: probe of mxc_sdc_fb.2 failed with error -16

mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb

valid mode RGB666

mxc_ldb mxc_ldb: for second ldb displdb mode should in separate mode

mxc_sdc_fb mxc_sdc_fb.3: NO mxc display driver found!

imx-sdma imx-sdma: loaded firmware 1.1

imx-sdma imx-sdma: initialized

Serial: IMX driver

imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

console [ttymxc2] enabled, bootconsole disabled

loop: module loaded

Can't recover from RESET HBA!

No sata disk.

m25p80 spi0.0: found m25p32, expected sst25vf016b

m25p80 spi0.0: m25p32 (4096 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000100000 : "bootloader"

0x000000100000-0x000000400000 : "kernel"

GPMI NAND driver registered. (IMX)

vcan: Virtual CAN interface driver

CAN device driver interface

flexcan netdevice driver

FEC Ethernet Driver

fec_enet_mii_bus: probed

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

wait otg vbus change timeout!

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

fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

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

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

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

add wake up source irq 72

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

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

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

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

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

ARC USBOTG Device Controller driver (1 August 2005)

mousedev: PS/2 mouse device common for all mice

input: gpio-keys as /devices/platform/gpio-keys/input/input0

i2c-core: driver [isl29023] using legacy suspend method

i2c-core: driver [isl29023] using legacy resume method

snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0

i2c /dev entries driver

lirc_dev: IR Remote Control driver registered, major 252

IR NEC protocol handler initialized

IR RC5(x) protocol handler initialized

IR RC6 protocol handler initialized

IR JVC protocol handler initialized

IR Sony protocol handler initialized

IR RC5 (streamzap) protocol handler initialized

IR LIRC bridge handler initialized

Linux video capture interface: v2.00

In MVC: init_camera_struct

In MVC: init_camera_struct

###### Inside prp_enc_init line:584

###### Inside csi_enc_init line:423

In adv7180_init

DBG sensor data is at 80b9d6b8

In adv7180_probe

Inside mx6q_csi0_io_init_adv7441 line:564

Inside mx6q_csi0_io_init_adv7441 line:577 init high

Inside mx6q_csi0_io_init_adv7441 line:581 set low

Inside mx6q_csi0_io_init_adv7441 line:588 set high

Inside mx6q_csi0_cam_powerdown_adv7441 line:559

adv7441a 1-0021: adv7180_probe:adv7180 probe i2c address is 0x21

adv7441a 1-0021: adv7180_probe:Analog Device adv7 00 detected!

adv7441a 1-0021: In adv7180:adv7180_hard_reset

###### adv7180_write_reg reg:0x0 val:0xe

###### adv7180_write_reg reg:0x3 val:0x0

###### adv7180_write_reg reg:0x4 val:0x47

###### adv7180_write_reg reg:0x5 val:0x0

###### adv7180_write_reg reg:0x3c val:0xad

###### adv7180_write_reg reg:0x17 val:0x41

###### adv7180_write_reg reg:0x67 val:0x2

###### adv7180_write_reg reg:0x68 val:0xf0

###### adv7180_write_reg reg:0x1d val:0x40

###### adv7180_write_reg reg:0x31 val:0x1a

###### adv7180_write_reg reg:0x32 val:0x81

###### adv7180_write_reg reg:0x33 val:0x84

###### adv7180_write_reg reg:0x34 val:0x0

###### adv7180_write_reg reg:0x35 val:0x0

###### adv7180_write_reg reg:0x36 val:0x7d

###### adv7180_write_reg reg:0x37 val:0xa1

###### adv7180_write_reg reg:0x3a val:0x7

###### adv7180_write_reg reg:0x3c val:0xa8

###### adv7180_write_reg reg:0x47 val:0xa

###### adv7180_write_reg reg:0xba val:0xa0

###### adv7180_write_reg reg:0xf3 val:0x7

###### adv7180_write_reg reg:0x69 val:0x0

###### adv7180_write_reg reg:0xe8 val:0x41

###### adv7180_write_reg reg:0xe9 val:0x84

###### adv7180_write_reg reg:0xea val:0x6

   type is 2 (expect 2)

   num ioctls is 11

adv7441a 1-0021: adv7180:ioctl_s_power

adv7441a 1-0021: adv7180:ioctl_g_fmt_cap

   Returning size of 720x625

End of mxc_v4l2_master_attach: device_type 1

End of mxc_v4l2_master_attach: v2f pix widthxheight 288 x 352

End of mxc_v4l2_master_attach: crop_bounds widthxheight 720 x 625

End of mxc_v4l2_master_attach: crop_defrect widthxheight 720 x 625

End of mxc_v4l2_master_attach: crop_current widthxheight 720 x 625

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17

gspca: v2.13.0 registered

cx25858 driver version 2.0.111 loaded

cx25858 driver register unsuccess

usbcore: registered new interface driver uvcvideo

USB Video Class driver (v1.1.0)

i2c-core: driver [mag3110] using legacy suspend method

i2c-core: driver [mag3110] using legacy resume method

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

Bluetooth: Virtual HCI driver ver 1.3

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCIATH3K protocol initialized

Bluetooth: Generic Bluetooth USB driver ver 0.6

usbcore: registered new interface driver btusb

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci sdhci-esdhc-imx.3: support_8bit:1

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

sdhci sdhci-esdhc-imx.1: support_8bit:1

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

sdhci sdhci-esdhc-imx.2: support_8bit:1

mmc2: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA

mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

VPU initialized

mxc_asrc registered

Thermal calibration data is 0x5784c37d

Anatop Thermal registered as thermal_zone0

anatop_thermal_probe: default cooling device is cpufreq!

Registered led device: chg_now_led

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

ehci_fsl_bus_suspend begins, Host 1

ehci_fsl_bus_suspend ends, Host 1

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

usbcore: registered new interface driver snd-usb-audio

mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio

Cirrus Logic CS42888 ALSA SoC Codec Driver

i2c-core: driver [cs42888] using legacy suspend method

i2c-core: driver [cs42888] using legacy resume method

imx-hdmi-soc-dai: probe of imx-hdmi-soc-dai.0 failed with error -12

imx_3stack asoc driver

ALSA device list:

  No soundcards found.

NET: Registered protocol family 26

TCP cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

can: raw protocol (rev 20090105)

mmc0: new high speed DDR MMC card at address 0001

mmcblk0: mmc0:0001 SEM08G 7.39 GiB

mmcblk0boot0: mmc0:0001 SEM08G partition 1 2.00 MiB

mmcblk0boot1: mmc0:0001 SEM08G partition 2 2.00 MiB

mmcblk0: p1

can: broadcast manager protocol (rev 20090105 t)

mmcblk0boot1: unknown partition table

Bluetooth: RFCOMM TTY layer initialized

mmcblk0boot0: unknown partition table

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

lib80211: common routines for IEEE802.11 drivers

lib80211_crypt: registered algorithm 'NULL'

lib80211_crypt: registered algorithm 'WEP'

lib80211_crypt: registered algorithm 'CCMP'

lib80211_crypt: registered algorithm 'TKIP'

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

Bus freq driver module loaded

Bus freq driver Enabled

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on

regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on

regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on

regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on

regulator_init_complete: SPKVDD: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 02:29:39 UTC (8979)

EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended

VFS: Mounted root (ext2 filesystem) on device 179:1.

Freeing init memory: 212K

udevd (1458): /proc/1458/oom_adj is deprecated, please use /proc/1458/oom_score_adj instead.

mmc2: new high speed SDHC card at address 1234

mmcblk1: mmc2:1234 SA08G 7.28 GiB

mmcblk1: p1

EXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 234449

EXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 234449

EXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 234449

EXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 363702

EXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 363702

EXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 363702

### fbcon_blank line:2308

### fbcon_blank line:2330

mxc_sdc_fb mxc_sdc_fb.0:  ### fb_blank line:1039

mxc_sdc_fb mxc_sdc_fb.0: blank = 1

root@freescale ~$

 

 

 

 

root@freescale ~$ lspci -v

00:00.0 Class 0604: 16c3:abcd

01:00.0 Class 0400: 14f1:8580

root@freescale ~$

 

but my pci device driver cx25858 cannot register,

Outcomes