Hi,
I can boot the full system ARM+RUBY with following commands
./build/ARM/gem5.fast configs/example/fs.py
--machine-type=VExpress_GEM5_V1 --kernel
/home/khilji/gem5/m5/system/binaries/vmlinux.aarch32.ll_20131205.0-gem5
--disk-image /home/khilji/gem5/m5/system/disks/linux-aarch32-ael.img
--dtb-filename
/home/khilji/gem5/m5/system/dtb/vexpress.aarch32.ll_20131205.0-gem5.4cpu.dtb
--num-cpus=4 --cpu-type=timing --mem-size=512MB --ruby --num-dirs=2
--garnet-network flexible --topology Mesh --mesh-rows 2 --numa-high-bit=28
and the linux terminal shows following
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Linux version 3.13.0-rc2 (tony@vamp) (gcc version 4.8.2 (Ubuntu/Linaro
4.8.2-16ubuntu4) ) #1 SMP PREEMPT Mon Oct 13 15:09:23 EDT 2014
Kernel was built at commit id ''
CPU: ARMv7 Processor [410fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: V2P-CA15
bootconsole [earlycon0] enabled
Memory policy: Data cache writealloc
kdebugv2m: Following are test values to confirm proper working
kdebugv2m: Ranges 42000000 0
kdebugv2m: Regs 30000000 1000000
kdebugv2m: Virtual-Reg f0000000
kdebugv2m: pci node addr_cells 3
kdebugv2m: pci node size_cells 2
kdebugv2m: motherboard addr_cells 2
On node 0 totalpages: 131072
free_area_init_node: node 0, pgdat 8072dcc0, node_mem_map 8078f000
Normal zone: 1024 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 131072 pages, LIFO batch:31
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
PERCPU: Embedded 8 pages/cpu @80b97000 s11648 r8192 d12928 u32768
pcpu-alloc: s11648 r8192 d12928 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: earlyprintk=pl011,0x1c090000 console=ttyAMA0
lpj=19988480 norandmaps rw loglevel=8 mem=512MB root=/dev/sda1
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 495488K/524288K available (5248K kernel code, 249K rwdata, 1540K
rodata, 295K init, 368K bss, 28800K reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x806a942c (6790 kB)
.init : 0x806aa000 - 0x806f3d80 ( 296 kB)
.data : 0x806f4000 - 0x80732754 ( 250 kB)
.bss : 0x80732754 - 0x8078e9d8 ( 369 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
NR_IRQS:16 nr_irqs:16 16
Connection closed by foreign host.
And this message appears.
fatal: Unable to find destination for addr 0x1c020000 on system.iobus
Actually, this is the unused space in realview.py memory map for
VExpress_GEM5_V1. How can I connect this unused space some where on iobus.
Any suggestions please
best regards,
sharjeel
On 24 January 2017 at 20:41, Jason Lowe-Power <[email protected]> wrote:
> Hello,
>
> Ruby is known to have issues when using the ARM ISA. It's likely a problem
> with how the system is configured. I would strongly encourage you to not
> use fs.py, but to write a new Python configuration script from scratch if
> you need to do unsupported things like ARM + Ruby. Another option is to use
> Ruby + x86, which is better supported.
>
> As a side note, the option --caches enables the classic caches and --ruby
> enables Ruby, you should choose only one of them. Additionally, the command
> line options for cache sizes may or may not work with Ruby depending on the
> coherence protocol.
>
> Cheers,
> Jason
>
> On Tue, Jan 24, 2017 at 5:01 AM SHARJEEL KHILJI <
> [email protected]> wrote:
>
>>
>> Hi, i am trying to simulate full system NOC (ARM system) with ruby memory
>> system and i get following error. I am trying to use different topologies
>> to resolve the following error.
>> Kindly, if some one can guide me in this regard.
>>
>> scons build/ARM/gem5.fast PROTOCOL=MI_example -j2
>>
>> ./build/ARM/gem5.fast configs/example/fs.py --caches --cacheline_size=64
>> --l1d_size=32kB --l1i_size=32kB --l2_size=1MB --machine-type=VExpress_GEM5_V1
>> --kernel /home/khilji/gem5/m5/system/binaries/vmlinux-aarch32
>> --disk-image /home/khilji/gem5/m5/system/disks/linux-aarch32-ael.img
>> --dtb-filename /home/khilji/gem5/m5/system/dtb/armv7_gem5_v1_4cpu.dtb
>> --num-cpus=4 --cpu-type=timing --mem-size=128MB --numa-high-bit=128 --ruby
>> --num-dirs=4 --garnet-network=flexible --topology=Mesh --mesh-rows=2
>>
>> fatal: Port <orphan LinuxArmSystem>.ruby.dir_cntrl0.memory is already
>> connected to <orphan DDR3_1600_x64>.port, cannot connect <orphan
>> DDR3_1600_x64>.port.
>>
>> best regards,
>>
>> Muhammad Sharjeel Khilji
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> --
>
> Jason
>
> _______________________________________________
> gem5-users mailing list
> [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