Discussion:
[gem5-users] ARM big.LITTLE
Felipe Rocha da Rosa
2016-08-14 17:20:43 UTC
Permalink
Hi everyone,
I saw a commit form 3 weeks ago "arm, config: Add an example ARM big.LITTLE(tm) configuration script" and tried to run it.I create the armv8_gem5_v1_big_little_2_2.dtb and compiled the vmlinux for the kernel 4.3 as instructed here:
http://www.gem5.org/ARM_Linux_Kernel
I use this command line:./build/ARM/gem5.opt ./configs/example/arm/fs_bigLITTLE.py --disk /aarch-system-2014-10/disks/aarch64-ubuntu-trusty-headless.img --kernel /linux-arm-gem5/vmlinux --atomic
Everything works until I reach panic: could not open file bootscript.rcS @ tick 6355643953500I suppose that I have an incorrect version of the Linux image where this file was not included. I would like to know where I can download the correct image.Thank you very much.
Best regards,
Felipe Rocha da Rosa
Jason Lowe-Power
2016-08-15 16:56:02 UTC
Permalink
Hi Felipe,

I'm not super familiar with the ARM model (and these weird dtb files), but
I believe the rcS file that the simulator is looking for is actually on the
host. This somewhat describes how FS simualation works:
http://gem5.org/Running_gem5#Basic_Operation. The rcS file is a script
which is stored on the host, but executed on the simulated system.

Jason

On Sun, Aug 14, 2016 at 12:20 PM Felipe Rocha da Rosa <
Post by Felipe Rocha da Rosa
Hi everyone,
I saw a commit form 3 weeks ago "arm, config: Add an example ARM
big.LITTLE(tm) configuration script" and tried to run it.
I create the armv8_gem5_v1_big_little_2_2.dtb and compiled the vmlinux
http://www.gem5.org/ARM_Linux_Kernel
./build/ARM/gem5.opt ./configs/example/arm/fs_bigLITTLE.py --disk
/aarch-system-2014-10/disks/aarch64-ubuntu-trusty-headless.img --kernel
/linux-arm-gem5/vmlinux --atomic
Everything works until I reach
panic: could not open file bootscript.rcS
@ tick 6355643953500
I suppose that I have an incorrect version of the Linux image where this
file was not included. I would like to know where I can download the
correct image.
Thank you very much.
Best regards,
Felipe Rocha da Rosa
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Ciro Santilli
2018-06-17 10:07:19 UTC
Permalink
bootscript.rcS is the default m5 readfile file that fs_bigLITTLE.py sets at:

https://github.com/gem5/gem5/blob/05c4c2b566ce351ab217b2bd7035562aa7a76570/configs/example/arm/fs_bigLITTLE.py#L64

panic: could not open file is just the default message that gem5 gives when that file is not found.

So, you either need to create that file, or better, point to the right one, or a dummy empty one, with:

--bootscript myreadfile

Loading...