ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-7350 I2C

To:
Subject: Re: [ts-7000] Re: TS-7350 I2C
From: Jim Jackson <>
Date: Fri, 25 Mar 2011 22:20:52 +0000 (GMT)


On Fri, 25 Mar 2011, sanjuan34 wrote:

> No, I'm not sure that it is for the 2.6.21 kernel. I've searched around 
> for i2c-2p93xx.patch and 2.6.21 kernel and the only results I find 
> are...questions I've posted 6 months ago. Yeah.
> 
> If I try all of this with a different kernel, won't I simply run into 
> similar problems when I try to configure that kernel for the TS-7350 
> (when I run 'make ts7350_defconfig')?

Have you tried rebuilding a default kernel without i2c support. That way 
you know you are building the kernel right.

THEN get patches that are designed for the version of the kernel you are 
using and the hardware. AFAIK the patchset I used works on EP93xx
cpu based systems using the TS 2.4.26-ts11 kernel source.


> 
> --- In  Jim Jackson <> wrote:
> >
> > 
> > 
> > 
> > On Fri, 25 Mar 2011, sanjuan34 wrote:
> > 
> > > I'm having trouble building a kernel with I2C enabled. In brief, I'm 
> > > applying the I2C patch (patch -p1 < i2c-ep93xx.patch), to the standard TS 
> > > linux-2.6.21-ts kernel.
> > > 
> > > The first problem I had was an undefined 'mdelay' in the struct 
> > > i2c_algo_bit_data. So for gits and shiggles I actually added it to the 
> > > struct in i2c-algo-bit.h just to see what would happen.
> > > 
> > > The kernel actually gets built, then when the modules are getting built I 
> > > get "i2c_bit_del_bus" [drivers/i2c/busses/i2c-ep93xx.ko] undefined!
> > > 
> > > Anyway, hacking i2c-algo-bit.h isn't really the way to go, but what IS 
> > > the way to get I2C working on a TS-7350?
> > 
> > Are you sure the patch you have is meant for a 2.6.21 kernel?
> > Just because a patch works with one version of the kernel doesn't mean it 
> > will work with another.
> > 
> > I've successfully implemented i2c on the Technologics 2.4.26-ts11 kernel
> > using the patch set at
> > 
> >   http://tisnix.dommel.be/ts-7260/
> > 
> > It implements bit banging on DIO1 (PortB) bits 0 & 1, though this is 
> > configurable when loading the module. I also had to anable & build the 
> > rest of i2c modules.
> >
> 
> 
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU