Hi Andreas:

Thank you for your advice,I specified the DTB file to run in the FS mode and
it worked well for me.

Now I’m trying to make the I/O device work in the FS mode,such as the
hdlcd.According to Ali Saidi,
(http://www.mail-archive.com/[email protected]/msg10976.html),the hdlcd
should be controlled by the kernel ,and the latest kernels support the
hdlcd.

So I run gem5 in the FS mode with the latest kernels,the command line I use
is as follows:

./build/ARM/gem5.opt configs/example/fs.py
--kernel=vmlinux.aarch32.ll_20131205.0-gem5 --disk=linux-aarch32-ael.img

--mem-size=512MB --machine-type=VExpress_EMM
--dtb-filename=vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb

The result is as follows:

gem5 Simulator System.http://gem5.org

…

71658264500:system.terminal:attach terminal 0

Terminal

./util/term/m5term 127.0.0.1 3456

====m5 slave terminal:Terminal 0====

…

Starting Pid 673,tty “:’/etc/rc.d/rc.local’

Warning:can’t open /etc/mtab:No such file or directory

Thu Jan 1 00:00:02 UTC 2009

S:devpts

Thu Jan 1 00:00:02 UTC 2009

Starting pid 694,tty’’:’/sbin/getty �CL ttySA0 38400 vt100’

AEL login:

 

I entered the login password:root and then it shows a list of built-in
commands.

But I still don’t know how to use the kernel to enable and control the
hdlcd.I think if an I/O device works,its read() or write() function should
be called.

So I would appreciate any advice how to solve the problem you give me.

Thank you

 

 

Ran Luo

 

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to