From 398d09d5aeaa9eb77dc78e6c3bf10a18830388ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Wed, 21 Aug 2019 00:00:00 +0000 Subject: [PATCH] gem5: fix fs_bigLITTLE: error: unrecognized arguments: --num-cpus 1 --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 7795822..b273f7a 100755 --- a/run +++ b/run @@ -488,6 +488,7 @@ Extra options to append at the end of the emulator command line. extra_emulator_args.extend(['-r', str(cpt_dirs_sorted_by_tick.index(cpt_dir) + 1)]) cmd.extend([ self.env['gem5_fs_file'], LF, + '--num-cpus', str(self.env['cpus']), LF, '--disk-image', self.env['disk_image'], LF, '--kernel', self.env['image'], LF, '--mem-size', memory, LF, @@ -573,7 +574,6 @@ Extra options to append at the end of the emulator command line. if self.env['gdb_wait']: # https://stackoverflow.com/questions/49296092/how-to-make-gem5-wait-for-gdb-to-connect-to-reliably-break-at-start-kernel-of-th cmd.extend(['--param', 'system.cpu[0].wait_for_remote_gdb = True', LF]) - cmd.extend(['--num-cpus', str(self.env['cpus']), LF]) elif self.env['emulator'] == 'qemu': qemu_user_and_system_options = [ '-trace', 'enable={},file={}'.format(trace_type, self.env['qemu_trace_file']), LF,