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

Re: [Xen-devel] unable start xen in hikey



It seems that you are using a dtb file that is not compatible with XEN hypervisor on hikey. I strongly suggest you compile the kernel from source in 96boards's repository. When you compile the kernel it will compile the dtb from dts as well.

On Thu, Aug 18, 2016 at 6:30 AM Kamenee Arumugam <kamenee@xxxxxxxxxxxxxx> wrote:
Hi Chen,

My previous issue was resolved when i used hi6220-hikey.dtb from this source: https://github.com/kuscsik/device-linaro-hikey-kernel. When I download linux kernel, there doesn't seems to contain hi6220-hikey.dtb.

But now it got stuck while loading Dom0 and below are log traces:


(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading kernel from boot module @ 000000007a037000
(XEN) Loading ramdisk from boot module @ 000000000ae00000
(XEN) Allocating 1:1 mappings totalling 512MB for dom0:
(XEN) BANK[0] 0x00000040000000-0x00000060000000 (512MB)
(XEN) Grant table range: 0x00000005c00000-0x00000005c54000
(XEN) Loading zImage from 000000007a037000 to 0000000040080000-0000000040ce8c00
(XEN) Loading dom0 initrd from 000000000ae00000 to 0x0000000048200000-0x0000000048a00000
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Loading dom0 DTB to 0x0000000048000000-0x000000004800af11
(XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs
(XEN) ..done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) *** Serial input -> DOM0 (type 'CTRL-x' three times to switch input to Xen)
(XEN) Freed 284kB init memory.
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER4
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER8
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER12
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER16
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER0
(XEN) d0v1: vGICD: unhandled word write 0xffffffff to ICACTIVER0
(XEN) d0v2: vGICD: unhandled word write 0xffffffff to ICACTIVER0
(XEN) d0v3: vGICD: unhandled word write 0xffffffff to ICACTIVER0

It just hang there after the last line above. 
I have looked into those messages " d0v3: vGICD: unhandled word write 0xffffffff to ICACTIVER0"  and linux kernel already taking care to ignore it. Therefore, I believe this is not contributing to there hang here. Any idea on this issue?

Thanks,
Kamenee


On Wed, Aug 10, 2016 at 9:11 PM, Chenxiao Zhao <chenxiao.zhao@xxxxxxxxx> wrote:
You should compile kernel first. Please follow the "Getting Started" page on 96boards

On 8/10/2016 7:07 AM, Kamenee Arumugam wrote:
Hi Chen,

I have tried to flash UEFI in my board with latest one but still facing
the same issue. Regarding to use dtb file from kernel source, I couldnt
find hi6220-hikey.dtb in my source kernel. i am downloading my kernel
source from
here: https://github.com/96boards/linux/tree/android-hikey-linaro-4.1

I only could find hi6220-hikey.dts file in the kernel source. Therefore
download from other github but which is correct one that i need to use?
In case, I am using incorrect kernel source, pls point to me to correct
one if you aware of?

Thanks,
Kamenee

On Thu, Aug 4, 2016 at 11:06 PM, Chenxiao Zhao <chenxiao.zhao@xxxxxxxxx
<mailto:chenxiao.zhao@xxxxxxxxx>> wrote:

    The xen.cfg file seems fine to me. I suggest you try to use the dtb
    file compiled from the kernel source and update UEFI bootloader on
    hikey board to the latest version.

    hope this could help.

    On 8/4/2016 11:02 PM, Kamenee Arumugam wrote:

        I have already pass hi6220-key.dtb in my xen.cfg:

        options=console=dtuart dom0_mem=512M dom0_max_vcpus=4 conswitch=x
        dtuart=/smb/uart@f7113000
        kernel=Image console=hvc0 root=/dev/mmcblk1p4 rootwait rw
        dtb=hi6220-hikey.dtb

        I download the hi6220-hikey.dtb from this site:
        https://android.googlesource.com/device/linaro/hikey-kernel/+/f117fa12746b59aa0a1a4d6335145e58935c422b/hi6220-hikey.dtb
        <https://android.googlesource.com/device/linaro/hikey-kernel/+/f117fa12746b59aa0a1a4d6335145e58935c422b/hi6220-hikey.dtb>


        Firstly, I build kernel using the command below:

        make -j24 Image hi6220-hikey.dtb

        I placed hikey6220-hikey.dtb in linux directory level. I also
        copied the
        dtb into sd before booting up. Please correct me if my steps are
        wrong.


        On Thu, Aug 4, 2016 at 3:27 AM, Chenxiao Zhao
        <chenxiao.zhao@xxxxxxxxx <mailto:chenxiao.zhao@xxxxxxxxx>
        <mailto:chenxiao.zhao@xxxxxxxxx
        <mailto:chenxiao.zhao@xxxxxxxxx>>> wrote:

            you have to pass hi6220-key.dtb to xen.

            On Thu, Aug 4, 2016 at 2:15 AM Kamenee Arumugam
            <kamenee@xxxxxxxxxxxxxx <mailto:kamenee@xxxxxxxxxxxxxx>
        <mailto:kamenee@xxxxxxxxxxxxxx <mailto:kamenee@xxxxxxxxxxxxxx>>>
        wrote:

                Hi all,

                I am unable to start xen in hikey successfully but
        getting to
                this prompt message:


                >/Xen 4.7.0 (c/s Mon Jun 20 11:38:15 2016 +0100
        git:9a6cc4f) EFI
                loader/
                >/Using configuration file 'xen.cfg'/
                >/Image: 0x0000000079fd0000-0x000000007acb8c00
                /
                /> Unable to create new FDT
                /
                /Shell

                /
                I am following this wiki (http://wiki.xen.org/wiki/HiKey
        <http://wiki.xen.org/wiki/HiKey>) to
                setup xen in hikey. I am not sure what could cause this
        issue
                here. Appreciate all of you input and advice here.

                Thanks,
                Kamenee//
                /
                /
                _______________________________________________
                Xen-devel mailing list
                Xen-devel@xxxxxxxxxxxxx <mailto:Xen-devel@xxxxxxxxxxxxx>
        <mailto:Xen-devel@xxxxxxxxxxxxx <mailto:Xen-devel@xxxxxxxxxxxxx>>
                https://lists.xen.org/xen-devel
        <https://lists.xen.org/xen-devel>




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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