Hi I am using mpc8309twr board. I want to configure the flexcan of twr board. I am using linux 3.4.113 kernel.
In drivers/net/can/flexcan.c I found compatible field only as "fsl,p1010-flexcan", Is there a support available for twr board ["fsl,mpc830x-flexcan"] ?
My dts entry is shown below, I am using only can4 in twr board.
can0@2a000 {
compatible = "fsl,mpc830x-flexcan";
cell-index = <3>;
reg = <0x2a000 0x1000>;
interrupts = <10 0x8>;
interrupt-parent = <&ipic>;
};
I have patch for flexcan driver in 2.6 kernel, that I cannot use in 3.4 kernel. I hope my question is clear and expecting a reply.
Hi @vineethparaprat ,
I am currently working in MPC8309 custom board. I need to run the linux kernel version 3.4.113 in the board using Yocto build environment. Could you please let me know what all are the steps you have taken to port the Linux OS in mpc8309 using yocto ,Since I have less knowledge in yocto. Thanks
Hi Pavel,
Thanks for your response.I have gone through it and found the driver is compatible in 2.6 kernel ,As I mentioned I am working with 3.4 linux kernel which we ported for twr board. These patches I cannot add in 3.4 kernel since the way to handle platform devices have changed from 2.6 to 3.4 . I am looking any compatible driver which is tested for 3.4 linux kernel.
Driver for FlexCAN is available using the following path in the kernel source:ltib-mpc830xsom-20110223/rpm/BUILD/linux-2.6.34/drivers/net/can/flexcan NXP offers LTIB Linux BSP for the TWR-MPC8309 board:http://www.nxp.com/webapp/sps/download/license.jsp?colCode=TWRMPC8309_LINUX_BSP&Parent_nodeId=131541... See attached files. These files contain screenshots for kernel menu and FlexCAN driver code.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------