# R15 Legato\_21 and Talon Wifi IOT card

**URL:** <https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404>\
**Category:** Uncategorized\
**Created:** [January 20, 2023, 5:30am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404 "2023-01-20T05:30:22Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 5:30am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/1 "2023-01-20T05:30:22Z")

</div>

I have a Talon Wifi card in a FX30s running Legato 21. Does the fx30\_catm\_4\_1\_0 release come included with support for this card. I cannot see any of the ti drivers. If I need to compile , are there any instructions ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 20, 2023, 5:33am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/2 "2023-01-20T05:33:07Z")

</div>

other user can make it work, you can check with him here:

> [@Wifi exp board on legato21 (R15)](https://forum.legato.io/t/wifi-exp-board-on-legato21-r15/6333/37):
>
> For the FX30 connected WIFI connection through wlan0 with IP 192.168.1.11, can the FX30 browse internet? For the client connected on eth0 has 192.168.13.10 (static), can it browse internet?

---

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 6:20am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/3 "2023-01-20T06:20:07Z")

</div>

So my FX30 is missing hostap\* too

I also tried with fx30\_catm\_4\_1\_0 images like you did in that thread (you tried an older version). But even after installing

9999999\_9907618\_SWI9X06Y\_02.36.08.02\_00\_GENERIC\_001.077\_000-full.spk

I cannot find hostap

Is the solution to rebuild yocto ?

And we do not need to modify anything (gpioexp inside tiwifi ) correct? Because it appears the whole problem is with hostapd missing. Also we really dont need hostapd because we are going to run this in client mode but perhaps wifiService is failing because it cannot find hostapd

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 20, 2023, 6:29am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/4 "2023-01-20T06:29:44Z")

</div>

I think you can try that to include hostapd first.

---

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 6:33am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/5 "2023-01-20T06:33:19Z")

</div>

ok, since /bin is read-only is there a simple way to only copy hostapd and make it appear in /bin or should I have to re-generate the .SPK and download again ?

I have hostapd from my previous yocto build but it did not get included due to “REMOVE” in the bitbake recipe.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 20, 2023, 6:36am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/6 "2023-01-20T06:36:31Z")

</div>

Here is an example to overlay on read only file system.

> [@Create folders inside /mnt (w/o editing sierra\_git.bb)](https://forum.legato.io/t/create-folders-inside-mnt-w-o-editing-sierra-git-bb/5203/4):
>
> I remember i can overlay on read only file system. For example, mkdir /tmp/tmp\_usr\_lib;mkdir /tmp/tmp\_usr\_lib\_wr; mount -t overlay overlay /usr/lib -o lowerdir=/usr/lib,upperdir=/tmp/tmp\_usr\_lib,workdir=/tmp/tmp\_usr\_lib\_wr; Not sure if you can do the same.

Of course you can also rebuild the yocto image

---

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 7:41am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/7 "2023-01-20T07:41:21Z")

</div>

thanks. So I did these 2 things (this may help others)

1. Overlay /bin and copied hostapd to /bin on the FX30
2. Enabled wifi client
3. modified tiwifi and removed all the gpioexp stuff from there (it was giving me i2c errors)
4. used wifi client to setup the connection

This seemed to work one time BUT after I reboot the kernel throws a panic when wifiService invokes it via pa\_wifi.sh

This is a problem because we really need this card to be supported on R15

dmesg shows it occurs when

/etc/rcS.d/S99start\_qti\_le script is run

---

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 7:51am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/8 "2023-01-20T07:51:33Z")

</div>

I can confirm this issue is linked with wifiService.

To reproduce

1. Remove gpioenable stuff from tiwifi and allow the script to run fully
2. Reboot system or simply restart wifiService

Kernel will throw panic

---

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 7:52am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/9 "2023-01-20T07:52:08Z")

</div>

[188.264965] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)  
[188.321788] wlcore: loaded  
[189.580843] wlcore: PHY firmware version: Rev 8.2.0.0.240  
[189.638200] wlcore: firmware booted (Rev 8.9.0.0.76)  
[189.661852] IPv6: ADDRCONF(NETDEV\_UP): wlan0: link is not ready  
[191.013706] wlcore: down  
[191.080642] [RMNET:HI] rmnet\_config\_notify\_cb(): Kernel is trying to unregister wlan0  
[191.140458] [RMNET:HI] rmnet\_config\_notify\_cb(): Kernel is trying to unregister wlan0  
[192.160543] mmc0: clk: 0 clk-gated: 0 claimer: kworker/0:1 pwr: 0 host-\>irq = 131072  
[192.160565] mmc0: rpmstatuspltfm(0:1:0)  
[192.160577] ------------[cut here]------------  
[192.160618] WARNING: CPU: 0 PID: 14 at drivers/mmc/host/sdhci.c:1851 sdhci\_request+0x18c/0x2d8  
[192.160627] sdhci in bad state  
[192.160637] Modules linked in: arc4 machine\_dlkm(O) wm8944\_dlkm(O) wcd9330\_dlkm(O) wcd\_cpe\_dlkm(O) wcd\_core\_dlkm(O) stub\_dlkm(O) platform\_dlkm(O) q6\_dlkm(O) adsp\_loader\_dlkm(O) apr\_dlkm(O) snd\_hwdep snd\_soc\_core snd\_compress snd\_pcm snd\_timer snd soundcore [last unloaded: cfg80211]  
[192.160758] CPU: 0 PID: 14 Comm: kworker/0:1 Tainted: G O 4.14.253 #1  
[192.160770] Hardware name: Qualcomm Technologies, Inc. MDM 9607 (Flattened Device Tree)  
[192.160794] Workqueue: events\_freezable mmc\_rescan  
[192.160846] [] (unwind\_backtrace) from [] (show\_stack+0x10/0x14)  
[192.160876] [] (show\_stack) from [] (\_\_warn+0xd4/0xf0)  
[192.160906] [] (\_\_warn) from [] (warn\_slowpath\_fmt+0x34/0x44)  
[192.160939] [] (warn\_slowpath\_fmt) from [] (sdhci\_request+0x18c/0x2d8)  
[192.160978] [] (sdhci\_request) from [] (mmc\_start\_request+0x334/0x36c)  
[192.161010] [] (mmc\_start\_request) from [] (mmc\_wait\_for\_req+0x88/0xec)  
[192.161036] [] (mmc\_wait\_for\_req) from [] (mmc\_wait\_for\_cmd+0x64/0x74)  
[192.161066] [] (mmc\_wait\_for\_cmd) from [] (\_mmc\_select\_card+0x58/0x60)  
[192.161097] [] (\_mmc\_select\_card) from [] (\_mmc\_detect\_card\_removed+0x2c/0xf4)  
[192.161129] [] (\_mmc\_detect\_card\_removed) from [] (mmc\_sdio\_detect+0xa8/0xdc)  
[192.161160] [] (mmc\_sdio\_detect) from [] (mmc\_rescan+0x184/0x55c)  
[192.161189] [] (mmc\_rescan) from [] (process\_one\_work+0x25c/0x43c)  
[192.161219] [] (process\_one\_work) from [] (worker\_thread+0x304/0x46c)  
[192.161251] [] (worker\_thread) from [] (kthread+0x12c/0x144)  
[192.161285] [] (kthread) from [] (ret\_from\_fork+0x14/0x2c)  
[192.161300] —[end trace f0f9659dee6639f7]—

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 20, 2023, 7:55am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/10 "2023-01-20T07:55:11Z")

</div>

@sunil.somarajan Does this relate to the hostapd in R14?

@ccu , do you see such issue?

---

<div class="post-metadata">

**Author:** ![sunil.somarajan](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Post date:** [January 20, 2023, 8:07am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/11 "2023-01-20T08:07:43Z")

</div>

I am using R15 (hostapd from R15 yocto build). this is related to WifiService. So I really dont need wifiService or the wifi client tool.

How can I autostart wlan0 using wpa\_supplicant.conf and obtain an IP address ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 20, 2023, 8:13am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/12 "2023-01-20T08:13:08Z")

</div>

from the dmesg, the crash is in SDHC pin…

You said that you make it work once, can you revert back and redo ?

---

<div class="post-metadata">

**Author:** ![ccu](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@ccu](https://forum.legato.io/u/ccu)\
**Post date:** [January 21, 2023, 2:11am UTC](https://forum.legato.io/t/r15-legato-21-and-talon-wifi-iot-card/6404/13 "2023-01-21T02:11:28Z")

</div>

> [@sunil.somarajan](#):
>
> [191.080642] [RMNET:HI] rmnet\_config\_notify\_cb(): Kernel is trying to unregister wlan0

nope, we haven`t seen this issue
