'sleep 10' would be enough. 

Then you say the simulator to create the checkpoint, i.e., 'm5 checkpoint'. Over here it creates the checkpoint.  

When you restore from the checkpoint the same script is there and the next command is there to be executed, i.e., 'm5 exit'.

i.e., your script says that after the checkpoint restore do exit. Which should take seconds :)


--------- 원본 메일 ---------
보낸사람: Peng Wei <[email protected]>
받는사람 : [email protected]
날짜: 2013년 12월 30일 월요일, 21시 02분 57초 +0900
제목: [gem5-users] Problem about Create Checkpoint
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

Reply via email to