PPC 405 port complains about 'tlbwe' opcode
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.Shead_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/
You need to pass down to the assembler an option to enable 403/405 instructions. Add a -Wa,-m405 to the gcc line.
- kumar
Quoted 23 lines · Prakash kanthi
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.ohead_4xx.Shead_4xx.S: Assember messages:
head_4xx.S:111: Error: Unrecognized opcode:tlbwehead_4xx.S:112: Error: Unrecognized opcode:tlbwemake[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.
Quoted 8 lines
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/
Quoted 3 lines · In message <[email protected]> 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.
Quoted 3 lines
Quoted 3 lines
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: [email protected] 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/