Skip to content

README JOY 1 Plus

Alejandro Lopez edited this page Apr 9, 2019 · 3 revisions

WHAT IS THIS?

Wlan module source code for the devices:

  • Vsmart Joy 1+

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/joy-1-Plus.git ; git clone https://github.com/bq/wlan_module_qcom_vsmart.git

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

Joy 1+

By specific release:

    $ mv joy-1-Plus kernel ; cd kernel ; git checkout tags/{release} ; cd ..
    $ mv wlan_module_qcom_vsmart wlan ; cd wlan ; git checkout tags/{release} ; cd ..

By specific branch:

    $ mv joy-1-Plus kernel ; cd kernel ; git checkout {branch} ; cd ..
    $ mv wlan_module_qcom_vsmart wlan ; cd wlan ; git checkout {branch} ; cd ..

Download a prebuilt gcc:

    $ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8

Create KERNEL_OUT directory:

    $ mkdir KERNEL_OUT

Your directory tree should look like this:

  • kernel
  • arm-eabi-4.8
  • KERNEL_OUT
  • wlan

Build the kernel according the next table of product names:

device product
Vsmart Joy 1+ PQ4002
    $ make -C kernel O=../KERNEL_OUT  ARCH=arm CROSS_COMPILE=../arm-eabi-4.8/bin/arm-eabi- {product}_defconfig
    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm CROSS_COMPILE=../arm-eabi-4.8/bin/arm-eabi-

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

    $ make O=../KERNEL_OUT/ -C kernel ARCH=arm CROSS_COMPILE=../arm-eabi-4.8/bin/arm-eabi- -j 8

Finally, build the wlan module:

    $ make -C kernel/ M=../wlan/ O=../KERNEL_OUT/ ARCH=arm CROSS_COMPILE=../arm-eabi-4.8/bin/arm-eabi- modules WLAN_ROOT=../wlan/ MODNAME=wlan BOARD_PLATFORM=msm8937 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=arm CROSS_COMPILE=../arm-eabi-4.8/bin/arm-eabi- modules WLAN_ROOT=../wlan/ MODNAME=wlan BOARD_PLATFORM=msm8937 CONFIG_PRONTO_WLAN=m -j 8
Clone this wiki locally