VIN_LDO is enabled(1.3v) once “WL_REG_ON” becomes high
Is GPIO12 (WL_REG_ON) is enabled when system boot up?
@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
Could you set only-1-8-v in dts?
WiFi is working, Thanks for the support.
Does it work after adding this? Could you share your solution here for other forum users to take as reference?
SDIO bus not getting enumerated because “no-sdio” flag is set in one of the dts, removing that fixed my issue.
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
Hi,
Confirmed with our internal team, wifi over SDIO on Xavier series is not verified so we may not share much help here.
@WayneWWW
means will it not work on Xavier NX?
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.
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?
HI Arun,
- Are you able to try with open wifi as test? You should start from easier case first.
- Does that wifi network have dhcp server to assign IP?
Thanks for the reply
- same issue with open WiFi also. Not able to connect to open WiFi.
- yes, network has dhcp server to assign IP
Thanks,
Arun
Can you check the syslog and dmesg and see what error is reported for connection failure?
[ 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
Hi Arun,
I think maybe you should file topics in Cypress forum.
There are more experts for brcm driver.
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
Hi Arun,
Would you mind sharing your experience here for other users to take as a reference?