# WiFi bring up on custom carrier board

**URL:** <https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198>\
**Category:** Jetson Xavier NX\
**Tags:** wifi\
**Created:** [September 24, 2020, 6:50am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198 "2020-09-24T06:50:24Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [September 29, 2020, 5:32am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/23 "2020-09-29T05:32:17Z")

</div>

@WayneWWW

VIN\_LDO is enabled(1.3v) once “WL\_REG\_ON” becomes high

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [September 29, 2020, 6:33am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/24 "2020-09-29T06:33:58Z")

</div>

Is GPIO12 (WL\_REG\_ON) is enabled when system boot up?

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [September 29, 2020, 7:14am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/25 "2020-09-29T07:14:39Z")

</div>

@WayneWWW  
yes, GPIO12 (WL\_REG\_ON) is enabled when system boots up.

I have defined like this in dts to enable the GPIO12 at boot time.  
gpio: gpio@6000d000 {  
wlan-output-high {  
gpio-hog;  
output-high;  
gpios = \<TEGRA\_GPIO(Y, 2) GPIO\_ACTIVE\_HIGH\>;  
label = “wlan-out-high”;  
};  
}

SDIO clock is seen only at boot up time  
GPIO12(WL\_REG\_ON)-is enabled before SDIO clock is active  
still SDIO not getting enumerated and WiFi client driver probe is not happening.

update:  
[1.595331] mmc1: new ultra high speed SDR104 SDIO card at address 0001  
and WiFi client driver probe is happening

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [September 30, 2020, 4:37am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/26 "2020-09-30T04:37:37Z")

</div>

Could you set only-1-8-v in dts?

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 5, 2020, 6:31am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/27 "2020-10-05T06:31:19Z")

</div>

@WayneWWW

WiFi is working, Thanks for the support.

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [October 6, 2020, 2:30am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/28 "2020-10-06T02:30:42Z")

</div>

> [@WayneWWW](#):
>
> Could you set only-1-8-v in dts?

Does it work after adding this? Could you share your solution here for other forum users to take as reference?

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 6, 2020, 8:52am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/29 "2020-10-06T08:52:06Z")

</div>

@WayneWWW

SDIO bus not getting enumerated because “no-sdio” flag is set in one of the dts, removing that fixed my issue.

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 22, 2020, 7:36am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/31 "2020-10-22T07:36:13Z")

</div>

@WayneWWW

I am able bringup wifi on Jetson Nano but same driver not working on Xavier NX

getting these errors,

[8.279684] brcmfmac: brcmf\_cfg80211\_reg\_notifier: not a ISO3166 code (0x30 0x30)  
[11.551637] brcmfmac: brcmf\_cfg80211\_reg\_notifier: not a ISO3166 code (0x30 0x30)  
[14.166818] brcmfmac: brcmf\_proto\_bcdc\_query\_dcmd: brcmf\_proto\_bcdc\_msg failed w/status -110  
[17.494892] brcmfmac: brcmf\_proto\_bcdc\_query\_dcmd: brcmf\_proto\_bcdc\_msg failed w/status -110  
[17.495084] brcmfmac: brcmf\_cfg80211\_get\_channel: chanspec failed (-110)  
[23.386799] brcmfmac: brcmf\_proto\_bcdc\_query\_dcmd: brcmf\_proto\_bcdc\_msg failed w/status -110  
[23.386994] brcmfmac: brcmf\_cfg80211\_get\_tx\_power: error (-110)  
[26.454885] brcmfmac: brcmf\_do\_escan: error (-110)  
[26.455009] brcmfmac: brcmf\_cfg80211\_scan: scan error (-110)  
[27.443516] brcmfmac: brcmf\_run\_escan: error (-4)  
[27.443643] brcmfmac: brcmf\_cfg80211\_scan: scan error (-4)  
[80.215022] brcmfmac: \_brcmf\_set\_multicast\_list: Setting mcast\_list failed, -110  
[105.302828] brcmfmac: brcmf\_proto\_bcdc\_query\_dcmd: brcmf\_proto\_bcdc\_msg failed w/status -110  
[105.303017] brcmfmac: brcmf\_cfg80211\_get\_channel: chanspec failed (-110)  
[315.990889] brcmfmac: brcmf\_do\_escan: error (-110)  
[315.991134] brcmfmac: brcmf\_cfg80211\_scan: scan error (-110)  
[386.088003] brcmfmac: brcmf\_run\_escan: error (-4)  
[386.088224] brcmfmac: brcmf\_cfg80211\_scan: scan error (-4)

wlan0 is up but i am not able to connect to any wifi network,

$ ifconfig

wlan0: flags=4099\<UP,BROADCAST,MULTICAST\> mtu 1500  
ether 48:eb:62:c0:f0:87 txqueuelen 1000 (Ethernet)  
RX packets 0 bytes 0 (0.0 B)  
RX errors 0 dropped 0 overruns 0 frame 0  
TX packets 0 bytes 0 (0.0 B)  
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Any idea on this issue?

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [October 22, 2020, 7:39am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/32 "2020-10-22T07:39:55Z")

</div>

Hi,

Confirmed with our internal team, wifi over SDIO on Xavier series is not verified so we may not share much help here.

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 22, 2020, 7:41am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/33 "2020-10-22T07:41:55Z")

</div>

@WayneWWW  
means will it not work on Xavier NX?

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [October 22, 2020, 7:48am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/34 "2020-10-22T07:48:13Z")

</div>

I cannot give you a clear yes or not answer because it is something we didn’t verify and have no plan for it currently. Maybe other users have successful experiences.

But from official support point of view, we suggest user to try Wifi over PCIe instead of SDIO for Xavier series.

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 24, 2020, 4:41pm UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/35 "2020-10-24T16:41:39Z")

</div>

@WayneWWW

some progress with WiFi on Xavier NX, I am able to see WiFi networks but not able to connect it.  
$ nmcli device wifi list  
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY  
arunkumar Infra 4 270 Mbit/s 37 ▂▄\_\_ WPA2

Any suggestions on this?

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [October 26, 2020, 2:35am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/36 "2020-10-26T02:35:02Z")

</div>

HI Arun,

1. Are you able to try with open wifi as test? You should start from easier case first.
2. Does that wifi network have dhcp server to assign IP?

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 26, 2020, 7:04am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/37 "2020-10-26T07:04:32Z")

</div>

@WayneWWW

Thanks for the reply

1. same issue with open WiFi also. Not able to connect to open WiFi.
2. yes, network has dhcp server to assign IP

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [October 26, 2020, 7:07am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/38 "2020-10-26T07:07:21Z")

</div>

Can you check the syslog and dmesg and see what error is reported for connection failure?

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 26, 2020, 7:13am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/39 "2020-10-26T07:13:23Z")

</div>

@WayneWWW

[368.989771] ieee80211 phy0: brcmf\_escan\_timeout: timer expired  
[376.575141] IPv6: ADDRCONF(NETDEV\_UP): wlan0: link is not ready  
[386.909776] ieee80211 phy0: brcmf\_escan\_timeout: timer expired  
[414.301765] ieee80211 phy0: brcmf\_escan\_timeout: timer expired  
[444.720654] IPv6: ADDRCONF(NETDEV\_UP): wlan0: link is not ready  
[455.005784] ieee80211 phy0: brcmf\_escan\_timeout: timer expired  
[473.437767] ieee80211 phy0: brcmf\_escan\_timeout: timer expired  
[488.406253] IPv6: ADDRCONF(NETDEV\_UP): wlan0: link is not ready

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [October 26, 2020, 7:17am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/40 "2020-10-26T07:17:23Z")

</div>

Hi Arun,

I think maybe you should file topics in Cypress forum.

There are more experts for brcm driver.

> **[Wi-Fi Bluetooth for Linux Forum | Infineon Community](https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/bd-p/WiFiBluetoothLinux)**

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [October 26, 2020, 7:34am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/41 "2020-10-26T07:34:04Z")

</div>

@WayneWWW

sure i will do that, but same driver worked fine in Jetson Nano. I am suspecting issue might be from sdmmc3 in Xavier NX.

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![arunk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arunk](https://forums.developer.nvidia.com/u/arunk)\
**Post date:** [November 20, 2020, 10:11am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/42 "2020-11-20T10:11:26Z")

</div>

@WayneWWW

able to bring up SDIO WiFi on Xavier NX.

Thanks for the support

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [November 20, 2020, 10:13am UTC](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198/43 "2020-11-20T10:13:05Z")

</div>

Hi Arun,

Would you mind sharing your experience here for other users to take as a reference?

[Previous page](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198.md?page=1)

[Next page](https://forums.developer.nvidia.com/t/wifi-bring-up-on-custom-carrier-board/155198.md?page=3)
