===== Compile Driver for Linux ===== The following instructions cover the driver compiling process for RED bean on devices running Linux. We recommend using Debian or Ubuntu. It also might be possible to compile on OSX. Compiling directly on a Windows platform is not supported. However, if all you have available is a windows machine then we would recommend to set up a linux based virtual machine. ---- === Debian/Ubuntu === Get the latest qcacld-2.0 sources from 8devices: git clone https://github.com/8devices/qcacld-2.0.git -b caf-wlan/LNX.LEH.4.2.2.2 cd qcacld-2.0 Compile the driver: make -j4 Once compiled, copy required files: sudo cp wlan-sdio.ko /lib/modules/`uname -r`/ sudo cp -r firmware/sdio/* /lib/firmware/ Load kernel module: sudo modprobe cfg80211 sudo insmod /lib/modules/`uname -r`/wlan-sdio.ko ---- === Cross-platform === For cross-compiling edit scripts/start.sh, set variables (ARCH, CROSS_COMPILE, KERNEL_SRC) and build: ./scripts/start.sh Another way to pass parameters directly: ARCH=${ARCH} CROSS_COMPILE=${CROSS_COMPILER_PATH} KERNEL_SRC=${KERNEL_SRC_PATH} make -j4 wlan-sdio