* K-computing RTAI benchmark cross-compile
@ 2003-08-28 8:43 Toni Van Remortel
2003-08-28 9:07 ` Wolfgang Denk
2003-08-28 11:25 ` K-computing RTAI benchmark cross-compile Wolfgang Grandegger
0 siblings, 2 replies; 6+ messages in thread
From: Toni Van Remortel @ 2003-08-28 8:43 UTC (permalink / raw)
To: Linuxppc-Embedded
Hi all,
I'm trying to cross-compile the benchmark for RTAI, made by K-computing,
to ppc (EP405 board with IBM PPC 405GP cpu).
I use the ELDK compiler-set (which is working perfect, I compiled kernel
and rtai with it without any problem).
But when I try to compile the benchmark, I get these errors:
ppc_4xx-gcc -O -Wall -c timer_test.c
/tmp/ccUWN8MR.s: Assembler messages:
/tmp/ccUWN8MR.s:136: Error: Unrecognized opcode: `pushl'
/tmp/ccUWN8MR.s:137: Error: Unrecognized opcode: `pushl'
/tmp/ccUWN8MR.s:138: Error: Unrecognized opcode: `rdtsc'
/tmp/ccUWN8MR.s:139: Error: Unrecognized opcode: `movl'
/tmp/ccUWN8MR.s:140: Error: Unrecognized opcode: `movl'
/tmp/ccUWN8MR.s:141: Error: Unrecognized opcode: `popl'
/tmp/ccUWN8MR.s:142: Error: Unrecognized opcode: `popl'
/tmp/ccUWN8MR.s:351: Error: Unrecognized opcode: `pushl'
/tmp/ccUWN8MR.s:352: Error: Unrecognized opcode: `pushl'
/tmp/ccUWN8MR.s:353: Error: Unrecognized opcode: `rdtsc'
/tmp/ccUWN8MR.s:354: Error: Unrecognized opcode: `movl'
/tmp/ccUWN8MR.s:355: Error: Unrecognized opcode: `movl'
/tmp/ccUWN8MR.s:356: Error: Unrecognized opcode: `popl'
/tmp/ccUWN8MR.s:357: Error: Unrecognized opcode: `popl'
make: *** [timer_test.o] Fout 1
I assume it's some problem with wrong functions or so, but I really
don't know where to look.
PS: The RTAI-dir and Linux-dir are correclty changed in the Makefile.
Anybody a clue how to solve this? Or are there other PPC RTAI benchmarks
available?
Regards,
--
Toni Van Remortel
Wetenschappelijk Medewerker - D-science lab
Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
E-mail: t.vanremortel@ha.be
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: K-computing RTAI benchmark cross-compile
2003-08-28 8:43 K-computing RTAI benchmark cross-compile Toni Van Remortel
@ 2003-08-28 9:07 ` Wolfgang Denk
2003-08-28 11:48 ` Toni Van Remortel
2003-09-04 12:26 ` JTAG for mpc8245 Rakesh jagota
2003-08-28 11:25 ` K-computing RTAI benchmark cross-compile Wolfgang Grandegger
1 sibling, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-08-28 9:07 UTC (permalink / raw)
To: t.vanremortel; +Cc: Linuxppc-Embedded
Dear Toni,
in message <1062060226.25974.5.camel@toni> you wrote:
>
> I'm trying to cross-compile the benchmark for RTAI, made by K-computing,
> to ppc (EP405 board with IBM PPC 405GP cpu).
I don't know this benchmakr (URL ?), but judging from the error
messages:
> ppc_4xx-gcc -O -Wall -c timer_test.c
> /tmp/ccUWN8MR.s: Assembler messages:
> /tmp/ccUWN8MR.s:136: Error: Unrecognized opcode: `pushl'
> /tmp/ccUWN8MR.s:137: Error: Unrecognized opcode: `pushl'
> /tmp/ccUWN8MR.s:138: Error: Unrecognized opcode: `rdtsc'
...
...I guess that this source file contains inline assembler
instructions, which are NOT meant for a PowerPC processor.
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
Behind every great man, there is a woman -- urging him on.
-- Harry Mudd, "I, Mudd", stardate 4513.3
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: K-computing RTAI benchmark cross-compile
2003-08-28 8:43 K-computing RTAI benchmark cross-compile Toni Van Remortel
2003-08-28 9:07 ` Wolfgang Denk
@ 2003-08-28 11:25 ` Wolfgang Grandegger
1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Grandegger @ 2003-08-28 11:25 UTC (permalink / raw)
To: t.vanremortel, Linuxppc-Embedded
>-- Original Message --
>Subject: K-computing RTAI benchmark cross-compile
>From: Toni Van Remortel <t.vanremortel@ha.be>
>Reply-To: t.vanremortel@ha.be
>To: Linuxppc-Embedded <linuxppc-embedded@lists.linuxppc.org>
>Date: Thu, 28 Aug 2003 10:43:47 +0200
>
>
>
>Hi all,
>
>I'm trying to cross-compile the benchmark for RTAI, made by K-computing,
>to ppc (EP405 board with IBM PPC 405GP cpu).
>I use the ELDK compiler-set (which is working perfect, I compiled kernel
>and rtai with it without any problem).
>
>But when I try to compile the benchmark, I get these errors:
>
>ppc_4xx-gcc -O -Wall -c timer_test.c
>/tmp/ccUWN8MR.s: Assembler messages:
>/tmp/ccUWN8MR.s:136: Error: Unrecognized opcode: `pushl'
>/tmp/ccUWN8MR.s:137: Error: Unrecognized opcode: `pushl'
>/tmp/ccUWN8MR.s:138: Error: Unrecognized opcode: `rdtsc'
>/tmp/ccUWN8MR.s:139: Error: Unrecognized opcode: `movl'
>/tmp/ccUWN8MR.s:140: Error: Unrecognized opcode: `movl'
>/tmp/ccUWN8MR.s:141: Error: Unrecognized opcode: `popl'
>/tmp/ccUWN8MR.s:142: Error: Unrecognized opcode: `popl'
>/tmp/ccUWN8MR.s:351: Error: Unrecognized opcode: `pushl'
>/tmp/ccUWN8MR.s:352: Error: Unrecognized opcode: `pushl'
>/tmp/ccUWN8MR.s:353: Error: Unrecognized opcode: `rdtsc'
>/tmp/ccUWN8MR.s:354: Error: Unrecognized opcode: `movl'
>/tmp/ccUWN8MR.s:355: Error: Unrecognized opcode: `movl'
>/tmp/ccUWN8MR.s:356: Error: Unrecognized opcode: `popl'
>/tmp/ccUWN8MR.s:357: Error: Unrecognized opcode: `popl'
>make: *** [timer_test.o] Fout 1
>
>I assume it's some problem with wrong functions or so, but I really
>don't know where to look.
>
>PS: The RTAI-dir and Linux-dir are correclty changed in the Makefile.
>
>Anybody a clue how to solve this? Or are there other PPC RTAI benchmarks
>available?
The program seems to use x86 asm instructions somehow. Is timer_test.c
a user space program or a kernel module? Where can I download it from?
Hope it helps.
Wolfgang.
\x18
Wolfgang
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: K-computing RTAI benchmark cross-compile
2003-08-28 9:07 ` Wolfgang Denk
@ 2003-08-28 11:48 ` Toni Van Remortel
2003-09-04 12:26 ` JTAG for mpc8245 Rakesh jagota
1 sibling, 0 replies; 6+ messages in thread
From: Toni Van Remortel @ 2003-08-28 11:48 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: Wolfgang Grandegger, Linuxppc-Embedded, Ralph Blach
I reply once to all 3 replies from:
Wolfgang Denk
Wolfgang Grandegger
Ralph Blach
I only quote the message from Wolfgang Denk.
Op do 28-08-2003, om 11:07 schreef Wolfgang Denk:
> Dear Toni,
>
> in message <1062060226.25974.5.camel@toni> you wrote:
> >
> > I'm trying to cross-compile the benchmark for RTAI, made by K-computing,
> > to ppc (EP405 board with IBM PPC 405GP cpu).
>
> I don't know this benchmakr (URL ?),
http://www.kcomputing.com/benchmark/
It is mentioned by an article on LinuxDevices.com
(http://www.linuxdevices.com/articles/AT6320079446.html)
> but judging from the error messages:
>
> > ppc_4xx-gcc -O -Wall -c timer_test.c
> > /tmp/ccUWN8MR.s: Assembler messages:
> > /tmp/ccUWN8MR.s:136: Error: Unrecognized opcode: `pushl'
> > /tmp/ccUWN8MR.s:137: Error: Unrecognized opcode: `pushl'
> > /tmp/ccUWN8MR.s:138: Error: Unrecognized opcode: `rdtsc'
> ...
>
> ...I guess that this source file contains inline assembler
> instructions, which are NOT meant for a PowerPC processor.
As far as my C-knowledge goes, I don't see any explicit assembler code
in this file. But I might be wrong.
As I could see, the benchmark is written for x86 (well, if you take a
look at the Makefile, you might suspect it). I hoped it would
cross-compile.
If there are other benchmarks for RTAI on PPC, please tell me. It saves
me some work (on the very tight schedule I have these days).
Thank you all.
Regards,
--
Toni Van Remortel
Wetenschappelijk Medewerker - D-science lab
Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
E-mail: t.vanremortel@ha.be
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* JTAG for mpc8245
2003-08-28 9:07 ` Wolfgang Denk
2003-08-28 11:48 ` Toni Van Remortel
@ 2003-09-04 12:26 ` Rakesh jagota
1 sibling, 0 replies; 6+ messages in thread
From: Rakesh jagota @ 2003-09-04 12:26 UTC (permalink / raw)
To: Linuxppc-Embedded
Hi all,
I am working with custom desgin board based on mc8245 processor. I want to
use JTAG utility to update the kernel/bootcode etc. Is the JTAG code is
available for this processor. Pl provide the link if its there so that I can
download the same.
Thanks & regards,
Rakesh Jagota
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* JTAG for mpc8245
@ 2003-09-04 14:33 J. Benjamin Vasanthakumar
0 siblings, 0 replies; 6+ messages in thread
From: J. Benjamin Vasanthakumar @ 2003-09-04 14:33 UTC (permalink / raw)
To: Linuxppc-Embedded; +Cc: d.srinivasan
Hi all,
I am working with custom desgin board based on mc8245 processor. I want
to
use JTAG utility to update the kernel/bootcode etc. Is the JTAG code is
available for this processor. Pl provide the link if its there so that I
can
download the same.
Thanks & regards,
Rakesh Jagota
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-09-04 14:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28 8:43 K-computing RTAI benchmark cross-compile Toni Van Remortel
2003-08-28 9:07 ` Wolfgang Denk
2003-08-28 11:48 ` Toni Van Remortel
2003-09-04 12:26 ` JTAG for mpc8245 Rakesh jagota
2003-08-28 11:25 ` K-computing RTAI benchmark cross-compile Wolfgang Grandegger
-- strict thread matches above, loose matches on Subject: below --
2003-09-04 14:33 JTAG for mpc8245 J. Benjamin Vasanthakumar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.