按文档《Chapter 35 i.MX 6 PCI Express Root Complex Driver》配置了内核,但运行时不正常。
内核配置分两步,如下:
1、配置为EP
* -> System Type
-> Freescale MXC Implementations
Select the PCI Express support.
选择 PCI Express EP mode in the IMX6 RC/EP interconnection system
2、无线网卡的配置概括:
Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlagn)
Symbol: IWLAGN [=y]
│ Type : tristate
│ Prompt: Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlagn)
│ Defined at drivers/net/wireless/iwlwifi/Kconfig:1
│ Depends on: NETDEVICES [=y] && WLAN [=y] && PCI [=y] && MAC80211 [=y]
│ Location:
│ -> Device Drivers
│ -> Network device support (NETDEVICES [=y])
│ -> Wireless LAN (WLAN [=y])
│ Selects: FW_LOADER [=y] && NEW_LEDS [=y] && LEDS_CLASS [=y] && LEDS_TRIGGERS [=y] && MAC80211_LEDS [=y]
内核启动时的打印信息如下:
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.
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
iMX6 PCIe PCIe EP mode imx_pcie_pltfm_probe entering.
PCIE: imx_pcie_pltfm_probe start link up.
PCIe EP: waiting for link up...