aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/bts_sysmo.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-05-04 14:30:39 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-05-04 14:30:39 +0200
commit96ed9ab14d16849a66636f8f080cfa726d9c6a46 (patch)
treed7a5642ff02a10992b4ba2d96612b5c1c1c8407a /src/osmo_gsm_tester/bts_sysmo.py
parent8dbad8701fda39a29dbc2897e577994042725854 (diff)
sysmobts: fix: reload firmware before each osmo-bts-sysmo run
Diffstat (limited to 'src/osmo_gsm_tester/bts_sysmo.py')
-rw-r--r--src/osmo_gsm_tester/bts_sysmo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/bts_sysmo.py b/src/osmo_gsm_tester/bts_sysmo.py
index dd396ff..2c2bcac 100644
--- a/src/osmo_gsm_tester/bts_sysmo.py
+++ b/src/osmo_gsm_tester/bts_sysmo.py
@@ -71,6 +71,8 @@ class SysmoBts(log.Origin):
self.run_local('scp-cfg-to-sysmobts',
('scp', '-r', self.config_file, '%s:%s' % (self.remote_addr, remote_config_file)))
+ self.run_local('reload-dsp-firmware', ('ssh', self.remote_addr, '/bin/sh', '-c', '"cat /lib/firmware/sysmobts-v?.bit > /dev/fpgadl_par0 ; cat /lib/firmware/sysmobts-v?.out > /dev/dspdl_dm644x_0"'))
+
remote_lib = self.remote_inst.child('lib')
remote_binary = self.remote_inst.child('bin', 'osmo-bts-sysmo')
self.launch_remote('osmo-bts-sysmo',