Dear All,
We are currently using iMX6 Solo based carrier board design running Android KK (Linux kernel 3.0.35). We are trying to set the CAN hardware filters to filter out the unwanted CAN messages. We have done the mailbox implementation in the 3.0.35 kernel. The below registers are set to accept CAN messages with odd number IDs.
for (i = 0; i < ARRAY_SIZE(regs->mb); i++)
flexcan_write((0x01), ®s->rximr[i]);
The maximum number of mailbox set is 64. Kindly, let me know if we are missing out anything for configuring the hardware filter. Also, there will be standard CAN ID in our use case and we don't use any extended CAN ID messages.
Regards,
Sudar