[gem5-users] ARM+RUBY+GARNET in FS mode

2018-03-09 Thread Sahana Prasad
Hello,

I am trying to  get the garnet system up on ARM in fs mode with the
following :

scons build/ARM/gem5.fast PROTOCOL=MI_example

./build/ARM/gem5.fast configs/example/fs.py
--kernel=/home/mayya/gem5/linux/vmlinux --machine-type=VExpress_GEM5_V1
--dtb-file=/home/mayya/gem5/system/arm/dt/armv8_gem5_v1_16cpu.dtb
--disk-image=linaro-minimal-aarch64.img --num-cpus=16
--cpu-type=AtomicSimpleCPU --mem-size=512MB --ruby --num-dirs=16 --network
garnet2.0 --topology Mesh --mesh-rows 4 --numa-high-bit=28



*But*fatal: The MI_example protocol cannot implement Load/Store Exclusive
operations. Multicore ARM systems configured with the MI_example protocol
will not work properly.

Therefore I am trying to build  with other cache coherence PROTOCOLS

Does anybody have an idea of what could be supported if you have tried
something similar?

I get warnings :

warn: You are trying to use Ruby on ARM, which is not working properly yet.

So any input to fix this and have a working combination would greatly help.

Thank you in advance,

Regards,
Sahana Prasad
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Is the dtb file important for FS simulation?

2018-03-09 Thread Sahana Prasad
Hello Andreas,Haeyoon Cho,

Andreas , thanks thi worked for me too. fs simulation on Arm with 16 CPUS.

I wanted to know if any one of you have tried GARNET on ARM?
Inputs would really be helpful.
I want to simulate a 4*4 mesh garnet system on ARM

Thank you in advance.

Regards,
Sahana Prasad


On Thu, Mar 8, 2018 at 4:46 PM, Andreas Sandberg <andreas.sandb...@arm.com>
wrote:

> New versions of gem5 also auto-generate DTBs. This requires support from
> the simulation script, but that should already be implemented for the
> configurations in configs/example/arm/ and fs.py. The latter might requires
> that --generate-dtb is specified to enable this. Keep in mind that the
> generated DTBs and the DTBs in system/arm/dt only work new kernels (version
> 4.x and newer).
>
> Cheers,
> Andreas
>
> On 07/03/2018 02:03, 조해윤 wrote:
>
> Thanks a lot.
> It is great helpful to me.
>
> 2018-03-06 22:17 GMT+09:00 Ciro Santilli <ciro.santi...@gmail.com>:
>
>> Ah, nevermind, I had forgotten this, the dtbs are tracked inside the gem5
>> tree:
>>
>> https://github.com/gem5/gem5/blob/a66fe6a8c36c9ab49cb3a35065
>> bfc645d51036c8/system/arm/dt/armv8.dts
>>
>> an built with:
>>
>> make -C system/arm/dt
>>
>> The Makefile uses the cpp preprocessor to generate the dtbs with
>> different core counts:
>> https://github.com/gem5/gem5/blob/a66fe6a8c36c9ab49cb3a35065
>> bfc645d51036c8/system/arm/dt/Makefile#L48
>>
>> So hacking up that Makefile is another good option to get your dtbs.
>>
>> On Tue, Mar 6, 2018 at 10:55 AM, Ciro Santilli <ciro.santi...@gmail.com>
>> wrote:
>> > Yes, if you don't modify the dtb, the Linux kernel won't see the
>> > change in the number of CPUs change, this can be verified with cat
>> > /proc/cpuinfo.
>> >
>> > You can modify the dtb directly by first converting it to dts human
>> > readable form: https://stackoverflow.com/ques
>> tions/14000736/tool-to-visualize-the-device-tree-file-dtb-
>> used-by-the-linux-kernel/39931834#39931834
>> > and then doing the inverse operation.
>> >
>> > Normally the original source of the dts for ARM should be present on
>> > the forked gem5 Linux kernel fork:
>> > https://gem5.googlesource.com/arm/linux/+/917e007a4150d26a0a
>> a95e4f5353ba72753669c7/arch/arm/boot/dts/
>> > but I can't find if easily for some reason, only
>> > vexpress-v2p-ca15-tc1.dts, maybe someone can clarify their origin.
>> >
>> >
>> > On Tue, Mar 6, 2018 at 10:46 AM, 조해윤 <chohy2...@gmail.com> wrote:
>> >> Dear, everyone.
>> >>
>> >> I try to full system simulation for ARM ISA.
>> >> So, I downloaded the pre-compiled kernels and disk images
>> >> (aarch-system-20170616.tar.xz) from the repository
>> >> (http://www.gem5.org/dist/current/arm/).
>> >>
>> >> There are several dtb files like below.
>> >> vexpress-v2p-ca15-tc1-gem5_1cpus.20170616.dtb
>> >> vexpress-v2p-ca15-tc1-gem5_2cpus.20170616.dtb
>> >> vexpress-v2p-ca15-tc1-gem5_4cpus.20170616.dtb
>> >>
>> >> However, not for 8 or 16 cpus.
>> >> If I want to experiment 16-cpu configuration, I should modify the dtb
>> file?
>> >>
>> >> If I should modify the dtb file, how I can do that?
>> >> I found the documentations to build a kernel or to make a disk image.
>> >> http://gem5.org/ARM_Kernel
>> >> http://gem5.org/Ubuntu_Disk_Image_for_ARM_Full_System
>> >>
>> >> But, I couldn't find any documentation to modify the dtb file.
>> >> Is there any documentation for the dtb file?
>> >>
>> >> Best regards,
>> >> Haeyoon Cho.
>> >>
>> >> ___
>> >> 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 
> listgem5-users@gem5.orghttp://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ___
> 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] GARNET with ARM

2018-03-02 Thread Sahana Prasad
Hello ,

Has anyone run GARNET with ARM?

I intend to do this. Suggestions/inputs would really be helpful.

Thank you.

Regards,
Sahana Prasad
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Gem5 full system simulation on ARM

2018-03-02 Thread Sahana Prasad
Thanks for this Ciro.
I will have a look and try it out.

Have you also tried simulating a garnet network on ARM and tested
benchmarks?
Hope i will be able to do this with the patch.

Thank you for the help.

Regards,
Sahana Prasad

On Fri, Mar 2, 2018 at 12:38 PM, Ciro Santilli <ciro.santi...@arm.com>
wrote:

> Hello Sahana,
>
>
> If you don't absolutely need Ubuntu, I also have highly automated
> Buildroot setup at: https://github.com/cirosantilli/linux-kernel-
> module-cheat/tree/6b099ebd82c81a093922cda6ab5385e86238ec54#gem5
>
>
>
> --
> *From:* gem5-users <gem5-users-boun...@gem5.org> on behalf of Sahana
> Prasad <sahana.prasa...@gmail.com>
> *Sent:* Friday, March 2, 2018 10:26:30 AM
> *To:* gem5-users@gem5.org; ja...@lowepower.com; rsvaru...@gmail.com
> *Cc:* Sepulveda Florez, Martha Johanna
> *Subject:* [gem5-users] Gem5 full system simulation on ARM
>
>
> Hello,
>
>
> I am trying to build the full system simulation on ARM using
> *arm-ubuntu-natty-headless.img *
>
> on 14.04.1-Ubuntu
>
>
> followed the instructions on this video :
>
>
> https://www.youtube.com/watch?v=gd_DtxQD5kc=208s
>
>
> I have set the path variable.
>
>
> ga87fev@TUEISEC-Stu04:~/gem5$ echo *$M5_PATH*
>
> /home/ga87fev/gem5/full_system_images/
>
>
> and have these files in place at binaries and disks :
>
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ ls
>
> *binaries*  *disks*
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ cd binaries/
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ ls
>
> *boot.arm**configs*
> vexpress.aarch32.ll_20131205.0-gem5.4cpu.dtb  vmlinux.aarch64.20140821
>
> boot_emm.armvexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb
> vexpress.aarch64.20140821.dtb
> *vmlinux.arm.smp.fb.2.6.38.8*
>
> boot_emm.arm64  vexpress.aarch32.ll_20131205.0-gem5.2cpu.dtb
> vmlinux.aarch32.ll_20131205.0-gem5
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ cd ../disks/
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$ ls
>
> *arm-ubuntu-natty-headless.img*  *linux-arm-ael.img*
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$
>
>
> I am trying to run the following command and it fails.
>
>
> ga87fev@TUEISEC-Stu04:~/gem5$ .*/build/ARM/gem5.opt configs/example/fs.py
> --disk-image=/home/ga87fev/gem5/full_system_images/disks/arm-ubuntu-natty-headless.img*
>
>
> gem5 Simulator System.  http://gem5.org
>
> gem5 is copyrighted software; use the --copyright option for details.
>
>
> gem5 compiled Jan 28 2018 13:39:34
>
> gem5 started Mar  2 2018 11:11:13
>
> gem5 executing on TUEISEC-Stu04, pid 13451
>
> command line: ./build/ARM/gem5.opt configs/example/fs.py
> --disk-image=/home/ga87fev/gem5/full_system_images/disks/
> arm-ubuntu-natty-headless.img
>
>
> Global frequency set at 1 ticks per second
>
> Fontconfig warning: ignoring UTF-8: not a valid region tag
>
>
> Fontconfig warning: ignoring UTF-8: not a valid region tag
>
>
> warn: DRAM device capacity (8192 Mbytes) does not match the address range
> assigned (512 Mbytes)
>
> *panic: panic condition sz != 2 occurred: Couldn't read magic bytes from
> object file*
>
> Memory Usage: 761656 KBytes
>
> Program aborted at tick 0
>
> *Aborted*
>
>
>
> *Could you please help me solve this error?*
>
>
> Once this works, I want to try the inbuilt benchmarks.
>
>
> Thank you for your help.
>
>
> Regards,
>
> Sahana Prasad
>
>
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ___
> 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] Gem5 full system simulation on ARM

2018-03-02 Thread Sahana Prasad
Thanks for this Ciro.
I will have a look and try it out.

Have you also tried simulating a garnet network on ARM and tested
benchmarks?
Hope i will be able to do this with the patch.

Thank you for the help.

Regards,
Sahana Prasad

On Fri, Mar 2, 2018 at 12:38 PM, Ciro Santilli <ciro.santi...@arm.com>
wrote:

> Hello Sahana,
>
>
> If you don't absolutely need Ubuntu, I also have highly automated
> Buildroot setup at: https://github.com/cirosantilli/linux-kernel-
> module-cheat/tree/6b099ebd82c81a093922cda6ab5385e86238ec54#gem5
>
>
>
> --
> *From:* gem5-users <gem5-users-boun...@gem5.org> on behalf of Sahana
> Prasad <sahana.prasa...@gmail.com>
> *Sent:* Friday, March 2, 2018 10:26:30 AM
> *To:* gem5-users@gem5.org; ja...@lowepower.com; rsvaru...@gmail.com
> *Cc:* Sepulveda Florez, Martha Johanna
> *Subject:* [gem5-users] Gem5 full system simulation on ARM
>
>
> Hello,
>
>
> I am trying to build the full system simulation on ARM using
> *arm-ubuntu-natty-headless.img *
>
> on 14.04.1-Ubuntu
>
>
> followed the instructions on this video :
>
>
> https://www.youtube.com/watch?v=gd_DtxQD5kc=208s
>
>
> I have set the path variable.
>
>
> ga87fev@TUEISEC-Stu04:~/gem5$ echo *$M5_PATH*
>
> /home/ga87fev/gem5/full_system_images/
>
>
> and have these files in place at binaries and disks :
>
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ ls
>
> *binaries*  *disks*
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ cd binaries/
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ ls
>
> *boot.arm**configs*
> vexpress.aarch32.ll_20131205.0-gem5.4cpu.dtb  vmlinux.aarch64.20140821
>
> boot_emm.armvexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb
> vexpress.aarch64.20140821.dtb
> *vmlinux.arm.smp.fb.2.6.38.8*
>
> boot_emm.arm64  vexpress.aarch32.ll_20131205.0-gem5.2cpu.dtb
> vmlinux.aarch32.ll_20131205.0-gem5
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ cd ../disks/
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$ ls
>
> *arm-ubuntu-natty-headless.img*  *linux-arm-ael.img*
>
> ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$
>
>
> I am trying to run the following command and it fails.
>
>
> ga87fev@TUEISEC-Stu04:~/gem5$ .*/build/ARM/gem5.opt configs/example/fs.py
> --disk-image=/home/ga87fev/gem5/full_system_images/disks/arm-ubuntu-natty-headless.img*
>
>
> gem5 Simulator System.  http://gem5.org
>
> gem5 is copyrighted software; use the --copyright option for details.
>
>
> gem5 compiled Jan 28 2018 13:39:34
>
> gem5 started Mar  2 2018 11:11:13
>
> gem5 executing on TUEISEC-Stu04, pid 13451
>
> command line: ./build/ARM/gem5.opt configs/example/fs.py
> --disk-image=/home/ga87fev/gem5/full_system_images/disks/
> arm-ubuntu-natty-headless.img
>
>
> Global frequency set at 1 ticks per second
>
> Fontconfig warning: ignoring UTF-8: not a valid region tag
>
>
> Fontconfig warning: ignoring UTF-8: not a valid region tag
>
>
> warn: DRAM device capacity (8192 Mbytes) does not match the address range
> assigned (512 Mbytes)
>
> *panic: panic condition sz != 2 occurred: Couldn't read magic bytes from
> object file*
>
> Memory Usage: 761656 KBytes
>
> Program aborted at tick 0
>
> *Aborted*
>
>
>
> *Could you please help me solve this error?*
>
>
> Once this works, I want to try the inbuilt benchmarks.
>
>
> Thank you for your help.
>
>
> Regards,
>
> Sahana Prasad
>
>
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ___
> 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] Gem5 full system simulation on ARM

2018-03-02 Thread Sahana Prasad
Hello,


I am trying to build the full system simulation on ARM using
*arm-ubuntu-natty-headless.img *

on 14.04.1-Ubuntu


followed the instructions on this video :


https://www.youtube.com/watch?v=gd_DtxQD5kc=208s


I have set the path variable.


ga87fev@TUEISEC-Stu04:~/gem5$ echo *$M5_PATH*

/home/ga87fev/gem5/full_system_images/


and have these files in place at binaries and disks :


ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ ls

*binaries*  *disks*

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ cd binaries/

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ ls

*boot.arm**configs*
vexpress.aarch32.ll_20131205.0-gem5.4cpu.dtb  vmlinux.aarch64.20140821

boot_emm.armvexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb
vexpress.aarch64.20140821.dtb *vmlinux.arm.smp.fb.2.6.38.8*

boot_emm.arm64  vexpress.aarch32.ll_20131205.0-gem5.2cpu.dtb
vmlinux.aarch32.ll_20131205.0-gem5

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ cd ../disks/

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$ ls

*arm-ubuntu-natty-headless.img*  *linux-arm-ael.img*

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$


I am trying to run the following command and it fails.


ga87fev@TUEISEC-Stu04:~/gem5$ .*/build/ARM/gem5.opt configs/example/fs.py
--disk-image=/home/ga87fev/gem5/full_system_images/disks/arm-ubuntu-natty-headless.img*


gem5 Simulator System.  http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled Jan 28 2018 13:39:34

gem5 started Mar  2 2018 11:11:13

gem5 executing on TUEISEC-Stu04, pid 13451

command line: ./build/ARM/gem5.opt configs/example/fs.py
--disk-image=/home/ga87fev/gem5/full_system_images/disks/arm-ubuntu-natty-headless.img


Global frequency set at 1 ticks per second

Fontconfig warning: ignoring UTF-8: not a valid region tag


Fontconfig warning: ignoring UTF-8: not a valid region tag


warn: DRAM device capacity (8192 Mbytes) does not match the address range
assigned (512 Mbytes)

*panic: panic condition sz != 2 occurred: Couldn't read magic bytes from
object file*

Memory Usage: 761656 KBytes

Program aborted at tick 0

*Aborted*



*Could you please help me solve this error?*


Once this works, I want to try the inbuilt benchmarks.


Thank you for your help.


Regards,

Sahana Prasad
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Benchmarks for ARM with Garnet

2018-02-17 Thread Sahana Prasad
Hello,

I have a 4*4 Garnet system simulated with ARM as ISA.
I want to try out some suites for benchmarking. Is PARSEC 3.0 the best one
to go ahead?

would be helpful to get inputs from someone who has used this before.

Thank you.

Regards,
Sahana Prasad
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users