Sponsored Content
Operating Systems Solaris Can Missing mpk Code be added via NVRAM Post 302966776 by forjack842 on Wednesday 17th of February 2016 02:37:59 AM
Old 02-17-2016
Morning,
These are both Ultra Sparc 3's, with Solaris 10U13 set up as a home IPF/NAT servers. One operational/one backup. These Bullfrog laptops are expanded to virtual desktop configuration having the bottom added cardcage installed to permit one full size board to be added.Uses a M48T59Y NVRAM chip with battery tophat snap on.
I ave full root access to both, and full access to OBP to do the usual boot params and the like. Units are both fully operational. The one with the "invalid IDPROM" will manually boot and function fine. Auto-boot fails due to IDPROM issue.

The OBP fcode is further limited missing idprom@, mkp, mkpl, attributes/properties, pgmap, mappg, commands, also eeprom access via within Solaris is not implemented, c! dump works. There maybe more fcode commands that work/or are missing. These are what I've come across so far.

My possible resolution thoughts:
1)With the eeprom access not implemented, is there a Solaris freeware like utility that can access NVRAM directly? Like a command line software tool that can search all memory, including NVRAM, for a set of bytes and allow those memory locations to be altered?

2) Is there an OBP source around that the mkp source can be used to manually fcode up in NVRAM

3)I thought of installing the earliest firmware hoping the mkp, eeprom, etc are available like the earlier Sun OBPs. Have not found any of the earlier firmwares so far.

4) I can remove/install the invalid NVRAM chip with battery externally attached allowing me to program in those corrupt 16 bytes and reinstalling. This is a pain in the ass though! I still need to find the exact physical locations.

---------- Post updated at 11:37 PM ---------- Previous update was at 09:37 AM ----------

Figured it out finally! BAM!

IDProm locations:
Bullfrog-1
Code:
FFF17A58 = 01	 Format
FFF17A59 = 80	 Type
FFF17A5A = 00	 Ethernet Addr
FFF17A5B = 00	 Ethernet Addr
FFF17A5C = 83	 EthernetAddr
FFF17A5D = D1 Ethernet Addr
FFF17A5E = 00	 Ethernet Addr
FFF17A5F = 8D	 Ethernet Addr
FFF17A60 = 00	 Date
FFF17A61 = 00	 Date
FFF17A62 = 00  Date
FFF17A63 = 00	 Date
FFF17A64 = D1	 Serial
FFF17A65 = 00	 Serial
FFF17A66 = F0	 Serial
FFF17A67 = 7F	 Checksum

OBP Commands:
Code:
FFF17A58 10 dump		displays 16 bytes
FFF17A58 C?  	                Displays content of address (is 01)
n FFF17A58 C!	 	        Store byte "n" in address
show-devices		        Find address of eeprom
			                IDProm 1000h below that

Calculate Checksum using Windows calculator in Programmer mode:
B is for Byte.
Code:
B1 xor B2 xor B3 xor B4 xor B5 xor B6 xor B7 xor B8 xor B9 xor B10 xor B11 xor B12.....B15 = B16


Last edited by Don Cragun; 02-17-2016 at 03:16 PM.. Reason: Add CODE tags.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

nvram reset or crack password

Hello guys ,and girls. Im having a very interesting problem. I have a Netra SUN machine and i had it here for quite a while now...i wanted to install it as a new server and todo so i needed to mount a cd rom and to change the boot at the prom level to cdrom. this could work but i forgot the... (5 Replies)
Discussion started by: talroze
5 Replies

2. UNIX for Dummies Questions & Answers

Nvram?

what is its signifance and how do you flush it. i was reading this book that said something about flushing the nvram before un-installing it. how do you do that and also whats the purpose of this nvram when the regular RAM is available (2 Replies)
Discussion started by: TRUEST
2 Replies

3. Solaris

Nvram

I have Ultra1 SUN machine, its NVRAM got damaged. I purchased new NVRAM. now the host id of the new nvram is by default different than the old one.Any way to program it to change the new host id to be the same like the host id of the damaged one? (3 Replies)
Discussion started by: adol3
3 Replies

4. Solaris

NVRAM change

I have replaced the nvram on my Sun V480 and now the system stops at the "ctrl-d for normal startup, or root password for maintenance" part. The nvram auto-boot=true, but it still stops here. Any help would be appreciated. Thanks. (4 Replies)
Discussion started by: kjbaumann
4 Replies

5. Solaris

new NVRAM

what is the requirements to install a new nvram for sun fire v890 server. should I keep the same host id and mac address, or it doesn't matter the server will boot with the new nvram regardless to the host id and mac address. (4 Replies)
Discussion started by: gad314
4 Replies

6. Solaris

Need help with nvram

Hi Gurus, Can somebody explain me actually how a NVRAM works on a sparc server. I am really confused and the same level of confusion with eeprom . (1 Reply)
Discussion started by: rama krishna
1 Replies

7. AIX

Resetting the NVRAM

Does anybody know how to reset the NVRAM on a System p 520 (power 5)? (7 Replies)
Discussion started by: livehho
7 Replies
Trf_XorBuffer(3)					     Library Functions Manual						  Trf_XorBuffer(3)

NAME
Trf_XorBuffer - XOR the bytes in a buffer with a mask. SYNOPSIS
#include <transform.h> void Trf_XorBuffer ( void *buffer, void *mask, int length ); PARAMETERS
void *buffer Buffer to xor the mask with. void *mask Mask bytes xor'ed into the buffer. int length Length of mask and buffer (in byte). DESCRIPTION
Internally used by the implementation of the various stream modes available to blockciphers. SEE ALSO
Trf_Init(3), Trf_SafeInit(3), Trf_IsInitialized(3), Trf_CreateOptions(3), Trf_DeleteOptions(3), Trf_CheckOptions(3), Trf_SetOption(3), Trf_SetObjOption(3), Trf_QueryOptions(3), Trf_SeekQueryOptions(3), Trf_WriteProc(3), Trf_CreateCtrlBlock(3), Trf_DeleteCtrlBlock(3), Trf_TransformCharacter(3), Trf_TransformBuffer(3), Trf_FlushTransformation(3), Trf_ClearCtrlBlock(3), Trf_QueryMaxRead(3), Trf_Register(3), Trf_ConverterOptions(3), Trf_MDStart(3), Trf_MDUpdate(3), Trf_MDUpdateBuf(3), Trf_MDFinal(3), Trf_MDCheck(3), Trf_RegisterMessageDigest(3), Trf_LoadLibrary(3), Trf_ShiftRegister(3), Trf_FlipRegisterShort(3), Trf_FlipRegisterLong(3), Trf_InitStubs(3) c2man transform.h 27 August 2002 Trf_XorBuffer(3)
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy