I’m trying to send from my CAN1 interface to CAN0 that is mapped into Linux. I’ve modified the can-app.c to only tx on CAN1. Next, I went through carefully and status=“disabled” all the mttcan related entries in all the tegra186 dts files I could find.
Once both linux and spe are built and flashed, my tx2 hangs. The linux serial console show that it stops at:
NOTICE: BL31: v1.3(release):5b49e7f80
NOTICE: BL31: Built : 08:38:54, Feb 19 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 197: key_mgnt_processing …
hwkey-agent: 189: Setting EKB key 0 to slot 14
hwkey-agent: 167: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
I’ve tried to be careful in disablin can1 in the linux dts files but am stuck.
When can_app_tx_task_init(NULL) the tx2 boots fine. When can_app_tx_task_init(CAN1_CONTROLLER) it hangs.
Any ideas how to get past this? Are can0 and can1 MUST be oriented to either spe or linux together?
Edit: I specifically disabled dts entries like mttcan@c320000 and made sure mttcan@c310000 were set to okay.