From mboxrd@z Thu Jan 1 00:00:00 1970 From: XiaoGuang Wang Subject: Re: Problems in running XenARM on Cortex-A15 Fast Models Date: Thu, 19 Sep 2013 10:56:37 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1475045810144954949==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1475045810144954949== Content-Type: multipart/alternative; boundary=089e013c69c0c5e31604e6bdc214 --089e013c69c0c5e31604e6bdc214 Content-Type: text/plain; charset=ISO-8859-1 Thanks Stefano, I just cannot see the four x-term windows. And when I try to telnet port 5000, it will halt: xiaoguang@dophine:~/works/arm/linux$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. I can run a linux kernel on this Fast Model with *a x-term window *appears. And I followed this manual: www.virtualopensystems.com/media/*kvm* -resources/*kvm*-*arm*-*guide*.pdf So I don't know why I cannot bring up x-term windows when I start xen on fast models. Normally, will it start x-term windows if I do the command like: model_shell FastModels/FastModelsPortfolio_7.0/examples/RTSM_VE/Build_Cortex-A15x1/Linux64-Release-GCC-4.1/ cadi_system_Linux64-Release-GCC-4.1.so xen.git/xen/xen.axp Thanks! Sincerely, Xiaoguang 2013/9/19 Stefano Stabellini > CC'ing xen-devel > > On Wed, 18 Sep 2013, XiaoGuang Wang wrote: > > Hi Stefano, > > > > Sorry to bother you. I'm a phd student at Florida State University, and > I plan to do some research work on xen for arm. But I > > think I may have trouble in running xen-ARM on Cortext-A15 Fast Models. > Here is what I do with a step by step procedure: > > > > First, I download Xen-4.4 and compile Xen with the following command: > > xiaoguang@dophine:~/works/xen-4.4$ > CONFIG_DTB_FILE=/home/xiaoguang/works/xen-4.4/vexpress-v2p-ca15-tc1.dtb > make -C xen > > XEN_TARGET_ARCH=arm32 CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- > > > > And I get xen, xen.axf in xen/ folder. > > > > Next, I compile Linux dom0 kernel with the following command: > > xiaoguang@dophine:~/works/arm/xen/linux$ curl > http://xenbits.xen.org/people/sstabellini/config > .config > > xiaoguang@dophine:~/works/arm/xen/linux$ > CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm make menuconfig > > xiaoguang@dophine:~/works/arm/xen/linux$ > CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm make > > > > Finally, I run xen on ARM fast models: > > xiaoguang@dophine:~/works$ > model_shell~/ARM/FastModelsPortfolio_8.2/examples/FVP_VE/Build_Cortex-A15x1/Linux64-Release-GCC-4.4/ > cadi_system_Linux64-Release-GCC-4.4.so > > xen-4.4/xen/xen.axf -C > motherboard.flashloader0.fname=/home/xiaoguang/works/arm/xen/linux/arch/arm/boot/zImage > > terminal_0: Listening for serial connection on port 5000 > > terminal_1: Listening for serial connection on port 5001 > > terminal_2: Listening for serial connection on port 5002 > > terminal_3: Listening for serial connection on port 5003 > > WARNING: motherboard.mmc: MMC backing store file mmc.dat could not be > used > > INFO: motherboard.mmc backing store: no image file connected > > INFO: motherboard.flashloader0: FlashLoader: Loaded 2314 kB from file > '/home/xiaoguang/works/arm/xen/linux/arch/arm/boot/zImage' > > Simulation is started > > > > > > But there is only a small "Fast Models - CLCD" window appeared and no > any other windows (Xen and Linux concole). So is there > > something wrong with my compilation and installation? Thank you! > > The command above should bring up four x-term windows. > Did you try to connect to port 5000 via telnet? > > telnet 127.0.0.1 5000 > --089e013c69c0c5e31604e6bdc214 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks Stefano,

I just cannot see the f= our x-term windows. And when I try to telnet port 5000, it will halt:
=
xiaoguang@dophine:~/works/arm/linux$ telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape= character is '^]'.

I can run a linu= x kernel on this Fast Model with a x-term window=A0appears. A= nd I followed this manual:=A0www.virt= ualopensystems.com/media/kvm-resources/kvm-arm-= guide.pdf

So I don't know why I cannot bring up x-term window= s when I start xen on fast models. Normally, will it start x-term windows i= f I do the command like:=A0
model_shell FastModels/FastModelsPort= folio_7.0/examples/RTSM_VE/Build_Cortex-A15x1/Linux64-Release-GCC-4.1/cadi= _system_Linux64-Release-GCC-4.1.so xen.git/xen/xen.axp

Thanks!

Sincerely,
=
Xiaoguang


2013/9/19 Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC'ing xen-devel

On Wed, 18 Sep 2013, XiaoGuang Wang wrote:
> Hi Stefano,
>
> Sorry to bother you. I'm a phd student at Florida State University= , and I plan to do some research work on xen for arm. But I
> think I may have trouble in running xen-ARM on Cortext-A15 Fast Models= . Here is what I do with a step by step procedure:
>
> First, I download Xen-4.4 and compile Xen with the following command:<= br> > xiaoguang@dophine:~/works/xen-4.4$ CONFIG_DTB_FILE=3D/home/xiaoguang/w= orks/xen-4.4/vexpress-v2p-ca15-tc1.dtb make -C xen
> XEN_TARGET_ARCH=3Darm32 CROSS_COMPILE=3D/usr/bin/arm-linux-gnueabi- >
> And I get xen, xen.axf in xen/ folder.
>
> Next, I compile Linux dom0 kernel with the following command:
> xiaoguang@dophine:~/works/arm/xen/linux$ curl http://xenbits.xen.o= rg/people/sstabellini/config > .config
> xiaoguang@dophine:~/works/arm/xen/linux$ CROSS_COMPILE=3Darm-linux-gnu= eabi- ARCH=3Darm make menuconfig
> xiaoguang@dophine:~/works/arm/xen/linux$ CROSS_COMPILE=3Darm-linux-gnu= eabi- ARCH=3Darm make
>
> Finally, I run xen on ARM fast models:
> xiaoguang@dophine:~/works$ model_shell~/ARM/FastModelsPortfolio_8.2/ex= amples/FVP_VE/Build_Cortex-A15x1/Linux64-Release-GCC-4.4/cadi_system_Linux= 64-Release-GCC-4.4.so
> xen-4.4/xen/xen.axf -C motherboard.flashloader0.fname=3D/home/xiaoguan= g/works/arm/xen/linux/arch/arm/boot/zImage
> terminal_0: Listening for serial connection on port 5000
> terminal_1: Listening for serial connection on port 5001
> terminal_2: Listening for serial connection on port 5002
> terminal_3: Listening for serial connection on port 5003
> WARNING: motherboard.mmc: MMC backing store file mmc.dat could not be = used
> INFO: motherboard.mmc backing store: no image file connected
> INFO: motherboard.flashloader0: FlashLoader: Loaded 2314 kB from file = '/home/xiaoguang/works/arm/xen/linux/arch/arm/boot/zImage'
> Simulation is started
>
>
> But there is only a small "Fast Models - CLCD" window appear= ed and no any other windows (Xen and Linux concole). So is there
> something wrong with my compilation and installation? Thank you!

The command above should bring up four x-term windows.
Did you try to connect to port 5000 via telnet?

telnet 127.0.0.1 5000

--089e013c69c0c5e31604e6bdc214-- --===============1475045810144954949== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1475045810144954949==--