Hi,
                I am trying to get Linux boot up in gem5 ARMv8 64 configuration 
with the "HPI" CPU model. Though I am able to successfully boot with 
num_cores=1 or AtomicSimpleCPU model and num_cores=8. The problem seems to be 
the combination of HPI/Minor etc with num_cores=2 or more. The kernel is 
hanging during various stages of the booting for each run.

I am using the Kernel and Disk Image located at : 
http://www.gem5.org/dist/current/arm/ 
aarch-system-20180409.tar.xz<http://www.gem5.org/dist/current/arm/aarch-system-20180409.tar.xz>
 (as well 
aarch-system-20170616.tar.xz<http://www.gem5.org/dist/current/arm/aarch-system-20170616.tar.xz>)

To solve the issue I have tried building my own kernel and boot loader image 
and the DTB file as mentioned in http://gem5.org/ARM_Kernel. However the same 
problem persists. I have tried various solutions mentioned in other thread 
chains and basically tried the following commands :

./build/ARM/gem5.opt configs/example/arm/starter_fs.py --cpu="hpi" 
--num-cores=2 --kernel=vmlinux.vexpress_gem5_v1_64 
--disk-image=/home/pchakra1/Workspace/Benchmarks/LinuxKernels/20180409/disks/linaro-minimal-aarch64.img
 
--dtb=/home/pchakra1/Workspace/PublicRepo/gem5/system/arm/dt/armv8_gem5_v1_2cpu.dtb


./build/ARM/gem5.opt configs/example/fs.py --kernel=vmlinux.vexpress_gem5_v1_64 
--cpu-type="HPI" -n 2 --caches --l2cache --machine-type=VExpress_GEM5_V1 
--param 'system.realview.gic.gem5_extensions = True' 
--dtb-file=/home/pchakra1/Workspace/Benchmarks/LinuxKernels/20180409/binaries/armv8_gem5_v1_8cpu.dtb
 
--disk-image=/home/pchakra1/Workspace/Benchmarks/LinuxKernels/20180409/disks/linaro-minimal-aarch64.img


Any pointers how to get around this will be highly appreciated. I do need the 
Performance CPU model for my studies.

Regards,
Prasenjit
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to