From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jupiter.ctag.com (smtp.ctag.com [193.144.40.36]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E7BD2B6F2B for ; Thu, 7 Apr 2011 19:38:28 +1000 (EST) Received: from [193.144.40.38] (helo=INN0072) by jupiter.ctag.com with esmtpa (Exim 4.69) (envelope-from ) id 1Q7lEm-0005pu-OL for linuxppc-dev@lists.ozlabs.org; Thu, 07 Apr 2011 11:10:49 +0200 From: To: Date: Thu, 7 Apr 2011 11:10:48 +0200 Message-ID: <9CF962889D6042E9AC8500BC8DA74236@ctag> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01CBF514.730B69F0" Subject: mscan status on DENX Linux 2.6 Kernel Tree List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0039_01CBF514.730B69F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Up to now I've been working ltib over and ads5121 based board. So as not to work with frozen images I would like to change to u-boot and kernel from denx. I did the following: - Download and compile u-boot: OK. - Download and kernel (mpc512x_defconfig): compilation fails if I enable "Freescale MPC5xxx onboard CAN controller" with this message: . LD kernel/built-in.o CC drivers/net/can/mscan/mscan.o CC drivers/net/can/mscan/mpc5xxx_can.o drivers/net/can/mscan/mpc5xxx_can.c: In function 'mpc5xxx_can_probe': drivers/net/can/mscan/mpc5xxx_can.c:263: error: 'of_dev' undeclared (first use in this function) . I have not much experience with this stuff but I've notice that there are recent patches on mpc5xxx.c file, last from 2011-02-28 so I suppose this should work. Am I missing something? I also wonder if ads5121-Rev4 is fully supported in Linux Denx. Thanks, Moises. ------=_NextPart_000_0039_01CBF514.730B69F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

Up to now I’ve been working ltib over = and ads5121 based board.

So as not to work with frozen images I would = like to change to u-boot and kernel from denx. I did the = following:

- Download and compile u-boot: = OK.

- Download and kernel (mpc512x_defconfig): compilation fails if I enable “Freescale MPC5xxx onboard CAN = controller” with this message:

  LD      = kernel/built-in.o

  CC      drivers/net/can/mscan/mscan.o

  CC      drivers/net/can/mscan/mpc5xxx_can.o

drivers/net/can/mscan/mpc5xxx_can.c: In = function 'mpc5xxx_can_probe':

drivers/net/can/mscan/mpc5xxx_can.c:263: = error: 'of_dev' undeclared (first use in this function)

I have not much experience with this stuff = but I’ve notice that there are recent patches on mpc5xxx.c file, last from = 2011-02-28 so I suppose this should work.

Am I missing something? I also wonder if = ads5121-Rev4 is fully supported in Linux Denx.

 

Thanks,

 

Moises.

------=_NextPart_000_0039_01CBF514.730B69F0--