imx8qm flexcan failed to initialize sometimes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8qm flexcan failed to initialize sometimes

2,307 Views
jack-cap
Contributor III

HI NXP,

i.MX Processors

I use imx8qm android P OS on IMX8QM MEK BOARD. I found that flex can failed to initialize sometimes. the intialization failure probability is about five percent . please help to analysis the question. thanks a lot !

the log that flexcan failed to initialize is as follows:

[    9.133580] CAN device driver interface
[    9.138411] flexcan 5a8d0000.can: 5a8d0000.can supply xceiver not found, using dummy regulator
[    9.147350] flexcan 5a8d0000.can (unnamed net_device) (uninitialized): Could not enable RX FIFO, unsupported core
[    9.157624] flexcan 5a8d0000.can: registering netdev failed
[    9.163904] flexcan 5a8e0000.can: 5a8e0000.can supply xceiver not found, using dummy regulator
[    9.172731] flexcan 5a8e0000.can (unnamed net_device) (uninitialized): Could not enable RX FIFO, unsupported core
[    9.183044] flexcan 5a8e0000.can: registering netdev failed
[    9.189092] flexcan 5a8f0000.can: 5a8f0000.can supply xceiver not found, using dummy regulator
[    9.197897] flexcan 5a8f0000.can (unnamed net_device) (uninitialized): Could not enable RX FIFO, unsupported core
[    9.208193] flexcan 5a8f0000.can: registering netdev failed

0 Kudos
6 Replies

1,865 Views
rahulM
Contributor IV

Hi NXP,

I am facing similar issue that, my can01 and can2 is not enabling at all in IMX8qm i think it is enable in m4.
Please let us know how to enable on A-53, following logs after system boots

root@imx8qmmek:~# [ 35.927014] vref_1v8: disabling
[ 35.930173] epdev_on: disabling
[ 35.933383] SD1_SPWR: disabling
[ 35.936594] can01-en: disabling
[ 35.939788] can2-en: disabling
[ 35.942853] can01-stby: disabling
[ 35.946209] can2-stby: disabling
[ 64.599200] cfg80211: failed to load regulatory.db

Please let me know changes has to be 

using imx8qm-mek.dtb

i.MX Linux Yocto Project BSP 5.4.47_2.2.0 Release

Thanks and Regards,

rahulM

0 Kudos

2,098 Views
之金叶
Contributor I

hi,i have question:

IMX8QM usbotg2 can not use,https://community.nxp.com/message/1303420

do you tell me how to resolve,thanks very much!

0 Kudos

2,098 Views
pressmans
Contributor I

This Quickstart guide describes the tools and provides the know-how to install and work with paygonline the Linux Board Support Package (BSP) for the phyCORE-i.MX8QM Alpha Kit. 

0 Kudos

2,098 Views
igorpadykov
NXP Employee
NXP Employee

Hi yingjin

one can check on below link Android documentation (Release Notes, p1)

if approriate release used in the case, as not all releases support i.MX8QM.

For example P9.0.0_2.3.5 supports only i.MX8QXP.

i.MX Software and Development Tools | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,098 Views
jack-cap
Contributor III

Is any else advice about flexcan init?

0 Kudos

2,097 Views
jack-cap
Contributor III

@igorpadykov 

hi igorpadykov,

I found flexcan init fail sometimes , the failure probability is five percent. the success probalibity  is ninety five percent.

So please analysis the question. because the imx8qm mek board has the same question when reboot system.

0 Kudos