nvidia nx平台局域网唤醒问题2

free-jdx 2021-07-29 14:18:58 7123

1. 前言
2. 查看log日志
    2.1 wake up by rtcwake
    2.2 wake up by wlanonlan
3.rtcwake测试
4.问题梳理
5.组合测试
    5.1 测试设置#1
    5.2 测试设置#2
1. 前言

承接上篇
https://www.ebaina.com/articles/140000012885

2. 查看log日志
2.1 wake up by rtcwake
[  248.342752] PM: suspend entry 2020-07-16 05:49:08.981599708 UTC
[  248.342763] PM: Syncing filesystems ... done.
[  248.342926] PM: Preparing system for sleep (mem)
[  248.353321] tegradc 15200000.nvdisplay: blank - powerdown
[  248.406455] extcon-disp-state external-connection:disp-state: cable 47 state 0
[  248.406462] Extcon AUX1(HDMI) disable
[  248.429689] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[  248.430266] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[  248.430826] tegradc 15210000.nvdisplay: blank - powerdown
[  248.521824] tegradc 15200000.nvdisplay: blank - powerdown
[  248.521853] tegradc 15200000.nvdisplay: unblank
[  248.523302] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[  248.523433] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[  248.525289] Parent Clock set for DC plld2
[  248.530070] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[  248.531490] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[  248.531499] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[  248.572371] extcon-disp-state external-connection:disp-state: cable 47 state 1
[  248.572376] Extcon AUX1(HDMI) enable
[  251.606227] Freezing user space processes ... (elapsed 0.007 seconds) done.
[  251.614149] Freezing remaining freezable tasks ... (elapsed 0.022 seconds) done.
[  251.637063] PM: Suspending system (mem)
[  251.644445] wlan0: deauthenticating from 76:da:88:a8:e9:95 by local choice (Reason: 3=DEAUTH_LEAVING)
[  251.644766] usb 1-3.7: usb_suspend_both: status 0
[  251.645785] usb 2-3.5: Disable of device-initiated U1 failed.
[  251.648332] usb 2-3.5: Disable of device-initiated U2 failed.
[  251.650267] usb 1-3.1: usb_suspend_both: status 0
[  251.650616] Wake24 for irq=241
[  251.650622] Enabling wake24
[  251.650707] gpio tegra-gpio-aon wake29 for gpio=36(EE:4)
[  251.650710] Enabling wake29
[  251.650980] usb 1-3: usb_suspend_both: status 0
[  251.651163] usb 1-2: usb_suspend_both: status 0
[  251.651534] gpio tegra-gpio wake61 for gpio=201(Z:1)
[  251.651539] Enabling wake61
[  251.668620] usb 2-3.5: usb_suspend_both: status 0
[  251.672623] usb usb1: usb_suspend_both: status 0
[  251.716619] usb 2-3: usb_suspend_both: status 0
[  251.716879] usb usb2: usb_suspend_both: status 0
[  251.716904] tegra-xusb 3610000.xhci: entering ELPG
[  251.720529] tegra-xusb 3610000.xhci: entering ELPG done
[  251.720538] Wake76 for irq=199
[  251.720542] Wake77 for irq=199
[  251.720546] Wake78 for irq=199
[  251.720549] Wake79 for irq=199
[  251.720552] Wake80 for irq=199
[  251.720555] Wake81 for irq=199
[  251.720558] Wake82 for irq=199
[  251.720562] Enabling wake76
[  251.720589] Enabling wake77
[  251.720593] Enabling wake78
[  251.720596] Enabling wake79
[  251.720599] Enabling wake80
[  251.720602] Enabling wake81
[  251.720605] Enabling wake82
[  251.720652] tegra-xudc-new 3550000.xudc: device mode off: 0
[  251.720706] tegra-xudc-new 3550000.xudc: entering ELPG
[  251.721973] tegra-xudc-new 3550000.xudc: entering ELPG done
[  251.722343] Wake73 for irq=42
[  251.722348] Enabling wake73
[  251.722394] tegra_cec 3960000.tegra_cec: suspended
[  251.722866] tegradc 15210000.nvdisplay: suspend
[  251.722878] tegradc 15200000.nvdisplay: suspend
[  251.723091] hpd: state 3 (Disabled), hpd 0, pending_hpd_evt 1
[  251.723096] hpd: request suspend
[  251.723100] hpd: switching from state 3 (Disabled) to state 3 (Disabled)
[  251.731779] extcon-disp-state external-connection:disp-state: cable 47 state 0
[  251.731786] Extcon AUX1(HDMI) disable
[  251.787584] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[  251.788113] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[  251.790963] gpio tegra-gpio wake8 for gpio=55(G:7)
[  251.790969] Enabling wake8
[  251.791441] gpio tegra-gpio wake51 for gpio=130(Q:2)
[  251.791449] Enabling wake51
[  251.792437] PM: suspend of devices complete after 148.224 msecs
[  251.795151] host1x 13e10000.host1x: suspended
[  251.795282] PM: late suspend of devices complete after 2.832 msecs
[  251.839743] gpio tegra-gpio wake1 for gpio=90(L:2)
[  251.839751] Enabling wake1
[  251.839916] PM: noirq suspend of devices complete after 44.616 msecs
[  251.839921] Disabling non-boot CPUs ...
[  251.857094] ras_fhi_disable: FHI 472 disabled
[  251.858804] CPU1: shutdown
[  251.858960] psci: CPU1 killed.
[  251.889000] ras_fhi_disable: FHI 473 disabled
[  251.889643] CPU2: shutdown
[  251.889794] psci: CPU2 killed.
[  251.916921] ras_fhi_disable: FHI 474 disabled
[  251.917588] CPU3: shutdown
[  251.917744] psci: CPU3 killed.
[  251.948905] ras_fhi_disable: FHI 475 disabled
[  251.949618] CPU4: shutdown
[  251.949768] psci: CPU4 killed.
[  251.964815] ras_fhi_disable: FHI 476 disabled
[  251.965513] CPU5: shutdown
[  251.965633] psci: CPU5 killed.
[  251.969343] Entered SC7
[  251.969343] Wake[31-0]  level=0x0
[  251.969343] Wake[63-32]  level=0xa0080000
[  251.969343] Wake[95-64]  level=0x7f200
[  251.969343] Wake[31-0]  enable=0x21000102
[  251.969343] Wake[63-32]  enable=0x20080000
[  251.969343] Wake[95-64]  enable=0x7f200
[  251.969343] Wake[31-0]  route=0x21000102
[  251.969343] Wake[63-32]  route=0x20080000
[  251.969343] Wake[95-64]  route=0x7f200
[  251.969343] Wake[32:0]  status=0x1000000
[  251.969343] Resume caused by WAKE24, max77620-top
[  251.969343] Wake[64:32]  status=0x0
[  251.969343] Wake[96:64]  status=0x0
[  251.969343] Exited SC7
[  251.969343] bpmp: waiting for handshake
[  251.969343] bpmp: synchronizing channels
[  251.969343] bpmp: channels synchronized
[  251.969343] Suspended for 27.611 seconds
[  251.970031] Enabling non-boot CPUs ...
[  251.970572] CPU1: Booted secondary processor [4e0f0040]
[  251.972874]  cache: parent cpu1 should not be sleeping
[  251.973947] ras_fhi_enable: FHI 472 enabled on CPU1
[  251.974084] carmel_ras_enable: RAS enabled on cpu1
[  251.974717] CPU1 is up
[  251.975811] CPU2: Booted secondary processor [4e0f0040]
[  251.978058]  cache: parent cpu2 should not be sleeping
[  251.978932] ras_fhi_enable: FHI 473 enabled on CPU2
[  251.979070] carmel_ras_enable: RAS enabled on cpu2
[  251.979919] CPU2 is up
[  251.980611] CPU3: Booted secondary processor [4e0f0040]
[  251.982400]  cache: parent cpu3 should not be sleeping
[  251.983826] ras_fhi_enable: FHI 474 enabled on CPU3
[  251.983959] carmel_ras_enable: RAS enabled on cpu3
[  251.984492] CPU3 is up
[  251.985454] CPU4: Booted secondary processor [4e0f0040]
[  251.986074]  cache: parent cpu4 should not be sleeping
[  251.987051] ras_fhi_enable: FHI 475 enabled on CPU4
[  251.987183] carmel_ras_enable: RAS enabled on cpu4
[  251.987832] CPU4 is up
[  251.988664] CPU5: Booted secondary processor [4e0f0040]
[  251.989367]  cache: parent cpu5 should not be sleeping
[  251.990470] ras_fhi_enable: FHI 476 enabled on CPU5
[  251.990606] carmel_ras_enable: RAS enabled on cpu5
[  251.992545] CPU5 is up
[  251.994079] gpio tegra-gpio wake1 for gpio=90(L:2)
[  251.994115] Disabling wake1
[  252.100639] tegra-pcie-dw 14160000.pcie: link is up
[  252.208652] tegra-pcie-dw 141a0000.pcie: link is up
[  252.374728] tegra-xusb 3610000.xhci: exiting ELPG
[  252.379428] tegra-xusb 3610000.xhci: Firmware timestamp: 2019-07-24 05:47:34 UTC, Version: 60.06 release
[  252.380487] tegra-xusb 3610000.xhci: exiting ELPG done
[  252.380533] tegra-cbb 2300000.cbb-noc: CBB-NOC resumed
[  252.380545] tegra-cbb c600000.aon-noc: AON-NOC resumed
[  252.380555] tegra-cbb d600000.bpmp-noc: BPMP-NOC resumed
[  252.380600] tegra-cbb be00000.rce-noc: RCE-NOC resumed
[  252.380658] tegra-cbb b600000.sce-noc: SCE-NOC resumed
[  252.383020] tegra-cbb 14040000.cv-noc: CV-NOC resumed
[  252.383493] PM: noirq resume of devices complete after 390.327 msecs
[  252.386202] host1x 13e10000.host1x: resuming
[  252.386759] PM: early resume of devices complete after 2.926 msecs
[  252.390950] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  252.391662] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  252.392724] gpio tegra-gpio wake51 for gpio=130(Q:2)
[  252.392760] Disabling wake51
[  252.394578] gpio tegra-gpio wake8 for gpio=55(G:7)
[  252.394587] Disabling wake8
[  252.400260] tegradc 15200000.nvdisplay: resume
[  252.400264] tegradc 15210000.nvdisplay: resume
[  252.400397] tegra_cec 3960000.tegra_cec: Resuming
[  252.400719] tegra_cec 3960000.tegra_cec: tegra_cec_init started
[  252.400971] Wake73 for irq=42
[  252.400976] Disabling wake73
[  252.401630] tegra-xudc-new 3550000.xudc: exiting ELPG
[  252.402245] tegra-xudc-new 3550000.xudc: exiting ELPG done
[  252.402279] tegra-xudc-new 3550000.xudc: vbus state: 1
[  252.402300] tegra-xudc-new 3550000.xudc: device mode on: 0
[  252.402322] tegra-xudc-new 3550000.xudc: active: 0 => 1
[  252.402335] Wake76 for irq=199
[  252.402340] Wake77 for irq=199
[  252.402344] Wake78 for irq=199
[  252.402347] Wake79 for irq=199
[  252.402351] Wake80 for irq=199
[  252.402355] Wake81 for irq=199
[  252.402358] Wake82 for irq=199
[  252.402363] Disabling wake76
[  252.402366] Disabling wake77
[  252.402370] Disabling wake78
[  252.402373] Disabling wake79
[  252.402376] Disabling wake80
[  252.402380] Disabling wake81
[  252.402383] Disabling wake82
[  252.405052] hpd: state 3 (Disabled), hpd 0, pending_hpd_evt 1
[  252.405061] hpd: switching from state 3 (Disabled) to state 0 (Reset)
[  252.405071] hpd: state 0 (Reset), hpd 0, pending_hpd_evt 0
[  252.405087] extcon-disp-state external-connection:disp-state: cable 44 state 0 already set.
[  252.405091] Extcon DP: HPD disabled
[  252.405095] hpd: hpd_switch 0
[  252.405099] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[  252.405108] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[  252.405116] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[  252.421918] gpio tegra-gpio wake61 for gpio=201(Z:1)
[  252.421926] Disabling wake61
[  252.421963] extcon-gpio-states external-connection:extcon@1: Cable state:1, cable id:1
[  252.422012] gpio tegra-gpio-aon wake29 for gpio=36(EE:4)
[  252.422016] Disabling wake29
[  252.426632] Wake24 for irq=241
[  252.426641] Disabling wake24
[  252.503394] usb 2-3: Enable of device-initiated U1 failed.
[  252.503707] usb 2-3: Set SEL for device-initiated U2 failed.
[  252.504013] hub 2-3:1.0: hub_ext_port_status failed (err = -71)
[  252.504357] hub 2-3:1.0: hub_ext_port_status failed (err = -71)
[  252.509602] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  252.509931] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  252.516408] tegradc 15200000.nvdisplay: read_edid_into_buffer: extension_blocks = 1, max_ext_blocks = 3
[  252.528796] hub 2-3:1.0: hub_ext_port_status failed (err = -71)
[  252.529170] usb 2-3-port5: cannot disable (err = -71)
[  252.529374] dpm_run_callback(): usb_dev_resume+0x0/0x30 returns -71
[  252.529535] PM: Device 2-3.5 failed to resume async: error -71
[  252.532295] tegradc 15200000.nvdisplay: hdmi_recheck_edid: read_edid_into_buffer() returned 256
[  252.532333] tegradc 15200000.nvdisplay: old edid len = 256
[  252.532340] tegradc 15200000.nvdisplay: hdmi: No EDID change after HPD bounce, taking no action
[  252.533607] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[  252.533808] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[  252.535937] Parent Clock set for DC plld2
[  252.540061] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[  252.541390] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[  252.541405] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[  252.576170] extcon-disp-state external-connection:disp-state: cable 47 state 1
[  252.576177] Extcon AUX1(HDMI) enable
[  252.614368] PM: resume of devices complete after 227.556 msecs
[  252.615946] PM: Finishing wakeup.
[  252.615955] Restarting tasks ... done.
[  252.688284] PM: suspend exit 2020-07-16 05:49:40.937866315 UTC
[  253.000839] usb 2-3: USB disconnect, device number 2
[  253.000858] usb 2-3.5: USB disconnect, device number 3
[  253.001505] qmi_wwan 2-3.5:1.8 wwan0: unregister 'qmi_wwan' usb-3610000.xhci-3.5, WWAN/QMI device
[  253.313131] usb 2-3: new SuperSpeedPlus USB device number 4 using tegra-xusb
[  253.333427] usb 2-3: New USB device found, idVendor=0424, idProduct=7206
[  253.333437] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  253.333443] usb 2-3: Product: USB7206 Smart Hub
[  253.333447] usb 2-3: Manufacturer: Microchip
[  253.335367] hub 2-3:1.0: USB hub found
[  253.335486] hub 2-3:1.0: 5 ports detected
[  253.432872] tegra_cec 3960000.tegra_cec: tegra_cec_init Done.
[  253.433121] eqos 2490000.ether_qos eth0: Link is Down
[  253.621355] usb 2-3.5: new SuperSpeed USB device number 5 using tegra-xusb
[  253.621364] tegradc 15200000.nvdisplay: blank - powerdown
[  253.642541] usb 2-3.5: config 1 has an invalid interface number: 8 but max is 3
[  253.642548] usb 2-3.5: config 1 has no interface number 1
[  253.643530] usb 2-3.5: New USB device found, idVendor=1199, idProduct=9091
[  253.643535] usb 2-3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  253.643538] usb 2-3.5: Product: Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
[  253.643541] usb 2-3.5: Manufacturer: Sierra Wireless, Incorporated
[  253.643545] usb 2-3.5: SerialNumber: UF91147315011041
[  253.647161] usb 2-3.5: Enable of device-initiated U1 failed.
[  253.648568] usb 2-3.5: Enable of device-initiated U2 failed.
[  253.650792] usb 2-3.5: Disable of device-initiated U1 failed.
[  253.651163] usb 2-3.5: Disable of device-initiated U2 failed.
[  253.653349] qmi_wwan 2-3.5:1.8: cdc-wdm0: USB WDM device
[  253.654885] qmi_wwan 2-3.5:1.8 wwan0: register 'qmi_wwan' at usb-3610000.xhci-3.5, WWAN/QMI device, aa:63:23:cc:4f:9f
[  253.656350] usb 2-3.5: Enable of device-initiated U1 failed.
[  253.657941] usb 2-3.5: Enable of device-initiated U2 failed.
[  253.674983] extcon-disp-state external-connection:disp-state: cable 47 state 0
[  253.674987] Extcon AUX1(HDMI) disable
[  253.698990] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[  253.700255] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[  253.701501] tegradc 15200000.nvdisplay: unblank
[  253.702585] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[  253.702722] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[  253.705584] Parent Clock set for DC plld2
[  253.713690] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[  253.715131] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[  253.715172] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[  253.750084] extcon-disp-state external-connection:disp-state: cable 47 state 1
[  253.750088] Extcon AUX1(HDMI) enable
[  253.750267] tegradc 15200000.nvdisplay: unblank
[  253.750286] tegradc 15210000.nvdisplay: blank - powerdown
[  253.776624] tegradc 15200000.nvdisplay: unblank
[  253.776641] tegradc 15210000.nvdisplay: blank - powerdown
[  255.218764] eqos 2490000.ether_qos eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  255.781530] wlan0: authenticate with 76:da:88:a8:e9:95
[  255.788830] wlan0: send auth to 76:da:88:a8:e9:95 (try 1/3)
[  255.798473] wlan0: authenticated
[  255.801213] wlan0: associate with 76:da:88:a8:e9:95 (try 1/3)
[  255.905252] wlan0: associate with 76:da:88:a8:e9:95 (try 2/3)
[  255.907888] wlan0: RX AssocResp from 76:da:88:a8:e9:95 (capab=0x1411 status=0 aid=3)
[  255.920661] wlan0: associated
[  256.665599] FAN rising trip_level:1 cur_temp:53700 trip_temps[2]:60000

2.2 wake up by wlanonlan

[  684.435829] PM: suspend entry 2020-07-16 05:57:19.322398925 UTC
[  684.435841] PM: Syncing filesystems ... done.
[  684.436091] PM: Preparing system for sleep (mem)
[  684.454830] tegradc 15200000.nvdisplay: blank - powerdown
[  684.518497] extcon-disp-state external-connection:disp-state: cable 47 state 0
[  684.518501] Extcon AUX1(HDMI) disable
[  684.541957] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[  684.542506] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[  684.542752] tegradc 15210000.nvdisplay: blank - powerdown
[  684.544965] tegradc 15200000.nvdisplay: blank - powerdown
[  684.544996] tegradc 15200000.nvdisplay: unblank
[  684.547048] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[  684.547188] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[  684.549552] Parent Clock set for DC plld2
[  684.554821] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[  684.556268] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[  684.556279] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[  684.591046] extcon-disp-state external-connection:disp-state: cable 47 state 1
[  684.591050] Extcon AUX1(HDMI) enable
[  687.614036] Freezing user space processes ... (elapsed 0.008 seconds) done.
[  687.622175] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  687.623582] PM: Suspending system (mem)
[  687.628909] wlan0: deauthenticating from 76:da:88:a8:e9:95 by local choice (Reason: 3=DEAUTH_LEAVING)
[  687.629174] usb 1-3.7: usb_suspend_both: status 0
[  687.629782] usb 2-3.5: Disable of device-initiated U1 failed.
[  687.632774] usb 2-3.5: Disable of device-initiated U2 failed.
[  687.634713] usb 1-3.1: usb_suspend_both: status 0
[  687.635426] usb 1-3: usb_suspend_both: status 0
[  687.635673] usb 1-2: usb_suspend_both: status 0
[  687.635821] Wake24 for irq=241
[  687.635826] Enabling wake24
[  687.635946] gpio tegra-gpio-aon wake29 for gpio=36(EE:4)
[  687.635949] Enabling wake29
[  687.636943] gpio tegra-gpio wake61 for gpio=201(Z:1)
[  687.636947] Enabling wake61
[  687.652185] usb 2-3.5: usb_suspend_both: status 0
[  687.655493] usb usb1: usb_suspend_both: status 0
[  687.699487] usb 2-3: usb_suspend_both: status 0
[  687.699880] usb usb2: usb_suspend_both: status 0
[  687.699913] tegra-xusb 3610000.xhci: entering ELPG
[  687.703411] tegra-xusb 3610000.xhci: entering ELPG done
[  687.703419] Wake76 for irq=199
[  687.703423] Wake77 for irq=199
[  687.703427] Wake78 for irq=199
[  687.703430] Wake79 for irq=199
[  687.703433] Wake80 for irq=199
[  687.703437] Wake81 for irq=199
[  687.703440] Wake82 for irq=199
[  687.703444] Enabling wake76
[  687.703447] Enabling wake77
[  687.703450] Enabling wake78
[  687.703453] Enabling wake79
[  687.703456] Enabling wake80
[  687.703459] Enabling wake81
[  687.703462] Enabling wake82
[  687.703531] tegra-xudc-new 3550000.xudc: device mode off: 0
[  687.703567] tegra-xudc-new 3550000.xudc: entering ELPG
[  687.704405] tegra-xudc-new 3550000.xudc: entering ELPG done
[  687.704608] Wake73 for irq=42
[  687.704612] Enabling wake73
[  687.704666] tegra_cec 3960000.tegra_cec: suspended
[  687.705036] tegradc 15210000.nvdisplay: suspend
[  687.705087] tegradc 15200000.nvdisplay: suspend
[  687.705340] hpd: state 3 (Disabled), hpd 0, pending_hpd_evt 1
[  687.705349] hpd: request suspend
[  687.705354] hpd: switching from state 3 (Disabled) to state 3 (Disabled)
[  687.706561] extcon-disp-state external-connection:disp-state: cable 47 state 0
[  687.706568] Extcon AUX1(HDMI) disable
[  687.762345] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[  687.762897] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[  687.765865] gpio tegra-gpio wake8 for gpio=55(G:7)
[  687.765873] Enabling wake8
[  687.766605] gpio tegra-gpio wake51 for gpio=130(Q:2)
[  687.766610] Enabling wake51
[  687.767787] PM: suspend of devices complete after 139.156 msecs
[  687.770383] host1x 13e10000.host1x: suspended
[  687.770516] PM: late suspend of devices complete after 2.716 msecs
[  687.774670] gpio tegra-gpio wake20 for gpio=52(G:4)
[  687.774676] Enabling wake20
[  687.814613] gpio tegra-gpio wake1 for gpio=90(L:2)
[  687.814621] Enabling wake1
[  687.814809] PM: noirq suspend of devices complete after 44.277 msecs
[  687.814815] Disabling non-boot CPUs ...
[  687.835950] ras_fhi_disable: FHI 472 disabled
[  687.836632] CPU1: shutdown
[  687.836801] psci: CPU1 killed.
[  687.859876] ras_fhi_disable: FHI 473 disabled
[  687.861370] CPU2: shutdown
[  687.861512] psci: CPU2 killed.
[  687.875768] ras_fhi_disable: FHI 474 disabled
[  687.876432] CPU3: shutdown
[  687.876554] psci: CPU3 killed.
[  687.899731] ras_fhi_disable: FHI 475 disabled
[  687.900528] CPU4: shutdown
[  687.900673] psci: CPU4 killed.
[  687.923663] ras_fhi_disable: FHI 476 disabled
[  687.924372] CPU5: shutdown
[  687.924493] psci: CPU5 killed.
[  687.926728] Entered SC7
[  687.926728] Wake[31-0]  level=0x0
[  687.926728] Wake[63-32]  level=0xa0080000
[  687.926728] Wake[95-64]  level=0x7f200
[  687.926728] Wake[31-0]  enable=0x21100102
[  687.926728] Wake[63-32]  enable=0x20080000
[  687.926728] Wake[95-64]  enable=0x7f200
[  687.926728] Wake[31-0]  route=0x21100102
[  687.926728] Wake[63-32]  route=0x20080000
[  687.926728] Wake[95-64]  route=0x7f200
[  687.926728] Wake[32:0]  status=0x100000
[  687.926728] Resume caused by WAKE20
[  687.926728] Wake[64:32]  status=0x0
[  687.926728] Wake[96:64]  status=0x0
[  687.926728] Exited SC7
[  687.926728] bpmp: waiting for handshake
[  687.926728] bpmp: synchronizing channels
[  687.926728] bpmp: channels synchronized
[  687.926728] Suspended for 7.351 seconds
[  687.927181] Enabling non-boot CPUs ...
[  687.927748] CPU1: Booted secondary processor [4e0f0040]
[  687.928333]  cache: parent cpu1 should not be sleeping
[  687.929517] ras_fhi_enable: FHI 472 enabled on CPU1
[  687.929658] carmel_ras_enable: RAS enabled on cpu1
[  687.930796] CPU1 is up
[  687.932009] CPU2: Booted secondary processor [4e0f0040]
[  687.933280]  cache: parent cpu2 should not be sleeping
[  687.934010] ras_fhi_enable: FHI 473 enabled on CPU2
[  687.934140] carmel_ras_enable: RAS enabled on cpu2
[  687.934997] CPU2 is up
[  687.936303] CPU3: Booted secondary processor [4e0f0040]
[  687.937723]  cache: parent cpu3 should not be sleeping
[  687.938534] ras_fhi_enable: FHI 474 enabled on CPU3
[  687.938663] carmel_ras_enable: RAS enabled on cpu3
[  687.939527] CPU3 is up
[  687.940903] CPU4: Booted secondary processor [4e0f0040]
[  687.941760]  cache: parent cpu4 should not be sleeping
[  687.942875] ras_fhi_enable: FHI 475 enabled on CPU4
[  687.943006] carmel_ras_enable: RAS enabled on cpu4
[  687.944759] CPU4 is up
[  687.945613] CPU5: Booted secondary processor [4e0f0040]
[  687.946989]  cache: parent cpu5 should not be sleeping
[  687.947845] ras_fhi_enable: FHI 476 enabled on CPU5
[  687.947977] carmel_ras_enable: RAS enabled on cpu5
[  687.949431] CPU5 is up
[  687.950457] gpio tegra-gpio wake1 for gpio=90(L:2)
[  687.950464] Disabling wake1
[  688.059502] tegra-pcie-dw 14160000.pcie: link is up
[  688.167492] tegra-pcie-dw 141a0000.pcie: link is up
[  688.169305] gpio tegra-gpio wake20 for gpio=52(G:4)
[  688.169311] Disabling wake20
[  693.631894] eqos 2490000.ether_qos: WoL Failed to reset MAC
[  693.632191] dpm_run_callback(): eqos_resume_noirq+0x0/0x1d0 returns -19
[  693.632362] PM: Device 2490000.ether_qos failed to resume noirq: error -19
[  693.637798] tegra-xusb 3610000.xhci: exiting ELPG
[  693.641960] tegra-xusb 3610000.xhci: Firmware timestamp: 2019-07-24 05:47:34 UTC, Version: 60.06 release
[  693.643045] tegra-xusb 3610000.xhci: exiting ELPG done
[  693.643076] tegra-cbb 2300000.cbb-noc: CBB-NOC resumed
[  693.643088] tegra-cbb c600000.aon-noc: AON-NOC resumed
[  693.643097] tegra-cbb d600000.bpmp-noc: BPMP-NOC resumed
[  693.643143] tegra-cbb be00000.rce-noc: RCE-NOC resumed
[  693.643162] tegra-cbb b600000.sce-noc: SCE-NOC resumed
[  693.645191] tegra-cbb 14040000.cv-noc: CV-NOC resumed
[  693.645690] PM: noirq resume of devices complete after 5695.677 msecs
[  693.647398] eqos 2490000.ether_qos eth0: Link is Down
[  693.650758] host1x 13e10000.host1x: resuming
[  693.651534] PM: early resume of devices complete after 3.351 msecs
[  693.655688] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  693.656383] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  693.658386] gpio tegra-gpio wake51 for gpio=130(Q:2)
[  693.658394] Disabling wake51
[  693.660270] gpio tegra-gpio wake8 for gpio=55(G:7)
[  693.660278] Disabling wake8
[  693.666063] tegradc 15210000.nvdisplay: resume
[  693.666131] tegradc 15200000.nvdisplay: resume
[  693.666237] tegra_cec 3960000.tegra_cec: Resuming
[  693.666423] tegra_cec 3960000.tegra_cec: tegra_cec_init started
[  693.666618] Wake73 for irq=42
[  693.666622] Disabling wake73
[  693.666770] tegra-xudc-new 3550000.xudc: exiting ELPG
[  693.667270] tegra-xudc-new 3550000.xudc: exiting ELPG done
[  693.667276] tegra-xudc-new 3550000.xudc: vbus state: 1
[  693.667293] tegra-xudc-new 3550000.xudc: device mode on: 0
[  693.667325] tegra-xudc-new 3550000.xudc: active: 0 => 1
[  693.667334] Wake76 for irq=199
[  693.667338] Wake77 for irq=199
[  693.667341] Wake78 for irq=199
[  693.667344] Wake79 for irq=199
[  693.667348] Wake80 for irq=199
[  693.667351] Wake81 for irq=199
[  693.667354] Wake82 for irq=199
[  693.667357] Disabling wake76
[  693.667361] Disabling wake77
[  693.667364] Disabling wake78
[  693.667367] Disabling wake79
[  693.667370] Disabling wake80
[  693.667373] Disabling wake81
[  693.667376] Disabling wake82
[  693.670027] hpd: state 3 (Disabled), hpd 0, pending_hpd_evt 1
[  693.670035] hpd: switching from state 3 (Disabled) to state 0 (Reset)
[  693.670044] hpd: state 0 (Reset), hpd 0, pending_hpd_evt 0
[  693.670058] extcon-disp-state external-connection:disp-state: cable 44 state 0 already set.
[  693.670063] Extcon DP: HPD disabled
[  693.670067] hpd: hpd_switch 0
[  693.670072] hpd: switching from state 0 (Reset) to state 1 (Check Plug)
[  693.670080] hpd: state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[  693.670086] hpd: switching from state 1 (Check Plug) to state 3 (Disabled)
[  693.686475] gpio tegra-gpio wake61 for gpio=201(Z:1)
[  693.686481] Disabling wake61
[  693.686497] extcon-gpio-states external-connection:extcon@1: Cable state:1, cable id:1
[  693.686563] gpio tegra-gpio-aon wake29 for gpio=36(EE:4)
[  693.686567] Disabling wake29
[  693.689296] Wake24 for irq=241
[  693.689305] Disabling wake24
[  693.774448] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  693.774827] iwlwifi 0004:03:00.0: L1 Enabled - LTR Disabled
[  693.783396] tegradc 15200000.nvdisplay: read_edid_into_buffer: extension_blocks = 1, max_ext_blocks = 3
[  693.798836] tegradc 15200000.nvdisplay: hdmi_recheck_edid: read_edid_into_buffer() returned 256
[  693.798846] tegradc 15200000.nvdisplay: old edid len = 256
[  693.798853] tegradc 15200000.nvdisplay: hdmi: No EDID change after HPD bounce, taking no action
[  693.799665] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[  693.799798] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[  693.802275] Parent Clock set for DC plld2
[  693.806760] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[  693.808189] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[  693.808201] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[  693.843162] extcon-disp-state external-connection:disp-state: cable 47 state 1
[  693.843168] Extcon AUX1(HDMI) enable
[  693.845617] usb 2-3.5: Enable of device-initiated U1 failed.
[  693.846980] usb 2-3.5: Enable of device-initiated U2 failed.
[  693.879622] PM: resume of devices complete after 228.066 msecs
[  693.886675] PM: Finishing wakeup.
[  693.886683] Restarting tasks ... done.
[  693.894006] PM: suspend exit 2020-07-16 05:57:36.131982217 UTC
[  694.683859] tegra_cec 3960000.tegra_cec: tegra_cec_init Done.
[  694.799383] tegradc 15200000.nvdisplay: blank - powerdown
[  694.858542] extcon-disp-state external-connection:disp-state: cable 47 state 0
[  694.858546] Extcon AUX1(HDMI) disable
[  694.883270] tegra_nvdisp_handle_pd_disable: Powergated Head1 pd
[  694.884016] tegra_nvdisp_handle_pd_disable: Powergated Head0 pd
[  694.884327] tegradc 15200000.nvdisplay: unblank
[  694.885815] tegra_nvdisp_handle_pd_enable: Unpowergated Head0 pd
[  694.885949] tegra_nvdisp_handle_pd_enable: Unpowergated Head1 pd
[  694.887920] Parent Clock set for DC plld2
[  694.893244] tegradc 15200000.nvdisplay: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_111m_223m
[  694.894933] tegradc 15200000.nvdisplay: hdmi: get RGB quant from EDID.
[  694.894944] tegradc 15200000.nvdisplay: hdmi: get YCC quant from EDID.
[  694.930539] extcon-disp-state external-connection:disp-state: cable 47 state 1
[  694.930542] Extcon AUX1(HDMI) enable
[  694.930685] tegradc 15200000.nvdisplay: unblank
[  694.930702] tegradc 15210000.nvdisplay: blank - powerdown
[  694.951140] tegradc 15200000.nvdisplay: unblank
[  694.951157] tegradc 15210000.nvdisplay: blank - powerdown
[  697.102947] eqos 2490000.ether_qos eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  697.229125] wlan0: authenticate with 76:da:88:a8:e9:95
[  697.236486] wlan0: send auth to 76:da:88:a8:e9:95 (try 1/3)
[  697.242327] wlan0: authenticated
[  697.243954] wlan0: associate with 76:da:88:a8:e9:95 (try 1/3)
[  697.246863] wlan0: RX AssocResp from 76:da:88:a8:e9:95 (capab=0x1411 status=0 aid=3)
[  697.249277] wlan0: associated
[  697.980186] FAN rising trip_level:1 cur_temp:54000 trip_temps[2]:60000
3.rtcwake测试

今天试图通过rtcwake暂停和恢复NX系统。
rtcwake恢复后ETH接口工作正常。
这里是RTC唤醒测试的
暂停/恢复内核日志。

" wake up by wlanonlan"是ETH故障的内核日志,
在主机端使用wlanonlan唤醒NX
在系统恢复过程中,
可以看到ETH接口的错误信息如下

[ 693.631894] eqos 2490000.ether_qos: WoL Failed to reset MAC
[ 693.632191] dpm_run_callback(): eqos_resume_noirq+0x0/0x1d0 returns -19
[ 693.632362] PM: Device 2490000.ether_qos failed to resume noirq: error -19
4.问题梳理
(1)升级版本
升级到rel-32.4.3
最好在最新版本上查看此版本

(2)是纯粹的开发工具包吗?上面还有其他外围设备吗?

(3)有其他的NX模块可以做测试吗?

(4)尝试不同的以太网环境测试?
例如,不同的电缆/开关/集线器等。IP是否由DHCP分配?

在测试中,在dev kit和RUDI NX之间放了一个ETH开关。
NX上的ETH接口使用magic package
从休眠模式恢复后仍然不能工作,
出现错误

“eqos 2490000.”ether_qos: WoL Failed to reset MAC " is not seen anymore。

到目前为止,ETH0在所有测试中都使用静态IP

当使用ETH开关进行测试时
没有改变SW构建
最终产品需要这个ETH开关
将用NX和主机PC之间的直连ETH线再次测试,
检查是否有

“eqos 2490000”。ether_qos: WoL Failed to reset MAC " 
5.组合测试

有一个NX开发工具包和一个ConnectTech RUDI NX
在这两款设备上都遇到了同样的问题
在最近的测试中
遇到的问题似乎是由于rtcwake会从零开始

对下表中所示的所有四种组合再次运行了测试。
结果与之前在其他测试中看到的一致。
因为实际用例在NX和主机之间有这个ETH开关,
所以在这里报告的原始问题不再是用例的阻塞问题。

5.1 测试设置#1

nVIDIA NX开发套件将进入休眠模式,
ConnectTech RUDI NX将作为Linux主机设备。

5.2 测试设置#2

ConnectTech RUDI NX将进入休眠模式,
nVIDIA NX开发工具包将作为Linux主机设备。

遇到了完全相同的情况,
因为hecnl4o在两种配置(交换机和直连电缆)的WOL包唤醒系统,
但在直连电缆配置网络停止工作,
看到相同的错误线在dmseg和pc重启几分钟后

设置:
普通的以太网线连接Nvidia Xavier NX和一台使用unbuntu linux的PC。

On Nvidia (10.10.10.1 / 255.255.255.0):
sudo ethtool -s eth0 wol g
sudo systemctl suspend
On PC:(10.10.10.2 / 255.255.255.0):
sudo etherwake -i eno1 [MAC]
声明:本文内容由易百纳平台入驻作者撰写,文章观点仅代表作者本人,不代表易百纳立场。如有内容侵权或者其他问题,请联系本站进行删除。
free-jdx
红包 85 收藏 评论 打赏
评论
0个
内容存在敏感词
手气红包
    易百纳技术社区暂无数据
相关专栏
置顶时间设置
结束时间
删除原因
  • 广告/SPAM
  • 恶意灌水
  • 违规内容
  • 文不对题
  • 重复发帖
打赏作者
易百纳技术社区
free-jdx
您的支持将鼓励我继续创作!
打赏金额:
¥1易百纳技术社区
¥5易百纳技术社区
¥10易百纳技术社区
¥50易百纳技术社区
¥100易百纳技术社区
支付方式:
微信支付
支付宝支付
易百纳技术社区微信支付
易百纳技术社区
打赏成功!

感谢您的打赏,如若您也想被打赏,可前往 发表专栏 哦~

举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

审核成功

发布时间设置
发布时间:
是否关联周任务-专栏模块

审核失败

失败原因
备注
拼手气红包 红包规则
祝福语
恭喜发财,大吉大利!
红包金额
红包最小金额不能低于5元
红包数量
红包数量范围10~50个
余额支付
当前余额:
可前往问答、专栏板块获取收益 去获取
取 消 确 定

小包子的红包

恭喜发财,大吉大利

已领取20/40,共1.6元 红包规则

    易百纳技术社区