i2c on mpc850

2 messages, 2 authors, 2002-10-08 · open the first message on its own page

i2c on mpc850

From: Patrick Mahoney <hidden>
Date: 2002-10-07 19:23:25

Hello,

I have a custom board (with an atmel microcontroller) over a rpxlite
dw (mpc850) running linux. I want them to talk i2c to each other. I
would like anyone of them to be able to initiate communication.

The MPC850 is multimaster-capable. But i don't believe this feature is
implemented in the linux kernel (i2c-algo-8xx.c). Am I right?

If so, what is the best way of emulating multimaster mode? I thought a
simple way of doing so would be for the custom board cto ause an
interrupt which would trigger a i2c master-read command, therefore
keeping the linux board in master-only mode and the atmel one in
slave-only mode...

Any comment/suggestion?

Best regards,



Patrick Mahoney

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

can not open crt1.o using ELDK

From: Jin Cheng <hidden>
Date: 2002-10-08 04:19:49

Hi,

When I use the ELDK to compile one file, I got the following message saying can
not
find crt1.o. Can someone help me on that? I don't have problem compiling one
other file.

Thanks.

Jin

hyperion: 224 % make
ppc-linux-gcc -D__KERNEL__ -DMODULE -I/u/jcheng/ppclinux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O -g -DDEBUG -fno-strict-aliasing
-fno-common -fomit-frame-pointer -I/u/jcheng/ppclinux/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -Wa,-m405
-nostdinc -I/opt/eldk/usr/lib/gcc-lib/ppc-linux/2.95.3/include vayu_main.c
dbgprint.h:35: warning: `debug' defined but not used
/opt/eldk/usr/ppc-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [vayu_main.o] Error 1


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help