Skip to contentSkip to conversation

MPC5121 MSCAN Peripheral in U-Boot

U-Boot Matteo Canella 3 participants 4 messages Dec 16, 2008

lore
Share & tools
lore
#0 lore raw

Hi sirs,

I'm implementing a driver for the MSCAN peripheral of the mpc5121 in Das U-Boot.

I'm wondering if there's anyone who has already done some work on it.

Thank you

Matteo Canella

Digitek

#1 lore raw

Dear Matteo,

Quoted 5 lines · In message <000901c95f58$36a73ba0$a3f5b2e0$@[email protected]> you wrote:

I'm implementing a driver for the MSCAN peripheral of the mpc5121 in Das U-Boot.

I'm wondering if there's anyone who has already done some work on it.

What would be the purpose of such a driver? In the boot loader?

Wouldn't it make much more sense to focus on accelerating the Linux boot time and use the existing socketcan driver there?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I know engineers. They love to change things.             - Dr. McCoy
#2 lore raw

Hi Wolfgang,
I need the CAN driver in the boot loader because I need to handle a CAN request in a very short time...
I doubt I can boot Linux and make the CAN driver work in the order of a few hundreds of milliseconds...

Matteo Canella

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: marted? 16 dicembre 2008 10.51
To: Matteo Canella
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] MPC5121 MSCAN Peripheral in U-Boot

Dear Matteo,

In message <000901c95f58$36a73ba0$a3f5b2e0$@[email protected]> you

Quoted 5 lines · wrote:

I'm implementing a driver for the MSCAN peripheral of the mpc5121 in Das U-Boot.

I'm wondering if there's anyone who has already done some work on it.

What would be the purpose of such a driver? In the boot loader?

Wouldn't it make much more sense to focus on accelerating the Linux boot time and use the existing socketcan driver there?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I know engineers. They love to change things.             - Dr. McCoy
#3 lore raw
In reply to Matteo Canella
Quoted 6 lines · Matteo Canella

Hi sirs,

I'm implementing a driver for the MSCAN peripheral of the mpc5121 in Das U-Boot.

I'm wondering if there's anyone who has already done some work on it.

$ find . -name '*.c'| xargs grep -i MSCAN

reports two boards implementing a simple CAN command for loopback testing, I guess.

Wolfgang.