WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Recipe for getting/building/running Xen/ia64

To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Recipe for getting/building/running Xen/ia64
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Mon, 18 Jul 2005 12:39:32 -0700
Delivery-date: Mon, 18 Jul 2005 19:38:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: DIscussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWL0GtnYa/abqJwQ/CCgHVp/DfdFA==
Thread-topic: Recipe for getting/building/running Xen/ia64
A lot has changed in Xen/ia64 since the README files in
arch/ia64/tools were written.  Attached is the first draft
of a recipe for getting/building/running Xen/ia64.
It will need some work, but if you are a Xen/ia64 "newbie"
and have been eager to give Xen/ia64 a try, please try
following this recipe and provide changes/feedback.
It will eventually find its way back into a README file.

Thanks,
Dan

=======

Preparation:  On your ia64 system, you will need:
- python2.3, see http://www.python.org
- the mercurial (aka "hg") open-source source code management software
  version >= 0.6b, see: http://www.selenic.com/mercurial/ 
- gcc version >= 3.2 (4.0 is not known to work yet though)
- a copy of linux 2.6.11 (tar file)

Getting and building the Xen/ia64 "tip":
- create a directory to put it in:
        $ cd "HOME" # wherever you want to put it
        $ mkdir xen-ia64-unstable.hg
        $ cd xen-ia64-unstable.hg
- get the bits
        $ hg clone http://xenbits.xensource.com/ext/xen-ia64-unstable.hg
        $ hg update
- unpack linux (many linux files are directly used by xen/ia64)
        $ cd "HOME"
        $ cp ..../linux-2.6.11.tar.gz .
        $ tar xzf linux-2.6.11.tar.gz
- build Xen/ia64
        $ cd "HOME"/xen-ia64-unstable.hg
        $ cd xen
        $ bash arch/ia64/tools/mkbuildtree
        $ make # if using the cross-compiler, use "make
XEN_TARGET_ARCH=ia64"


Getting and building the Xenlinux/ia64 "tip":
- create a directory to put it in:
        $ cd "HOME" # wherever you want to put it
        $ mkdir xenlinux-ia64-2.6.12.hg
        $ cd xenlinux-ia64-2.6.12.hg
- get the bits
        $ hg clone
http://xenbits.xensource.com/ext/xenlinux-ia64-2.6.12.hg
        $ hg update
- prep the xenlinux build
        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
        $ cd include/asm-xen/
        $ ln -s asm-ia64 asm
        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
        $ # following works for HP zx1-based systems
        $ cp arch/ia64/configs/xen_zx1defconfig .config
        $ # if you build your own .config, ensure that CONFIG_XEN=y
        $ # and there are no modules (replace all "=m" with "=y")
- build xenlinux
        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
        $ yes "" | make oldconfig
        $ make
        $ # resulting xenlinux binary is called vmlinux

- prep the bootloader
        $ # where is your elilo.conf file?  call this "BOOTDIR"
        $ # add an entry to "BOOTDIR"/elilo.conf
        $ # the exact syntax for the "append=" is very system
dependent...
        $ # the part before the '--' is for xen... 
        $ # the part after the '--' should look like your normal linux
bootline
        $ # FIXME: not sure if nomca is still needed
                image=xen
                label=xen
                initrd=xenlinux
                read-only
                read-only
                append="sched=bvt -- nomca console=ttyS0,115200
root=/dev/sda2"
                
Booting Xen/ia64:
        $ cd "HOME"/xen-ia64-unstable.hg
        $ cp xen "BOOTDIR"
        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
        $ cp vmlinux "BOOTDIR"/xenlinux
        $ # if you see no output on your console, you may need to
specify
        $ # a com1= on the Xen part of the "append=" line.  Note that
the
        $ # syntax for this is different than for linux.  FIXME: docs
        $ # for this will be documented in a separate file

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>