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 
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 :
>
>> 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 
>> 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, 조해윤  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

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

2018-03-08 Thread Andreas Sandberg

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 
>:
Ah, nevermind, I had forgotten this, the dtbs are tracked inside the gem5 tree:

https://github.com/gem5/gem5/blob/a66fe6a8c36c9ab49cb3a35065bfc645d51036c8/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/a66fe6a8c36c9ab49cb3a35065bfc645d51036c8/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 
> 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/questions/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/+/917e007a4150d26a0aa95e4f5353ba72753669c7/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, 조해윤 
> 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 list
gem5-users@gem5.org
http://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

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

2018-03-06 Thread 조해윤
Thanks a lot.
It is great helpful to me.

2018-03-06 22:17 GMT+09:00 Ciro Santilli :

> Ah, nevermind, I had forgotten this, the dtbs are tracked inside the gem5
> tree:
>
> https://github.com/gem5/gem5/blob/a66fe6a8c36c9ab49cb3a35065bfc6
> 45d51036c8/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/a66fe6a8c36c9ab49cb3a35065bfc6
> 45d51036c8/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 
> 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/questions/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/+/917e007a4150d26a0aa95e4f5353ba
> 72753669c7/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, 조해윤  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 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-06 Thread Ciro Santilli
Ah, nevermind, I had forgotten this, the dtbs are tracked inside the gem5 tree:

https://github.com/gem5/gem5/blob/a66fe6a8c36c9ab49cb3a35065bfc645d51036c8/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/a66fe6a8c36c9ab49cb3a35065bfc645d51036c8/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  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/questions/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/+/917e007a4150d26a0aa95e4f5353ba72753669c7/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, 조해윤  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

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

2018-03-06 Thread Ciro Santilli
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/questions/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/+/917e007a4150d26a0aa95e4f5353ba72753669c7/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, 조해윤  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] Is the dtb file important for FS simulation?

2018-03-06 Thread 조해윤
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