From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13164 invoked by alias); 5 Mar 2009 19:06:49 -0000 Received: (qmail 13156 invoked by uid 22791); 5 Mar 2009 19:06:48 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f162.google.com (HELO mail-ew0-f162.google.com) (209.85.219.162) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Mar 2009 19:06:43 +0000 Received: by ewy6 with SMTP id 6so35265ewy.6 for ; Thu, 05 Mar 2009 11:06:40 -0800 (PST) Received: by 10.216.54.207 with SMTP id i57mr992696wec.114.1236279999423; Thu, 05 Mar 2009 11:06:39 -0800 (PST) Received: from smtp.gmail.com ([93.84.62.62]) by mx.google.com with ESMTPS id 23sm482367eya.16.2009.03.05.11.06.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Mar 2009 11:06:38 -0800 (PST) Date: Mon, 09 Mar 2009 13:47:00 -0000 From: Sergei Gavrikov To: Rasmus Ljungmann Pedersen Cc: eCos discuss list Message-ID: <20090305190644.GA19535@ubuntu.local> References: <49B007C9.2040408@student.dtu.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49B007C9.2040408@student.dtu.dk> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Mail-Followup-To: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] 3.0b1: olpce2294 CAN support? X-SW-Source: 2009-03/txt/msg00028.txt.bz2 Rasmus Ljungmann Pedersen wrote: > I'm just checking out the 3.0 beta 1, and notices, that even though I > add the 'CAN device drivers' package to the olpce2294 template, I can't > specify the speeds and other things of the CAN ports. I have used eCos > 2.0 with a custom package describing the Olimex e2294 board, and even > though the olpce2294 template, and the old one I used is very similar, I > can't figure out if the olpce2294 just lacks CAN support, or it is > included in some clever way that I have yet to realise :) > > If the CAN support is missing for the olpce2294 template, is this > something that will be addressed before 3.0 is released? CAN support for lpc2xxx targets had been written by Uwe Kindler. To add CAN suppport for the target, you have to implement the eCos interfaces CYGINT_DEVS_CAN_LPC2XXX_CAN{0,1} for the target. Olpce2294 has not it. You can look at lpc24xx/ea2468 target for a reference. Certainly, what Uwe's target has CAN support. It seems for me, you have to tweak the hal_arm_lpc2xxx_olpce2294.cdl, plf_io.h, olpce2294_misc.c (perhaps and hal_platform_setup.h), to get CAN support on the target. I'd not added same tweaks for olpce2294 platform. Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss