modprobe fec causing smsc95xx reset & unregister

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

modprobe fec causing smsc95xx reset & unregister

ソリューションへジャンプ
1,936件の閲覧回数
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 件の賞賛
1 解決策
1,911件の閲覧回数
billchen
Contributor III

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

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
1,912件の閲覧回数
billchen
Contributor III

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

0 件の賞賛
1,916件の閲覧回数
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 件の賞賛
1,924件の閲覧回数
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 件の賞賛
1,922件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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 件の賞賛
1,917件の閲覧回数
billchen
Contributor III

On imx8 4.19  I have no trouble. 

0 件の賞賛
1,932件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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