Thanks. I do have 8 cores in my config.ini file. The dtb file is downloaded from the gem5 website. But I cannot directly read it, so how can I check this?
Zehan On Thu, Jan 29, 2015 at 3:29 AM, Lokesh Jindal <[email protected]> wrote: > My first approach for debug would be this: > > -n 8 > => this configures gem5 system model to have 8 cores > => you should see 8 cores in your config.ini file in output directory! > Everything should be as expected till this point! > > However, the kernel needs to support as well as be aware of 8 core > configuration > => Check if your dtb file (vexpress.aarch64.20140821.dtb) corresponds to > 4 core configuration! > => This is easy to check if you have either proper documentation or the > source dts file that was used to generate this dtb file. Otherwise, I am > not sure how you can check that. > > > On 01/27/15 23:39, Zehan Cui via gem5-users wrote: > > Hello everyone, > > I have download the latest aarch64 binary and disk image from this link ( > http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz). The > command line I'm using is: > > build/ARM/gem5.fast configs/example/fs.py > --kernel=vmlinux.aarch64.20140821 > --disk-image=aarch64-ubuntu-trusty-headless.img > --dtb-filename=vexpress.aarch64.20140821.dtb --machine-type=VExpress_EMM64 > --caches --l2cache --l3cache --l1d_size=32kB --l1i_size=32kB > --l2_size=256kB --l3_size=16MB -n 8 > > However, I can only see four cores: > > [ 0.000000] Virtual kernel memory layout: > [ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000 > (245759 MB) > [ 0.000000] vmemmap : 0xffffffbc01c00000 - 0xffffffbc02300000 ( > 7 MB) > [ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( > 64 MB) > [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc020000000 ( > 512 MB) > [ 0.000000] .init : 0xffffffc000692000 - 0xffffffc0006c6200 ( > 209 kB) > [ 0.000000] .text : 0xffffffc000080000 - 0xffffffc0006914e4 ( > 6214 kB) > [ 0.000000] .data : 0xffffffc0006c7000 - 0xffffffc0007141e0 ( > 309 kB) > [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 > [ 0.000000] Preemptible hierarchical RCU implementation. > [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. > [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 > [ 0.000000] NR_IRQS:64 nr_irqs:64 0 > [ 0.000000] Architected cp15 timer(s) running at 100.00MHz (phys). > [ 0.000002] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps > every 2748779069440ns > [ 0.000068] Console: colour dummy device 80x25 > [ 0.000072] Calibrating delay loop (skipped) preset value.. 3997.69 > BogoMIPS (lpj=19988480) > [ 0.000076] pid_max: default: 32768 minimum: 301 > [ 0.000110] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) > [ 0.000114] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 > bytes) > [ 0.000402] hw perfevents: no hardware support available > [ 0.060098] CPU1: Booted secondary processor > [ 0.080101] CPU2: Booted secondary processor > [ 0.100108] CPU3: Booted secondary processor > [ 0.100130] Brought up 4 CPUs > [ 0.100138] SMP: Total of 4 processors activated. > > > Does anyone know how to bring up 8 cores? > > Thanks, > Zehan > > > _______________________________________________ > gem5-users mailing > [email protected]http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
