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/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 <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/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, 조해윤 <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 list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to