Yeah, no problem building a stock 2.6.21-ts kernel. I've tried building other
2.6.x kernels, but I run into the issue that ts7350_defconfig was written for
the 2.6.21 kernel; when I've tried to build newer kernels (eg 2.6.34) there are
just too many new options which don't get set. Not that I think a newer kernel
is necessarily the solution.
I think the solution is: either an i2c-ep93xx patch for 2.6.21, or maybe an
i2c-ep93xx patch for a kernel that's *close* to 2.6.21 so that ts7350_defconfig
comes closer to setting the configuration.
There's also the issue that the tssdcard.ko kernel module has been built for a
2.6.21-ts kernel. When I've tried to boot a new kernel (even 2.6.21) and it's
not named "2.6.21-ts" it fails. I can probably rebuilt that module for a new
kernel, so I'll cross that bridge when I come to it.
....
I've all but given on I2C on this board though. I'm now trying to get SPI
working. If THAT proves problematic then we'll look for an entirely different
platform for our needs. I've spent way too much time trying to get this to work.
--- In Jim Jackson <> wrote:
>
>
>
>
> 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 <jj@> 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/
|