One Buildroot option: - https://cirosantilli.com/linux-kernel-module-cheat/#gem5-buildroot-setup-getting-started - https://cirosantilli.com/linux-kernel-module-cheat/#add-new-files-to-the-buildroot-image
On Mon, Mar 2, 2020 at 5:50 PM FARIDEH ZIAEE <faridehzi...@gmail.com> wrote: > > Hi, > I need to run spec cpu 2006 on gem5-Fs mode but I don't know how to run it. > also ,according to > site""https://yulistic.gitlab.io/2016/05/gem5-make-a-new-boot-image/"" I make > a new boot image : > d if=/dev/zero of=ubuntu.img bs=1M count=12288 > ls -alh > fdisk -l ubuntu.img > sudo fdisk ubuntu.img > fdisk -l ubuntu.img > sudo losetup -f > sudo losetup -o $((512*2048)) /dev/loop8 ubuntu.img > sudo mke2fs /dev/loop8 > sudo losetup -d /dev/loop8 > ////////////////////////////////// > and copy all of file form > aarch32-ubuntu-natty-headless.img(aar20ch-system-14-10 ) to new boot image. > Then I istall and compile spec cpu 2006 on linux(ubuntu-18.04-desktop-amd64) > according to this > site:"https://www.spec.org/cpu2006/Docs/install-guide-unix.html" : > cd SPEC_CPU2006 > ./install.sh > cd /cpu2006/ > . ./shrc > cd config > cp Example-linux64-amd64-gcc43+.cfg mytest.cfg > runspec --config=mytest.cfg --action=build --tune=base bzip2 > runspec --config=mytest.cfg --size=test --noreportable --tune=base > --iterations=1 bzip2 > runspec --config=mytest.cfg --size=ref --noreportable --tune=base > --iterations=1 bzip2 > ///////////////////////////////////////////////// > Also I learn how to add file to the image , according to this > site:"https://spark.nitk.ac.in/r/GEM5-FS-Run.pdf" > ,but I don't know wich files of spec cpu 2006 add to image and how to write > runscrip for spe cpu 2006 . > Can any one help and giude me? and I did those things, were those correct? > > Best Regards. > _______________________________________________ > gem5-users mailing list > 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