sencha: tell mpact cli to wait for a connection at startup

The mpact cli support assumes the target cpu has it's firmware loaded,
but this is done by the security core. Tell the simulator to wait for
a network connection before doing anything to properly synchronize the
cli & renode. Note this will block renode until there is a connection
so the cli should not be enabled unless it's going to be used.

NB: this requires an updated cheriot toolchain

Change-Id: Iae69b4ab57697de00a7b55c78ea7b5d802a05116
diff --git a/shodan_infrastructure/MpactCheriotCPU.cs b/shodan_infrastructure/MpactCheriotCPU.cs
index 3d2f0de..281d260 100644
--- a/shodan_infrastructure/MpactCheriotCPU.cs
+++ b/shodan_infrastructure/MpactCheriotCPU.cs
@@ -122,6 +122,8 @@
 			if (cli_port != -1) {
 				config_names.Add("cliPort");
 				config_values.Add("0x" + cli_port.ToString("X"));
+				config_names.Add("waitForCLI");
+				config_values.Add("0x1");
 			}
 			Int32 cfg_res = set_config(mpact_id, config_names.ToArray(), config_values.ToArray(), config_names.Count);
 			if (cfg_res < 0) {