[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Problems when creating domU on OMAP5
On Sep 18, 2013, at 10:48 PM, Julien Grall <julien.grall@xxxxxxxxxx> wrote: > On 09/18/2013 03:06 AM, Chen Baozi wrote: >> On Tue, Sep 17, 2013 at 12:47:35PM +0100, Julien Grall wrote: >>> On 09/16/2013 02:18 PM, Chen Baozi wrote: >>>> Hi all, >>>> >>>> I tried to create a domU on OMAP5 today. But it seems there are still some >>>> problems to solve before I can successfully creat it. >>>> >>>> I first cloned Julien's arndale-domU-3.9 branch which mentioned in wiki. >>>> Then I modified gic addresses xenvm-4.2.dts to meet OMAP5432 requirement: >>>> >>>> --- a/arch/arm/boot/dts/xenvm-4.2.dts >>>> +++ b/arch/arm/boot/dts/xenvm-4.2.dts >>>> @@ -49,13 +49,13 @@ >>>> reg = <0 0x80000000 0 0x08000000>; >>>> }; >>>> >>>> - gic: interrupt-controller@2c001000 { >>>> + gic: interrupt-controller@48211000 { >>>> compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; >>>> #interrupt-cells = <3>; >>>> #address-cells = <0>; >>>> interrupt-controller; >>>> - reg = <0 0x10481000 0 0x1000>, >>>> - <0 0x10482000 0 0x100>; >>>> + reg = <0 0x48211000 0 0x1000>, >>>> + <0 0x48212000 0 0x1000>; >>>> }; >>>> >>>> timer { >>>> >>>> And make the kernel image as wiki said: >>>> >>>> $ cat arch/arm/boot/zImage arch/arm/boot/xenvm-4.2.dtb > image >>>> >>>> Write a config file used by xl like: >>>> >>>> kernel = "/root/domU/image" >>>> memory = "128" >>>> name = "domU" >>>> vcpus = 1 >>>> disk = [ 'phy:/dev/loop0,xvda,w' ] >>>> >>>> Setup loop device: >>>> >>>> $ losetup /dev/loop0 /root/domU/xen-arm.img >>>> >>>> which xen-arm.img is the a bootable rootfs. >>>> >>>> Finally I execute xl to create the domU: >>>> >>>> $ sudo xl create -f config -d >>> Can you to copy the output in pastebin of the following command? >>> xl -vvv create -f config -d >> >> See: http://pastebin.com/kGjQUM86 > > What is your dom0 linux configuration file? > Did you enable at least the following config: > /* For dom0 */ > CONFIG_XEN_BLKDEV_BACKEND=y > CONFIG_XEN_NETDEV_BACKEND=y > > /* For the guest */ > CONFIG_XEN_BLKDEV_FRONTEND=y > CONFIG_XEN_NETDEV_FRONTEND=y Yes, of course. This is why I think it is weird. Thanks, Baozi _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |