Hi,

You should trying connecting to your guest running in gem5 with m5term. You
can compile m5term by going to the gem5/util/term directory and typing
"make". Then, after you run gem5, you can connect to the guest by using
"m5term localhost 3456". Note: the port may change if it's already in use.
You can see what port the terminal is listening on in the gem5 stdout after
the first 10-15 lines or so.

You can also use this to test to make sure your script is doing what you
expect. If you run gem5 without a script, you can just type your commands
in the terminal.

Hope this helps.

Jason

On Thu, Jun 30, 2016 at 10:44 AM Vanchinathan Venkataramani <
[email protected]> wrote:

> Hi Jason
>
> I cannot see the output in system.terminal file. I am using the latest
> gem5 version.
>
> Best regards
> V Vanchinathan
>
> On Thu, Jun 30, 2016 at 10:03 PM, Jason Lowe-Power <[email protected]>
> wrote:
>
>> Hello,
>>
>> These are not printed to stdout in full system mode, but are saved in the
>> terminal file (something like system.pc.com_1.terminal). You can also see
>> the terminal output if you telnet into the guest system (e.g., using m5term
>> in gem5/util/term).
>>
>> Cheers,
>> Jason
>>
>> On Thu, Jun 30, 2016 at 4:48 AM Vanchinathan Venkataramani <
>> [email protected]> wrote:
>>
>>> Hi all
>>>
>>> I am currently running Linux 4.3 for ARM64. Any commands in rcS using
>>> echo or printf in programs do not get printed.
>>>
>>> Is there some flag in the kernel or gem5 that I need to set for enabling
>>> these prints?
>>>
>>> Any help is really appreciated.
>>>
>>> Best regards
>>> V Vanchinathan
>>>
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to