Hi Peng, It looks like you’re creating a checkpoint and then existing. The script that you are using is read into the simulated filesystem early on, so even if you changed it after you restored the simulation, you’re not getting what you expect. The script has already been loaded and the exit is already there. Rather than putting an exit how about —max-checkpoints=1?
Ali On Dec 30, 2013, at 6:02 AM, Peng Wei <[email protected]> wrote: > Hi there, > > I tried to create a checkpoint in gem5 ARM full system mode, but it had been > created successfully but cannot be used correctly. > > I used default CPU mode, 4 core, no caches, and use an .rCS file like this: > > sleep 600 > /sbin/m5 checkpoint > /sbin/m5 exit > > I would like to wait 10 minutes to let the system fully booted and then > create checkpoint and close m5. > > However, when I tried to restore the system from that checkpoint, it always > was finished in several seconds and showed that "exit due to m5_exit > instruction received" no matter which CPU mode or which rCS file I used. > > Could anybody help me fix it? I suspend that it is likely that my script used > to create the checkpoint was problematic, but it is so easy that I don't know > what is the problem. > > Thanks very much. > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
