diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2015-01-27 07:33:24 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-07 13:33:59 +0000 |
commit | bf6f35b214a2d07181ab6736b97b5200897f7be8 (patch) | |
tree | 5e3be6747fc97697cb184fbb3e681f40f5ac9f66 /scripts | |
parent | 1f53edeaf9ea59dd55459a6d5a93829fb4983839 (diff) | |
download | poky-bf6f35b214a2d07181ab6736b97b5200897f7be8.tar.gz |
yocto-bsp: Add missing conf dir to arm template
The /conf dir for arm was missed when committing the changes for the
'removing strange characters' patchset; this restores it.
(From meta-yocto rev: 0fe51b37c32569bd5a3e24c43dc4d16ab7b6d4e9)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf b/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf new file mode 100644 index 0000000000..588367a05e --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf | |||
@@ -0,0 +1,102 @@ | |||
1 | # yocto-bsp-filename {{=machine}}.conf | ||
2 | #@TYPE: Machine | ||
3 | #@NAME: {{=machine}} | ||
4 | |||
5 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
6 | |||
7 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
8 | {{ if xserver == "y": }} | ||
9 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
10 | XSERVER ?= "xserver-xorg \ | ||
11 | xf86-input-evdev \ | ||
12 | xf86-input-mouse \ | ||
13 | xf86-video-fbdev \ | ||
14 | xf86-input-keyboard" | ||
15 | |||
16 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree" | ||
17 | |||
18 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
19 | |||
20 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_cortexa8" }} | ||
21 | {{ input type:"choice" val:"tune_arm1136jf_s" msg:"arm1136jf-s tuning optimizations" }} | ||
22 | {{ input type:"choice" val:"tune_arm920t" msg:"arm920t tuning optimizations" }} | ||
23 | {{ input type:"choice" val:"tune_arm926ejs" msg:"arm926ejs tuning optimizations" }} | ||
24 | {{ input type:"choice" val:"tune_arm9tdmi" msg:"arm9tdmi tuning optimizations" }} | ||
25 | {{ input type:"choice" val:"tune_cortexa5" msg:"cortexa5 tuning optimizations" }} | ||
26 | {{ input type:"choice" val:"tune_cortexa7" msg:"cortexa7 tuning optimizations" }} | ||
27 | {{ input type:"choice" val:"tune_cortexa8" msg:"cortexa8 tuning optimizations" }} | ||
28 | {{ input type:"choice" val:"tune_cortexa9" msg:"cortexa9 tuning optimizations" }} | ||
29 | {{ input type:"choice" val:"tune_cortexa15" msg:"cortexa15 tuning optimizations" }} | ||
30 | {{ input type:"choice" val:"tune_cortexm1" msg:"cortexm1 tuning optimizations" }} | ||
31 | {{ input type:"choice" val:"tune_cortexm3" msg:"cortexm3 tuning optimizations" }} | ||
32 | {{ input type:"choice" val:"tune_cortexr4" msg:"cortexr4 tuning optimizations" }} | ||
33 | {{ input type:"choice" val:"tune_ep9312" msg:"ep9312 tuning optimizations" }} | ||
34 | {{ input type:"choice" val:"tune_iwmmxt" msg:"iwmmxt tuning optimizations" }} | ||
35 | {{ input type:"choice" val:"tune_strongarm1100" msg:"strongarm1100 tuning optimizations" }} | ||
36 | {{ input type:"choice" val:"tune_xscale" msg:"xscale tuning optimizations" }} | ||
37 | {{ if tunefile == "tune_arm1136jf_s": }} | ||
38 | include conf/machine/include/tune-arm1136jf-s.inc | ||
39 | {{ if tunefile == "tune_arm920t": }} | ||
40 | include conf/machine/include/tune-arm920t.inc | ||
41 | {{ if tunefile == "tune_arm926ejs": }} | ||
42 | include conf/machine/include/tune-arm926ejs.inc | ||
43 | {{ if tunefile == "tune_arm9tdmi": }} | ||
44 | include conf/machine/include/tune-arm9tdmi.inc | ||
45 | {{ if tunefile == "tune_cortexa5": }} | ||
46 | include conf/machine/include/tune-cortexa5.inc | ||
47 | {{ if tunefile == "tune_cortexa7": }} | ||
48 | include conf/machine/include/tune-cortexa7.inc | ||
49 | {{ if tunefile == "tune_cortexa8": }} | ||
50 | DEFAULTTUNE ?= "cortexa8hf-neon" | ||
51 | include conf/machine/include/tune-cortexa8.inc | ||
52 | {{ if tunefile == "tune_cortexa9": }} | ||
53 | include conf/machine/include/tune-cortexa9.inc | ||
54 | {{ if tunefile == "tune_cortexa15": }} | ||
55 | include conf/machine/include/tune-cortexa15.inc | ||
56 | {{ if tunefile == "tune_cortexm1": }} | ||
57 | include conf/machine/include/tune-cortexm1.inc | ||
58 | {{ if tunefile == "tune_cortexm3": }} | ||
59 | include conf/machine/include/tune-cortexm3.inc | ||
60 | {{ if tunefile == "tune_cortexr4": }} | ||
61 | include conf/machine/include/tune-cortexr4.inc | ||
62 | {{ if tunefile == "tune_ep9312": }} | ||
63 | include conf/machine/include/tune-ep9312.inc | ||
64 | {{ if tunefile == "tune_iwmmxt": }} | ||
65 | include conf/machine/include/tune-iwmmxt.inc | ||
66 | {{ if tunefile == "tune_strongarm1100": }} | ||
67 | include conf/machine/include/tune-strongarm1100.inc | ||
68 | {{ if tunefile == "tune_xscale": }} | ||
69 | include conf/machine/include/tune-xscale.inc | ||
70 | |||
71 | IMAGE_FSTYPES += "tar.bz2 jffs2" | ||
72 | EXTRA_IMAGECMD_jffs2 = "-lnp " | ||
73 | |||
74 | SERIAL_CONSOLE = "115200 ttyO0" | ||
75 | |||
76 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
77 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
78 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
79 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
80 | |||
81 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
82 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
83 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
84 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
85 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
86 | |||
87 | KERNEL_IMAGETYPE = "uImage" | ||
88 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb" | ||
89 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
90 | |||
91 | SPL_BINARY = "MLO" | ||
92 | UBOOT_SUFFIX = "img" | ||
93 | {{ input type:"edit" name:"uboot_machine" prio:"40" msg:"Please specify a value for UBOOT_MACHINE:" default:"am335x_evm_config" }} | ||
94 | UBOOT_MACHINE = "{{=uboot_machine}}" | ||
95 | {{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x80008000" }} | ||
96 | UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}" | ||
97 | {{ input type:"edit" name:"uboot_loadaddress" prio:"40" msg:"Please specify a value for UBOOT_LOADADDRESS:" default:"0x80008000" }} | ||
98 | UBOOT_LOADADDRESS = "{{=uboot_loadaddress}}" | ||
99 | |||
100 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | ||
101 | |||
102 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO" | ||