linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Using LinuxPPC executables on 8xx processors
@ 2000-02-03  1:36 Alan Mimms
  2000-02-03  5:25 ` Graham Stoney
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Mimms @ 2000-02-03  1:36 UTC (permalink / raw)
  To: Linux PPC Embedded


Hi all,

I BELIEVE have seen various folks talk about using LinuxPPC executables
directly on MPC8xx processor targets using some kernel floating point
instruction emulation.  As I recall (I'm too lazy to look it up, as I THINK I'm
remembering right), the notes I saw espoused simply building a kernel with the
math emulation turned on and you could use LinuxPPC executables with no changes.

I don't see how this can be true.

There are two significant (at least!) differences between "real" PowerPC and
the embedded flavor: [1] the floating point unit is not present on 8xx and [2]
the cache line size is 16 on 8xx as opposed to 32 bytes on 6xx/7xx.  The kernel
fix for emulating the floating point instructions appears to be touted as a
soluation for #1, but what about #2?

The ONLY way I can see to get MPC8xx kernels to run applications is to use one
of the prebuilt things from Dan's glibc-1.99, or to build a glibc that has the
cache line size fixed in memset (the fixit scripts like Wolfgang's do this by
moving the PowerPC specific one aside and using the generic one that doesn't
use the cache enhanced zeroing) and in dl-machine.c for the data-to-code
operation needed after mmap-ing libraries.

Am I missing something?

 --
Alan Mimms     Packet Engines, Inc.     Spokane, Washington [99214-0497]
  USA, Earth, Sol, Milky Way, The Local Group, Virgo Supercluster, U0
Despite the cost of living, have you noticed how popular it remains?
  -- Steven Wright?

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

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

end of thread, other threads:[~2000-02-03 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-03  1:36 Using LinuxPPC executables on 8xx processors Alan Mimms
2000-02-03  5:25 ` Graham Stoney
2000-02-03  8:26   ` Wolfgang Denk
2000-02-03 11:32     ` Marcus Sundberg
2000-02-03 12:19       ` 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).