NX支持M.2 Key E Intel 8265 WIFI/BT

默认Jetson NX Xavier BSP 不支持Intel8265 WIFI/BT
由于WIFI-Disable Pin 默认状态为高,导致WIFI 一直处于Hardware blocked 状态,即WIFI 不可用而BT可以继续用,需修改dts中的wifi-disable 状态才可以正常使用。

查看dmesg 和 syslog (/var/log/syslog) 信息如下

nx kernel: [    7.152622] iwlwifi 0004:01:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
nx kernel: [    7.156735] iwlwifi 0004:01:00.0: L1 Disabled - LTR Enabled
nx kernel: [    7.157490] iwlwifi 0004:01:00.0: L1 Disabled - LTR Enabled
nx bluetoothd[6080]: src/rfkill.c:rfkill_event() RFKILL event idx 1 type 1 op 0 soft 0 hard 1
nx kernel: [    7.211363] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
nx kernel: [    7.212333] thermal thermal_zone6: failed to read out thermal zone (-5)
nx kernel: [    7.212497] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type iwlwifi
nx NetworkManager[4492]: <info>  [1588221565.3954] wifi-nl80211: (wlan0): using nl80211 for WiFi device control
nx NetworkManager[4492]: <info>  [1588221565.3967] device (wlan0): driver supports Access Point (AP) mode
nx systemd-udevd[6168]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
nx NetworkManager[4492]: <info>  [1588221565.4095] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/7)
nx NetworkManager[4492]: <info>  [1588221565.4155] rfkill1: found WiFi radio killswitch (at /sys/devices/14160000.pcie/pci0004:00/0004:00:00.0/0004:01:00.0/ieee80211/phy0/rfkill1) (driver iwlwifi)
nx NetworkManager[4492]: <info>  [1588221565.4170] manager: rfkill: WiFi now disabled by radio killswitch
nx NetworkManager[4492]: <info>  [1588221565.4271] supplicant: wpa_supplicant running
nx NetworkManager[4492]: <info>  [1588221565.4529] devices added (path: /sys/devices/14160000.pcie/pci0004:00/0004:00:00.0/0004:01:00.0/net/wlan0, iface: wlan0)
nx NetworkManager[4492]: <info>  [1588221565.4530] device added (path: /sys/devices/14160000.pcie/pci0004:00/0004:00:00.0/0004:01:00.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
nx NetworkManager[4492]: <info>  [1588221565.4537] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
nx kernel: [    7.276007] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
image.png

DTSI 修改参考:

--- a/l4t-r32.4.2.src/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-fixed-regulator-p3668.dtsi
+++ b/l4t-r32.4.2.src/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-fixed-regulator-p3668.dtsi
@@ -50,8 +50,25 @@
                    regulator-name = "vdd-usb2-5v";
                    regulator-min-microvolt = <5000000>;
                    regulator-max-microvolt = <5000000>;
-                   gpio = <&tegra_aon_gpio TEGRA194_AON_GPIO(CC, 2) GPIO_ACTIVE_HIGH>;
-                   enable-active-high;
+                   gpio = <&tegra_aon_gpio TEGRA194_AON_GPIO(CC, 2) GPIO_ACTIVE_LOW>;
+                   enable-active-low;     
            };

--- a/l4t-r32.4.2.src/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi
+++ b/l4t-r32.4.2.src/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi
@@ -296,6 +334,13 @@
                    label = "pex_refclk_sel_high";
                    status = "disabled";
            };
+          wifi-disable {
+              gpio-hog;
+               output-low;
+               gpios = <TEGRA194_AON_GPIO(CC, 2) 0>;
+               label = "wifi-disable";
+               status = "okay";
+          };

QR Code
微信扫一扫,欢迎咨询~

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 155-2731-8020
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

手机不正确

公司不为空