Hello Sahana,

If you don't absolutely need Ubuntu, I also have highly automated Buildroot 
setup at: 
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/6b099ebd82c81a093922cda6ab5385e86238ec54#gem5



________________________________
From: gem5-users <gem5-users-boun...@gem5.org> on behalf of Sahana Prasad 
<sahana.prasa...@gmail.com>
Sent: Friday, March 2, 2018 10:26:30 AM
To: gem5-users@gem5.org; ja...@lowepower.com; rsvaru...@gmail.com
Cc: Sepulveda Florez, Martha Johanna
Subject: [gem5-users] Gem5 full system simulation on ARM


Hello,


I am trying to build the full system simulation on ARM using 
arm-ubuntu-natty-headless.img

on 14.04.1-Ubuntu


followed the instructions on this video :


https://www.youtube.com/watch?v=gd_DtxQD5kc&t=208s


I have set the path variable.


ga87fev@TUEISEC-Stu04:~/gem5$ echo $M5_PATH

/home/ga87fev/gem5/full_system_images/


and have these files in place at binaries and disks :


ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ ls

binaries  disks

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images$ cd binaries/

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ ls

boot.arm        configs                                       
vexpress.aarch32.ll_20131205.0-gem5.4cpu.dtb  vmlinux.aarch64.20140821

boot_emm.arm    vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb  
vexpress.aarch64.20140821.dtb                 vmlinux.arm.smp.fb.2.6.38.8

boot_emm.arm64  vexpress.aarch32.ll_20131205.0-gem5.2cpu.dtb  
vmlinux.aarch32.ll_20131205.0-gem5

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/binaries$ cd ../disks/

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$ ls

arm-ubuntu-natty-headless.img  linux-arm-ael.img

ga87fev@TUEISEC-Stu04:~/gem5/full_system_images/disks$


I am trying to run the following command and it fails.


ga87fev@TUEISEC-Stu04:~/gem5$ ./build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/ga87fev/gem5/full_system_images/disks/arm-ubuntu-natty-headless.img


gem5 Simulator System.  http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled Jan 28 2018 13:39:34

gem5 started Mar  2 2018 11:11:13

gem5 executing on TUEISEC-Stu04, pid 13451

command line: ./build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/ga87fev/gem5/full_system_images/disks/arm-ubuntu-natty-headless.img


Global frequency set at 1000000000000 ticks per second

Fontconfig warning: ignoring UTF-8: not a valid region tag


Fontconfig warning: ignoring UTF-8: not a valid region tag


warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)

panic: panic condition sz != 2 occurred: Couldn't read magic bytes from object 
file

Memory Usage: 761656 KBytes

Program aborted at tick 0

Aborted



Could you please help me solve this error?


Once this works, I want to try the inbuilt benchmarks.


Thank you for your help.


Regards,

Sahana Prasad



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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to