the "bench.c" shown in the videos is a file I created in order to have something to add to the mounted image for the purposes of demonstration.
Ben From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On Behalf Of mir shan Sent: Saturday, November 03, 2012 5:10 AM To: gem5 users mailing list Subject: Re: [gem5-users] video documentation I follow the video but from where u got the bench.c same problem occured with me with bashsr In your video both exixted but when I follow the videos they doesn't exist in my suystem. kindly guide regards Mir --- On Fri, 2/11/12, Payne, Benjamin <bpa...@lps.umd.edu<mailto:bpa...@lps.umd.edu>> wrote: From: Payne, Benjamin <bpa...@lps.umd.edu<mailto:bpa...@lps.umd.edu>> Subject: Re: [gem5-users] video documentation To: "gem5 users mailing list" <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Date: Friday, 2 November, 2012, 9:16 PM With Ali's help, I was able to get qemu to mount an .img file for gem5. I've posted videos to http://gem5.org/Frequently_Asked_Questions#How_do_I_add_files_to_a_disk_image.3F for both using just mount and using qemu+mount+chroot. -----Original Message----- From: gem5-users-boun...@gem5.org</mc/compose?to=gem5-users-boun...@gem5.org> [mailto:gem5-users-boun...@gem5.org</mc/compose?to=gem5-users-boun...@gem5.org>] On Behalf Of Payne, Benjamin Sent: Wednesday, October 31, 2012 5:00 PM To: sa...@umich.edu</mc/compose?to=sa...@umich.edu>; gem5 users mailing list Subject: Re: [gem5-users] video documentation I tried your suggestion of running the .img with qemu and ARM, but wasn't successful. Could you be more specific with which commands I should run? Here's what I tried: sudo apt-get install qemu-user-static qemu qemu-user qemu-system wget http://www.m5sim.org/dist/current/arm/arm-system-2011-08.tar.bz2 tar jxf arm-system-2011-08.tar.bz2 # when I go to run that img with qemu, I need to specify the kernel. qemu-system-arm disks/linux-arm-ael.img -kernel binaries/vmlinux.arm.smp.fb.2.6.38.8 # Unfortunately, I get " Segmentation fault (core dumped)" # Also, specifying memory and CPU didn't help qemu-system-arm -m 1G -cpu arm926 disks/linux-arm-ael.img -kernel binaries/vmlinux.arm.smp.fb.2.6.38.8 # I still get " Segmentation fault (core dumped)" Thanks, Ben PS: I added notes that video quality can be set to 1080 From: gem5-users-boun...@gem5.org</mc/compose?to=gem5-users-boun...@gem5.org> [mailto:gem5-users-boun...@gem5.org</mc/compose?to=gem5-users-boun...@gem5.org>] On Behalf Of Ali Saidi Sent: Wednesday, October 31, 2012 1:38 PM To: gem5 users mailing list Subject: Re: [gem5-users] video documentation Hi Ben, These are great! Thanks for taking the time to create them. Could you find an appropriate place on the wiki and add the videos to the pages? One of the other things that comes up rather frequently is how to put new benchmarks on the disk image. You mention some ideas of how to do this in the video (although I'm not sure how wget or scp would work from within the simulator since there isn't a working way to attach the simulator to an external network, although you can attached two simulated systems together). If you looking for more ideas for other tutorial videos that one that illustrated how to add files to the disk image would be great. A little known but very useful fact is if you have the qemu-user-static package installed on ubuntu you can actually chroot to a mounted disk image and manipulate it pretty much the same way would would on a real system (apt-get packages, compile code, etc). A video on doing that would be wonderful. Thanks again, Ali On 31.10.2012 13:19, Payne, Benjamin wrote: Hello, I've posted two videos on gem5 for beginers, "gem5 installation: build ARM gem5.opt" https://www.youtube.com/watch?v=SW63HJ0nW90 and "gem5 full system simulation arm ubuntu" https://www.youtube.com/watch?v=gd_DtxQD5kc Both are 1080, so they are watchable in full screen mode. Please let me know if you have comments or suggestions. What other tutorials would be useful? Kindly, Ben Payne http://mst.edu/~bhpxc9/ Suite 450, Room S452 5520 Research Park Drive Catonsville, MD 21228-4870 Laboratory for Physical Sciences http://www.lps.umd.edu/ office: 443-654-7890 cell: 608-308-2413 _______________________________________________ gem5-users mailing list gem5-users@gem5.org</mc/compose?to=gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org</mc/compose?to=gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org</mc/compose?to=gem5-users@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users