VAR-SOM-MX6 PCIE: Difference between revisions

From Variscite Wiki
Line 18: Line 18:
</pre>
</pre>
= Kernel configuration adding Intel 7260 device driver =
= Kernel configuration adding Intel 7260 device driver =
{{note|Note:We assume that you are familiar with kernel manipulation. If no please read [[VAR-SOM-MX6 Yocto Fido R2 Build Linux out of tree|Build Linux Kernel from source code]]|info}}
Configure wireless LAN support in Networking.<br/>
Configure wireless LAN support in Networking.<br/>
[[File:Network_wlan.png]]
[[File:Network_wlan.png]]

Revision as of 16:09, 16 December 2015

VAR-SOM-MX6 - PCIE

Test for device

We are using Intel 7260 wireless device to test PCIE. Check the bus:

$ dmesg | grep -i pcie
[    3.750038] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    3.831355] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    3.837040] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    3.842274] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[    3.842382] aer 0000:00:00.0:pcie02: service driver aer loaded

Serach for devices:

$ lspci 
The output should look like:<br>
00:00.0 PCI bridge: Device 16c3:abcd (rev 01)
01:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)

Kernel configuration adding Intel 7260 device driver

Note:We assume that you are familiar with kernel manipulation. If no please read Build Linux Kernel from source code

Configure wireless LAN support in Networking.
Network wlan.png

Configure general driver.
Driver general.png

Configure Intel wireless LAN driver.
Drivers wlan intel.png

  • Build the kernel and modules.
  • get the firmware firmware. Make sure you get the one match your kernel version. We used iwlwifi-7260-ucode-25.228.9.0.tgz.
  • Remove all modules form your target file system "/lib/modules/*" and install the moduels from your current build
  • Deploy the kernel from your current build.
  • copy the firmware to your target "/lib/firmare" directory.
  • Boot your target.

Testing on target