diff options
Diffstat (limited to 'bootwrapper/big-little-mp4.mxscript')
-rwxr-xr-x | bootwrapper/big-little-mp4.mxscript | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/bootwrapper/big-little-mp4.mxscript b/bootwrapper/big-little-mp4.mxscript index 96bc6bf..77d9a8f 100755 --- a/bootwrapper/big-little-mp4.mxscript +++ b/bootwrapper/big-little-mp4.mxscript @@ -1,11 +1,16 @@ // Replace the string with the absolute path of the Kingfisher model executable -// e.g. string model = "/home/working_dir/models/RTSM_VE_Cortex-A15x4-A7x4" +// e.g. string model = "/home/working_dir/RTSM_VE_Cortex-A15x4-A7x4" string model = "<path to the model>"; // Replace the string with the absolute path of the Virutalizer+Payload software image // e.g. string app = "/home/working_dir/bootwrapper/img.axf" string app = "<path to the software image>"; +// Replace the string with the absolute path of the wboot.bin image created in the +// bootwrapper/big-little directory. This image is load in flash at 0x0 and distinguishes +// between a warm and a cold reset +string wboot = "<path to warm reset handler image>"; + int ctr = 0; // NOTE @@ -36,15 +41,15 @@ int ctr = 0; // NOTE // // _Only_ if a run is needed using an optional rootfs MMC image built using the instructions in -// doc/06-Optional-rootfs-build.txt, then comment out the system() invocation +// docs/06-Optional-rootfs-build.txt, then comment out the system() invocation // below (on line 47) and uncomment the following lines taking care to update // the paths accordingly. // string mmcimage = "<path to mmc.img>"; -// system(model + " -C motherboard.mmc.p_mmc_file=" + mmcimage + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + " --verbose -S &"); +// system(model + " -C motherboard.mmc.p_mmc_file=" + mmcimage + trace_plugin + trace_sources + trace_file + trace_misc + " -C coretile.cache_state_modelled=1" + " -a coretile.cluster0.\*=" + app + " -a coretile.cluster1.\*=" + app + " --verbose -S &"); // Invoke the model. It then listens for connection requests from the model debugger // Vanilla invocation of the model. -system(model + " -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 + " --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" |