Hi, I'm trying to find out in detail how sun4u machines boot an operating system.
I have Ultra 10 with a spare blank SCSI hard disk. I would like to compile a few SPARC assembly instructions into a flat binary, then boot this binary file with the help of openfirmware. The binary file will execute a few simple calculations and display the result on the console. So a few questions: 1. Say I compile my assembly code into myboot binary file. Can I boot and execute this file from openboot menu via: ok boot myboot Does the myboot have to be an ELF executable or can it be a flat binary file? Where exactly on disk does it have to be in order for openfirmware to be able to load it? 2. How can my code access console and print text on it? Are there any special instructions/memory mapped locations for I/O on SPARC during boot? -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code