modprobe fec causing smsc95xx reset & unregister

cancel
Showing results for 
Search instead for 
Did you mean: 

modprobe fec causing smsc95xx reset & unregister

Jump to solution
669 Views
billchen
Contributor III

imx6q  4.1.15 kenel 

 

when I modprobe fec , caused smsc95xx 'USB disconnect' and unregistered then register , 

I want to know the reason. 

0 Kudos
1 Solution
644 Views
billchen
Contributor III

I found the reason that problem actually was caused by hardware.  I need to change device tree of  'regulator' part ,

View solution in original post

0 Kudos
6 Replies
645 Views
billchen
Contributor III

I found the reason that problem actually was caused by hardware.  I need to change device tree of  'regulator' part ,

0 Kudos
649 Views
billchen
Contributor III

actually I want change eth0 to eth1 & eth0 to eth1, normally fec initialize at first, I compile fec && smsc95xx as module to change the sequence . it is ok in imx8 4.19,but in imx6q 4.1.15  when I modprobe fec, causing smsc95xx reset , I couldn't change the eth0 eth1 sequence 

0 Kudos
657 Views
billchen
Contributor III

thanks for your docment. I'll try KGDB .  I have tried ftrace tools .   It bothers me a lot ,because on our imx8mm board 4.19 kernel , it didn't happen ,   I can modprobe fec and won't influence the smsc95xx. 

0 Kudos
655 Views
igorpadykov
NXP TechSupport
NXP TechSupport

in general one can check if smsc95xx driver is built into the kernel ("=y") or built
as a module ("=m") or is not selected.

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/configs/imx_v6_v7_defconfig?h=imx...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/configs/imx_v6_v7_defconfig?h=imx...

 

Best regards
igor

0 Kudos
650 Views
billchen
Contributor III

On imx8 4.19  I have no trouble. 

0 Kudos
665 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Bill

 

one can try to rebuild all image from scratch, reset reason can be found using

debugging, one can use AN4553  Using Open Source Debugging Tools for Linux on i.MX Processors

 

Best regards
igor