* PPC 405 port complains about 'tlbwe' opcode
@ 2002-10-24 20:18 Prakash kanthi
2002-10-24 20:28 ` Kumar Gala
0 siblings, 1 reply; 4+ messages in thread
From: Prakash kanthi @ 2002-10-24 20:18 UTC (permalink / raw)
To: linuxppc-embedded
Hi There,
I am in the process of porting linux-2.4.18 with
ppc-patch-2.4.18 to make a 405 linux os. For 'make
bzImage' it complains about 'tlbwe' being Unrecognied
opcode from head_4xx.S.
-------
powerpc-eabi-gcc -D__ASSEMBLY__ -D__KERNEL__
-I/root/ppctest/linux/include -c -o head_4xx.o
head_4xx.S
head_4xx.S: Assember messages:
head_4xx.S:111: Error: Unrecognized opcode: `tlbwe`
head_4xx.S:112: Error: Unrecognized opcode: `tlbwe`
make[1]: *** [head_4xx.o] Error 1
-------
I saw couple of postings saying that 'tlbwe' is not a
405 opcode. But it is defined by PPC-405 manual. I am
not sure what WS value should be, if i have to add
'tlbwe' to supported opcodes.
Please suggest. If you can share a PPC-405 port for
linux or any other embedded free OS, please let me
know.
thanks in advance,
Prakash
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PPC 405 port complains about 'tlbwe' opcode
2002-10-24 20:18 Prakash kanthi
@ 2002-10-24 20:28 ` Kumar Gala
2002-10-24 21:06 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2002-10-24 20:28 UTC (permalink / raw)
To: Prakash kanthi; +Cc: linuxppc-embedded
You need to pass down to the assembler an option to enable 403/405
instructions. Add a -Wa,-m405 to the gcc line.
- kumar
On Thursday, October 24, 2002, at 03:18 PM, Prakash kanthi wrote:
>
> Hi There,
>
> I am in the process of porting linux-2.4.18 with
> ppc-patch-2.4.18 to make a 405 linux os. For 'make
> bzImage' it complains about 'tlbwe' being Unrecognied
> opcode from head_4xx.S.
>
> -------
> powerpc-eabi-gcc -D__ASSEMBLY__ -D__KERNEL__
> -I/root/ppctest/linux/include -c -o head_4xx.o
> head_4xx.S
> head_4xx.S: Assember messages:
> head_4xx.S:111: Error: Unrecognized opcode: `tlbwe`
> head_4xx.S:112: Error: Unrecognized opcode: `tlbwe`
> make[1]: *** [head_4xx.o] Error 1
> -------
>
> I saw couple of postings saying that 'tlbwe' is not a
> 405 opcode. But it is defined by PPC-405 manual. I am
> not sure what WS value should be, if i have to add
> 'tlbwe' to supported opcodes.
>
> Please suggest. If you can share a PPC-405 port for
> linux or any other embedded free OS, please let me
> know.
>
> thanks in advance,
> Prakash
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PPC 405 port complains about 'tlbwe' opcode
2002-10-24 20:28 ` Kumar Gala
@ 2002-10-24 21:06 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2002-10-24 21:06 UTC (permalink / raw)
To: Kumar Gala; +Cc: Prakash kanthi, linuxppc-embedded
In message <348359E2-E78F-11D6-A3F7-003065BFB10E@motorola.com> you wrote:
>
> You need to pass down to the assembler an option to enable 403/405
> instructions. Add a -Wa,-m405 to the gcc line.
Actually the cross compiler should automatically set the necessary
options for the target, or you might run into problems because of
missing or inconsistent options for your compiles (kernel, libraries,
applications) - "-msoft-float" is another candidate for such an
option.
> > Please suggest. If you can share a PPC-405 port for
> > linux or any other embedded free OS, please let me
> > know.
for 4xx systems the linuxppc_2_4_devel tree is recommended; either
fetch it from the BK server, or form our CVS server. We also have a
working set of cross and native tools available for free download
(ELDK - soon available in version 2.0).
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
Microsoft Multimedia:
You have nice graphics, sound and animations when the system crashes.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PPC 405 port complains about 'tlbwe' opcode
[not found] <20021024155238.7207.h007.c007.wm@mail.directvinternet.com.criticalpath.net>
@ 2002-10-24 23:14 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2002-10-24 23:14 UTC (permalink / raw)
To: acurtis; +Cc: kumar.gala, pkanthi, linuxppc-embedded
In message <20021024155238.7207.h007.c007.wm@mail.directvinternet.com.criticalpath.net> you wrote:
>
> > Actually the cross compiler should automatically set the necessary
> > options for the target, or you might run into problems because of
> > missing or inconsistent options for your compiles (kernel, libraries,
> > applications) - "-msoft-float" is another candidate for such an
> > option.
>
>
> This is a problem if you created your own cross compiler with GCC 2.95.3. I
> understand this has been fixed in newer versions. Perhaps this is fixed in the
> denk version? I know that the MontaVista distributions fixed this problem.
I know that we fixed it in the ELDK.
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
"It is better to have tried and failed than to have failed to try,
but the result's the same." - Mike Dennison
** 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:[~2002-10-24 23:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20021024155238.7207.h007.c007.wm@mail.directvinternet.com.criticalpath.net>
2002-10-24 23:14 ` PPC 405 port complains about 'tlbwe' opcode Wolfgang Denk
2002-10-24 20:18 Prakash kanthi
2002-10-24 20:28 ` Kumar Gala
2002-10-24 21:06 ` 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).