Wednesday, December 21, 2016

GEM5 for SPARC error: "Can't find file 'reset_new.bin' on path."

If you have tried emulating a full disk image for SPARC using GEM5 you may have found the following error:
 IOError: Can't find file 'reset_new.bin' on path.
If you have already followed the instructions to get additional files in the GEM5 site, you already have added the OpenSPARC 1.5 architecture files to the M5 path. Currently the direct link to the files is here.

Once you decompressed the files in OpenSPARCT1_Arch.1.5/S10image/ to your M5 path (by default /dist/m5/system/binaries/) you may still get the same error when trying to run the simulation. This is solved by renaming the following files:

mv /dist/m5/system/binaries/reset.bin /dist/m5/system/binaries/reset_new.bin
mv /dist/m5/system/binaries/q.bin /dist/m5/system/binaries/q_new.bin
mv /dist/m5/system/binaries/openboot.bin /dist/m5/system/binaries/openboot_new.bin
Hope this solves your issues.

No comments:

Post a Comment