I'm trying to set up full system emulation with aarch64. I can't use any SVE 
instructions for my purposes so I've had to compile my own kernel with 
'KCFLAGS=-march=armv8-a+nosve KCPPFLAGS=-march=armv8-a+nosve' set. I compiled 
the bootloader from 'gem5/system/arm/bootloader' with SVE disabled as well, and 
downloaded the ubuntu docker disk image from the guest binaries page.

When I launch the system in gem5 it hangs. Using example/fs.py gives no output 
to system.terminal in m5out, while using example/arm/fs_bigLITTLE.py gives just 
the following output and nothing else:

> [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd070]
> [ 0.000000] Linux version 5.4.0 (l50031074@taishan2280cputeam) (gcc version 
> 9.5.0 (Ubuntu 9.5.0-1ubuntu1~22.04)) #1 SMP PREEMPT Thu Apr 27 21:37:57 UTC 
> 2023
> [ 0.000000] Machine model: V2P-CA15
> [ 0.000000] earlycon: pl11 at MMIO 0x000000001c090000 (options '')
> [ 0.000000] printk: bootconsole [pl11] enabled
> [ 0.000000] Memory limited to 51200MB
> [ 0.000000] cma: Reserved 16 MiB at 0x00000000ff000000

I've tried this with multiple kernel versions, with and without the gem5 
patches.

The command I'm using is:

> sudo -E ./build/ARM/gem5.fast configs/example/arm/fs_bigLITTLE.py --caches 
> --cpu-type=atomic --mem-size=50GB --kernel=$M5_PATH/binaries/vmlinux 
> --disk=ubuntu-18.04-arm64-docker.img --bootloader=$M5_PATH/binaries/boot.arm64

Can anyone please help me figure out what I'm doing wrong?

Sent with [Proton Mail](https://proton.me/) secure email.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to