3

I was running Linux in an ARM-based detailed CPU model in FS mode, and I was doing the checkpoint after the first time I launched the CPU. However, I needed to frequently transfer files to the ARM Linux, so I am wondering if there is any way to do so without re-launching the CPU model again (e.g., directly transfer files to linux through sftp, or mounting the host file system)? Great thanks!

Currently, I just added the files to the Linux disk image, and relaunched the CPU model from scratch (which takes more than 1.5 hours).

Ray
  • 31
  • 1

1 Answers1

1

Here are the possibilities that I'm aware of:

The current situation is a mess. The main reason is that it is a bit hard to nicely integrate 9P / multidisk into fs.py. But I'm certain it is possible, we just need a brave soul.

Related thread about how to expand an existing disk image if space is your concern: https://www.mail-archive.com/gem5-users@gem5.org/msg16494.html

Mailing list thread: https://www.mail-archive.com/gem5-users@gem5.org/msg16477.html

Ciro Santilli
  • 3,693
  • 1
  • 18
  • 44
  • Thanks a lot! I tried the second solution (i.e., use a second disk image), and it worked:) – Ray Apr 14 '19 at 20:00