Re: [gem5-users] Fw: Gem5 crash when i use --cpu-type=DerivO3CPU

2020-03-27 Thread ABD ALRHMAN ABO ALKHEEL
>From where I can download those?

From: Gabe Black 
Sent: Friday, March 27, 2020 9:42:17 PM
To: gem5 users mailing list 
Cc: ABD ALRHMAN ABO ALKHEEL 
Subject: Re: [gem5-users] Fw: Gem5 crash when i use --cpu-type=DerivO3CPU

I've also set up a script util/build_cross_gcc/build_cross_gcc.py which will 
build a cross compiler given various sources (gcc, glibc, linux, binutils, 
gdb). To use it, download each of those and extract them in a directory, and 
then from there run build_cross_gcc.py --settings-file=settings.${compiler you 
want}

Gabe

On Fri, Mar 27, 2020 at 9:19 AM Ciro Santilli 
mailto:ciro.santi...@gmail.com>> wrote:
See also: 
https://stackoverflow.com/questions/53085048/how-to-compile-and-run-an-executable-in-gem5-syscall-emulation-mode-with-se-py/53085049#53085049

On Fri, Mar 27, 2020 at 2:20 PM ABD ALRHMAN ABO ALKHEEL 
mailto:abdkeel...@hotmail.com>> wrote:
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 
mailto:gem5-users-boun...@gem5.org>> on behalf of 
ABD ALRHMAN ABO ALKHEEL mailto:abdkeel...@hotmail.com>>
Sent: Friday, March 27, 2020 3:46:07 AM
To: gem5 users mailing list mailto:gem5-users@gem5.org>>; 
Ciro Santilli mailto:ciro.santi...@arm.com>>; Ciro 
Santilli mailto: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=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<http://github.com>



From: gem5-users 
mailto:gem5-users-boun...@gem5.org>> on behalf of 
Ciro Santilli mailto:ciro.santi...@gmail.com>>
Sent: Thursday, March 26, 2020 4:59 PM
To: gem5 users mailing list mailto: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 
mailto:ciro.santi...@gmail.com>> wrote:
>
> What's the error message?
>
> On Thu, Mar 26, 2020 at 6:31 AM ABD ALRHMAN ABO ALKHEEL
> mailto: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<mailto:gem5-users@gem5.org>
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org<mailto: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

Re: [gem5-users] Fw: Gem5 crash when i use --cpu-type=DerivO3CPU

2020-03-27 Thread Ciro Santilli
See also:
https://stackoverflow.com/questions/53085048/how-to-compile-and-run-an-executable-in-gem5-syscall-emulation-mode-with-se-py/53085049#53085049

On Fri, Mar 27, 2020 at 2:20 PM ABD ALRHMAN ABO ALKHEEL <
abdkeel...@hotmail.com> wrote:

> 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  on behalf of ABD ALRHMAN
> ABO ALKHEEL 
> *Sent:* Friday, March 27, 2020 3:46:07 AM
> *To:* gem5 users mailing list ; Ciro Santilli <
> ciro.santi...@arm.com>; Ciro Santilli 
> *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
> 
> GitHub - maandree/sha3sum: SHA-3 and Keccak checksum utility
> 
> SHA-3 and Keccak checksum utility. Contribute to maandree/sha3sum
> development by creating an account on GitHub.
> github.com
>
>
> --
> *From:* gem5-users  on behalf of Ciro
> Santilli 
> *Sent:* Thursday, March 26, 2020 4:59 PM
> *To:* gem5 users mailing list 
> *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 
> wrote:
> >
> > What's the error message?
> >
> > On Thu, Mar 26, 2020 at 6:31 AM ABD ALRHMAN ABO ALKHEEL
> >  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
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Fw: Gem5 crash when i use --cpu-type=DerivO3CPU

2020-03-27 Thread Francisco Carlos
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  em nome de ABD ALRHMAN ABO ALKHEEL 

Enviado: sexta-feira, 27 de março de 2020 11:20
Para: Ciro Santilli ; gem5 users mailing list 

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  on behalf of ABD ALRHMAN ABO 
ALKHEEL 
Sent: Friday, March 27, 2020 3:46:07 AM
To: gem5 users mailing list ; Ciro Santilli 
; Ciro Santilli 
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=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  on behalf of Ciro Santilli 

Sent: Thursday, March 26, 2020 4:59 PM
To: gem5 users mailing list 
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  wrote:
>
> What's the error message?
>
> On Thu, Mar 26, 2020 at 6:31 AM ABD ALRHMAN ABO ALKHEEL
>  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

[gem5-users] Fw: Gem5 crash when i use --cpu-type=DerivO3CPU

2020-03-27 Thread ABD ALRHMAN ABO ALKHEEL
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  on behalf of ABD ALRHMAN ABO 
ALKHEEL 
Sent: Friday, March 27, 2020 3:46:07 AM
To: gem5 users mailing list ; Ciro Santilli 
; Ciro Santilli 
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=4]
GitHub - maandree/sha3sum: SHA-3 and Keccak checksum 
utility
SHA-3 and Keccak checksum utility. Contribute to maandree/sha3sum development 
by creating an account on GitHub.
github.com



From: gem5-users  on behalf of Ciro Santilli 

Sent: Thursday, March 26, 2020 4:59 PM
To: gem5 users mailing list 
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  wrote:
>
> What's the error message?
>
> On Thu, Mar 26, 2020 at 6:31 AM ABD ALRHMAN ABO ALKHEEL
>  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___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users