linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [i2c] Do I need ucode relocation patch?
@ 2000-12-04 17:14 ???
  0 siblings, 0 replies; 4+ messages in thread
From: ??? @ 2000-12-04 17:14 UTC (permalink / raw)
  To: linuxppc-embedded


Hello.

I'm running Montavista hardhat Linux kernel-2.2.14 with my custom board.

Since there is video decoder board which is connected by I2C bus with MPC860SAR on board, I have to adopt i2c device driver of Kim Jorgensen and my first attempt to write a value to i2c bus makes Linux hang.

There are many posting of I2C and SCC1 conflict, so I've searched 860 errata from Motorola web site. But my 860 is not listed anywhere on it.

The version number of MPC860SAR is "XPC860SRZP50D3 , QQFV00261 , 2K20A".
I'm using SCC1 as ethernet and SMC1 as ttyS0.

Do I need ucode relocation patch to work with i2c bus?

Thanks in advance.

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

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

* [i2c] Do I need ucode relocation patch?
@ 2000-12-04 17:51 Cha Hyun Joon
  0 siblings, 0 replies; 4+ messages in thread
From: Cha Hyun Joon @ 2000-12-04 17:51 UTC (permalink / raw)
  To: linuxppc-embedded


Hello.

I'm running Montavista hardhat Linux kernel-2.2.14 with my custom board.

Since there is video decoder board which is connected by I2C bus with MPC860SAR on board, I have to adopt i2c device driver of Kim Jorgensen and my first attempt to write a value to i2c bus makes Linux hang.

There are many posting of I2C and SCC1 conflict, so I've searched 860 errata from Motorola web site. But my 860 is not listed anywhere on it.

The version number of MPC860SAR is "XPC860SRZP50D3 , QQFV00261 , 2K20A".
I'm using SCC1 as ethernet and SMC1 as ttyS0.

Do I need ucode relocation patch to work with i2c bus?

Thanks in advance.

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

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

* RE: [i2c] Do I need ucode relocation patch?
@ 2000-12-04 19:29 Ian Abbott
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Abbott @ 2000-12-04 19:29 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

On Monday, December 04, 2000 5:15 PM you wrote:

> I'm using SCC1 as ethernet and SMC1 as ttyS0.
>
> Do I need ucode relocation patch to work with i2c bus?

Yes. This is because the size of the parameter area for SCC1 ethernet is
bigger than the area allocated it, so they overlap the usual I2C
parameter area. (There is a similar conflict between SCC2 ethernet and
SPI.) The relocation patch moves the I2C and SPI parameters to a new
parameter area.

Be aware that the CPM I2C commands for initializing RX and TX buffer
parameters, etc. do not work when using the relocation patch.

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

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

* RE: [i2c] Do I need ucode relocation patch?
@ 2000-12-05 13:30 Tobias Otto-Adamczak
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Otto-Adamczak @ 2000-12-05 13:30 UTC (permalink / raw)
  To: tachyon; +Cc: linuxppc-embedded


> > I'm using SCC1 as ethernet and SMC1 as ttyS0.
> > Do I need ucode relocation patch to work with i2c bus?
>
> Yes. This is because the size of the parameter area for SCC1 ethernet is
> bigger than the area allocated it, so they overlap the usual I2C
> parameter area. (There is a similar conflict between SCC2 ethernet and
> SPI.)

There is a pdf document from Motorola with some helpful notes about that
topic:

http://www.mot.com/SPS/ADC/pps/download/8XX/i2c_spi.pdf

Ciao - Tobias


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

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

end of thread, other threads:[~2000-12-05 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-04 17:14 [i2c] Do I need ucode relocation patch? ???
  -- strict thread matches above, loose matches on Subject: below --
2000-12-04 17:51 Cha Hyun Joon
2000-12-04 19:29 Ian Abbott
2000-12-05 13:30 Tobias Otto-Adamczak

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).