Hi Senni, When a checkpoint is restored, the execution of the system begins right where it left off. Hence, your script will only exit after the checkpoint is restored. The script configs/boot/hack_back_ckpt.rcS does exactly what you are trying to do, so I'd recommend taking a checkpoint with that script.
Joel On Thu, Aug 14, 2014 at 6:54 AM, senni sophiane via gem5-users < [email protected]> wrote: > Hi, > > I wrote a rcS file where I have just used the instruction "checkpoint 0 0" > : > > #!/bin/sh > > /sbin/m5 checkpoint 0 0 > > /sbin/m5 exit > > in order to create a checkpoint when the kernel booted. Now I want to > start a simulation of a benchmark from this checkpoint executing an > other rcS file. But when I restored the checkpoint, the rcS file which > should launch execution of the benchmark is not executed, instead the > simulation ends just after the checkpoint. > > My purpose is just to avoid to boot the kernel every time I want to > simulate a benchmark in full system mode with a detailed cpu. If my > method is wrong, could someone point out me the correct procedure ? > > Thanks > > -- > Cordialement / Best Regards > > SENNI Sophiane > Ph.D. candidate - Microelectronics > LIRMM - www.lirmm.fr > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- Joel Hestness PhD Student, Computer Architecture Dept. of Computer Science, University of Wisconsin - Madison http://pages.cs.wisc.edu/~hestness/
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
