linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* asm in OF?
@ 2000-08-29 17:37 Michel Lanners
  2000-08-29 19:24 ` Geert Uytterhoeven
  2000-08-30  9:48 ` Gabriel Paubert
  0 siblings, 2 replies; 8+ messages in thread
From: Michel Lanners @ 2000-08-29 17:37 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <20000829180430.22619@mailhost.mipsys.com>]

end of thread, other threads:[~2000-08-31  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-29 17:37 asm in OF? Michel Lanners
2000-08-29 19:24 ` 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

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).