summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-01-24 00:15:25 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-22 19:21:14 +0000
commitf76161b1de427403d0288dc7772907389b56a031 (patch)
treebef2e2d2063c47d64aea7872569b93736cb47d94 /scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf
parentaf193ae15a2ad2e170d4a9d4bcbfff3e429784f5 (diff)
downloadpoky-f76161b1de427403d0288dc7772907389b56a031.tar.gz
yocto-bsp: add BSP template files
BSP template files for all supported Yocto architectures, plus qemu versions of the same. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf53
1 files changed, 53 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf
new file mode 100644
index 0000000000..4f83dbb588
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/{{=machine}}.conf
@@ -0,0 +1,53 @@
1#@TYPE: Machine
2#@NAME: {{=machine}}
3
4#@DESCRIPTION: Machine configuration for {{=machine}} systems
5
6TARGET_FPU = ""
7
8{{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_ppc603e" }}
9{{ input type:"choice" val:"tune_ppc603e" msg:"ppc603e tuning optimizations" }}
10{{ input type:"choice" val:"tune_ppce300c2" msg:"ppce300c2 tuning optimizations" }}
11{{ input type:"choice" val:"tune_ppce500" msg:"ppce500 tuning optimizations" }}
12{{ input type:"choice" val:"tune_ppce500mc" msg:"ppce500mc tuning optimizations" }}
13{{ input type:"choice" val:"tune_ppce500v2" msg:"ppce500v2 tuning optimizations" }}
14{{ input type:"choice" val:"tune_ppce5500_32b" msg:"ppce5500-32b tuning optimizations" }}
15{{ input type:"choice" val:"tune_ppce5500_64b" msg:"ppce5500-64b tuning optimizations" }}
16{{ if tunefile == "tune_ppc603e": }}
17include conf/machine/include/tune-ppc603e.inc
18{{ if tunefile == "tune_ppce300c2": }}
19include conf/machine/include/tune-ppce300c2.inc
20{{ if tunefile == "tune_ppce500": }}
21include conf/machine/include/tune-ppce500.inc
22{{ if tunefile == "tune_ppce500mc": }}
23include conf/machine/include/tune-ppce500mc.inc
24{{ if tunefile == "tune_ppce500v2": }}
25include conf/machine/include/tune-ppce500v2.inc
26{{ if tunefile == "tune_ppce5500_32b": }}
27include conf/machine/include/tune-ppce5500-32b.inc
28{{ if tunefile == "tune_ppce5500_64b": }}
29include conf/machine/include/tune-ppce5500-64b.inc
30
31KERNEL_IMAGETYPE = "uImage"
32
33SERIAL_CONSOLE = "115200 ttyS0"
34
35MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial"
36
37{{ preferred_kernel = kernel_choice.split('_')[0] }}
38{{ preferred_kernel_version = kernel_choice.split('_')[1] }}
39PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
40PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
41
42{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
43{{ if xserver == "y": }}
44PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
45XSERVER = "xserver-kdrive-fbdev"
46
47{{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x00000000" }}
48UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}"
49
50{{ input type:"edit" name:"kernel_devicetree" prio:"40" msg:"Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE:" default:"mpc8315erdb.dts" }}
51KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/{{=kernel_devicetree}}"
52
53MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"