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
Solved! Go to Solution.
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.
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
Best regards
igor
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.
Ablt to get can0 link. Removed all CAN related changes from M4. Please close this ticket