From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <007e01bf3b1a$53a56540$6401a8c0@everyone> From: "Neil Blackwood" To: Cc: References: Subject: Re: Kernel Math Emulation again Date: Tue, 30 Nov 1999 10:04:43 -0000 MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: There is some kernel maths emulation stuff in 2.3.18. You will need to copy it over to which ever version you are using. It works. Look for directories math-emu. You will need to change config files and make files as well. Its fairly easy. Even I managed it. Neil Blackwood ----- Original Message ----- From: To: Sent: 30 November 1999 09:03 Subject: Kernel Math Emulation again > > Hi there, > > I know this was raised here already several times... > I like to run linux on an 860 with the full distribution NFS mounted > ( ftp://linuxppc.cs.nmt.edu/pub/linuxppc/embedded/mbxroot.full.tgz ) > Unfortunately most (or all) or the binaries out of this tar is compiled > without builtin math emulation. So to run this I need kernel math emulation. > I found that in > arch/ppc/kernel/softemu8xx.c > there are already some instructions emulated, using the FPU exception (at > least since version 2.2.5. ). But those are only load/store instructions > which are in C- compiler generated function pre/post code already when it is > compiled without -msoft-float. > Is there something in the works by someone which will also support all the > other instructions? > In time I try to get those in, linking libgcc.a to the kernel (zImage grows > about 200k) and implementing the instructions using functions inside it. But > until now without great success. > > Cheers > Ole > > > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/