xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* which branch should be used as dom0 on arndale
@ 2013-10-30 12:16 mail fetch
  2013-10-30 14:57 ` mail fetch
  0 siblings, 1 reply; 4+ messages in thread
From: mail fetch @ 2013-10-30 12:16 UTC (permalink / raw)
  To: xen-devel, julien.grall

Hi Julien,

I found there are lots of branches under linux-arm.git. Xen wiki
recommends to use branch arndale. But i found it lacks of the
following configuration in dts file which is exist in branch
arndale-dom0-3.10. Should i use arndale or arndale-dom0-3.10 as dom0?
Can Xen boot up without those configuration?

chosen {
                bootargs = "dom0_mem=256M sync_console console=dtuart
dtuart=serial2 earlyprintk=xen";
                xen,dom0-bootargs = "console=hvc0,115200n8
earlyprintk=xen debug ignore_loglevel psci=enable clk_ignore_unused
root=/dev/mmcblk1p2";
                modules {
                        module@0 {
                                compatible = "xen,linux-zimage",
"xen,multiboot-module";
                                reg = <0x60000000 0x500000>;
                        };
                };
        };

-- 
best regards
Mail

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: which branch should be used as dom0 on arndale
  2013-10-30 12:16 which branch should be used as dom0 on arndale mail fetch
@ 2013-10-30 14:57 ` mail fetch
  2013-10-30 23:02   ` Julien Grall
  0 siblings, 1 reply; 4+ messages in thread
From: mail fetch @ 2013-10-30 14:57 UTC (permalink / raw)
  To: xen-devel, julien.grall


[-- Attachment #1.1: Type: text/plain, Size: 1003 bytes --]

2013/10/30 mail fetch <fetchmail.0104@gmail.com>

> Hi Julien,
>
> I found there are lots of branches under linux-arm.git. Xen wiki
> recommends to use branch arndale. But i found it lacks of the
> following configuration in dts file which is exist in branch
> arndale-dom0-3.10. Should i use arndale or arndale-dom0-3.10 as dom0?
> Can Xen boot up without those configuration?
>
> chosen {
>                 bootargs = "dom0_mem=256M sync_console console=dtuart
> dtuart=serial2 earlyprintk=xen";
>                 xen,dom0-bootargs = "console=hvc0,115200n8
> earlyprintk=xen debug ignore_loglevel psci=enable clk_ignore_unused
> root=/dev/mmcblk1p2";
>                 modules {
>                         module@0 {
>                                 compatible = "xen,linux-zimage",
> "xen,multiboot-module";
>                                 reg = <0x60000000 0x500000>;
>                         };
>                 };
>         };
>
> --
> best regards
> Mail
>

Any ideas?

-- 
best regards
Mail

[-- Attachment #1.2: Type: text/html, Size: 1550 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: which branch should be used as dom0 on arndale
  2013-10-30 14:57 ` mail fetch
@ 2013-10-30 23:02   ` Julien Grall
  2013-11-04  3:29     ` mail fetch
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Grall @ 2013-10-30 23:02 UTC (permalink / raw)
  To: mail fetch; +Cc: xen-devel@lists.xen.org

On 10/30/2013 02:57 PM, mail fetch wrote:
> 2013/10/30 mail fetch <fetchmail.0104@gmail.com
> <mailto:fetchmail.0104@gmail.com>>
>
>     Hi Julien,

Hello,


>     I found there are lots of branches under linux-arm.git. Xen wiki
>     recommends to use branch arndale. But i found it lacks of the
>     following configuration in dts file which is exist in branch
>     arndale-dom0-3.10. Should i use arndale or arndale-dom0-3.10 as dom0?
>     Can Xen boot up without those configuration?

U-boot will automatically create the nodes in the device tree with the 
following script:
http://xenbits.xen.org/people/julieng/load-xen-tftp.scr.txt
All details are given by the wiki page.

>
>     chosen {
>                     bootargs = "dom0_mem=256M sync_console console=dtuart
>     dtuart=serial2 earlyprintk=xen";
>                     xen,dom0-bootargs = "console=hvc0,115200n8
>     earlyprintk=xen debug ignore_loglevel psci=enable clk_ignore_unused
>     root=/dev/mmcblk1p2";
>                     modules {
>                             module@0 {
>                                     compatible = "xen,linux-zimage",
>     "xen,multiboot-module";
>                                     reg = <0x60000000 0x500000>;
>                             };
>                     };
>             };
>
>     --
>     best regards
>     Mail
>
>
> Any ideas?

You should avoid to ping after only a couple of hours... we can work in 
a different timezone or be away for conferences/holidays.
I think 1 week is the minimum delay between 2 pings.

Cheers,

-- 
Julien Grall

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: which branch should be used as dom0 on arndale
  2013-10-30 23:02   ` Julien Grall
@ 2013-11-04  3:29     ` mail fetch
  0 siblings, 0 replies; 4+ messages in thread
From: mail fetch @ 2013-11-04  3:29 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 3210 bytes --]

2013/10/31 Julien Grall <julien.grall@linaro.org>

> On 10/30/2013 02:57 PM, mail fetch wrote:
>
>> 2013/10/30 mail fetch <fetchmail.0104@gmail.com
>> <mailto:fetchmail.0104@gmail.com>>
>>
>>     Hi Julien,
>>
>
> Hello,
>
>
>
>      I found there are lots of branches under linux-arm.git. Xen wiki
>>     recommends to use branch arndale. But i found it lacks of the
>>     following configuration in dts file which is exist in branch
>>     arndale-dom0-3.10. Should i use arndale or arndale-dom0-3.10 as dom0?
>>     Can Xen boot up without those configuration?
>>
>
> U-boot will automatically create the nodes in the device tree with the
> following script:
> http://xenbits.xen.org/people/julieng/load-xen-tftp.scr.txt
> All details are given by the wiki page.
>
>
Thanks. But i boot Xen from local SD card. Any BKM for boot from SD card?


>
>
>>     chosen {
>>                     bootargs = "dom0_mem=256M sync_console console=dtuart
>>     dtuart=serial2 earlyprintk=xen";
>>                     xen,dom0-bootargs = "console=hvc0,115200n8
>>     earlyprintk=xen debug ignore_loglevel psci=enable clk_ignore_unused
>>     root=/dev/mmcblk1p2";
>>                     modules {
>>                             module@0 {
>>                                     compatible = "xen,linux-zimage",
>>     "xen,multiboot-module";
>>                                     reg = <0x60000000 0x500000>;
>>                             };
>>                     };
>>             };
>>
>>     --
>>     best regards
>>     Mail
>>
>>
>> Any ideas?
>>
>
> You should avoid to ping after only a couple of hours... we can work in a
> different timezone or be away for conferences/holidays.
> I think 1 week is the minimum delay between 2 pings.
>
>
Sorry, I am too excite to get my Arndale board and cannot wait to boot up
it.


> Cheers,
>
> --
> Julien Grall
>


I meet two problems when booting up Xen and Guest following the
instructions from Xen wiki:

1. Console cannot work. I cannot see any boot message from Xen. But i can
see the dom0's boot log.And cannot login dom0 through console.
2. Xen hang after booting guest.

Here is my configuration i added to dts:

        chosen {
                bootargs = "dom0_mem=256M sync_console console=dtuart
dtuart=serial0";
                xen,dom0-bootargs = "console=hvc0,115200n8 debug
root=/dev/mmcblk1p3 ignore_loglevel rw rootwait earlyprintk=xen";
                modules {
                        module@0 {
                                compatible = "xen,linux-zimage",
"xen,multiboot-module";
                                reg = <0x60000000 0x400000>;
                        };
                };
        };

And i build Xen with DTB attached:

make dist-xen XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabi-
CONFIG_DTB_FILE=/root/linux-dom0/arch/arm/boot/dts/exynos5250-arndale.dtb


Here are the commands to boot up Xen from u-boot

setenv kernel_addr_r 0x60000000

setenv xen_addr_r 0x50000000

setenv bootcmd_load_linux_mmc 'ext2load mmc 0:1 $kernel_addr_r /zImage'

setenv boot_xen_mmc 'run bootcmd_load_linux_mmc; ext2load mmc 0:1
$xen_addr_r /xen-uImage; bootm $xen_addr_r -'

setenv bootcmd 'run boot_xen_mmc'

boot

-- 
best regards
Mail

[-- Attachment #1.2: Type: text/html, Size: 6474 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-04  3:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 12:16 which branch should be used as dom0 on arndale mail fetch
2013-10-30 14:57 ` mail fetch
2013-10-30 23:02   ` Julien Grall
2013-11-04  3:29     ` mail fetch

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).