summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]extra/cr50_rma_open/cr50_rma_open.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/cr50_rma_open/cr50_rma_open.py b/extra/cr50_rma_open/cr50_rma_open.py
index 1cc90dca5d..920b21a77d 100644..100755
--- a/extra/cr50_rma_open/cr50_rma_open.py
+++ b/extra/cr50_rma_open/cr50_rma_open.py
@@ -165,6 +165,7 @@ class RMAOpen(object):
self.servo_port = servo_port if servo_port else '9999'
self.print_caps = print_caps
self.ip = ip
+ self._dut_control('cr50_uart_timestamp:off')
if device:
self.set_cr50_device(device)
elif servo_port:
@@ -580,7 +581,7 @@ class RMAOpen(object):
def print_platform_info(self):
"""Print the cr50 BID RLZ code"""
bid_output = self.send_cmd_get_output('bid')
- bid = re.search('Board ID: (\S+),', bid_output).group(1)
+ bid = re.search('Board ID: (\S+?)[:,]', bid_output).group(1)
if bid == ERASED_BID:
debug(DEBUG_ERASED_BOARD_ID)
raise ValueError('Cannot run RMA Open when board id is erased')