From: Michel Lanners <mlan@cpu.lu>
To: linuxppc-dev@lists.linuxppc.org
Subject: asm in OF?
Date: Tue, 29 Aug 2000 19:37:07 +0200 (CEST) [thread overview]
Message-ID: <200008291737.TAA00677@piglet.grunz.lu> (raw)
Hi all,
Does anybody know how to embed machine code into an OF script (into
nvramrc, that is)? I suppose OF doesn't have an assembler built-in, so
machine code would be the only option.
For the curious, what I'm trying to do is get my box (7600 upgraded with
G3/300) to boot again from my IBM disk on the MESH SCSI bus. Right now,
it does that only if I run the G3 below 200 MHz, or the bus speed around
40 MHz. Anything faster, and I can't access that disk on the MESH bus.
The external (53c96) is o, however... but much slower.
So, I wanted to check whether using the L1 cache throttling mechanism to
slow down the CPU during boot would help anything... I can then release
the brake later, once Linux is up (which doesn't have any problem with
the MESH).
To use the cache throttling, I need to access the ICTC register, but
there is no OF method to do that. So I would have to code one myself...
Since it seems the OF MESH driver is at fault, I could try to patch that
one, but that seems like an even harder task...
I could also try and copy other special register access methods (like
hid0@ and hid0!) if I knew how...
Thanks for any hints you can provide!
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2000-08-29 17:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-29 17:37 Michel Lanners [this message]
2000-08-29 19:24 ` asm in OF? Geert Uytterhoeven
2000-08-30 9:48 ` Gabriel Paubert
2000-08-30 13:44 ` Michel Lanners
2000-08-30 14:05 ` Gabriel Paubert
2000-08-30 21:38 ` asm in OF? YES! Michel Lanners
2000-08-31 7:52 ` Gabriel Paubert
[not found] <20000829180430.22619@mailhost.mipsys.com>
2000-08-29 22:43 ` asm in OF? Michel Lanners
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=200008291737.TAA00677@piglet.grunz.lu \
--to=mlan@cpu.lu \
--cc=linuxppc-dev@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).