Hello everyone,
we found some problems with the form Tiwi-ble.
We are using a Freescale processor iMX6 DL with Android 4.2.2. The kernel version is 3.0.35.
The wireless device is connected on SDIO following the pinout of the datasheet, all signals are at 1.8V power except on VBAT at 3.3.
I downloaded the package build-utilites.tgz, following the instructions of the link processors.wiki.ti.com/.../WL12xx_NLCP_Build_Instructions.
I set the file "setup-env" with our toolchain:
# \\\//
# -(o o)-
#========================oOO==(_)==OOo=======================
#
# This file contains the exports needed for automating the
# build process of WLAN/Bluetooth components.
# Place this file in the same directory with wl12xx_build.sh/wl12xx_build_bt.sh
# build scripts. No need to run 'source setup-env', the build
# scripts will perfom it internaly.
#
#===========================================================
# User specific environment settings
export CROSS_COMPILE="arm-eabi-"
export PATH="$PATH:/home/user/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/"
export ROOTFS=/home/user/Desktop/TI
export WORK_SPACE=/home/user/Desktop/build-utilites
export KLIB_BUILD=/home/user/myandroid/kernel_imx
export BUILD_VERSION="ol_R5.SP7.01"
# MACHINE_TYPE - The target machine type. Can have one of the following values: "am1808" , "omap3evm" , "am335x"
# This is needed to build bluetooth components.
# This parameter is not relevant for ti814x board.
#export MACHINE_TYPE="am335x"
#===========================================================
export ARCH="arm"
export MY_PREFIX="/usr"
export MY_SYSCONFDIR="/etc"
export MY_LOCALSTATEDIR="/var"
export CC="${CROSS_COMPILE}gcc"
export CXX="${CROSS_COMPILE}g++"
export AR="${CROSS_COMPILE}ar"
export RANLIB="${CROSS_COMPILE}ranlib"
export CFLAGS="${CFLAGS} -I${ROOTFS}${MY_PREFIX}/include"
export CPPFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS} -L${ROOTFS}${MY_PREFIX}/lib"
export PKG_CONFIG_SYSROOT_DIR=${ROOTFS}
export PKG_CONFIG_PATH="${ROOTFS}${MY_PREFIX}/lib/pkgconfig:${ROOTFS}/lib/pkgconfig"
export PKG_CONFIG_LIBDIR=""
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=""
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=""
LS=/bin/ls
but when I run the script "./wl12xx_build.sh Wl12xx_modules install" gives me the following output:
./wl12xx_build.sh wl12xx_modules install
Checking python ... OK
Checking python-M2Crypto ... OK
Checking bash ... OK
Checking bison ... OK
Checking flex ... OK
Checking perl ... OK
Checking bc ... OK
Checking corkscrew ... OK
Cloning into wl12xx ...
git@git.ti.com's password:
Watching on some forums looking wl12xx_build.sh editing the file as follows:
declare -A wl12xx_download_target = "git: //git.ti.com/wl12xx/wl12xx.git"
declare -A wl12xx_tag = $ {} gen_tag
declare -A compatwireless_download_target = "git: //git.ti.com/wl12xx/compat-wireless.git"
declare -A compat_wireless_tag = $ {} gen_tag
declare -A compat_download_target = "git: //git.ti.com/wl12xx/compat.git"
declare -A compat_tag = $ {} gen_tag
declare -A iw_download_target = "git: //git.sipsolutions.net/iw.git"
declare -A iw_tag = "0a236ef5f8e4ba7218aac7d0cdacf45673d5b35c"
declare -A ti_utils_download_target = "git: //git.ti.com/wl12xx/ti-utils.git"
declare -A ti_utils_commit_id = $ {} gen_tag
declare -A hostap_download_target = "git: //git.ti.com/wl12xx/hostap.git"
declare -A hostap_commit_id = $ {} gen_tag
rerunning the script :
./wl12xx_build.sh wl12xx_modules install
Checking python...OK
Checking python-m2crypto...OK
Checking bash...OK
Checking bison...OK
Checking flex...OK
Checking perl...OK
Checking bc...OK
Checking corkscrew...OK
Cloning into wl12xx...
remote: Counting objects: 2379211, done.
remote: Compressing objects: 100% (366483/366483), done.
remote: Total 2379211 (delta 1990165), reused 2379211 (delta 1990165)
Receiving objects: 100% (2379211/2379211), 519.88 MiB | 1.10 MiB/s, done.
Resolving deltas: 100% (1990165/1990165), done.
git wl12xx cloned.
fatal: ambiguous argument 'ol_R5.SP8.01': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
What's the problem ?
Best Regards
Domenico Acri