Hi Subbu
If default images for Linux were used, please 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 below link sect. "Modifying default configuration" :
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...
From Linux Kernel perspective, the nodes are enabled in dts:
https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8qm-mek.d...
>Please share any sample J1939 linux based application code to read/write from the busmaster simulator.
sorry such example is not available.
Best regards
igor