Tool/software:
Hi TI experts,
I use the TI SDK-10 and I can reproduce this issue in TI EVM SK-AM62P-LP
It will dump the following error message after I set the reset pin to 0
.
After I pulled the reset pin to 1
, the RJ45 LED still lights up, but it failed to obtain an IP address.
root@am62pxx-evm:~# gpioset -c gpiochip0 19=0 [ 2390.530288] ------------[ cut here ]------------ [ 2390.534926] phy_check_link_status+0x0/0xc8: returned: -5 [ 2390.540295] WARNING: CPU: 2 PID: 46 at /drivers/net/phy/phy.c:1233 phy_state_machine+0xa8/0x2dc [ 2390.548983] Modules linked in: overlay cfg80211 rpmsg_ctrl rpmsg_char bluetooth snd_soc_hdmi_codec ecdh_generic ecc rfkill display_connector snd_soc_simple_card crct10dif_ce snd_soc_simple_card_utils pvrsrvkm(O) rtc_ti_k3 k3_j72xx_bandgap sa2ul wave5 ti_k3_r5_remoteproc videobuf2_dma_contig sii902x videobuf2_memops v4l2_mem2mem videobuf2_v4l2 rti_wdt videobuf2_common authenc videodev tidss snd_soc_tlv320aic3x_i2c mcrc64 drm_dma_helper mc snd_soc_tlv320aic3x drm_kms_helper tps6598x typec snd_soc_davinci_mcasp snd_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma cryptodev(O) fuse drm drm_panel_orientation_quirks backlight ipv6 [ 2390.603903] CPU: 2 PID: 46 Comm: kworker/u8:2 Tainted: G O 6.6.32-ti-g6de6e418c80e-dirty #1 [ 2390.613624] Hardware name: Texas Instruments AM62P5 SK (DT) [ 2390.619181] Workqueue: events_power_efficient phy_state_machine [ 2390.625092] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2390.632039] pc : phy_state_machine+0xa8/0x2dc [ 2390.636386] lr : phy_state_machine+0xa8/0x2dc [ 2390.640731] sp : ffff800081a2bd70 [ 2390.644032] x29: ffff800081a2bd80 x28: 0000000000000000 x27: 0000000000000000 [ 2390.651156] x26: ffff000800014028 x25: ffff000800cb4040 x24: ffff000800013205 [ 2390.658279] x23: 00000000fffffffb x22: 0000000000000005 x21: ffff000801a95cd8 [ 2390.665403] x20: ffff000801a95d30 x19: ffff000801a95800 x18: 0000000000000006 [ 2390.672526] x17: 0000000000000000 x16: 0000000000000000 x15: ffff800081a2b790 [ 2390.679649] x14: 0000000000000000 x13: ffff80008123ea58 x12: 0000000000000603 [ 2390.686772] x11: 0000000000000201 x10: ffff800081296a58 x9 : ffff80008123ea58 [ 2390.693895] x8 : 00000000ffffefff x7 : ffff800081296a58 x6 : 80000000fffff000 [ 2390.701018] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 [ 2390.708140] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000800cb9c80 [ 2390.715264] Call trace: [ 2390.717700] phy_state_machine+0xa8/0x2dc [ 2390.721698] process_one_work+0x138/0x248 [ 2390.725703] worker_thread+0x320/0x438 [ 2390.729443] kthread+0x110/0x114 [ 2390.732663] ret_from_fork+0x10/0x20 [ 2390.736231] ---[ end trace 0000000000000000 ]--- [ 2390.741137] am65-cpsw-nuss 8000000.ethernet eth1: Link is Down [ 2390.767618] kauditd_printk_skb: 5 callbacks suppressed [ 2390.767631] audit: type=1334 audit(1727401616.834:40): prog-id=27 op=LOAD [ 2390.779685] audit: type=1334 audit(1727401616.838:41): prog-id=28 op=LOAD [ 2390.786541] audit: type=1334 audit(1727401616.846:42): prog-id=29 op=LOAD