WE866C3 Wi-Fi Network Interface Card (NIC) User Guide
1VV0301545 Rev 1.0
Page
35
of
37
2018-07-09
b.
Assign the kernel architecture variable with ARM
export KERNELARCH=arm
c.
Assign the tool prefix variable with the path name, in which
“Linaro” cross-
compile tool chain is located.
export TOOLPREFIX=~/mcimx6sll-evk/gcc-linaro-6.4.1-
2017.11-i686_arm-linux- gnueabihf/bin/arm-linux-gnueabi-
2.
Edit the Make file in the folder “
WE866C3/driver/qcacld-new/
” as below:
a.
Assign the kernel source variable with the path location in which the kernel
code is placed.
export KERNEL_SRC ?= ~/mcimx6sll-evk/linux-imx/
Refer Chapter -
4. Building and Loading the Software
- for the procedure to build the
driver project files.
When the driver project is built, the binaries and configuration is available in the folder
WE866C3/rootfs-te-p233.build/
. These binaries and configuration should be copied to the
Linux files system expanded in the i. MX 6 host SD card.
1.
Insert the SD card in the laptop. Copy the cross compiled driver output folder to
the SD card.
sudo cp -rf ~/mcimx6sll-evk/WE866C3/rootf-te-p233.
build/ /media/rootfs/home/ubuntu/
2.
Copy the binaries to the location
“
/lib/firmware
”
in the Linux kernel file system
mounted on the SD card.
sudo cp -rf ~/mximx6sll-evk/WE866C3/rootfs-te-
p233.build/lib/firmware/WLAN-firmware/*
/media/rootfs/lib/firmware/
3.
Copy the configuration files to the location
“
/lib/firmware/wlan/
”
in the Linux kernel
file system. Create a folder
named “wlan” in the target location, if there is no folder.
sudo mkdir /media/rootfs/lib/firmware/wlan/
sudo cp -rf ~/mcimx6sll-evk/WE866C3/rootfs-te-
p233.build/lib/firmware/wlan/* /media/rootfs/lib/firmware/wlan/