Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Hardware Hacking > Open Firmware help

Open Firmware help
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Nov 13, 2005, 12:47 PM
 
I need to type this in open firmware, because my mac shows the wrong speed (500 mhz, should be 667)

set enter to ASCII character 13
set cmd to "\" /\" select-dev" & enter & "7efdc44 \" clock-frequency\" get-my-property 2drop !" & enter & "un
select-dev" & enter & "\" /cpus/PowerPC,G4@0\" select-dev" & enter & "27af4d54 \" clock-frequency\" get-my-pr
operty 2drop !" & enter & "7efdc44 \" bus-frequency\" get-my-property 2drop !" & enter & "1fbf711 \" timebase
-frequency\" get-my-property 2drop !" & enter & "unselect-dev" & enter
set cmd to quoted form of cmd

do shell script ("/usr/sbin/nvram nvramrc=" & cmd) with administrator privileges
do shell script "/usr/bin/sudo /usr/sbin/nvram use-nvramrc\\?=true"


How do I do this? I really need a detailed description

Thanks
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Nov 13, 2005, 05:54 PM
 
That's AppleScript, not Open Firmware commands. (Though the 'nvram' parts do update Open Firmware settings.)

To run it, open the Script Editor application (in the AppleScript folder in the Applications folder), paste that code into the window, and click the Run button.

I hope whoever gave you this code knows what they're doing, since I am in no position to check that it will solve your problem without doing Bad Things to your Mac.

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
larsah  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Nov 19, 2005, 05:33 PM
 
Its not an Applescript. Ive been lookin around the internet and this is an open Firmware script.

My maschine is running at 100 bus, I need it to run at 133

Thanks
     
Senior User
Join Date: Feb 2002
Location: Denver
Status: Offline
Reply With Quote
Nov 19, 2005, 05:45 PM
 
Try this first and see if it works:

From the open firmware prompt.
Code:
reset-nvram Press Return reset-all Press Return
     
Posting Junkie
Join Date: May 2001
Location: Portland, OR
Status: Offline
Reply With Quote
Nov 19, 2005, 09:02 PM
 
Originally Posted by larsah
Its not an Applescript. Ive been lookin around the internet and this is an open Firmware script.

My maschine is running at 100 bus, I need it to run at 133

Thanks
Well it's not an open firmware script. I don't think open firmware can run shell commands.
8 Core 2.8 ghz Mac Pro/GF8800/2 23" Cinema Displays, 3.06 ghz Macbook Pro
Once you wanted revolution, now you're the institution, how's it feel to be the man?
     
larsah  (op)
Fresh-Faced Recruit
Join Date: Jun 2004
Status: Offline
Reply With Quote
Nov 20, 2005, 05:33 AM
 
Thanks for your help folks. I havnt solved the issue yet though.

I can give you some more info:

The pb TI is originally a 550/100. But I OC it to 667/133 following instructions on this site:

http://www.macbidouille.com/article.php?id=142

Everything works perfect, all my benchmarks are up by almost 30%

But my ASP shows 500/100, which is normal, according to this site. But there is a script on the OC site that I need to run to make the ASP show 667/133, but I dont know how. The script is exactly like the one I first posted

The author of the page hasnt answered me yet, so I am turning to you guys.

Thanks
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Nov 20, 2005, 07:06 PM
 
I'm sorry, but that is most definitely an AppleScript. As goMac said, Open Firmware can't run shell commands (which is what the "do shell script" parts do).

Beyond that, I have no idea what you should do as I've never overclocked a Mac.
(Last edited by Tesseract; Nov 20, 2005 at 10:41 PM. )

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Fresh-Faced Recruit
Join Date: Feb 2004
Location: Bremen, Germany
Status: Offline
Reply With Quote
Nov 25, 2005, 06:25 AM
 
This is an AppleScript wrapper for the OpenFirmware script, which apparently does nothing but override the builtin CPU/Bus speed indicator. Don't blame me if it breaks anything, though.

All this does is set the "cmd" variable to the complete OpenFirmware "nvramrc" (kinda like a startup script) and then tell the "nvram" command, a user-level application, to set the actual firmware nvramrc to the value of what you assigned to "cmd".

It should ask you for your admin password when you run this.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:52 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2