You should install a cross compiler to ARM. You can follow this tutorial (https://www.acmesystems.it/arm9_toolchain), which I have already tested and worked.
If you are using SE mode (System emulation), do not forget to use the flag -static in the compilation command. Next, you should modify the makefile in order to use the ARM cross compiler. Best. ---------------------------------------------------------------------------------------------------------------------------------------------- Francisco Carlos Silva Junior Phd Student ________________________________ De: gem5-users <gem5-users-boun...@gem5.org> em nome de ABD ALRHMAN ABO ALKHEEL <abdkeel...@hotmail.com> Enviado: sexta-feira, 27 de março de 2020 11:20 Para: Ciro Santilli <ciro.santi...@arm.com>; gem5 users mailing list <gem5-users@gem5.org> Assunto: [gem5-users] Fw: Gem5 crash when i use --cpu-type=DerivO3CPU Hi Ciro, I have compiled the following repository using make command to work on x86. How i can compile it in order to work on ARM? Best https://github.com/maandree/sha3sum ________________________________ From: gem5-users <gem5-users-boun...@gem5.org> on behalf of ABD ALRHMAN ABO ALKHEEL <abdkeel...@hotmail.com> Sent: Friday, March 27, 2020 3:46:07 AM To: gem5 users mailing list <gem5-users@gem5.org>; Ciro Santilli <ciro.santi...@arm.com>; Ciro Santilli <ciro.santi...@gmail.com> Subject: Re: [gem5-users] Gem5 crash when i use --cpu-type=DerivO3CPU Hi Ciro, I have compiled the following repository using make command to work on x86. How i can compile it in order to work on ARM? Best https://github.com/maandree/sha3sum [https://avatars2.githubusercontent.com/u/1611742?s=400&v=4]<https://github.com/maandree/sha3sum> GitHub - maandree/sha3sum: SHA-3 and Keccak checksum utility<https://github.com/maandree/sha3sum> SHA-3 and Keccak checksum utility. Contribute to maandree/sha3sum development by creating an account on GitHub. github.com ________________________________ From: gem5-users <gem5-users-boun...@gem5.org> on behalf of Ciro Santilli <ciro.santi...@gmail.com> Sent: Thursday, March 26, 2020 4:59 PM To: gem5 users mailing list <gem5-users@gem5.org> Subject: Re: [gem5-users] Gem5 crash when i use --cpu-type=DerivO3CPU BTW, ARM checkpointing seemed completely broken on latest develop when I tried it, opened a bug at: https://gem5.atlassian.net/browse/GEM5-426 On Thu, Mar 26, 2020 at 8:39 AM Ciro Santilli <ciro.santi...@gmail.com> wrote: > > What's the error message? > > On Thu, Mar 26, 2020 at 6:31 AM ABD ALRHMAN ABO ALKHEEL > <abdkeel...@hotmail.com> wrote: > > > > Hi All, > > > > I run the following command to take checkpoint and it works well. But when > > i use --cpu-type=DerivO3CPU instead of AtomicSimpleCPU the system crash. > > I want DerivO3CPU as cpu type. Any help would be appreciated. > > > > build/ARM/gem5.opt configs/example/fs.py --os-type=android-ics > > --machine-type=VExpress_EMM > > --kernel=/home/abdkhail/gem5/full_system_images/binaries/vmlinux.vexpress_emm.20170616 > > > > --disk-image=/home/abdkhail/gem5/full_system_images/disks/ARMv7a-ICS-Android.SMP.Asimbench-v3.img > > > > --dtb-filename=/home/abdkhail/gem5/full_system_images/binaries/vexpress-v2p-ca15-tc1-gem5_dvfs_4cpus.20170616.dtb > > --mem-size=2047MB --num-cpus=4 --cpu-clock=2GHz --caches --l2cache > > --l2_size=2MB --l2_assoc=4 --l1i_size=32kB --l1i_assoc=4 --l1d_size=32kB > > --l1d_assoc=4 --cpu-type=AtomicSimpleCPU > > --script=/home/abdkhail/gem5/configs/boot/asimbench_boot_scripts/arm_ckpt_asim.rcS > > > > 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
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users