From 4c66d002f698d10a70aa9c1a7cf9d8d4b176edcf Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 3 Apr 2017 15:50:24 -0700 Subject: [PATCH] config: Add a default system disk image for SPARC FS. When the change below removed the hard coded disk name for the SPARC FS configuration, it broke the regression which had not specified a disk name. This change adds a default disk name so that the regression will continue to work like it used to, but preserving the effect of this other change. commit 86a25bbcee88f6e69299867b6264885d738f636e Author: Jakub Jermar Date: Tue Jul 19 09:52:46 2016 -0500 config: Allow SPARC FS image to be specified on the command line Change-Id: Ieb317b2bf573a4f2fc435d34cccd1f246c28d84c Reviewed-on: https://gem5-review.googlesource.com/2645 Maintainer: Jason Lowe-Power Reviewed-by: Jason Lowe-Power --- configs/common/Benchmarks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/common/Benchmarks.py b/configs/common/Benchmarks.py index bf0a2ad88..dec1e3e84 100644 --- a/configs/common/Benchmarks.py +++ b/configs/common/Benchmarks.py @@ -60,6 +60,8 @@ class SysConfig: return env.get('LINUX_IMAGE', disk('x86root.img')) elif buildEnv['TARGET_ISA'] == 'arm': return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img')) + elif buildEnv['TARGET_ISA'] == 'sparc': + return env.get('LINUX_IMAGE', disk('disk.s10hw2')) else: print "Don't know what default disk image to use for %s ISA" % \ buildEnv['TARGET_ISA'] -- 2.30.2