linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* i2c on mpc850
@ 2002-10-07 19:23 Patrick Mahoney
  2002-10-08  4:19 ` can not open crt1.o using ELDK Jin Cheng
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Mahoney @ 2002-10-07 19:23 UTC (permalink / raw)
  To: linuxppc-embedded, Brad Parker, Simon Vogl


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/

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

* can not open crt1.o using ELDK
  2002-10-07 19:23 i2c on mpc850 Patrick Mahoney
@ 2002-10-08  4:19 ` Jin Cheng
  2002-10-08  5:34   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Jin Cheng @ 2002-10-08  4:19 UTC (permalink / raw)
  To: linuxppc-embedded


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/

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

* Re: can not open crt1.o using ELDK
  2002-10-08  4:19 ` can not open crt1.o using ELDK Jin Cheng
@ 2002-10-08  5:34   ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2002-10-08  5:34 UTC (permalink / raw)
  To: Jin Cheng; +Cc: linuxppc-embedded


In message <3DA25CE5.EA79616B@redswitch.com> you wrote:
>
> 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.
...
> 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

Please check your compiler options.  If  you're  compiling  a  kernel
module, you should not try linking it as normal binary.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Wisdom is one of the few things that looks bigger the further away it
is.                               - Terry Pratchett, _Witches Abroad_

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

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

end of thread, other threads:[~2002-10-08  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-07 19:23 i2c on mpc850 Patrick Mahoney
2002-10-08  4:19 ` can not open crt1.o using ELDK Jin Cheng
2002-10-08  5:34   ` Wolfgang Denk

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