MPC5121 CAN and USB
Paul Gibson
paul.gibson2074 at gmail.com
Fri Oct 16 10:03:24 EST 2009
>> The kernel from the BSP on Freescale site is crashing on the CAN in my case
>> (might be a hardware bug).
>
> I don;t think so. There are some problems in this code, for example
> the clocks seem to be wrong. Not toi menthin that the whole code is
> hoplessly old and without chance of ever being merged into mainline.
The clocks are definitely wrong, but should not cause the crashing.
The only fix I needed for the ADS512101 board was to set the clock to
66MHz, instead of 100MHz in drivers/can/mscan/mscan.c:
clk->rate = 66000000;
Its a hack I know.
> The "ltib-mpc5121ads-20090602" branch reflects the exact state of the
> kernel contained in the LTIB with this name (dated July 2009, despite
> the name; based at 2.6.24.6, i. e. 7+ kernel versions behind).
I have diff'ed this and it is very similar to the ltib in the BSP.
The MBX patches may be missing though. These patches can be obtained
via the Freescale SDK for the OpenGL on the MPC5121e webpage.
Paul
More information about the Linuxppc-dev
mailing list