From: Julien Grall <julien.grall@linaro.org>
To: duqi <duqi_2009@163.com>
Cc: "Ian Campbell" <ian.campbell@citrix.com>,
"Stefano Stabellini (Xen mainlister)"
<stefano.stabellini@eu.citrix.com>, 宫晓利 <nkgongxl@163.com>,
hdegoede <hdegoede@redhat.com>,
"bjzhang@suse.com" <bjzhang@suse.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Xen on (RELEASE-4.4.0) crashed when booting on Cubieboard2
Date: Sun, 06 Apr 2014 10:32:58 +0100 [thread overview]
Message-ID: <53411F4A.4030908@linaro.org> (raw)
In-Reply-To: <7dd32814.59d8.14534ec91fe.Coremail.duqi_2009@163.com>
Hello,
On 06/04/14 03:44, duqi wrote:
>> Why do you compile the DTB into Xen? I guess you have hardcoded the
>> chosen node... if so can you paste the content here?
>
> We are worried about our memory layout when loading xen and dom0 kernel.
The memory layout on the wiki page is working on the cubieboard with
128Mb, so you don't have to worry.
> For simplicity, we compiled dtb into xen. Also we compiled ramdisk into kernel image for the same reason.
I still don't get why you are compiling the DTB into Xen ... it's
error-prone as you have to hardcode Xen nodes in the device-tree.
> We will test the stand alone dtb load progress soon.
Please try the instructions on the wiki page before trying fancy things...
> / {
> model = "Cubietech Cubieboard2";
> compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";
>
> chosen {
> bootargs = "dom0_mem=128M sync_console console=dtuart dtuart=serial0";
> xen,dom0-bootargs = "console=hvc0,115200n8 debug ignore_loglevel rw earlyprintk=xen clk_ignore_unused init=/init";
> modules {
> module@0 {
> compatible = "xen,linux-zimage", "xen,multiboot-module";
> reg = <0x7f600000 0xf00000>;
> };
> module@1 {
> compatible = "xen,linux-initrd", "xen,multiboot-module";
> reg = <0x60000000 0x6000000>;
> linux,initrd-start = <0x60000000>;
> linux,initrd-end = <0x66000000>;
This properties should not be there ... and I though you compiled your
ramdisk with the kernel, right?
> };
> };
> };
>
> hypervisor {
> compatible = "xen,xen-4.2", "xen,xen";
> reg = <0xb0000000 0x20000>;
> interrupts = <1 15 0xf08>;
> };
This node is not necessary.
To repeat what I said at the beginning of the mail, compiling the DTB in
Xen is *NOT* the solution for debugging. The modules nodes may differ
because you didn't load you kernel in the right place ... or the initrd
is not loaded.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2014-04-06 9:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-05 6:30 Xen on (RELEASE-4.4.0) crashed when booting on Cubieboard2 duqi
2014-04-05 16:13 ` Julien Grall
2014-04-06 2:26 ` duqi
2014-04-06 2:28 ` duqi
2014-04-06 2:54 ` duqi
2014-04-06 2:44 ` duqi
2014-04-06 9:32 ` Julien Grall [this message]
2014-04-07 8:46 ` Ian Campbell
2014-04-09 14:08 ` duqi
2014-04-09 14:37 ` Ian Campbell
2014-04-09 15:44 ` duqi
2014-04-09 16:35 ` Ian Campbell
2014-04-15 2:09 ` duqi
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=53411F4A.4030908@linaro.org \
--to=julien.grall@linaro.org \
--cc=bjzhang@suse.com \
--cc=duqi_2009@163.com \
--cc=hdegoede@redhat.com \
--cc=ian.campbell@citrix.com \
--cc=nkgongxl@163.com \
--cc=stefano.stabellini@eu.citrix.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.