summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDietmar Eggemann <dietmar.eggemann@arm.com>2012-05-11 17:54:32 +0100
committerDietmar Eggemann <dietmar.eggemann@arm.com>2012-05-23 12:44:36 +0100
commit22b66a6d06a870e09e8535600505cd26dd0e0f86 (patch)
treecdaaea5e681c4d1e4e423be722ecbc20f394e6ec
parent5ab1dea8a11dae2a15ff5eff8b95100cf341e323 (diff)
downloadswitcher-22b66a6d06a870e09e8535600505cd26dd0e0f86.tar.gz
Add additional RTSM model parameter to the mxscript files.
Enable Ethernet and user-mode networking and expose the default gatord listening port in user-mode networking. Configure the uarts to ignore the clock rate and transmit/receive serial data immediately. Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
-rw-r--r--bootwrapper/big-little-mp1.mxscript5
-rw-r--r--bootwrapper/big-little-mp4.mxscript5
2 files changed, 8 insertions, 2 deletions
diff --git a/bootwrapper/big-little-mp1.mxscript b/bootwrapper/big-little-mp1.mxscript
index 7a7912e..b50736a 100644
--- a/bootwrapper/big-little-mp1.mxscript
+++ b/bootwrapper/big-little-mp1.mxscript
@@ -38,6 +38,9 @@ int ctr = 0;
// 'trace_plugin'. Other parameters are specified in 'trace_file' & 'trace_misc'.
// system(model + trace_plugin + trace_sources + trace_file + trace_misc + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + " --verbose -S &");
+string networking = " -C motherboard.hostbridge.userNetworking=1 -C motherboard.hostbridge.userNetPorts=\"8080=8080\" -C motherboard.smsc_91c111.enabled=1";
+string console = " -C motherboard.pl011_uart0.untimed_fifos=1 -C motherboard.pl011_uart1.untimed_fifos=1 -C motherboard.pl011_uart2.untimed_fifos=1 -C motherboard.pl011_uart3.untimed_fifos=1";
+
// NOTE
//
// _Only_ if a run is needed using an optional rootfs MMC image built using the instructions in
@@ -49,7 +52,7 @@ int ctr = 0;
// Invoke the model. It then listens for connection requests from the model debugger
// Vanilla invocation of the model.
-system(model + " -C motherboard.flashloader0.fname=" + wboot + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + " --verbose -S &");
+system(model + " -C motherboard.flashloader0.fname=" + wboot + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + networking + console +" --verbose -S &");
// Wait for the model to load before connecting to it. There will be times when we
// try connecting before the model has loded resulting in a "Connection refused"
diff --git a/bootwrapper/big-little-mp4.mxscript b/bootwrapper/big-little-mp4.mxscript
index 77d9a8f..3516857 100644
--- a/bootwrapper/big-little-mp4.mxscript
+++ b/bootwrapper/big-little-mp4.mxscript
@@ -38,6 +38,9 @@ int ctr = 0;
// 'trace_plugin'. Other parameters are specified in 'trace_file' & 'trace_misc'.
// system(model + trace_plugin + trace_sources + trace_file + trace_misc + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + " --verbose -S &");
+string networking = " -C motherboard.hostbridge.userNetworking=1 -C motherboard.hostbridge.userNetPorts=\"8080=8080\" -C motherboard.smsc_91c111.enabled=1";
+string console = " -C motherboard.pl011_uart0.untimed_fifos=1 -C motherboard.pl011_uart1.untimed_fifos=1 -C motherboard.pl011_uart2.untimed_fifos=1 -C motherboard.pl011_uart3.untimed_fifos=1";
+
// NOTE
//
// _Only_ if a run is needed using an optional rootfs MMC image built using the instructions in
@@ -49,7 +52,7 @@ int ctr = 0;
// Invoke the model. It then listens for connection requests from the model debugger
// Vanilla invocation of the model.
-system(model + " -C motherboard.flashloader0.fname=" + wboot + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + " --verbose -S &");
+system(model + " -C motherboard.flashloader0.fname=" + wboot + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + networking + console +" --verbose -S &");
// Wait for the model to load before connecting to it. There will be times when we
// try connecting before the model has loded resulting in a "Connection refused"