[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [pushed] [ppc] dts files for DomUs
changeset: 10270:f2da5ea4af217b089c655121a7d32889e5631067 user: jimix@xxxxxxxxxxxxxxxxxxxxx date: Fri May 12 16:06:30 2006 -0400 files: tools/domctrl/DomU.dts.in tools/domctrl/DomU.sh description: [ppc] dts files for DomUs diff -r d2680c1914f16f249a4d045dcf326dcb4e4dc158 -r f2da5ea4af217b089c655121a7d32889e5631067 tools/domctrl/DomU.dts.in --- /dev/null Thu Jan 1 00:00:00 1970 +0000 +++ b/tools/domctrl/DomU.dts.in Fri May 12 16:06:30 2006 -0400 @@ -0,0 +1,75 @@ +/memreserve/ @START_INFO@-@RESV_END@; +/ { + name = ""; + ibm,partition-name = "@DOMAIN_NAME@"; + ibm,partition-no = <@DOMAIN_ID@>; + device_type = "chrp-but-not-really"; + #size-cells = <2>; + #address-cells = <2>; + model = "@MODEL@"; + compatible = [4d 6f 6d 65 6e 74 75 6d 2c 4d 61 70 6c 65 00 70 73 65 75 64 6f 2d 63 68 72 70 00]; + + xen { + name = "xen"; + reserved = <0 @START_INFO@ 0 @RESV_SIZE@>; + start-info = <0 @START_INFO@ 0 1000>; + version = "Xen-3.0-unstable"; + reg = <@DOMAIN_ID@>; + + console { + name = "console"; + reg = <@CONSOLE_EVTCHN@>; + }; + }; + + memory@0 { + name = "memory"; + reg = <0 0 0 4000000>; + device_type = "memory"; + }; + + chosen { + name = "chosen"; + linux,platform = <501>; + linux,stdout-package = "&/xen/console"; + linux,stdout-path = "/xen/console"; + cpu = <&/cpus/@CPU_TYPE@@0>; + memory = <&/memory@>; + bootpath; + bootargs = "@BOOTARGS@"; + }; + + cpus { + name = "cpus"; + smp-enabled; + #size-cells = <1>; + #address-cells = <1>; + + @CPU_TYPE@@0 { + name = "PowerPC,970"; + ibm,pft-size = <0 14>; + reg = <0>; + cpu# = <0>; + device_type = "cpu"; + d-cache-size = <8000>; + d-cache-line-size = <80>; + d-cache-sets = <80>; + i-cache-size = <10000>; + i-cache-line-size = <80>; + i-cache-sets = <200>; + clock-frequency = "SrN"; + timebase-frequency = <@TIMEBASE@>; + timebases-in-sync; + + l2-cache { + name = "l2-cache"; + device_type = "cache"; + i-cache-size = <80000>; + d-cache-size = <80000>; + i-cache-sets = <200>; + d-cache-sets = <200>; + cache-unified; + }; + }; + }; +}; diff -r d2680c1914f16f249a4d045dcf326dcb4e4dc158 -r f2da5ea4af217b089c655121a7d32889e5631067 tools/domctrl/DomU.sh --- /dev/null Thu Jan 1 00:00:00 1970 +0000 +++ b/tools/domctrl/DomU.sh Fri May 12 16:06:30 2006 -0400 @@ -0,0 +1,25 @@ +#! /bin/bash + +START_INFO=3ffc000 +RESV_SIZE=4000 +RESV_END=3ffffff +DOMAIN_NAME="User Domain" +DOMAIN_ID=1 +MODEL="Momentum,Maple-D" +BOOTARGS="console=ttyS0" +CONSOLE_EVTCHN=1 +CPU_TYPE=PowerPC,970 +TIMEBASE=a6e49c0 + +sed -f - $1 <<EOF +s%@START_INFO@%$START_INFO%g; +s%@RESV_SIZE@%$RESV_SIZE%g; +s%@RESV_END@%$RESV_END%g; +s%@DOMAIN_NAME@%$DOMAIN_NAME%g; +s%@DOMAIN_ID@%$DOMAIN_ID%g; +s%@MODEL@%$MODEL%g; +s%@BOOTARGS@%$BOOTARGS%g; +s%@CONSOLE_EVTCHN@%$CONSOLE_EVTCHN%g; +s%@CPU_TYPE@%$CPU_TYPE%g; +s%@TIMEBASE@%$TIMEBASE%g; +EOF _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |