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

[XenPPC] JS21/SLOF net boot commands



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


 


Rackspace

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