[gem5-users] Re: Ruby in Arm?

2021-05-10 Thread Giacomo Travaglini via gem5-users
Hi Adrian,

I don't know to be honest why this is happening in fs.py only.
In general, have you tried to recompile the gem5 bootloader or alternatively to 
download the latest precompiled version? [1]

Kind Regards

Giacomo

[1]: http://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries

> -Original Message-
> From: adrian via gem5-users 
> Sent: 09 May 2021 20:33
> To: gem5-users@gem5.org
> Cc: adrian.barre...@gmail.com
> Subject: [gem5-users] Re: Ruby in Arm?
>
> Hi Giacomo,
>
> Thanks for your response. I've managed to run the simulator with a single
> core. However, I cannot do the same with more than one.
> This is the command I use to boot.
>
> ./build/ARM/gem5.opt --outdir m5out/booted_machine_4
> configs/example/fs.py --kernel=binaries/vmlinux.arm64 --cpu-
> type=AtomicSimpleCPU --num-cpus=4 --mem-size=2GB --disk-image
> disks/gem5-ubuntu16.04-aarch64.img --script
> configs/boot/hack_back_ckpt.rcS
>
> I get the following message in the terminal:
>
> [0.048079] smp: Bringing up secondary CPUs ...
> [1.088619] CPU1: failed to come online
> [1.088622] CPU1: failed in unknown state : 0x0
> [2.145168] CPU2: failed to come online
> [2.145171] CPU2: failed in unknown state : 0x0
> [3.201716] CPU3: failed to come online
> [3.201719] CPU3: failed in unknown state : 0x0
> [3.201737] smp: Brought up 1 node, 1 CPU
>
> I do not get this error when using the fs_bigLITTLE.py file. My gem5 version 
> is
> 21.0.0.0. What could be happening?
>
> Thanks,
> Adrián
> ___
> gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an
> email to gem5-users-
> le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Ruby in Arm?

2021-05-09 Thread adrian via gem5-users
Hi Giacomo,

Thanks for your response. I've managed to run the simulator with a single core. 
However, I cannot do the same with more than one.
This is the command I use to boot.

./build/ARM/gem5.opt --outdir m5out/booted_machine_4 configs/example/fs.py 
--kernel=binaries/vmlinux.arm64 --cpu-type=AtomicSimpleCPU --num-cpus=4 
--mem-size=2GB --disk-image disks/gem5-ubuntu16.04-aarch64.img --script 
configs/boot/hack_back_ckpt.rcS

I get the following message in the terminal:

[0.048079] smp: Bringing up secondary CPUs ...
[1.088619] CPU1: failed to come online
[1.088622] CPU1: failed in unknown state : 0x0
[2.145168] CPU2: failed to come online
[2.145171] CPU2: failed in unknown state : 0x0
[3.201716] CPU3: failed to come online
[3.201719] CPU3: failed in unknown state : 0x0
[3.201737] smp: Brought up 1 node, 1 CPU

I do not get this error when using the fs_bigLITTLE.py file. My gem5 version is 
21.0.0.0. What could be happening? 

Thanks,
Adrián
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Ruby in Arm?

2021-05-07 Thread Giacomo Travaglini via gem5-users
Hi Adrian,

> -Original Message-
> From: adrian via gem5-users 
> Sent: 07 May 2021 09:36
> To: gem5-users@gem5.org
> Cc: adrian.barre...@gmail.com
> Subject: [gem5-users] Ruby in Arm?
>
> Hi guys,
>
> I've always used the classic memory model when running timing simulations
> using Arm, but I'd like to run some experiments using Ruby.
> I've seen some people using it and asking questions about it,  but my current
> version of gem5 shows this warning when enabling it:
>
> "warn: You are trying to use Ruby on ARM, which is not working properly
> yet."

That is a legacy warning from fs.py which has been removed in develop branch by:

https://gem5-review.googlesource.com/c/public/gem5/+/44509

And will be part of gem5 21.1

>
> Can anybody confirm me I can use it or how to properly use it?
>
> I'm employing this command:
>
> "./build/ARM/gem5.opt -d m5out/foo configs/example/fs.py --cpu-
> type=DerivO3CPU --ruby --num-cpus=4 --caches --l2cache --kernel
> binaries/vmlinux.arm64 --restore-with-cpu=DerivO3CPU --dtb
> binaries/armv8_gem5_v1_4cpu.dtb --mem-size=2GB --disk-image
> disks/gem5-ubuntu16.04-aarch64.img -r 1"

That seems a valid command line.
FYI I have added a simpler ARM ruby script in develop to use in lieu of fs.py:

configs/example/arm/ruby_fs.py

That will be also part of 21.1

Kind Regards

Giacomo

>
> Thanks a lot,
> Adrián
> ___
> gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an
> email to gem5-users-
> le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s