| 1 | =================================================================================== |
| 2 | Instructions for generating PROM files for OpenSPARC T1 in FPGA implementation |
| 3 | =================================================================================== |
| 4 | |
| 5 | [1] System Requirements: |
| 6 | |
| 7 | - Sparc system running Solaris 9 or higher |
| 8 | |
| 9 | [2] Source code for PROM files is included in $SIM_ROOT/t1_fpga |
| 10 | directory. |
| 11 | |
| 12 | [3] PROM file generation depends on the following files. |
| 13 | |
| 14 | $SIM_ROOT/hypervisor/src/greatlakes/ontario/t1_fpga/q.bin |
| 15 | $SIM_ROOT/obp/obp/arch/sun4v/niagara/t1_fpga/openboot.bin |
| 16 | |
| 17 | [4] Compile hypervisor. Look at $SIM_ROOT/README.hypervisor for instructions. |
| 18 | The following file would be generated |
| 19 | |
| 20 | $SIM_ROOT/hypervisor/src/greatlakes/ontario/t1_fpga/q.bin |
| 21 | |
| 22 | [5] Compile obp. Make sure to source OpenSPARCT2_SAM.cshrc according to the |
| 23 | instructions in the README file so that the two environment variables |
| 24 | SIM_ROOT and SUN_STUDIO are set. Run the following two commands |
| 25 | to generate openboot.bin file. |
| 26 | |
| 27 | $ cd $SIM_ROOT/obp/obp/arch/sun4v/niagara/t1_fpga/ |
| 28 | $ make |
| 29 | |
| 30 | [6] To compile source code for PROM files, change to the directory |
| 31 | $SIM_ROOT/t1_fpga/src and then type "make". |
| 32 | |
| 33 | [7] The PROM files 1c1t_prom.bin, 1c1t_obp_prom.bin, 1c4t_prom.bin |
| 34 | and 1c4t_obp_prom.bin files will be created under the directory |
| 35 | $SIM_ROOT/t1_fpga/src/xilinx/prom/ |
| 36 | |