diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-07-26 12:07:07 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2019-03-25 12:11:51 +0000 |
commit | 149c1fc2d070a8ce073263880ecf2ccf7535e569 (patch) | |
tree | ef2cc79cee9c9d05e5b7f3c6b208c4d97d13cb88 /configs/common/FSConfig.py | |
parent | 8e1a1418188b96ad5f6b27ab82aa463fc95f4179 (diff) | |
download | gem5-149c1fc2d070a8ce073263880ecf2ccf7535e569.tar.xz |
configs: Remove default kernel value from system creation
Kernel was being set using a placeholder and then assigned the
correct value. This would generate the following error if the
placeholder file did not exist:
'IOError: Can't find file <placeholder> on path'
This patch follows the same directions of commit
12eca7ac04ae1ba559bf322b5c625513929d369d and removes the default
values, forcing the user to properly configure the kernel.
Change-Id: I0eb45d12eda6b6efe9a3fe118996b640844a7b34
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/11850
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'configs/common/FSConfig.py')
-rw-r--r-- | configs/common/FSConfig.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index 8b67c85e1..2c9092262 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -131,7 +131,6 @@ def makeLinuxAlphaSystem(mem_mode, mdesc=None, ruby=False, cmdline=None): self.intrctrl = IntrControl() self.mem_mode = mem_mode self.terminal = Terminal() - self.kernel = binary('vmlinux') self.pal = binary('ts_osfpal') self.console = binary('console') if not cmdline: @@ -429,7 +428,6 @@ def makeLinuxMipsSystem(mem_mode, mdesc=None, cmdline=None): self.intrctrl = IntrControl() self.mem_mode = mem_mode self.terminal = Terminal() - self.kernel = binary('mips/vmlinux') self.console = binary('mips/console') if not cmdline: cmdline = 'root=/dev/hda1 console=ttyS0' @@ -657,7 +655,6 @@ def makeLinuxX86System(mem_mode, numCPUs=1, mdesc=None, Ruby=False, if not cmdline: cmdline = 'earlyprintk=ttyS0 console=ttyS0 lpj=7999923 root=/dev/hda1' self.boot_osflags = fillInCmdline(mdesc, cmdline) - self.kernel = binary('x86_64-vmlinux-2.6.22.9') return self |