From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31244 invoked by alias); 11 Sep 2007 16:04:57 -0000 Received: (qmail 31235 invoked by uid 22791); 11 Sep 2007 16:04:56 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.177) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Sep 2007 16:04:49 +0000 Received: by wa-out-1112.google.com with SMTP id l24so2205658waf for ; Tue, 11 Sep 2007 09:04:45 -0700 (PDT) Received: by 10.141.5.3 with SMTP id h3mr2425358rvi.1189526685307; Tue, 11 Sep 2007 09:04:45 -0700 (PDT) Received: by 10.141.197.6 with HTTP; Tue, 11 Sep 2007 09:04:45 -0700 (PDT) Message-ID: Date: Tue, 11 Sep 2007 16:04:00 -0000 From: Alexandre Reply-To: thekyz@gmail.com To: Alexandre , ecos-discuss In-Reply-To: <20070911152514.GH23980@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070911141526.GF23980@lunn.ch> <20070911152514.GH23980@lunn.ch> 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 Subject: Re: [ECOS] I2C Driver not initializing X-SW-Source: 2007-09/txt/msg00059.txt.bz2 Ok that was the problem, the i2c file was rejected by the linker and not included in the code since considered unused, it works now ... I feel shame ^^ Thanks a lot Andrew, as usual :) On 9/11/07, Andrew Lunn wrote: > > Well even the generic I2C driver code is not initialized so I think I > > made a mistake by forgetting something or misunderstanding the whole > > concept ^^ > > Do you call any I2C function? If nothing is using I2C it will all get > throw out by the linker. > > Take a look at the functions which are actually in your > image. > > arm-elf-objdump --syms myprog > > Is the i2c code there? > > Andrew > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss