linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* About TLB mapping
@ 2001-01-26  0:42 Hua Ji
  2001-01-26  3:10 ` Frank Rowand
  0 siblings, 1 reply; 2+ messages in thread
From: Hua Ji @ 2001-01-26  0:42 UTC (permalink / raw)
  To: linuxppc-embedded


Hi, folks,

Advice needed.

I am writting my TLB mapping for 405GP 128M physical memory.
When I try to assemble my codes. I got some error called:
"Unrecognized opcode: tlbwe".

I am confused and am asking for help. Thanks in advance.

Or do I missed some options for my make file? My working environment is:
*  powerpc-eabi-gcc and corresponding as....
*  I tried to use -mcpu=405 to let as know that I am expecting 405cpu:-)



#-------------
#Error Message I got from compiler and assember
#------------------------------------------
 : Error: Unrecognized opcode: `tlbwe'
 : Error: Unrecognized opcode: `tlbwe'

#-------------
#My codes sample
#-----------------------------------------------------
 li      %r0,0                 #TLB Entry 0
 tlbwe	%r4,%r0,1
 tlbwe	%r3,%r0,0
#-----------------------------------------------------

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

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

* Re: About TLB mapping
  2001-01-26  0:42 About TLB mapping Hua Ji
@ 2001-01-26  3:10 ` Frank Rowand
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Rowand @ 2001-01-26  3:10 UTC (permalink / raw)
  To: Hua Ji; +Cc: linuxppc-embedded


Hua Ji wrote:
>
> Hi, folks,
>
> Advice needed.
>
> I am writting my TLB mapping for 405GP 128M physical memory.
> When I try to assemble my codes. I got some error called:
> "Unrecognized opcode: tlbwe".

Why are you doing this?  Is something wrong with the existing
implementation?


> I am confused and am asking for help. Thanks in advance.
>
> Or do I missed some options for my make file? My working environment is:
> *  powerpc-eabi-gcc and corresponding as....
> *  I tried to use -mcpu=405 to let as know that I am expecting 405cpu:-)

I don't know of any compiler that has -mcpu=405 (yet).  Use -mcpu=403.


> #-------------
> #Error Message I got from compiler and assember
> #------------------------------------------
>  : Error: Unrecognized opcode: `tlbwe'
>  : Error: Unrecognized opcode: `tlbwe'
>
> #-------------
> #My codes sample
> #-----------------------------------------------------
>  li      %r0,0                 #TLB Entry 0
>  tlbwe  %r4,%r0,1
>  tlbwe  %r3,%r0,0
> #-----------------------------------------------------

Thanks,

Frank
--
Frank Rowand <frank_rowand@mvista.com>
MontaVista Software, Inc

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

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

end of thread, other threads:[~2001-01-26  3:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-26  0:42 About TLB mapping Hua Ji
2001-01-26  3:10 ` Frank Rowand

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