Floating point in 8260
I make a port to motorola 8260 ads based on 2.2 kernel. Now i am sure the kernel is fuctional,because i can run a simple program that fork process and write to stdout. I use simple assembly to make system call and does not use any c lib.
When i try to run bash,8260 loops inside FPunavailble exception.The 2.2 kernel support 603 with a FP,but how should i do with 603e.
Quoted 1 line
From this lists,i learned that someone else encounter
similar problem,they upgrade to a 8260 with FP. I do not want to upgrade,how should i do? Should i recompile the bash and c lib.How should i treat float point.BTW,i have a apple G3,should i compile these stuff on this machine?
Best Regards.
_____________________________________________
һ·�����㣬��һ��ҲԸ�⣡ --Ϊ��ϲ����֧�ֵ�263�����ߣ�http://www.263.net��ͶһƱ�� ��ҪͶƱ����http://fsurvey.cnnic.net.cn/survey/index.html��
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
As I understand it, there is no production 8260 without an FPU. Current production chips are rev A.1 which have an FPU, and new production are rev B which will also have an FPU. You probably have no choice for production, so you should upgrade your test board if it has old an CPU.
Neil.
Quoted 9 lines · zzh
I make a port to motorola 8260 ads based on 2.2 kernel. Now i am sure the kernel is fuctional,because i can run a simple program that fork process and write to stdout. I use simple assembly to make system call and does not use any c lib.
When i try to run bash,8260 loops inside FPunavailble exception.The 2.2 kernel support 603 with a FP,but how should i do with 603e.
Quoted 6 lines
Quoted 1 line
From this lists,i learned that someone else encounter
similar problem,they upgrade to a 8260 with FP. I do not want to upgrade,how should i do? Should i recompile the bash and c lib.How should i treat float point.BTW,i have a apple G3,should i compile these stuff on this machine?
--
Neil Russell <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Neil Russell
As I understand it, there is no production 8260 without an FPU. Current production chips are rev A.1 which have an FPU, and new production are rev B which will also have an FPU. You probably have no choice for production, so you should upgrade your test board if it has old an CPU.
I suppose I can tell since currently shipping 8260 come with FPU. Early 8260 are just like the early 486SX - it does contain a FPU, but it is disabled. But unlike the 486SX the 8260 FPU can be reenabeled by some microcode patch - wich I do not have myself. This is as much I know of this. If you are really nice to Motorola then perhaps they will let you have this patch.
Quoted 3 lines
Quoted 3 lines
Should i recompile the bash and c lib.How should i treat float point.BTW,i have a apple G3,should i compile these stuff on this machine?
configure & make xgcc -nfp?
Then recompile GLibC (with soft float) I suppose.
--
******************************************************
Never ever underestimate the power of human stupidity. -Robert Anson Heinlein
[email protected]
******************************************************
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
If you are dead-set against upgrading the CPU, you can run a root filesystem that is COMPLETELY without FP instructions (built to use soft-float). The MontaVista 8xx CDK should work fine. Just make sure you don't mix it (the 8xx CDK) with other binaries.
-Jim
Quoted 15 lines · zzh
I make a port to motorola 8260 ads based on 2.2 kernel. Now i am sure the kernel is fuctional,because i can run a simple program that fork process and write to stdout. I use simple assembly to make system call and does not use any c lib.
When i try to run bash,8260 loops inside FPunavailble exception.The 2.2 kernel support 603 with a FP,but how should i do with 603e.Quoted 1 line
From this lists,i learned that someone else encounter
similar problem,they upgrade to a 8260 with FP. I do not want to upgrade,how should i do? Should i recompile the bash and c lib.How should i treat float point.BTW,i have a apple G3,should i compile these stuff on this machine?
Quoted 7 lines
Best Regards.
_____________________________________________
һ·ÉÏÓÐÄ㣬¿àÒ»µãÒ²Ô¸Ò⣡ --ΪÄãϲ°®ÓëÖ§³ÖµÄ263Ê×¶¼ÔÚÏߣ¨http://www.263.net£©Í¶Ò»Æ±£¡ ÎÒҪͶƱ£¡£¨http://fsurvey.cnnic.net.cn/survey/index.html£©
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/