From: Alan Mimms <alan@packetengines.com>
To: "Linux PPC Embedded" <linuxppc-embedded@lists.linuxppc.org>
Subject: Using LinuxPPC executables on 8xx processors
Date: Wed, 2 Feb 2000 17:36:13 -0800 [thread overview]
Message-ID: <0002021816180C.00733@alan.corp.packetengines.com> (raw)
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/
next reply other threads:[~2000-02-03 1:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-03 1:36 Alan Mimms [this message]
2000-02-03 5:25 ` Using LinuxPPC executables on 8xx processors Graham Stoney
2000-02-03 8:26 ` Wolfgang Denk
2000-02-03 11:32 ` Marcus Sundberg
2000-02-03 12:19 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0002021816180C.00733@alan.corp.packetengines.com \
--to=alan@packetengines.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).