Mailing List Archive

How to boot the xen up in Uboot?
Hi all,

Recently i'm trying to boot xen on Trim Slice, which is powered by Tegra2.
The source code is cloned from jaeminryu's GIT Repo.

I modify the position of toolchain_prefix, then use the command:

make install-xen

i get this following three files.

-rwxr-xr-x 1 wangzhihao root 431728 2012-03-06 12:05 xen*
-rw-r--r-- 1 wangzhihao root 145294 2012-03-06 12:05 xen.gz
-rwxr-xr-x 1 wangzhihao root 1711910 2012-03-06 12:05 xen-syms*

The user guide[ Secure_Xen_on_ARM_User_Guide_v1_1.pdf ] tells me to boot system like this in Uboot:

set ipaddr 10.30.0.13
set serverip 10.30.0.21
tftp 0xc0008000 xen
go 0xc0008000

But it stuck and give nothing info, while I expect these info:

[XEN]
[XEN]Xen/ARM virtual machine monitor for ARM architecture
[XEN] Copyright (C) 2007 Samsung Electronics Co, Ltd. All Rights Reserved.
[XEN] Using scheduler: Borrowed Virtual Time (bvt)
[XEN] *** LOADING DOMAIN : 0 ***
[XEN] Physical Memory Arrangement: c0200000->c2000000

I think it should give the red part even if i don't specify the dom0's position.

Can you give me some tips to get it boot up ?

Best Regards
Wang zhihao
Re: How to boot the xen up in Uboot? [ In reply to ]
Hi,

Let me know about your H/W platform spec, especially physical memory map.
At the momenent, xen-arm was only focused on the Tegra harmony board.

Thanks,


Subject: [XenARM] How to boot the xen up in Uboot?
Message-ID: <3ABABE07-D209-4A94-A6A6-B251575CDDF0@gmail.com>
Content-Type: text/plain; charset="us-ascii"

Hi all,

Recently i'm trying to boot xen on Trim Slice, which is powered by Tegra2.
The source code is cloned from jaeminryu's GIT Repo.

I modify the position of toolchain_prefix, then use the command:

make install-xen

i get this following three files.

-rwxr-xr-x 1 wangzhihao root 431728 2012-03-06 12:05 xen*
-rw-r--r-- 1 wangzhihao root 145294 2012-03-06 12:05 xen.gz
-rwxr-xr-x 1 wangzhihao root 1711910 2012-03-06 12:05 xen-syms*

The user guide[ Secure_Xen_on_ARM_User_Guide_v1_1.pdf ] tells me to boot system like this in Uboot:

set ipaddr 10.30.0.13
set serverip 10.30.0.21
tftp 0xc0008000 xen
go 0xc0008000

But it stuck and give nothing info, while I expect these info:

[XEN]
[XEN]Xen/ARM virtual machine monitor for ARM architecture
[XEN] Copyright (C) 2007 Samsung Electronics Co, Ltd. All Rights Reserved.
[XEN] Using scheduler: Borrowed Virtual Time (bvt)
[XEN] *** LOADING DOMAIN : 0 ***
[XEN] Physical Memory Arrangement: c0200000->c2000000

I think it should give the red part even if i don't specify the dom0's position.

Can you give me some tips to get it boot up ?

Best Regards
Wang zhihao
_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
Re: How to boot the xen up in Uboot? [ In reply to ]
For general memory map,
Xen-arm is to be located at the end of physical mem.
Dom0 and domU are configured according to $XEN_BASE/.config file.
In addition, dom0 image (ELF) should be located at the end of dom0's
physical memory.
Please refer include/asm/memmap.h in xen-arm source.

So, you should put xen-arm and dom0 kernel image at the proper physical
memory location to bootstrap.

For xen-arm, for the first hand, you should place xen-bin at starting
location
(usually physical DRAM address+ 0x8000).
For dom0 kernel, you should place vmlinux at the dom0 image location
(physical DRAM address + dom0 memory - dom0 image size).
Then, you can begin xen-arm by jumping to the xen-arm starting location.

Regards,
Seehwan

-----Original Message-----
From: xen-arm-bounces@lists.xen.org [mailto:xen-arm-bounces@lists.xen.org]
On Behalf Of Jae-Min Ryu
Sent: Wednesday, March 07, 2012 8:09 AM
To: xen-arm-request@lists.xen.org; xen-arm@lists.xen.org
Subject: Re: [XenARM] How to boot the xen up in Uboot?

Hi,

Let me know about your H/W platform spec, especially physical memory map.
At the momenent, xen-arm was only focused on the Tegra harmony board.

Thanks,


Subject: [XenARM] How to boot the xen up in Uboot?
Message-ID: <3ABABE07-D209-4A94-A6A6-B251575CDDF0@gmail.com>
Content-Type: text/plain; charset="us-ascii"

Hi all,

Recently i'm trying to boot xen on Trim Slice, which is powered by Tegra2.
The source code is cloned from jaeminryu's GIT Repo.

I modify the position of toolchain_prefix, then use the command:

make install-xen

i get this following three files.

-rwxr-xr-x 1 wangzhihao root 431728 2012-03-06 12:05 xen*
-rw-r--r-- 1 wangzhihao root 145294 2012-03-06 12:05 xen.gz -rwxr-xr-x 1
wangzhihao root 1711910 2012-03-06 12:05 xen-syms*

The user guide[ Secure_Xen_on_ARM_User_Guide_v1_1.pdf ] tells me to boot
system like this in Uboot:

set ipaddr 10.30.0.13
set serverip 10.30.0.21
tftp 0xc0008000 xen
go 0xc0008000

But it stuck and give nothing info, while I expect these info:

[XEN]
[XEN]Xen/ARM virtual machine monitor for ARM architecture [XEN] Copyright
(C) 2007 Samsung Electronics Co, Ltd. All Rights Reserved.
[XEN] Using scheduler: Borrowed Virtual Time (bvt) [XEN] *** LOADING DOMAIN
: 0 *** [XEN] Physical Memory Arrangement: c0200000->c2000000

I think it should give the red part even if i don't specify the dom0's
position.

Can you give me some tips to get it boot up ?

Best Regards
Wang zhihao
_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
Re: How to boot the xen up in Uboot? [ In reply to ]
Hi,



My case is here. it works..



[XEN]

Xen/ARM virtual machine monitor for <NULL>

Copyright (C) 2007 Samsung Electronics Co, Ltd. All Rights Reserved.

[XEN] Bitmap start = 0xff197000

[XEN] Initializing ARM FCSE Unit

[XEN] Using scheduler: SMP Credit Scheduler (credit)

[XEN] Loading domain 0

[XEN] - partition : 0x0 ~ 0x8000000

[XEN] - image : 0x5800000 ~ 0x8000000

[XEN] IS_ELF:1 e_dient:1 != 1 e_type:2

VMALLOC_END f8000000

paging_init #6

[XEN] VCPU Migrate

<6>SMP: Total of 1 processors activated (13631.48 BogoMIPS).

[ 0.000000] Initializing cgroup subsys cpu

[ 0.000000] Initializing cgroup subsys cpu













From: xen-arm-bounces@lists.xen.org [mailto:xen-arm-bounces@lists.xen.org] On Behalf Of wang
zhihao
Sent: Tuesday, March 06, 2012 1:44 PM
To: xen-arm@lists.xensource.com
Cc: Zhang Ke; zhangliuhang
Subject: [XenARM] How to boot the xen up in Uboot?



Hi all,



Recently i'm trying to boot xen on Trim Slice, which is powered by Tegra2.

The source code is cloned from jaeminryu's GIT Repo.



I modify the position of toolchain_prefix, then use the command:



make install-xen



i get this following three files.



-rwxr-xr-x 1 wangzhihao root 431728 2012-03-06 12:05 xen*

-rw-r--r-- 1 wangzhihao root 145294 2012-03-06 12:05 xen.gz

-rwxr-xr-x 1 wangzhihao root 1711910 2012-03-06 12:05 xen-syms*



The user guide[ Secure_Xen_on_ARM_User_Guide_v1_1.pdf ] tells me to boot system like this in
Uboot:



set ipaddr 10.30.0.13

set serverip 10.30.0.21

tftp 0xc0008000 xen

go 0xc0008000



But it stuck and give nothing info, while I expect these info:



[XEN]

[XEN]Xen/ARM virtual machine monitor for ARM architecture

[XEN] Copyright (C) 2007 Samsung Electronics Co, Ltd. All Rights Reserved.

[XEN] Using scheduler: Borrowed Virtual Time (bvt)

[XEN] *** LOADING DOMAIN : 0 ***

[XEN] Physical Memory Arrangement: c0200000->c2000000



I think it should give the red part even if i don't specify the dom0's position.



Can you give me some tips to get it boot up ?



Best Regards

Wang zhihao
Re: How to boot the xen up in Uboot? [ In reply to ]
Hi,

In my case, I edited autoconf.h and memmap.h not .config.
it seems that meneconfig doesn't work.
right?


> -----Original Message-----
> From: xen-arm-bounces@lists.xen.org [mailto:xen-arm-bounces@lists.xen.org] On Behalf Of
> Seehwan Yoo
> Sent: Wednesday, March 07, 2012 10:54 AM
> To: jm77.ryu@samsung.com; xen-arm-request@lists.xen.org; xen-arm@lists.xen.org
> Subject: Re: [XenARM] How to boot the xen up in Uboot?
>
> For general memory map,
> Xen-arm is to be located at the end of physical mem.
> Dom0 and domU are configured according to $XEN_BASE/.config file.
> In addition, dom0 image (ELF) should be located at the end of dom0's physical memory.
> Please refer include/asm/memmap.h in xen-arm source.
>
> So, you should put xen-arm and dom0 kernel image at the proper physical memory location
> to bootstrap.
>
> For xen-arm, for the first hand, you should place xen-bin at starting location (usually
> physical DRAM address+ 0x8000).
> For dom0 kernel, you should place vmlinux at the dom0 image location (physical DRAM address
> + dom0 memory - dom0 image size).
> Then, you can begin xen-arm by jumping to the xen-arm starting location.
>
> Regards,
> Seehwan
>
> -----Original Message-----
> From: xen-arm-bounces@lists.xen.org [mailto:xen-arm-bounces@lists.xen.org]
> On Behalf Of Jae-Min Ryu
> Sent: Wednesday, March 07, 2012 8:09 AM
> To: xen-arm-request@lists.xen.org; xen-arm@lists.xen.org
> Subject: Re: [XenARM] How to boot the xen up in Uboot?
>
> Hi,
>
> Let me know about your H/W platform spec, especially physical memory map.
> At the momenent, xen-arm was only focused on the Tegra harmony board.
>
> Thanks,
>
>
> Subject: [XenARM] How to boot the xen up in Uboot?
> Message-ID: <3ABABE07-D209-4A94-A6A6-B251575CDDF0@gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all,
>
> Recently i'm trying to boot xen on Trim Slice, which is powered by Tegra2.
> The source code is cloned from jaeminryu's GIT Repo.
>
> I modify the position of toolchain_prefix, then use the command:
>
> make install-xen
>
> i get this following three files.
>
> -rwxr-xr-x 1 wangzhihao root 431728 2012-03-06 12:05 xen*
> -rw-r--r-- 1 wangzhihao root 145294 2012-03-06 12:05 xen.gz -rwxr-xr-x 1 wangzhihao
> root 1711910 2012-03-06 12:05 xen-syms*
>
> The user guide[ Secure_Xen_on_ARM_User_Guide_v1_1.pdf ] tells me to boot system like this
> in Uboot:
>
> set ipaddr 10.30.0.13
> set serverip 10.30.0.21
> tftp 0xc0008000 xen
> go 0xc0008000
>
> But it stuck and give nothing info, while I expect these info:
>
> [XEN]
> [XEN]Xen/ARM virtual machine monitor for ARM architecture [XEN] Copyright
> (C) 2007 Samsung Electronics Co, Ltd. All Rights Reserved.
> [XEN] Using scheduler: Borrowed Virtual Time (bvt) [XEN] *** LOADING DOMAIN
> : 0 *** [XEN] Physical Memory Arrangement: c0200000->c2000000
>
> I think it should give the red part even if i don't specify the dom0's position.
>
> Can you give me some tips to get it boot up ?
>
> Best Regards
> Wang zhihao
> _______________________________________________
> Xen-arm mailing list
> Xen-arm@lists.xen.org
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
>
>
> _______________________________________________
> Xen-arm mailing list
> Xen-arm@lists.xen.org
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm