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