arm, config: Exit with fatal error if using Ruby

Ruby on ARM is currently very experimental. Fail with a fatal error
that explains this to make sure users are aware of the limitations (it
doesn't actually work yet!).

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Andreas Sandberg 2016-08-10 16:40:14 +01:00
parent eb87ed8e74
commit da07c5c26a

View file

@ -393,6 +393,11 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
if not ruby: if not ruby:
self.system_port = self.membus.slave self.system_port = self.membus.slave
if ruby:
fatal("You're trying to use Ruby on ARM, which is not working " \
"properly yet. If you want to test it anyway, you " \
"need to remove this fatal error from FSConfig.py.")
return self return self