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-ppc-devel

[XenPPC] JS21/SLOF net boot commands

To: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [XenPPC] JS21/SLOF net boot commands
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Mon, 19 Jun 2006 16:35:41 -0400
Delivery-date: Mon, 19 Jun 2006 13:36:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
If you build Dom0 "into" your xen image do the following (simple replace the patch with your tftpboot path):

  0> s" netboot 3000000 1000000 /tftpboot/slof/xen" snk
  0> 3000000 load-elf-file start-elf

If you want to load Dom0 seperately then:

  0> s" netboot 4000000 1000000 /tftpboot/slof/dom0" snk
  0> ciregs >r3 @
  0> s" netboot 3000000 1000000 /tftpboot/slof/xen" snk
  0> ciregs >r4 !
  0> 4000000 ciregs >r3 !
  0> 3000000 load-elf-file start-elf


***NOTE cutting and pasting a multi-line command can be dubious or various serial protocols so this could be concatenated as one line an pasted, all hail FORTH :)


if you wanted to set a forth word that does thif it would look like:
  : xen
        s" netboot 4000000 1000000 /tftpboot/slof/dom0" snk
        ciregs >r3 @
        s" netboot 3000000 1000000 /tftpboot/slof/xen" snk
        ciregs >r4 !
        4000000 ciregs >r3 !
        set-bootargs 3000000 load-elf-file start-elf
  ;

This would perform all of the above but also allow for the customization of boot parms and you would use as follows:
  0> xen <bootargs>


how exactly to make a forth word (at runtime or even in SLOF source) is unknown to me personally but may fallow in this email thread?
-JX

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

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