Re: [gem5-users] Reviewboard registration error

2015-02-12 Thread Ali Saidi via gem5-users
y before I fill any details. Thank you, -Rizwana On Thu, Feb 12, 2015 at 2:44 AM, Ali Saidi via gem5-users mailto:gem5-users@gem5.org>> wrote: I don’t see any errors and I’m able to create a new user. Have you tried a different user name? Different web browser? Thanks, Ali From: R

Re: [gem5-users] Reviewboard registration error

2015-02-11 Thread Ali Saidi via gem5-users
ailing list mailto:gem5-users@gem5.org>> Subject: Re: [gem5-users] Reviewboard registration error Hello Ali, No. It still gives the same error, and redirects to registration page. Thank you, -Rizwana On Wed, Feb 11, 2015 at 4:54 PM, Ali Saidi via gem5-users mailto:gem5-users@gem5.or

Re: [gem5-users] Reviewboard registration error

2015-02-11 Thread Ali Saidi via gem5-users
Try now? Thanks, Ali On 2/11/15, 11:36 AM, "Dave Werner via gem5-users" wrote: >Rizwana Begum via gem5-users gem5.org> writes: > >> >> Hello All, >> I am trying to register on review board, but end up with error "An >internal error occurred: 50EA8B0A168C0.A8CAE85.ED001888".I have been >tryin

Re: [gem5-users] Read cache hits and misses after 1000 instructions

2015-01-01 Thread Ali Saidi via gem5-users
You can dump the stats every 1000 instructions, but it will be quite slow. You can modify configs/common/Simulate.py to call m5.stats.dump() and m5.stats.reset() on every exit from the simulation loop which you can program with cpu.max_insts_any_thread. Ali > On Dec 31, 2014, at 3:37 AM, Kuma

Re: [gem5-users] How to enable a device

2014-11-28 Thread Ali Saidi via gem5-users
The hdlcd should be controlled by the kernel, not by a application as it won’t have a mapping for the physical addresses. If you download the latest kernels from the website they support the hdlcd. Ali On Nov 27, 2014, at 3:05 AM, via gem5-users wrote: > Hi,everyone: > > I would like to make

Re: [gem5-users] Having the Gem5 system without caches

2014-11-20 Thread Ali Saidi via gem5-users
If you haven't specified --caches there aren't any caches in the system. A configuration file the kernel is reading specifies caches exist for the kernels purposes, but there aren't any in the system. Ali On 20.11.2014 15:43, Thom Popovici via gem5-users wrote: > Hi! > > I would like to

Re: [gem5-users] how to update m5struct in vmlinux_2.6.27-gcc_4.3.4

2014-11-07 Thread Ali Saidi via gem5-users
You can take that one m5_struct.patch and apply it alone to the kernel you're trying to use. Ali On 07.11.2014 03:46, Sanem Arslan via gem5-users wrote: > Hi Anthony, > To apply these patches, should I follow the steps in the following > link? http://www.m5sim.org/Compiling_a_Linux_Kernel

Re: [gem5-users] Mounting second image FS

2014-11-07 Thread Ali Saidi via gem5-users
Hi George, there isn't a way built into the example configuration scripts to connect more than one disk image, but if you look for how the --disk-image (disk_image in the python files) is used you can see that the parameter is ultimately passed from fs.py into FSConfig.py which adds that disk

Re: [gem5-users] Instcount <=1500 failing for a single core full system simulation

2014-11-07 Thread Ali Saidi via gem5-users
Are you using the latest gem5 code? How long does it take for you to reach this issue? The issue is that these instructions have been created, but they haven't been deleted. This means that some resource in the pipeline is holding a reference to the instruction and it's not being deleted, the

Re: [gem5-users] Boot loader issue

2014-11-02 Thread Ali Saidi via gem5-users
It's also in the full system files tarball on the download page of the website. Ali Sent from my ARM powered mobile device > On Nov 2, 2014, at 9:34 AM, Guru Prasad via gem5-users > wrote: > > Go to /system/arm and run make > copy the output to /system/binaries/ > > >> On Sun, Nov 2, 2014

Re: [gem5-users] Problem of ARMv8 in gem5-mirror

2014-10-29 Thread Ali Saidi via gem5-users
The mirror is the current development repository not the stable repository. There was just a change in the development repository to switch to using PCI devices for the boot disk. Unfortunately there isn't really a good way to support both at once, but a new set of kernels is available on the ge

Re: [gem5-users] Installing OpenCV on ARM Image and running it on gem5

2014-10-29 Thread Ali Saidi via gem5-users
Do you have enough memory on your x86 machine? It will likely take quite a bit. Thanks, Ali On 29.10.2014 21:03, Urmish Ajit Thakker via gem5-users wrote: > Hi, > > I was wondering if anyone has tried to install opencv on the arm image > (armv7) provided in the repository? > > I was a

Re: [gem5-users] Phys reg 13 to 42 with no access!

2014-10-29 Thread Ali Saidi via gem5-users
Are you running in SE or FS mode? For 32-bit ARM code registers 16->32 are various shadow copies of registers for different interrupt/exception levels. Ali On 10/29/14, 10:56 AM, "Negar Miralaei via gem5-users" wrote: >Hi guys, > >I'm looking at integer register values/accesses at the Physica

Re: [gem5-users] Fixed repeat-switch bugs

2014-10-24 Thread Ali Saidi via gem5-users
Hi Alberto, Yes it would be great if we could have these fixes. Would you mind posting them to our review board (reviews.gem5.org)? With the public/private change below it would probably be best if you added an accessor methods isLoadStoreBlocked() that was public but left the variables them

Re: [gem5-users] Enabling --dual for ARM on Gem5

2014-10-21 Thread Ali Saidi via gem5-users
You need to use the ‹machine-type=VExpress_EMM and the Vexpress kernel from the website. Thanks, Ali On 10/20/14, 6:44 PM, "Ramanan Sivasundaram via gem5-users" wrote: >Has anybody got the --dual args working for ARM on gem5? When I try to run >build/ARM/gem5.opt configs/example/fs.py >--disk-

Re: [gem5-users] [ARM] Interrupt handling

2014-10-09 Thread Ali Saidi via gem5-users
and implemented it earlier. However, I realized after implementing it that this solution would lead to system calls being unaccounted for, right? On Thu, Oct 9, 2014 at 2:35 PM, Ali Saidi via gem5-users mailto:gem5-users@gem5.org>> wrote: The easiest way to do this is probably to only count instr

Re: [gem5-users] [ARM] Interrupt handling

2014-10-09 Thread Ali Saidi via gem5-users
The easiest way to do this is probably to only count instructions when InUserMode() is true. You could wrap the stat accounting function in this in the o3 commit stage and that would probably solve your problem instead of trying to cache all sources of interrupts. Ali From: Guru Prasad via gem

Re: [gem5-users] Cannot Compile Gem5 on MacOS Version 10.9.4

2014-09-25 Thread Ali Saidi via gem5-users
I think you’re running an older version of gem5. WE’ve recently fixed some of these issues in the tip of the development repository. Ali From: Khaled Mahmoud via gem5-users mailto:gem5-users@gem5.org>> Reply-To: Khaled Mahmoud mailto:khaledi...@yahoo.com>>, gem5 users mailing list mailto:gem5

Re: [gem5-users] Running Assembly code on ARM SE mode

2014-09-17 Thread Ali Saidi via gem5-users
You can run assembly code, but you’ll need to compile it. Something like the following will compile with gcc. It uses both ARM and Thumb code. .text .syntax unified .globl _start .arm _start: start: mov r0, #0x1 mov r1, #0 blx loop .thumb .align 7 loop: add r2, r1, #1 su

Re: [gem5-users] ARMv8 Client-Server configuration

2014-09-15 Thread Ali Saidi via gem5-users
dual-test configs/example/fs.py > --machine-type=VExpress_EMM64 > --kernel=..path../linux-aarch64-gem5-4003908/vmlinux > --dtb-filename=..path../rtsm_ve-aemv8a-5core.dtb --mem-size=4GB > --cpu-type=atomic --cpu-clock=2GHz --dual > > What am I missing? > > Thanks, >

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-28 Thread Ali Saidi via gem5-users
hot;h=400390889828685d432d38406cbd9c7afceeaa15;sf=tgz"; -O linux-aarch64-gem5.tgz tar zxvf linux-aarch64-gem5.tgz cd linux-aarch64-gem5-4003908 make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- gem5_defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- -j4 Thanks, Ali From: Ali Saidi via gem5-users m

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-23 Thread Ali Saidi via gem5-users
You’re not going to have any support for PCIe device with that kernel. We’re working on the last bit of debugging and polishing around a kernel that will support it — I intended to have it out 2 weeks ago, but we’re still diligently working and it should be out in the next couple of days. Ali

Re: [gem5-users] Full system simulation in AMP mode

2014-08-23 Thread Ali Saidi via gem5-users
You’d have to add some support to gem5 to segment off a piece of memory for the AMP and load some code for it to run. Right now all cores jump into a boot loader where they all spin except cpu0 which boots linux. When linux is ready to bring up the other cores it sends them an interrupt and they

Re: [gem5-users] m5 ops

2014-08-19 Thread Ali Saidi via gem5-users
Did you build the jni with the exact same version of java you're using to run the program? also, if you run with the jni outside of gem5 I'd expect to see a fault of some kind. Thanks, Ali On 19.08.2014 11:02, jerry yin via gem5-users wrote: > Hi all, > > I'm following gem5 document st

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-08 Thread Ali Saidi via gem5-users
Hi Ivan, The kernel that you’re using and the currently gem5 don’t support pci devices with arm64. I hope to remedy this within a week. Thanks, Ali On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users wrote: > Hi everyone, > > I am trying to run a client-server setup using arm64. I am usi

Re: [gem5-users] DaCapo benchmarks

2014-07-31 Thread Ali Saidi via gem5-users
softfp means that fp arguments are passed in integer registers while hardfp means that fp registers are used to pass fp arguments. They're two different ABIs the prior allowing for a single binary to run on systems with and without an FPU and the latter requiring an FPU because the registers are

Re: [gem5-users] ARM compiler flags

2014-07-25 Thread Ali Saidi via gem5-users
I'm not sure what issue you're having, but based on your command line it looks like you're using quite an old version of gem5 (2.5+ years old). There are certainly some bugs that have been fixed in the intervening time. Here is my attempt to reproduce your problem on a new version of gem5. You

Re: [gem5-users] gem5-users Digest, Vol 96, Issue 17

2014-07-24 Thread Ali Saidi via gem5-users
This shouldn't make a difference. On 23.07.2014 14:57, Namitha Krishna via gem5-users wrote: > Hello Senni Sophianne, > > To configure gem5 according to parameters mentioned in O3_ARM_v7a.py file you > need to first type on the command line : > > build/ARM/gem5.opt configs/common/O3_ARM

Re: [gem5-users] Wrong decoding of instructions

2014-07-20 Thread Ali Saidi via gem5-users
Why don’t you compare the un-modified trace (with —debug-flags=Exec) to the modified one? Ali On Jul 20, 2014, at 11:06 AM, Vanchinathan Venkataramani via gem5-users wrote: > I'm trying to execute a binary on ARM gem5 O3CPU model. I made some > modification to the code. > > Now, some instru

Re: [gem5-users] Read error, exit

2014-07-06 Thread Ali Saidi via gem5-users
We’ll need a better description than that to help. What is printing read error? The benchmarks or the simulator? Ali On Jul 5, 2014, at 4:56 PM, Qi Jia via gem5-users wrote: > Hi all, > > I am trying to add some kind of victim cache in gem5, but when I run the > benchmark(e.g. mcf), someti

Re: [gem5-users] [Tracing] General Information regarding trace flags

2014-06-30 Thread Ali Saidi via gem5-users
src/cpu/exectrace.* Ali On Jun 29, 2014, at 10:16 PM, Sudarshan L Sargur via gem5-users wrote: > Greetings fellow Gem5 users, > > I'm just starting off with using Gem5 for one of my research projects. > > I want to use the built in tracing capabilities of Gem5. > > I used the 'Exec' comp

Re: [gem5-users] A problem with running a full ARM system simulation

2014-06-29 Thread Ali Saidi via gem5-users
It seems to work for me from the latest gem5 repository: $./build/ARM/gem5.opt configs/example/fs.py --machine-type=VExpress_EMM --kernel=/home/ali/gem5/vmlinux-3.3-arm-vexpress-emm-pcie gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details

Re: [gem5-users] Trying to use more than 2GB or RAM

2014-06-29 Thread Ali Saidi via gem5-users
Hi, If you want to simulate more RAM on an ARMv8 system you'll need to do something like the following: 1. Modify the address map definition in gem5 src/dev/arm/RealView.py. diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/Re

Re: [gem5-users] A problem with running a full ARM system simulation

2014-06-28 Thread Ali Saidi via gem5-users
That kernel is a 32-bit kernel so you can only use the 32-bit files sytem (not the 64-bit one). What command line are you running? What does the system.terminal output file show? Are you specifying the correct machine type on the command line? Thanks, Ali On Jun 28, 2014, at 2:52 AM, Besta Mac

Re: [gem5-users] A new branch prediction with gem5

2014-06-24 Thread Ali Saidi via gem5-users
Speaking of, could you address the two comments on the patch so we can get it committed? Thanks, Ali On 24.06.2014 09:34, Anthony Gutierrez via gem5-users wrote: > Sorry. Forgot the link. > > http://reviews.gem5.org/r/2174/ [1] > > Anthony Gutierrez > http://web.eecs.umich.edu/~atgu

Re: [gem5-users] Fwd: Re: Running benchmark with memory greater than 256MB

2014-06-10 Thread Ali Saidi via gem5-users
You shouldn't need to change the android file-system but the kernel will need to change as the one on gem5.org doesn't support android. We're trying to get a git where we can put known working kernels. Hopefully this will happen within the end of the week but if not it should be done within two.

Re: [gem5-users] Page fault panic when running m5threads tests in gem5 ARM SE

2014-06-06 Thread Ali Saidi via gem5-users
If you use gcc 4.2 (or at least libc from back then) it will work. I’m not sure why it doesn’t work with a newer libc, but it’s something to do with the exit functions and getting the wrong value. Ali On Jun 2, 2014, at 12:39 PM, Ali Saidi via gem5-users wrote: > Yea, it looks l

Re: [gem5-users] Running benchmark with memory greater than 256MB

2014-06-03 Thread Ali Saidi via gem5-users
You'll need to use the VEMM ARM platform instead of the default. If you do that you can then use 2047MB of RAM. Ali On 31.05.2014 01:18, Vishaal Mohan via gem5-users wrote: > Hello, > I am trying to run bbench on an ARM platform with an Android ICS image. If I > try to use memory size gr

Re: [gem5-users] GEM5 maximum disk size limit

2014-06-03 Thread Ali Saidi via gem5-users
It should work just fine. See https://www.mail-archive.com/gem5-users@gem5.org/msg09928.html for an example for how to create a larger disk image. Ali On 30.05.2014 06:16, Ahmad Hassan via gem5-users wrote: > Hi, > > gem5img.py utility in gem5 only allows creating disk images up to 7.8GB

Re: [gem5-users] Page fault panic when running m5threads tests in gem5 ARM SE

2014-06-02 Thread Ali Saidi via gem5-users
Yea, it looks like something changed, perhaps the definition of some of the structures have changed since the code was written. It looks like it's happening when the thread is about to exit, and the the wrong address is being jumped too. You might try an older version of gcc and see if it works

Re: [gem5-users] Page fault panic when running m5threads tests in gem5 ARM SE

2014-05-30 Thread Ali Saidi via gem5-users
What test are you running? Ali On 30.05.2014 10:35, Jack Harvard via gem5-users wrote: > To add, x86 SE runs fine > Jack Harvard > > On Fri, May 30, 2014 at 4:21 PM, Jack Harvard wrote: > >> Did the same as this >> http://lacasa.uah.edu/portal/Upload/tutorials/gem5/RunningPrograms-gem5

Re: [gem5-users] Trying to use more than 2GB or RAM

2014-05-26 Thread Ali Saidi via gem5-users
For ARMv7 you can only really use 2047MB of RAM with the memory map we have in the simulator. It would be possible to use more with the LPAE extensions we recently implemented, but it would certainly required some work on your part to define a new memory map and modify a dtb file appropriately.

Re: [gem5-users] Splash2 error: cannot execute binary file

2014-05-26 Thread Ali Saidi via gem5-users
The binary you’re trying to run isn’t likely compiled for the alpha architecture, but rather a different one. You much use the same architecture and binary format. Ali On May 26, 2014, at 9:29 AM, sahar via gem5-users wrote: > I have problem with running splash2 on gem5 simulator . I use th

Re: [gem5-users] Building a 32-bit Linux disk image for hardfloat ABI compiled binaries

2014-05-17 Thread Ali Saidi via gem5-users
You can run cfdisk (or fdisk) on the image and see what it says. $ fdisk my.img Command (m for help): p Disk my.img: 536 MB, 536739840 bytes 16 heads, 63 sectors/track, 1040 cylinders, total 1048320 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512

Re: [gem5-users] Building a 32-bit Linux disk image for hardfloat ABI compiled binaries

2014-05-16 Thread Ali Saidi via gem5-users
Seems like maybe the partition time isn't set to Linux (83)? Ali On 16.05.2014 10:37, Kiyeon Lee via gem5-users wrote: > Hi. > > I need a 32-bit Linux disk image for hardfloat ABI compiled ARM binaries. > The pre-built disk images provided by the gem5 website > (http://www.gem5.org/dis

Re: [gem5-users] Page table fault when accessing virtual address 0x98

2014-05-08 Thread Ali Saidi via gem5-users
--debug-flags=Exec --debug-start= Ali On 08.05.2014 02:13, jiakunli2010 via gem5-users wrote: > Thanks for the reply. But I don't know how to get to the trace around the > warning lines. (only the terminated tick printed) How to find the tick at > which warning appears? > > jiakunli201

Re: [gem5-users] error after add a cache replacement

2014-05-07 Thread Ali Saidi via gem5-users
Perhaps there is some bad data in the srcMasterId? The master Ids are allocated at the beginning of simulation and the error you're seeing is that a master ID was either allocated after this or is junk. Each master id uniquely identifies every device in the system that can generate a packet. A

Re: [gem5-users] Prefetcher Simulation halted

2014-05-07 Thread Ali Saidi via gem5-users
There have been a couple of bugs with the prefetcher. Are you using the latest version of gem5? This patch may help: http://reviews.gem5.org/r/2242/ Ali On 07.05.2014 02:08, Prasanth Nunna via gem5-users wrote: > Dear gem5-users, > > I have designed a new prefetcher and I have run it on g

Re: [gem5-users] Page table fault when accessing virtual address 0x98

2014-05-07 Thread Ali Saidi via gem5-users
The page fault you're seeing below is what you would see on a normal system as a segmentation fault. You're likely referencing a null pointer plus some offset. You need to look at a trace of the instructions and memory system, see how that address is generated and assuming it's the problem I men

Re: [gem5-users] Problem trying to execute a 12 core ARMv8

2014-05-05 Thread Ali Saidi via gem5-users
You can modify the current gic model to support more cores (and the associated linux driver). Similarly, it's simply a question of changing the memory map in the dtb file if you'd like more than 2GB of ram. Ali On 05.05.2014 11:46, Embedded Systems MadHatter via gem5-users wrote: > Thanks,