IRIX Network Forums
How to extract PROM content to bin file? - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: Other Platforms (//forums.irixnet.org/forum-5.html)
+--- Forum: Sun/ORACLE/Fujitsu (//forums.irixnet.org/forum-21.html)
+--- Thread: How to extract PROM content to bin file? (/thread-4014.html)



How to extract PROM content to bin file? - K-Town Computeum - 07-30-2023

I just got a Tadpole SparcBook and would like to dump the content of its PROM to a bin file for using it with qemu. Can this be done from the Solaris command line using the ‘dd’ command?


RE: How to extract PROM content to bin file? - robespierre - 07-30-2023

Depending on the model of SparcBook you have, the OpenBoot PROM may be mapped at different locations in physical or kernel memory.
I believe there is a "SparcBook 1 Technical Reference" online which may include the maps.
The file /dev/mem is a window into physical memory and /dev/kmem into kernel virtual memory. It's possible to use dd(1) to extract data from these memories using the correct flags and permissions.


RE: How to extract PROM content to bin file? - K-Town Computeum - 07-31-2023

(07-30-2023, 03:47 PM)robespierre Wrote:  Depending on the model of SparcBook you have, the OpenBoot PROM may be mapped at different locations in physical or kernel memory.
I believe there is a "SparcBook 1 Technical Reference" online which may include the maps.
The file /dev/mem is a window into physical memory and /dev/kmem into kernel virtual memory. It's possible to use dd(1) to extract data from these memories using the correct flags and permissions.

Thanks a lot for the hint. I'll give it a try next weekend.