===== Compile Driver for Linux ===== The following instructions cover the driver compiling process for BLUE 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-usb.ko /lib/modules/`uname -r`/ sudo cp -r firmware/usb/* /lib/firmware/ Load kernel module: sudo modprobe cfg80211 sudo insmod /lib/modules/`uname -r`/wlan-usb.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-usb