[gem5-users] pause while running on riscv

2018-04-15 Thread IL Ne
Hello,
I wrote a c++ file, and compile it by using riscv-g++ with -std=c++11
This program involves file stream.
While running by gem5, the process will pause.
I check insts with debug flags, finding that output paused at somewhere
like this below:

34489000: system.cpu T0 : @_read: c_addi sp, sp, -16 : IntAlu
:  D=0x7a30
34489500: system.cpu T0 : @_read+2: c_sdsp ra, 8(sp)   :
MemWrite :  D=0x00077726 A=0x7a38
3449: system.cpu T0 : @_read+4: c_sdsp s0, 0(sp)   :
MemWrite :  D=0x000b6000 A=0x7a30
34490500: system.cpu T0 : @_read+6: c_li a3, zero, 0   : IntAlu
:  D=0x
34491000: system.cpu T0 : @_read+8: c_li a4, zero, 0   : IntAlu
:  D=0x
34491500: system.cpu T0 : @_read+10: c_li a5, zero, 0   :
IntAlu :  D=0x
34492500: system.cpu T0 : @_read+12: addi a7, zero, 63  :
IntAlu :  D=0x003f
34493500: system.cpu T0 : @_read+16: ecall  :
No_OpClass :


Type enter and it will run agian, but stop at the same instruction: ecall

Have anyone ever met this situation?  Could you tell me how to solve this
problem?

Thanks.
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] [gem5/gem5] "end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0, 0)" on fs_bigLITTLE.py

2018-04-15 Thread Hadouda Ali
hello;

I run the linux kernel for armv8 in gem5 on fs_big.LITTLE mode, I used the
following command:

*./build/ARM/gem5.opt configs / example / arm / fs_bigLITTLE.py --cache
--kernel = / media / ali / ali / gem5 / linux-arm64-gem5-gem5 / vmlinux
--dtb = / media / ali / ali / gem5 / system / arm / dt /
armv8_gem5_v1_big_little_2_2.dtb --disk = / media / ali / ali / gem5 /
fs_armv8 / disks / aarch64-ubuntu-trusty-headless.img --bootscript = /
media / ali / ali / GEM5 / system / arm / aarch64_bootloader /
boot_emm.arm64*

I found this problem:
*end Kernel panic - not syncing: VFS: Unable to mount root on unknown-block
(0,0)*

but when i run with fs mode it works.


thanks;
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users