xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Saeed Mirzamohammadi <saeed@uci.edu>, sstabellini@kernel.org
Cc: xen-devel@lists.xen.org
Subject: Re: Unable to boot Dom0 on Hikey
Date: Tue, 29 Aug 2017 10:12:40 -0400	[thread overview]
Message-ID: <20170829141240.GL32175@char.us.oracle.com> (raw)
In-Reply-To: <CAPyehd_+s9ELnj6XLGFPEhiPyxe98UFU0iWOOaJYOvK1AiPS6A@mail.gmail.com>

On Mon, Aug 28, 2017 at 06:23:41PM -0700, Saeed Mirzamohammadi wrote:
> Hi,
> 
> I'm following instructions on https://wiki.xenproject.org/wiki/HiKey and
> https://github.com/Jeeppler/xen-note/blob/master/
> arm64/hikey/hikey-xen-centos.md.

And just to make sure, you are using HiKey not Hikey960. There is a big
difference between them and you can only buy Hikey960 nowadays.

CC-ed Stefano
> 
> I'm trying to boot Xen on Hikey but Dom0 doesn't boot after Xen! I can boot
> the linux individually with startup.sh. This works fine but when I try to
> boot xen (typing 4 and then xen), I get a couple of Xen messages and when
> it tries to boot Dom0 it fails and it stops there.These are the last
> messages:
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Loading kernel from boot module @ 000000007a029000
> (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-0x00000005c5e000
> (XEN) Loading zImage from 000000007a029000 to
> 0000000040080000-0000000040ce8400
> (XEN) Loading dom0 initrd from 000000000ae00000 to
> 0x0000000048200000-0x0000000048a00000
> (XEN) Allocating PPI 16 for event channel interrupt
> (XEN) Loading dom0 DTB to 0x0000000048000000-0x000000004800aec1
> (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: All
> (XEN) Guest Loglevel: All
> (XEN) *** Serial input -> DOM0 (type 'CTRL-x' three times to switch input
> to Xen)
> (XEN) Freed 276kB init memory.
> (XEN) traps.c:2505:d0v0 HSR=0x92000061 pc=0xffffffc0003f86ac
> gva=0xffffff800024000c gpa=0x00000021fc000c
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> My Xen version is: 4.7.0.rc4 and my dom0 is: android-hikey-linaro-4.1. I

That is a bit old. How about Xen 4.9?

> tried earlier Xen version but no difference.
> 
> This is my *xen.cfg*:
> options=dom0_mem=512M dom0_max_vcpus=4 conswitch=x console=dtuart
> dtuart=/smb/uart@f7113000
> kernel=Image console=hvc0 root=/dev/mmcblk0p9 rootwait rw 3
> dtb=hi6220-hikey.dtb
> 
> and my *startup.nsh*:
> FS0:
> Image dtb=hi6220-hikey.dtb console=ttyAMA3,115200 root=/dev/mmcblk0p9
> rootwait rw efi=noruntime
> 
> I've checked out the thread here or others: https://lists.gt.net/
> xen/devel/433472 but I have passed the dtb file in the xen.cfg and still
> Dom0 doesn't boot.
> 
> Any help is greatly appreciated.
> 
> Thanks a lot,
> 
> --
> Saeed Mirzamohammadi
> Ph.D. candidate
> Computer Science Department
> University of California, Irvine

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


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

  reply	other threads:[~2017-08-29 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29  1:23 Unable to boot Dom0 on Hikey Saeed Mirzamohammadi
2017-08-29 14:12 ` Konrad Rzeszutek Wilk [this message]
2017-08-29 18:55   ` Saeed Mirzamohammadi
2017-08-29 19:38     ` Saeed Mirzamohammadi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170829141240.GL32175@char.us.oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=saeed@uci.edu \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).