[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Problems in running XenARM on Cortex-A15 Fast Models



2013/9/20 Ian Campbell <ian.campbell@xxxxxxxxxx>

>
> I compile it like this, but there still only a "Fast Models - CLCD"
> windows appear.
> $ make dist-xen XEN_TARGET_ARCH=arm32
> CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
> CONFIG_EARLY_PRINTK=fastmodel
> CONFIG_DTB_FILE=/home/xiaoguang/works/arm/xen/vexpress-v2p-ca15-tc1.dtb
>
>
> And I run xen with the following command:
> $ 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.3.0/xen/xen -C motherboard.flashloader0.fname=zImage

I'm close to being out of ideas.

Did you build this model yourself? Does it have a pl011 UART at physical
address 0x1c090000?

Hi Ian. How can see the pl011 UART? In the window after I type "sgcanvas FVP_VE_Cortex-A15x1.sgproj"?

I built the model like this:
xiaoguang@dophine:~/ARM/FastModelsPortfolio_8.2/examples/FVP_VE/Build_Cortex-A15x1$ sgcanvas FVP_VE_Cortex-A15x1.sgproj
And then build.
The building log shows:
--------------------------------------------------------------------
Model Build process completed successfully.
--------------------------------------------------------------------

I can run a linux in this Fast Model following the instructions in this guide: www.virtualopensystems.com/media/kvm-resources/kvm-arm-guide.pdf

The command to run linux like:
$ 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 -C motherboard.smsc_91c111.enabled=1 -C motherboard.hostbridge.userNetworking=1 -C cluster.cpu0.semihosting-cmd_line="--kernel linux/arch/arm/boot/zImage --dtb vexpress-v2p-ca15-tc1.dtb -- earlyprintk console=ttyAMA0 mem=2048M root=/dev/nfs nfsroot=192.158.1.15:/home/xiaoguang/nfsroot/ rw ip=dhcp" boot-wrapper/linux-system-semi.axf

So I'm wondering if I have to build a boot loader? Or if I have sth. wrong to build a correct xen image?

Next step would be to run the model in modeldebugger instead of
model_shell and see where it is going wrong.

I think I have to read the modeldebugger manual first. 
Ian.

Thanks!
Sincerely,
Xiaoguang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.