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

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@xxxxxxxxxxxxx [mailto:xen-arm-bounces@xxxxxxxxxxxxx]
On Behalf Of Jae-Min Ryu
Sent: Wednesday, March 07, 2012 8:09 AM
To: xen-arm-request@xxxxxxxxxxxxx; xen-arm@xxxxxxxxxxxxx
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@xxxxxxxxx>
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@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


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


 


Rackspace

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