Skip to content

HardcoreKernel/wlan_module_bardock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHAT IS THIS?

Wlan module source code for the devices:

  • bq aquaris X

BUILD INSTRUCTIONS?

Specific sources are separated by releases with it's corresponding number. First, you should clone the projects:

    $ git clone https://github.com/bq/aquaris-X.git ; git clone https://github.com/bq/wlan_module_qcom.git

After it, choose the release you would like to build:

Aquaris X

    $ mv aquaris-X kernel ; cd kernel ; git checkout tags/{release} ; cd ..
    $ mv wlan_module_qcom wlan ; cd wlan ; git checkout tags/{release} ; cd ..

At the same level of the "kernel" directory:

Download a prebuilt gcc

    $ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9

Create KERNEL_OUT directory:

    $ mkdir KERNEL_OUT

Your directory tree should look like this:

  • kernel
  • aarch64-linux-android-4.9
  • KERNEL_OUT
  • wlan

Build the kernel according the next table of product names:

device product
bq aquaris X bardock
    $ make -C kernel O=../KERNEL_OUT ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9 {product}_defconfig
    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android-

You can specify "-j CORES" argument to speed-up your compilation, example:

    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- -j 8

Finally, build the wlan module:

    $ make -C kernel/ M=../wlan/ O=../KERNEL_OUT/ ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- modules WLAN_ROOT=../wlan/ MODNAME=wlan BOARD_PLATFORM=msm8953 CONFIG_PRONTO_WLAN=m

You can specify "-j CORES" argument to speed-up your compilation, example:

    $ make -C kernel/ M=../wlan/ O=../KERNEL_OUT/ ARCH=arm64 CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- modules WLAN_ROOT=../wlan/ MODNAME=wlan BOARD_PLATFORM=msm8953 CONFIG_PRONTO_WLAN=m -j 8

About

wlan module for Aquaris X / X Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages