summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf
diff options
context:
space:
mode:
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.conf75
1 files changed, 75 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..bee0ec3772
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf
@@ -0,0 +1,75 @@
1# yocto-bsp-filename {{=machine}}.conf
2#@TYPE: Machine
3#@NAME: {{=machine}}
4
5#@DESCRIPTION: Machine configuration for {{=machine}} systems
6
7TARGET_FPU = ""
8
9{{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_ppce300c3" }}
10{{ input type:"choice" val:"tune_ppc476" msg:"ppc476 tuning optimizations" }}
11{{ input type:"choice" val:"tune_ppc603e" msg:"ppc603e tuning optimizations" }}
12{{ input type:"choice" val:"tune_ppc7400" msg:"ppc7400 tuning optimizations" }}
13{{ input type:"choice" val:"tune_ppce300c2" msg:"ppce300c2 tuning optimizations" }}
14{{ input type:"choice" val:"tune_ppce300c3" msg:"ppce300c3 tuning optimizations" }}
15{{ input type:"choice" val:"tune_ppce500" msg:"ppce500 tuning optimizations" }}
16{{ input type:"choice" val:"tune_ppce500mc" msg:"ppce500mc tuning optimizations" }}
17{{ input type:"choice" val:"tune_ppce500v2" msg:"ppce500v2 tuning optimizations" }}
18{{ input type:"choice" val:"tune_ppce5500" msg:"ppce5500 tuning optimizations" }}
19{{ input type:"choice" val:"tune_ppce6500" msg:"ppce6500 tuning optimizations" }}
20{{ if tunefile == "tune_ppc476": }}
21include conf/machine/include/tune-ppc476.inc
22{{ if tunefile == "tune_ppc603e": }}
23include conf/machine/include/tune-ppc603e.inc
24{{ if tunefile == "tune_ppc7400": }}
25include conf/machine/include/tune-ppc7400.inc
26{{ if tunefile == "tune_ppce300c2": }}
27include conf/machine/include/tune-ppce300c2.inc
28{{ if tunefile == "tune_ppce300c3": }}
29include conf/machine/include/tune-ppce300c3.inc
30{{ if tunefile == "tune_ppce500": }}
31include conf/machine/include/tune-ppce500.inc
32{{ if tunefile == "tune_ppce500mc": }}
33include conf/machine/include/tune-ppce500mc.inc
34{{ if tunefile == "tune_ppce500v2": }}
35include conf/machine/include/tune-ppce500v2.inc
36{{ if tunefile == "tune_ppce5500": }}
37include conf/machine/include/tune-ppce5500.inc
38{{ if tunefile == "tune_ppce6500": }}
39include conf/machine/include/tune-ppce6500.inc
40
41KERNEL_IMAGETYPE = "uImage"
42
43EXTRA_IMAGEDEPENDS += "u-boot"
44UBOOT_MACHINE_{{=machine}} = "MPC8315ERDB_config"
45
46SERIAL_CONSOLE = "115200 ttyS0"
47
48MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
49
50{{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }}
51{{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }}
52{{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }}
53PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
54
55{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }}
56{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }}
57{{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }}
58PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}"
59PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%"
60
61{{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }}
62{{ if xserver == "y": }}
63PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
64XSERVER ?= "xserver-xorg \
65 xf86-input-evdev \
66 xf86-video-fbdev"
67
68PREFERRED_VERSION_u-boot ?= "v2013.07%"
69{{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x00000000" }}
70UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}"
71
72{{ input type:"edit" name:"kernel_devicetree" prio:"40" msg:"Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE:" default:"mpc8315erdb.dts" }}
73KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/{{=kernel_devicetree}}"
74
75MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"