Sponsored Content
Full Discussion: OpenBoot OEM Logo
Operating Systems Solaris OpenBoot OEM Logo Post 302187183 by Perderabo on Saturday 19th of April 2008 08:38:34 PM
Old 04-19-2008
OpenBoot OEM Logo

If you have a graphic display you see some sort of logo in OpenBoot immediately after a reset or when you run the banner command. With most systems, you see a spiffy multicolor logo generated by a routine on the video card. But if you have a low-rent video card you just see a plain monochrome Sun logo. In either case, you can override the logo with your own logo but you are limited to a 64 by 64 black and white logo. I decided to give it a try but I found that it was not easy figuring out how to load that logo into OpenBoot. The eeprom command can do it, but the needed format was not documented anywhere. But I peeked at the source code on the Open Solaris web site and figured out what it needed. I see that Solaris has some ImageMagick stuff available and that helps a lot. So here is my script to load a logo. You need a 64 by 64 .bmp file for input. Then just feed that bmp file into my script which I call bmploader...
Code:
#! /usr/bin/ksh
alias convert=/usr/sfw/bin/convert

NORMAL='y/abcdef/ABCDEF/'
REVERSE_VIDEO='y/0123456789abcdef/FEDCBA9876543210/'
if [[ $1 = "-r" ]] ; then
       shift
       CMD=$REVERSE_VIDEO
else
       CMD=$NORMAL
fi

(echo 'Depth=1
Format_version=1
Height=64
Valid_bits_per_item=16
Width=64
*/
'
convert -monochrome -geometry 64x64\! $1 sun:/dev/fd/1 \
               | dd bs=1 skip=32 2>/dev/null \
               | od -Anone -v -tx2 \
               | sed $CMD';s/^ *//;
                       s/ \([0-9A-F][0-9A-F][0-9A-F][0-9A-F]\)/0x\1,/g
                       32s/,$//;33d'
) | eeprom oem-logo=/dev/fd/0

eeprom 'oem-logo?=true'
exit 0

It takes a single argument which is the name of the bmp file. And you can have a -r flag to flip all the bits for a reverse video effect. The 64 by 64 monochrome restriction means that you can't do the Mona Lisa or anything. But it's still fun to play with. Smilie
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How I can reset Ultra 5 OpenBoot

I'm trying to configure Ultra 5 workstation to be accessed by Win HyperTerminal. I make this change on open boot : setenv input-device ttya setenv output-device ttya boot After that, I can't acess by HyperTerminal and the keyboard / monitor don't work anymore. Anyone... (2 Replies)
Discussion started by: ubriaco
2 Replies

2. UNIX for Dummies Questions & Answers

OEM - what does this abbreviation stand for?

Just saw this OEM abbreviation during installation of Solaris 8. I'm curious to know what the letters stand for and what OEM actually is. (3 Replies)
Discussion started by: Kanu77
3 Replies

3. UNIX for Dummies Questions & Answers

change date on OpenBoot

hi all, I wonder how to change the date and timezone in OpenBoot prompt. Appreciate any idea. Thanks in advance (1 Reply)
Discussion started by: andrec
1 Replies

4. UNIX for Advanced & Expert Users

OpenBoot Loading Problem

I am using a SunBlade 100 system and accidently set a new alias for keyboard, now when it start it gives the following error, The selected input device has no read routine. Keyboard not present using ttya for input and output. Now i cannot execute any commands on the OBP and i just gets... (3 Replies)
Discussion started by: sumwhriblong
3 Replies

5. Solaris

OpenBoot Simulator

Hi, I would like to know if it's possible find a openboot simulator for solaris to can practice some exercices Thanks a lot and sorry for my english! (11 Replies)
Discussion started by: mierdatuti
11 Replies

6. Solaris

Openboot does not display

Hey guys I just inherited a sun netra 210 from an old Avaya system we had setup and I want to use i for studying for my SCSA/OCA exams but I'm running into alot of problems installing SOL 10 on here. I have no experience with SUN hardware at all but familiar with Solaris. It has SOL 9 but no one... (7 Replies)
Discussion started by: blackmantis
7 Replies

7. UNIX for Dummies Questions & Answers

openboot promt on Solaris VM

Hello, Is it possible to go to the openboot promt on a solaris VM on vmware or virtualbox? Please advise.. (1 Reply)
Discussion started by: lubu
1 Replies
LINUX_LOGO(1)						      Debian GNU/Linux Manual						     LINUX_LOGO(1)

NAME
linux_logo - Color ANSI penguin logo w/ system information. SYNOPSIS
linux_logo [-h | -v ] [-a ] [ -b | -c] [-d] [-D file] [-e file] [-f] [-g | -l] [-k] [-i] [-n] [-p] [-s] [-u] [-x] [-y] [-o Num] [-t string] [-L num | NAME | list | random_xy] [-F format] DESCRIPTION
linux_logo is a program that generates a color ANSI picture of a penguin which includes some system information obtained from the /proc filesystem. OPTIONS
-h Show summary of options. -v Show version of program. -ascii -a Display the logo as monochrome ascii. -banner -b Display the banner-style logo. -classic -c Display the original penguin logo. -d Disable "prettying" of output -D filename Use logo from "filename" -e filename Use cpuinfo from "filename" for debugging purposes -f Force the screen clear before drawing the logo. -F STRING Use custom output STRING for sysinfo. See below for more info. -g Display only the system infomation. -i Ignore the ~/.linux_logo and /etc/linux_logo.conf config files -k Keep sysinfo flushed-left (non-centered) -l Display only the logo. -L ... Custom logo options. See LOGO SELECTION below -o Num Shift output Num spaces to the right -p Preserve cursor location -s Skip the BogoMips test [ speeds up display on non-Linux platforms ]. -t string Display an arbitrary string -u Display the system uptime. -w val Set screen width to val -y Display the load average. PROCESSOR INFORMATION
CPUINFO The cpuinfo supplied in /proc/cpuinfo is not always usable by linux_logo. If the cpuinfo for your microprocessor generates ugly output, send the output from your /proc/cpuinfo to the author. FORMAT The format string special sequences start with # (use ## to print #). All other characters, except for , are printed as is. Seq Description Output ---------------------------------------------------------------- ## # #B Bogomips 374.37 #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999 #E User Text My Favorite Linux Distribution Displayed with -t #H Hostname deranged #L Load average Load average 0.04, 0.01, 0.01 #M Megahertz 188Mhz where supported #N Number of CPU's Two #O OS Name Linux #P Processor or Processors Processor #R Ram 64M in Megabytes #S Plural s #T Type of CPU K6 #U Uptime Uptime 10 hours 59 minutes #V Version of OS 2.2.0-pre5 #X CPU Vendor AMD \n carriage return Notes: o The letter after the # must be capitalized. o Options not available are silently ignored. o Megahertz only available on some platforms and newer kernels. o See defaults.h on how to have #N report in non-english numbers. o Plural [#S] gives nothing if there is 1 cpu, gives 's' otherwise. o The "-y" and "-u" [display uptime and load average] command line options don't affect the output if a custom format is used. The default banner format is: "#O Version #V, Compiled #C #N #M#X#T Processor#S, #R RAM, #B Bogomips Total #H " The default banner format displays the following on the author's computer: Linux Version 2.2.0-pre5, Compiled #47 Fri Jan 8 10:37:09 EST 1999 One 188MHz AMD K6 Processor, 64M RAM, 374.37 Bogomips Total deranged Another example would be: linux_logo -F "Redhat Linux 5.2 Kernel Version #V #U #L " which would display: Redhat Linux 5.2 Kernel Version 2.2.0-pre5 Uptime 11 hours 4 minutes Load average 0.00, 0.00, 0.00 LOGO SELECTION The -L command line option is used to choose which logo to use. o "-L list" will list all of the logos available o "-L NAME" will display the logo with name NAME. o "-L NUM" will display logo with number NUM (deprecated) o "-L random_xy" will pick a logo at random, with criteria xy. When you replace x with the letter: b : pick a random banner mode logo c : pick a random classic mode logo e : pick a logo from either banner or classic When you replace y with the letter: a: pick a random ascii logo n: pick a non-ascii logo e: pick either type of logo So to summarize: "-L random_ba" picks a random ascii banner, "-L random_ce" picks a random classic logo "-L random_ee" picks any logo, etc. DEBIAN
The Debian pre-packaged version of linux_logo includes the Debian logo in addition to the 'Classic' and 'Banner' logos. The Debian logo is the default logo unless one of the other logos is specified on the command line. CONFIG FILES
~/.linux_logo and /etc/linux_logo.conf can be filled with command line options and will be parsed before the actual command line SEE ALSO
/usr/doc/linux_logo, http://www.deater.net/weave AUTHOR
Vince Weaver <vince@deater.net>. This manual page was written by Steve Kostecke <steve@debian.org>, for the Debian GNU/Linux system. Debian 7 July 2007 LINUX_LOGO(1)
All times are GMT -4. The time now is 01:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy