summaryrefslogtreecommitdiff
path: root/bootwrapper/big-little-mp4.mxscript
diff options
context:
space:
mode:
Diffstat (limited to 'bootwrapper/big-little-mp4.mxscript')
-rw-r--r--bootwrapper/big-little-mp4.mxscript5
1 files changed, 4 insertions, 1 deletions
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"