Hi,
Are there any known issues regarding the I2C patch and the ethernet
driver?
If I disable the microcode patch everything works fine, except the I2C
stuff.
I am using the linuxppc_2_4_devel tree ported to our custom board with
ehternet on SCC2.
Regards,
K.D.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hi,
Are there any known issues regarding the I2C patch and the ethernet
driver?
If I disable the microcode patch everything works fine, except the I2C
stuff.
I am using the linuxppc_2_4_devel tree ported to our custom board with
ehternet on SCC2.
Regards,
there might be - the dual-ported RAM of the CPM is quite limited and the micro-code goes in there - might be that the BD's for the SCC/ethernet are overlapping ??
hofrat
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
The I2C driver doesn't work properly with the microcode patch - it
initializes tbptr and rbptr to 0, not r_tbase and r_rbase, and it uses
the INIT_TRX command (which the patched code doesn't support) instead of
separate INIT_RX and INIT_TX.
You might want to try the attached minor patch, which works for us.
--
.....................................................................
Peter Desnoyers (781) 457-1165 pdesnoyers@chinook.com
Chinook Communications (617) 661-1979 pjd@fred.cambridge.ma.us
100 Hayden Ave, Lexington MA 02421
Kári Davíðsson wrote:
Are there any known issues regarding the I2C patch and the ethernet
driver?
You need to ensure the patch is suitable for the CPM on the processor
you have. I know the USB SOF patch works on the 823/850 Rev. B processors,
but I don't remember where the others came from. You should probably
visit Motorola's web site and get the patch specific to your processor
and update the microcode patch file.
If I disable the microcode patch everything works fine, except the I2C
stuff.
Depending upon the application, sometimes it is easier and faster to
simply use the software toggle agorithm on the pins rather than the
CPM controller.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/