WiFi bring up on custom carrier board

@WayneWWW

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?

@WayneWWW

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

1 Like

@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

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.

@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?

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?

@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

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

@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

Hi Arun,

I think maybe you should file topics in Cypress forum.

There are more experts for brcm driver.

@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

@WayneWWW

able to bring up SDIO WiFi on Xavier NX.

Thanks for the support

Thanks,
Arun

1 Like

Hi Arun,

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

@WayneWWW

These are the dts changes for WiFi bring up on Xavier NX,

sdhci@3440000 {
#address-cells = <1>;
#size-cells = <0>;
non-removable;
force-non-removable-rescan;
no-sd;
max-clk-limit = <25000000>;
only-1-8-v;
status = “okay”;
brcmf: brcmf@0 {
reg = <0>;
compatible = “brcm,bcm4329-fmac”;
};
};

and used latest brcmfmac driver from cypress,

Thanks,
Arun

1 Like

Hi! @ arunkumar.d
If it possible can you tell, how do you install the cypress wifi drivers in the Jetson xavier module. I cannot find any clear guideline on cypress website and the README in the download package is also not clear.
Do we need to include the drivers when building the kernel image or just install them after the system is booted. If you have any tutorial or instructions that you followed that will be very helpful.

Thanks!

Instructions are mentioned here,