FX30 (wp7702) and Talon IoT card

I am using the FX30 wp7702 (4G LTE) and testing the Talon IoT Mirage Wifi exp card.
I have found some topics but all related with the FX30 3G (which needs to have installed a R14.xXXXX firmware).
The firmware on my target is FX30_WP77xx_full_R11.0.0.007-sierra-SWI9X06Y_02.22.12.00.cwe, ad I see there are pre-built wifi apps:
image

First question is if this is also supported with the FX30 wp7702 or only with the FX30 wp85 (3G), I assumed it is due to the pre-built apps.
If yes, the setup should be straight forward (I am starting from shell before moving to legato API), but it fails immediately after the:
wifi client start (I made sure the wifi ap was off).

According to the logs it can`t detect the wlan0 interface:
Jan 6 00:21:47 fx30 user.info Legato: INFO | wifiService[1256] | Could not read interface wlan0 flags: No such device
Jan 6 00:21:47 fx30 user.info Legato: INFO | wifiService[1256] | WEXT: Could not set interface ‘wlan0’ UP
Jan 6 00:21:47 fx30 user.info Legato: INFO | wifiService[1256] | wlan0: Failed to initialize driver interface

But this is in the interfaces file:
auto lo
iface lo inet loopback

Wireless interfaces

iface wlan0 inet dhcp
wireless_mode managed
wireless_essid any
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf

iface atml0 inet dhcp

Wired or wireless interfaces

auto eth0
iface eth0 inet dhcp

hwaddress ether 00:14:3E:9D:BA:E7

address 192.168.13.31

netmask 255.255.255.0

iface eth1 inet dhcp

Bluetooth networking

iface bnep0 inet dhcp

I have tried to initialize the driver with the wpa_supplicant but without success:
root@fx30:~# wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface

Anyone using the same module and having the same issue.

Hi @claudio.baldini,

We haven’t officially released support for the Talon wifi card, but some customers do indeed have it working on R11, pulled from Leaf, but prior to the GitHub migration.

I’ll check to see if there are some instructions that i can provide to you.

BR,
Chris

Hi @claudio.baldini

Please try these instructions, but note, they have not been verified, so they’re just for guidance.

Step 1: Obtain FX30 R11 linux src using leaf

Step 2: Customize FX30 Linux

Add WiFi BT layer from https://github.com/dpfrey/yocto_wp76_wp77_meta-bluetoothhttps://github.com/dpfrey/yocto_wp76_wp77_meta-bluetooth

You may have to comment out the following in " bluetooth.cfg "
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTSDIO=m

Step 3: Install custom Linux onto FX30

Step 4: Ensure UART2 is assigned to Linux

The FX30 interfaces UART2 with the IoT slot. UART2 is disabled by default. Assign it to Linux.

AT!MAPUART=17,2
AT!RESET

​​Step 5: Update Ti BT firwmare

Obtain the latest Ti BT firwmare,TIInit_11.8.32.bts, from https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/t/535853. Ensure the file size matches with the one below as the name of the file included by default with R9 is the same. Copy the firmware to /lib/firmware/ti-connectivity/ .

root@fx30:~# ls -la /lib/firmware/ti-connectivity/TIInit_11.8.32.bts
-rw-r–r-- 1 root root 72716 Jan 6 00:03 /lib/firmware/ti-connectivity/TIInit_11.8.32.bts​

Step 6: Start up the IoT card​

To start up the IoT card, the WiFi and BT drivers need to be loaded and IOT_GPIO2, IOT_GPIO3 & IOT_GPIO4 need to be enabled and set high. Please refer the attached script
init-Mirage-WiFi-BT-IoT.sh

root@fx30:~# ./init-Mirage-WiFi-BT-IoT.sh
Mirage Wi-Fi BT IoT Card init complte
root@fx30:~#​

Step 7: Bluetooth

init-ti-bt.sh

root@fx30:~# ./init-ti-bt.sh
Found a Texas Instruments’ chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_11.8.32.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
Device setup complete
hci0: Type: Primary Bus: UART
BD Address: 5C:31:3E:DF:D8:33 ACL MTU: 1021:6 SCO MTU: 180:4
UP RUNNING
RX bytes:609 acl:0 sco:0 events:30 errors:0
TX bytes:401 acl:0 sco:0 commands:30 errors:0

Run ‘bluetoothctl, scan on, scan off’ to manage BT
root@fx30:~# bluetoothctl
[NEW] Controller 5C:31:3E:DF:D8:33 BlueZ 5.41 [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller 5C:31:3E:DF:D8:33 Discovering: yes
[NEW] Device 57:1D:F2:BC:37:90 57-1D-F2-BC-37-90
[NEW] Device 7B:5D:29:87:6A:CF 7B-5D-29-87-6A-CF
[NEW] Device 66:AC:6B:A6:97:38 66-AC-6B-A6-97-38
[NEW] Device 67:E6:BE:B8:37:73 67-E6-BE-B8-37-73
[NEW] Device DC:54:D7:41:A6:69 Echo Show 5-42E
[bluetooth]# scan off
[CHG] Device DC:54:D7:41:A6:69 RSSI is nil
[CHG] Device 67:E6:BE:B8:37:73 RSSI is nil
[CHG] Device 66:AC:6B:A6:97:38 RSSI is nil
[CHG] Device 7B:5D:29:87:6A:CF RSSI is nil
[CHG] Device 57:1D:F2:BC:37:90 RSSI is nil
[CHG] Controller 5C:31:3E:DF:D8:33 Discovering: no
Discovery stopped
[bluetooth]# exit
[DEL] Controller 5C:31:3E:DF:D8:33 BlueZ 5.41 [default]
root@fx30:~#

Step 7: WiFi

WiFi can be manged using Legato’s in built " wifi " tool. Example of WiFi client is below

root@fx30:~# wifi client start
successfully called start.
root@fx30:~# wifi client scan
starting scan.
Found: SSID: “SOMLIOT” BSSID: “02:9f:c2:3d:5b:20” Strength:-93 Ref:0x10000003
Found: SSID: “” BSSID: “f0:9f:c2:3d:5b:20” Strength:-93 Ref:0x1000000b
root@fx30:~#​

talon_mirage_scripts.7z (699 Bytes)

hi @cchenry thank you for this but I still have the problem when building from source, will this work?