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 > oem-banner / logo

oem-banner / logo
Thread Tools
Senior User
Join Date: Aug 2001
Location: CA
Status: Offline
Reply With Quote
Dec 10, 2001, 06:16 AM
 
Anyone ever tried to set a custom oem-banner or oem-logo using Open Firmware? Could probably replace your happy mac with something else, or put in a custom message at boot..

in OSX, you can easily set openfirmware values using the "nvram" command.

Using a google search for oem-banner I found a sun manpage which says what they are:

oem-banner
Custom OEM banner (enabled by setting oem-banner?
to true). Defaults to empty string.

oem-banner?
If true , use custom OEM banner. Defaults to false
.

oem-logo Byte array custom OEM logo (enabled by setting
oem-logo? to true). Displayed in hexadecimal.

oem-logo? If true , use custom OEM logo (else, use Sun
logo). Defaults to false .[/LIST]
Dual 800 - GF3 - 1.5GB
     
Dedicated MacNNer
Join Date: Dec 2000
Location: Old Country
Status: Offline
Reply With Quote
Dec 12, 2001, 03:46 PM
 
sounds like a cool idea, drop me a line if you get it to work
     
Mac Enthusiast
Join Date: Sep 2000
Location: Cupertino, CA
Status: Offline
Reply With Quote
Dec 16, 2001, 06:02 PM
 
Originally posted by benh57:
<STRONG>Anyone ever tried to set a custom oem-banner or oem-logo using Open Firmware? Could probably replace your happy mac with something else, or put in a custom message at boot..

in OSX, you can easily set openfirmware values using the "nvram" command.

Using a google search for oem-banner I found a sun manpage which says what they are:

oem-banner
Custom OEM banner (enabled by setting oem-banner?
to true). Defaults to empty string.

oem-banner?
If true , use custom OEM banner. Defaults to false
.

oem-logo Byte array custom OEM logo (enabled by setting
oem-logo? to true). Displayed in hexadecimal.

oem-logo? If true , use custom OEM logo (else, use Sun
logo). Defaults to false .[/LIST]</STRONG>

They happy mac is not drawn by the firmware, by the time it is drawn the OS bootloader is already loading. Changing it for OS 9 might be difficult. The picture for X is actually in the source for the BootX program (available through Darwin), if you edit it and build a new BootX you will get a new icon (yes, I have done this). The firmware is generally holding the screen for a very brief period.

Louis
Louis Gerbarg
Darwin Developer
These are my views, and not the views of my employer.
     
Forum Regular
Join Date: Sep 2001
Status: Offline
Reply With Quote
Dec 17, 2001, 12:01 AM
 
Originally posted by lgerbarg:
<STRONG>


They happy mac is not drawn by the firmware, by the time it is drawn the OS bootloader is already loading. Changing it for OS 9 might be difficult. The picture for X is actually in the source for the BootX program (available through Darwin), if you edit it and build a new BootX you will get a new icon (yes, I have done this). The firmware is generally holding the screen for a very brief period.

Louis</STRONG>
That sounds really cool and interesting. Could you please give us some instructions? Thanks!
     
Mac Enthusiast
Join Date: Sep 2000
Location: Cupertino, CA
Status: Offline
Reply With Quote
Dec 17, 2001, 02:14 AM
 
Originally posted by scarab:
<STRONG>

That sounds really cool and interesting. Could you please give us some instructions? Thanks!</STRONG>
Its not a cut and paste sort of a thing. You need to to take the picture, convert into a stored constant array and compile it into BootX, and then install the custom BootX. Since BootX's source is available it is all possible. Checkout www.opensource.apple.com for more details on how to checkout source code. Past that you are on your own.

Louis
Louis Gerbarg
Darwin Developer
These are my views, and not the views of my employer.
     
   
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 09:16 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