|Targeted Hardware||phyCORE-i.MX7, phyBOARD-Zeta i.MX7|
|Targeted Software||BSP Yocto FSL iMX7 PD17.2.1 Release Notes|
Modifying the BSP
Start out with a Yocto BSP set up as described in the Quickstart section "Building Images from Source". However, make these changes to the source prior to starting the build:
In sources/meta-phytec/meta-phytec-fsl/conf/machine/imx7d-phyboard-zeta-001.conf, remove the following lines for sterling LWB module support. This package builds out of tree kernel modules to add WiFi support for another device, so it needs to be disabled in order to use the in kernel WiFimodules:
Update the kernel defconfig to enable WiFi by adding a kernel patch to the linux yocto recipe:
In sources/meta-phytec-fsl/recipes-kernel/linux/linux-phytec-fsl_4.1.15.bb, add the following lines:
In the same file, set copy_defconfig to occur after "do_patch" so that the updated defconfig is used:
Create the following directory which will hold the kernel patch:
Download and add this patch to the newly created directory: 0001-Revert-configs-imx7_phyboard_zeta_defconfig-disable-.patch
- Continue building the BSP as directed by the quickstart. Follow instructions for creating a bootable SD card as well.
Download the firmware and add it to the root file system of the SD card. Firmware for Intel Wifi devices are available Here. Make sure to download the correct firmware for you specific device. This was tested with WiFi Link 5300, which uses iwlwifi-5000-ucode-220.127.116.11. Download the tarball, extract, and copy ucode file to /lib/firmware/ on the root filesystem of the SD card.
- Boot the board into Linux, and configure wlan0:
set wlan0 interface up
Scan for available WiFi networks to obtain key management info
Add information regarding your wi-fi network to /etc/wpa_supplicant.conf. See here for information regarding wpa_supplicant configuration.
Connect to network. You should see wlan0: associated
Configure the IP address - static or dynamic. For example, to set a static IP address