linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Microcode patching
@ 2002-11-08 14:09 Christian Schroeder
  2002-11-08 15:17 ` bart
  2002-11-08 15:56 ` Joakim Tjernlund
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Schroeder @ 2002-11-08 14:09 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: reklies, linz


Hi all,

I've got a question regarding the mpc8xx microcode patches in
arch/ppc/8xx_io/micropatch.c. We do need usb host mode, i2c and
ethernet operation at the same time. As I understood, i can't load
the microcode patches for usb sof generation and iic/spi together,
because they "live" at the same address. Now my question: What occurs
if I don't load the ii2/spi patch. I do need the usb sof timing, but
does the i2c-Interface work without the iic/spi patch ? As I read on
the motorola webserver, the iic/spi is needed for concurrent operation
of scc ethernet and i2c. Does i2c work correctly without the patch if
I don't use ethernet ?

Greetings
Christian Schroeder

Dr.-Ing. Christian Schroeder
Institut fuer Mikroelektronik- und Mechatronik-Systeme
Langewiesener Strasse 22
98693 Ilmenau
Telefon: +49 3677 678315
Telefax: +49 3677 678337
Mobil:   +49 173 5789172
e-mail:  christian.schroeder@imms.de
         christian.schroeder.ik@gmx.de
www:     http://www.imms.de/~christi/cs.html
pgp:     finger christi@finger.imms.de


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Microcode patching
@ 2002-11-08 16:12 Rod Boyce
  0 siblings, 0 replies; 5+ messages in thread
From: Rod Boyce @ 2002-11-08 16:12 UTC (permalink / raw)
  To: 'bart@ardistech.com', Christian Schroeder
  Cc: linuxppc-embedded, reklies, linz


This is simply not true.  Fix the bugs in the 8xx I2C driver and you will be
amazed how much better the hardware assisted I2C driver works.  I must say I
have never used the algo-8xx I2C driver but hardware I2C works very well.
Even if you suspend the task and let other tasks run while waiting for the
I2C transaction to complete.  Allowing a EEPROM read or write to complete
without having to bit bash the I2C is so much easier.

Regards,
Rod

 -----Original Message-----
From: 	bart@ardistech.com [mailto:bart@ardistech.com]
Sent:	Friday, November 08, 2002 7:17 AM
To:	Christian Schroeder
Cc:	linuxppc-embedded@lists.linuxppc.org; reklies@mazet.de;
linz@mazet.de
Subject:	Re: Microcode patching


Hi Christian,

Far the easiest way is to bit-bash the IIC with software and not use
the CPM for this. As pointed out earlier in the list there is not much
gained by using the CPM for IIC if your transfer sizes are small. Not
to speak of the many bugs in the algo-8xx driver.

Regards,
	Bart

> I've got a question regarding the mpc8xx microcode patches in
> arch/ppc/8xx_io/micropatch.c. We do need usb host mode, i2c and
> ethernet operation at the same time. As I understood, i can't load
> the microcode patches for usb sof generation and iic/spi together,
> because they "live" at the same address. Now my question: What occurs
> if I don't load the ii2/spi patch. I do need the usb sof timing, but
> does the i2c-Interface work without the iic/spi patch ? As I read on
> the motorola webserver, the iic/spi is needed for concurrent operation
> of scc ethernet and i2c. Does i2c work correctly without the patch if
> I don't use ethernet ?
>
> Greetings
> Christian Schroeder
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Microcode patching
@ 2002-11-11 12:29 Kári Davíðsson
  0 siblings, 0 replies; 5+ messages in thread
From: Kári Davíðsson @ 2002-11-11 12:29 UTC (permalink / raw)
  To: linuxppc-embedded


I can deffinitly recomend the driver Joakim sent here. Works much better than the stock driver.

K.D.

> -----Original Message-----
> From: Joakim Tjernlund [mailto:joakim.tjernlund@lumentis.se]
> Sent: 8. nóvember 2002 15:56
> To: Christian Schroeder; linuxppc-embedded@lists.linuxppc.org
> Cc: reklies@mazet.de; linz@mazet.de
> Subject: RE: Microcode patching
>
>
>
> Hi
> >
> > Hi all,
> >
> > I've got a question regarding the mpc8xx microcode patches in
> > arch/ppc/8xx_io/micropatch.c. We do need usb host mode, i2c and
> > ethernet operation at the same time. As I understood, i can't load
> > the microcode patches for usb sof generation and iic/spi together,
> > because they "live" at the same address. Now my question:
> What occurs
> > if I don't load the ii2/spi patch. I do need the usb sof timing, but
> > does the i2c-Interface work without the iic/spi patch ? As I read on
> > the motorola webserver, the iic/spi is needed for
> concurrent operation
> > of scc ethernet and i2c. Does i2c work correctly without
> the patch if
> > I don't use ethernet ?
>
> I2C will work fine without I2C microcode patch if you don't
> use ethernet on SCC1
>
> Also, I submitted a new i2c-algo-8xx.c driver to this list
> about 2 weeks ago. It contains
> sevral bug fixes and improvements. It's not in linuxppc BK
> yet, but I think it will be soon.
>
>     Jocke
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-11 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-08 14:09 Microcode patching Christian Schroeder
2002-11-08 15:17 ` bart
2002-11-08 15:56 ` Joakim Tjernlund
  -- strict thread matches above, loose matches on Subject: below --
2002-11-08 16:12 Rod Boyce
2002-11-11 12:29 Kári Davíðsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).