diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /scripts/lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf | 105 |
1 files changed, 105 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..44a80d226c --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/arm/conf/machine/{{=machine}}.conf | |||
@@ -0,0 +1,105 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: {{=machine}} | ||
3 | |||
4 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
5 | |||
6 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
7 | {{ if xserver == "y": }} | ||
8 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
9 | XSERVER ?= "xserver-xorg \ | ||
10 | xf86-input-evdev \ | ||
11 | xf86-input-mouse \ | ||
12 | xf86-video-omapfb \ | ||
13 | xf86-input-keyboard" | ||
14 | |||
15 | # Ship all kernel modules by default | ||
16 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
17 | |||
18 | # Allow for MMC booting (required by the NAND-less Beagleboard XM) | ||
19 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
20 | |||
21 | # Uncomment the following line to enable the hard floating point abi. Note that | ||
22 | # this breaks some binary libraries and 3D (neither of which ship with | ||
23 | # meta-yocto). For maximum compatibility, leave this disabled. | ||
24 | #DEFAULTTUNE ?= "cortexa8hf-neon" | ||
25 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_cortexa8" }} | ||
26 | {{ input type:"choice" val:"tune_arm1136jf_s" msg:"arm1136jf-s tuning optimizations" }} | ||
27 | {{ input type:"choice" val:"tune_arm920t" msg:"arm920t tuning optimizations" }} | ||
28 | {{ input type:"choice" val:"tune_arm926ejs" msg:"arm926ejs tuning optimizations" }} | ||
29 | {{ input type:"choice" val:"tune_arm9tdmi" msg:"arm9tdmi tuning optimizations" }} | ||
30 | {{ input type:"choice" val:"tune_cortexa5" msg:"cortexa5 tuning optimizations" }} | ||
31 | {{ input type:"choice" val:"tune_cortexa7" msg:"cortexa7 tuning optimizations" }} | ||
32 | {{ input type:"choice" val:"tune_cortexa8" msg:"cortexa8 tuning optimizations" }} | ||
33 | {{ input type:"choice" val:"tune_cortexa9" msg:"cortexa9 tuning optimizations" }} | ||
34 | {{ input type:"choice" val:"tune_cortexa15" msg:"cortexa15 tuning optimizations" }} | ||
35 | {{ input type:"choice" val:"tune_cortexm1" msg:"cortexm1 tuning optimizations" }} | ||
36 | {{ input type:"choice" val:"tune_cortexm3" msg:"cortexm3 tuning optimizations" }} | ||
37 | {{ input type:"choice" val:"tune_cortexr4" msg:"cortexr4 tuning optimizations" }} | ||
38 | {{ input type:"choice" val:"tune_ep9312" msg:"ep9312 tuning optimizations" }} | ||
39 | {{ input type:"choice" val:"tune_iwmmxt" msg:"iwmmxt tuning optimizations" }} | ||
40 | {{ input type:"choice" val:"tune_strongarm1100" msg:"strongarm1100 tuning optimizations" }} | ||
41 | {{ input type:"choice" val:"tune_xscale" msg:"xscale tuning optimizations" }} | ||
42 | {{ if tunefile == "tune_arm1136jf_s": }} | ||
43 | include conf/machine/include/tune-arm1136jf-s.inc | ||
44 | {{ if tunefile == "tune_arm920t": }} | ||
45 | include conf/machine/include/tune-arm920t.inc | ||
46 | {{ if tunefile == "tune_arm926ejs": }} | ||
47 | include conf/machine/include/tune-arm926ejs.inc | ||
48 | {{ if tunefile == "tune_arm9tdmi": }} | ||
49 | include conf/machine/include/tune-arm9tdmi.inc | ||
50 | {{ if tunefile == "tune_cortexa5": }} | ||
51 | include conf/machine/include/tune-cortexa5.inc | ||
52 | {{ if tunefile == "tune_cortexa7": }} | ||
53 | include conf/machine/include/tune-cortexa7.inc | ||
54 | {{ if tunefile == "tune_cortexa8": }} | ||
55 | include conf/machine/include/tune-cortexa8.inc | ||
56 | {{ if tunefile == "tune_cortexa9": }} | ||
57 | include conf/machine/include/tune-cortexa9.inc | ||
58 | {{ if tunefile == "tune_cortexa15": }} | ||
59 | include conf/machine/include/tune-cortexa15.inc | ||
60 | {{ if tunefile == "tune_cortexm1": }} | ||
61 | include conf/machine/include/tune-cortexm1.inc | ||
62 | {{ if tunefile == "tune_cortexm3": }} | ||
63 | include conf/machine/include/tune-cortexm3.inc | ||
64 | {{ if tunefile == "tune_cortexr4": }} | ||
65 | include conf/machine/include/tune-cortexr4.inc | ||
66 | {{ if tunefile == "tune_ep9312": }} | ||
67 | include conf/machine/include/tune-ep9312.inc | ||
68 | {{ if tunefile == "tune_iwmmxt": }} | ||
69 | include conf/machine/include/tune-iwmmxt.inc | ||
70 | {{ if tunefile == "tune_strongarm1100": }} | ||
71 | include conf/machine/include/tune-strongarm1100.inc | ||
72 | {{ if tunefile == "tune_xscale": }} | ||
73 | include conf/machine/include/tune-xscale.inc | ||
74 | |||
75 | IMAGE_FSTYPES += "tar.bz2 jffs2" | ||
76 | EXTRA_IMAGECMD_jffs2 = "-lnp " | ||
77 | |||
78 | # 2.6.37 and later kernels use OMAP_SERIAL, ttyO2 | ||
79 | # earlier kernels use ttyS2 | ||
80 | SERIAL_CONSOLE = "115200 ttyO2" | ||
81 | |||
82 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
83 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
84 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
85 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
86 | |||
87 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
88 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
89 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
90 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
91 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
92 | |||
93 | KERNEL_IMAGETYPE = "zImage" | ||
94 | KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/omap3-beagle.dts ${S}/arch/arm/boot/dts/omap3-beagle-xm.dts" | ||
95 | |||
96 | SPL_BINARY = "MLO" | ||
97 | UBOOT_SUFFIX = "img" | ||
98 | {{ input type:"edit" name:"uboot_machine" prio:"40" msg:"Please specify a value for UBOOT_MACHINE:" default:"omap3_beagle_config" }} | ||
99 | UBOOT_MACHINE = "{{=uboot_machine}}" | ||
100 | {{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x80008000" }} | ||
101 | UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}" | ||
102 | {{ input type:"edit" name:"uboot_loadaddress" prio:"40" msg:"Please specify a value for UBOOT_LOADADDRESS:" default:"0x80008000" }} | ||
103 | UBOOT_LOADADDRESS = "{{=uboot_loadaddress}}" | ||
104 | |||
105 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | ||