Skip to contentSkip to conversation

Microcode patching

DISCUSSION Christian Schroeder 3 participants 3 messages Nov 8, 2002

lore
Share & tools
lore
#0 lore raw

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:  [email protected]
         [email protected]
www:     http://www.imms.de/~christi/cs.html
pgp:     finger [email protected]

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

#1 lore raw

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

Quoted 11 lines

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 ?

Quoted 3 lines

Greetings
Christian Schroeder

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

#2 lore raw
In reply to Christian Schroeder

Hi

Quoted 13 lines

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/