From f52ac6650df7f6040c5a709495d7d87f9ad7118e Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 22 Nov 2017 13:50:29 +0000 Subject: [PATCH] platform/gem5: always deploy m5 binary m5 binaries are not properly versioned, so it is not possible to be sure that the one that is already present on the image has all the features needed by devlib. Thus always deploy and use our version. --- devlib/platform/gem5.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/devlib/platform/gem5.py b/devlib/platform/gem5.py index a4bad28..db9b69d 100644 --- a/devlib/platform/gem5.py +++ b/devlib/platform/gem5.py @@ -200,9 +200,7 @@ class Gem5SimulationPlatform(Platform): """ Deploy m5 if not yet installed """ - m5_path = target.get_installed('m5') - if m5_path is None: - m5_path = self._deploy_m5(target) + m5_path = self._deploy_m5(target) target.conn.m5_path = m5_path # Set the terminal settings for the connection to gem5