Flexcan error in IMX8QM MEK

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

Flexcan error in IMX8QM MEK

ソリューションへジャンプ
1,054件の閲覧回数
vinothkumars
Senior Contributor IV

Hi All,

I am working in FlexCan with IMX8QM-MEK. But, I unable to assign the clock

 

mek_8q:/ # dmesg | grep -i can
[ 1.198605] Can't support > 32 bit dma.
[ 1.253895] CAN device driver interface
[ 1.258545] clk: couldn't get clock 0 for /can@5a8d0000
[ 1.849809] can: controller area network core (rev 20170425 abi 9)
[ 1.860490] can: raw protocol (rev 20170425)
[ 1.864773] can: broadcast manager protocol (rev 20170425 t)
[ 1.870448] can: netlink gateway (rev 20170425) max_hops=1

 

Regards,
Vinothkumar Sekar
ラベル(2)
0 件の賞賛
1 解決策
1,044件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you Igor for the reply.

 

I commented CAN resource in allocation for M4 Core1 in SCFW firmware. And also I disabled in M4 Core1 Free RTOS code.

 

Regards,
Vinothkumar Sekar

元の投稿で解決策を見る

タグ(1)
0 件の賞賛
3 返答(返信)
1,049件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vinothkumar

 

what bsp used in the case. If default images for Linux and Android were used, one can check if M4 was started. In affirmative case, CAN Resources are assigned to M4 and this can determine Linux CAN driver not to probe.

If this is the case, there are 2 possibilities:

1. M4 is not needed ==> use a flash.bin without M4 firmware (imx-boot-imx8qmmek-sd.bin-flash_linux)

2. Otherwise, M4 Resources has to be unassigned from M4 partition (board.c of SCFW).

Example can be found on

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

0 件の賞賛
1,045件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you Igor for the reply.

 

I commented CAN resource in allocation for M4 Core1 in SCFW firmware. And also I disabled in M4 Core1 Free RTOS code.

 

Regards,
Vinothkumar Sekar
タグ(1)
0 件の賞賛
1,032件の閲覧回数
vinothkumars
Senior Contributor IV

Ablt to get can0 link. Removed all CAN related changes from M4. Please close this ticket 

Regards,
Vinothkumar Sekar
0 件の賞賛