summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/conf/machine
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/akita.conf8
-rw-r--r--meta/conf/machine/c7x0.conf9
-rw-r--r--meta/conf/machine/cmx270.conf31
-rw-r--r--meta/conf/machine/include/handheld-common.conf23
-rw-r--r--meta/conf/machine/include/ipaq-common.conf7
-rw-r--r--meta/conf/machine/include/ixp4xx.conf174
-rw-r--r--meta/conf/machine/include/poodle-2.6.conf43
-rw-r--r--meta/conf/machine/include/thinclient-common.conf19
-rw-r--r--meta/conf/machine/include/tosa-2.6.conf6
-rw-r--r--meta/conf/machine/include/tune-arm920t.conf2
-rw-r--r--meta/conf/machine/include/tune-arm926ejs.conf6
-rw-r--r--meta/conf/machine/include/tune-arm9tdmi.conf1
-rw-r--r--meta/conf/machine/include/tune-c3.conf3
-rw-r--r--meta/conf/machine/include/tune-ep9312.conf6
-rw-r--r--meta/conf/machine/include/tune-ppc603e.conf2
-rw-r--r--meta/conf/machine/include/tune-ppce500.conf2
-rw-r--r--meta/conf/machine/include/tune-sh3.conf1
-rw-r--r--meta/conf/machine/include/tune-sh4.conf1
-rw-r--r--meta/conf/machine/include/tune-strongarm.conf2
-rw-r--r--meta/conf/machine/include/tune-supersparc.conf2
-rw-r--r--meta/conf/machine/include/tune-xscale.conf3
-rw-r--r--meta/conf/machine/include/zaurus-clamshell-2.6.conf46
-rw-r--r--meta/conf/machine/include/zaurus-clamshell.conf29
-rw-r--r--meta/conf/machine/ipaq-pxa270.conf63
-rw-r--r--meta/conf/machine/jornada7xx.conf7
-rw-r--r--meta/conf/machine/nokia770.conf54
-rw-r--r--meta/conf/machine/qemuarm.conf46
-rw-r--r--meta/conf/machine/spitz.conf18
28 files changed, 614 insertions, 0 deletions
diff --git a/meta/conf/machine/akita.conf b/meta/conf/machine/akita.conf
new file mode 100644
index 0000000000..89c0d031ee
--- /dev/null
+++ b/meta/conf/machine/akita.conf
@@ -0,0 +1,8 @@
1#@TYPE: Machine
2#@NAME: Sharp Zaurus SL-C1000
3#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C1000 device
4
5include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf
7
8ROOT_FLASH_SIZE = "58"
diff --git a/meta/conf/machine/c7x0.conf b/meta/conf/machine/c7x0.conf
new file mode 100644
index 0000000000..0bd9623526
--- /dev/null
+++ b/meta/conf/machine/c7x0.conf
@@ -0,0 +1,9 @@
1#@TYPE: Machine
2#@NAME: Sharp Zaurus SL-C7x0
3#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C700, Sharp Zaurus SL-C750, Sharp Zaurus SL-C760, Sharp Zaurus SL-C860 devices
4
5include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf
7
8ROOT_FLASH_SIZE = "25"
9# yes, we are aware that the husky (c760,c860) has 54MB rootfs, but we don't make a special image for it.
diff --git a/meta/conf/machine/cmx270.conf b/meta/conf/machine/cmx270.conf
new file mode 100644
index 0000000000..fc281f3746
--- /dev/null
+++ b/meta/conf/machine/cmx270.conf
@@ -0,0 +1,31 @@
1#@TYPE: Machine
2#@NAME: Nokia 770 internet tablet
3#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet
4TARGET_ARCH = "arm"
5IPKG_EXTRA_ARCHS = "armv4 armv5te"
6
7EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n"
8
9IMAGE_CMD_jffs2 = "mkdir -p ${DEPLOY_DIR_IMAGE}; \
10 mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
11 --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img ${EXTRA_IMAGECMD}; "
12
13PREFERRED_PROVIDER_virtual/bootloader = ""
14
15# 800x480 is big enough for me
16GUI_MACHINE_CLASS = "bigscreen"
17
18# Use tune-arm926 per default. Machine independent feeds should be built with tune-strongarm.
19include conf/machine/include/tune-xscale.conf
20
21#size of the root partition (yes, it is 123 MB)
22ROOT_FLASH_SIZE = "128"
23
24# serial console port on devboard rev. B3
25SERIAL_CONSOLE = "115200 ttyS0"
26
27PREFERRED_PROVIDER_virtual/kernel = "linux-cmx270"
28
29
30include conf/machine/include/handheld-common.conf
31
diff --git a/meta/conf/machine/include/handheld-common.conf b/meta/conf/machine/include/handheld-common.conf
new file mode 100644
index 0000000000..f8767d2ddf
--- /dev/null
+++ b/meta/conf/machine/include/handheld-common.conf
@@ -0,0 +1,23 @@
1HANDHELD_MODULES = "ipv6 \
2ipsec \
3nvrd \
4mip6-mn \
5tun \
6ide-cs ide-disk ide-probe-mod \
7loop \
8vfat ext2 \
9sunrpc nfs \
10btuart-cs dtl1-cs bt3c-cs rfcomm bnep l2cap sco hci_uart hidp \
11pcnet-cs serial-cs airo-cs \
12af_packet \
13ppp-async ppp-deflate ppp-mppe \
14ip-gre ip-tables ipip \
15irda irlan irnet irport irtty ircomm-tty \
16input uinput \
17"
18
19# Configuration bits for "generic handheld"
20BOOTSTRAP_EXTRA_RDEPENDS += "${PCMCIA_MANAGER} apm apmd network-suspend-scripts"
21BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin ${@linux_module_packages('${HANDHELD_MODULES}', d)}"
22
23INHERIT += "linux_modules"
diff --git a/meta/conf/machine/include/ipaq-common.conf b/meta/conf/machine/include/ipaq-common.conf
new file mode 100644
index 0000000000..eb696cf9f9
--- /dev/null
+++ b/meta/conf/machine/include/ipaq-common.conf
@@ -0,0 +1,7 @@
1IPAQ_MODULES = "apm h3600_generic_sleeve ipaq-sleeve ipaq-mtd-asset nvrd atmelwlandriver sa1100-rtc ipaq-hal h3600_ts usb-eth wavelan_cs keybdev"
2
3BOOTSTRAP_EXTRA_RRECOMMENDS += "kbdd bl hostap-modules-cs orinoco-modules-cs atmelwlandriver ${@linux_module_packages('${IPAQ_MODULES}', d)}"
4BOOTSTRAP_EXTRA_RRECOMMENDS_append_kernel24 += "mipv6"
5
6PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
7
diff --git a/meta/conf/machine/include/ixp4xx.conf b/meta/conf/machine/include/ixp4xx.conf
new file mode 100644
index 0000000000..93befb92ce
--- /dev/null
+++ b/meta/conf/machine/include/ixp4xx.conf
@@ -0,0 +1,174 @@
1#@TYPE: Machine configuration
2#@NAME: ixp4xx
3#@DESCRIPTION: genric machine configuration for ixp4xx platforms
4
5#-------------------------------------------------------------------------------
6# INPUTS
7#-------------------------------------------------------------------------------
8# conf/${DISTRO}.conf is included after this file and should be used to modify
9# variables identified as 'INPUTS' to the required values for the DISTRO, this
10# will cause the board specific settings (which depend for the most part on the
11# exact CPU used) to be set correctly within this file. The results are the
12# variables identifies here as 'OUTPUTS'
13#
14#variable = "default"
15# <possible values>
16# description
17
18ARCH_BYTE_SEX = "be"
19# "be" "le"
20# The memory byte sex and (on correctly implemented hardware - the IXP4XX is
21# correct) the byte sex of the buses within the system. 'be' (big-endian)
22# means that the first byte is the most significant byte on a bus, 'le'
23# (little-endian) means that the first byte is the least significant byte.
24
25ARM_INSTRUCTION_SET = "arm"
26# "arm" "thumb"
27# The instruction set the compiler should use when generating application
28# code. The kernel is always compiled with arm code at present. arm code
29# is the original 32 bit ARM instruction set, thumb code is the 16 bit
30# encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size)
31# but requires more instructions (140% for 70% smaller code) so may be
32# slower.
33
34THUMB_INTERWORK = "yes"
35# "yes" "no"
36# Whether to compile with code to allow interworking between the two
37# instruction sets. This allows thumb code to be executed on a primarily
38# arm system and vice versa. It is strongly recommended that DISTROs not
39# turn this off - the actual cost is very small.
40
41DISTRO_BASE = ""
42# "" ":<base>"
43# If given this must be the name of a 'distro' to add to the bitbake OVERRIDES
44# after ${DISTRO}, this allows different distros to share a common base of
45# overrides. The value given must include a leading ':' or chaos will result.
46
47IXP4XX_SUFFIX = "${MACHINE_ARCH}"
48# <string>
49# Kernel suffix - 'ixp4xxbe' or 'ixp4xxle' for a truely generic image, controls
50# the suffix on the name of the generated zImage, override in the DISTRO
51# configuration if patches or defconfig are changed for the DISTRO.
52
53#-------------------------------------------------------------------------------
54# OUTPUTS
55#-------------------------------------------------------------------------------
56
57#OVERRIDES
58# The standard ':' separated list of overrides used by bitbake - see the
59# basic setting in bitbake.conf. This list is based on that used for the
60# standard setting however :<base>, :thumb and :thumb-interwork will be
61# inserted at appropriate points if a base distro, default use of thumb or
62# arm/thumb interworking are enabled in the inputs.
63OVERRIDE_THUMB = "${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
64OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}"
65OVERRIDES = "local:${MACHINE}:ixp4xx:${DISTRO}${DISTRO_BASE}:${TARGET_OS}:${TARGET_ARCH}${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}:build-${BUILD_OS}:fail-fast"
66
67# TARGET_CC_ARCH
68# TARGET_CC_KERNEL_ARCH
69# TARGET_LD_ARCH
70# TARGET_LD_KERNEL_ARCH
71# Compiler and linker options for application code and kernel code. These
72# options ensure that the compiler has the correct settings for the selected
73# instruction set and interworking.
74ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}"
75ARM_THUMB_M_OPT = "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
76#
77TARGET_CC_ARCH = "-march=armv5te -mtune=xscale ${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}"
78TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb"
79TARGET_LD_ARCH = ""
80TARGET_LD_KERNEL_ARCH = ""
81
82# FULL_OPTIMIZATION
83# Optimization settings. Os works fine and is significantly better than O2.
84# The other settings are somewhat arbitrary. The optimisations chosen here
85# include the ones which 'break' symbolic debugging (because the compiler does
86# not include enough information to allow the debugger to know where given
87# values are.) The -fno options are an attempt to cancel explicit use of space
88# consuming options found in some packages (this isn't a complete list, this is
89# just the ones which package writers seem to know about and abuse).
90FULL_OPTIMIZATION = "-Os -fomit-frame-pointer -frename-registers \
91 -fno-unroll-loops -fno-inline-functions \
92 -fweb -funit-at-a-time"
93
94# TARGET_ARCH
95# The correct setting for the system endianness (ARCH_BYTE_SEX). This will
96# be arm (le) or armeb (be) - it is difficult to be more precise in the
97# setting because of the large number of ways it is used within OpenEmbedded.
98TARGET_ARCH = "${@['armeb', 'arm'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}"
99
100# TARGET_PACKAGE_ARCH [not used]
101# The correct setting for the generated packages. This corresponds to the
102# -march flag passed to the compiler because that limits the architectures
103# on which the generated code will run.
104BYTE_SEX_CHAR = "${@['b', 'l'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}"
105TARGET_PACKAGE_ARCH_BASE = "${@['armv5te', 'thumbv5t'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
106TARGET_PACKAGE_ARCH = "${TARGET_PACKAGE_ARCH_BASE}${BYTE_SEX_CHAR}"
107
108# MACHINE_ARCH
109# The correct setting for packages which are specific to the machine, this
110# defaults to ${MACHINE} in bitbake.conf, however it is set to ixp4xx here
111# because everything built here is no more specific than that.
112MACHINE_ARCH = "ixp4xx${ARCH_BYTE_SEX}"
113
114# IPKG_EXTRA_ARCHS
115# The full list of package architectures which should run on the system.
116# This takes into account both the board level issues and the INPUTS set
117# by the distro. The arm list is derived from the architecture settings
118# known to gcc, the thumb list is then derived from that (only the 't'
119# architectures of course).
120#[not used]: TARGET_ARCH is handled below because it is also currently
121# used for thumb packages.
122#ARM_ARCHITECTURES = "${TARGET_ARCH} armv2${BYTE_SEX_CHAR} armv2a${BYTE_SEX_CHAR} armv3${BYTE_SEX_CHAR} armv3m${BYTE_SEX_CHAR} armv4${BYTE_SEX_CHAR} armv4t${BYTE_SEX_CHAR} armv5${BYTE_SEX_CHAR} armv5t${BYTE_SEX_CHAR} armv5e${BYTE_SEX_CHAR} armv5te${BYTE_SEX_CHAR} xscale${BYTE_SEX_CHAR}"
123ARM_ARCHITECTURES = "armv2${BYTE_SEX_CHAR} armv2a${BYTE_SEX_CHAR} armv3${BYTE_SEX_CHAR} armv3m${BYTE_SEX_CHAR} armv4${BYTE_SEX_CHAR} armv4t${BYTE_SEX_CHAR} armv5${BYTE_SEX_CHAR} armv5t${BYTE_SEX_CHAR} armv5e${BYTE_SEX_CHAR} armv5te${BYTE_SEX_CHAR} xscale${BYTE_SEX_CHAR}"
124THUMB_ARCHITECTURES = "thumbe${BYTE_SEX_CHAR} thumbv4t${BYTE_SEX_CHAR} thumbv5t${BYTE_SEX_CHAR}"
125
126# NOTE: this list contains just the things which rootfs_ipk.bbclass does
127# not add, rootfs_ipk.bbclass evaluates:
128#
129# ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}"
130#
131# This is a priority ordered list - most desireable architecture at the end,
132# so put <ARM_INSTRUCTION_SET>_ARCHITECTURES at the end and, if
133# THUMB_INTERWORK precede this with the other architectures.
134IPKG_EXTRA_ARCHS = "ixp4xx ${MACHINE} \
135 ${@(lambda arch_thumb, arch_arm, is_arm, interwork: \
136 (interwork and (is_arm and arch_thumb or arch_arm) + ' ' or '') \
137 + '${TARGET_ARCH} ' + (is_arm and arch_arm or arch_thumb)) \
138 (bb.data.getVar('THUMB_ARCHITECTURES', d, 1), \
139 bb.data.getVar('ARM_ARCHITECTURES', d, 1), \
140 bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) != 'thumb', \
141 bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes')} \
142 ${MACHINE_ARCH} ${MACHINE}${ARCH_BYTE_SEX}"
143
144# IPKG_ARCH_LIST [not used]
145# This is used to override the ipkgarchs settings in rootfs_ipk.bbclass, allowing
146# the removal of the raw "${MACHINE}" from the end of the list. ${MACHINE} and
147# ixp4xx are included at the start (lower priority) as the non-byte-sex specific
148# versions.
149IPKG_ARCH_LIST = "all any noarch ixp4xx ${MACHINE} ${IPKG_EXTRA_ARCHS}"
150
151#-------------------------------------------------------------------------------
152# Package versions
153#-------------------------------------------------------------------------------
154# Warning: these are shared across the different machine and distro
155# configurations but can be overridden therein if required.
156SRCDATE_ipkg-utils ?= "20060106"
157SRCDATE_ipkg-utils-native ?= "20060106"
158SRCDATE_ipkg-link ?= "20060106"
159SRCDATE_irssi ?= "20050930"
160
161CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
162INHERIT += "nslu2-mirrors"
163
164PREFERRED_VERSION_ipkg ?= "0.99.154"
165PREFERRED_VERSION_ipkg-native ?= "0.99.154"
166
167#-------------------------------------------------------------------------------
168# Board defaults
169#-------------------------------------------------------------------------------
170# These values are board specific but they seem to be common to a large number
171# of boards so are reasonable defaults.
172SERIAL_CONSOLE = "115200 ttyS0"
173KERNEL_CONSOLE = "ttyS0,115200n8"
174USE_VT = "0"
diff --git a/meta/conf/machine/include/poodle-2.6.conf b/meta/conf/machine/include/poodle-2.6.conf
new file mode 100644
index 0000000000..9076355522
--- /dev/null
+++ b/meta/conf/machine/include/poodle-2.6.conf
@@ -0,0 +1,43 @@
1PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
2
3PCMCIA_MANAGER ?= "pcmciautils"
4
5BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
6${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \
7ppp ppp-dialin alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd"
8
9# Ethernet modules
10BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
11# NFS Modules
12BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
13# Crypto Modules
14BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
15# SMB and CRAMFS
16BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
17# Serial Modules
18BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
19# Bluetooth Modules
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
21 kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \
22 kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs"
23# Infrared Modules
24BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \
25 kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb"
26
27# USB Gadget Modules
28BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \
29 kernel-module-g-serial kernel-module-g-ether"
30
31# Wireless Modules
32BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \
33 kernel-module-hermes kernel-module-orinoco \
34 kernel-module-orinoco-cs kernel-module-spectrum-cs \
35 hostap-conf orinoco-conf"
36
37# Sound Modules
38###BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss"
39BOOTSTRAP_EXTRA_SOUND = "kernel-module-soundcore kernel-module-snd kernel-module-snd-page-alloc kernel-module-snd-timer \
40 kernel-module-snd-pcm \
41 kernel-module-snd-soc-core kernel-module-snd-soc-pxa2xx kernel-module-snd-soc-pxa2xx-i2s"
42
43###BOOTSTRAP_EXTRA_RDEPENDS_append_poodle += "${BOOTSTRAP_EXTRA_SOUND} kernel-module-snd-soc-poodle kernel-module-snd-soc-wm8731 "
diff --git a/meta/conf/machine/include/thinclient-common.conf b/meta/conf/machine/include/thinclient-common.conf
new file mode 100644
index 0000000000..4a96b42525
--- /dev/null
+++ b/meta/conf/machine/include/thinclient-common.conf
@@ -0,0 +1,19 @@
1THINCLIENT_MODULES = "ipv6 \
2mip6-mn \
3tun \
4loop \
5vfat \
6sunrpc nfs \
7rfcomm bnep l2cap sco \
8af_packet \
9ppp-async ppp-deflate ppp-mppe \
10ip-gre ip-tables ipip \
11irda irlan irnet irport irtty \
12input uinput \
13"
14
15# Configuration bits for "generic thinclient"
16BOOTSTRAP_EXTRA_RDEPENDS += "apm"
17BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp bluez-utils wireless-tools ${@linux_module_packages('${THINCLIENT_MODULES}', d)}"
18
19INHERIT += "linux_modules"
diff --git a/meta/conf/machine/include/tosa-2.6.conf b/meta/conf/machine/include/tosa-2.6.conf
new file mode 100644
index 0000000000..c7805c36fe
--- /dev/null
+++ b/meta/conf/machine/include/tosa-2.6.conf
@@ -0,0 +1,6 @@
1include conf/machine/include/zaurus-clamshell-2.6.conf
2# wlan-ng Modules
3BOOTSTRAP_EXTRA_RDEPENDS += "wlan-ng-modules-usb"
4
5# WM97xx Modules
6#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-wm97xx-core kernel-module-wm9705 kernel-module-pxa-wm97xx"
diff --git a/meta/conf/machine/include/tune-arm920t.conf b/meta/conf/machine/include/tune-arm920t.conf
new file mode 100644
index 0000000000..936b137517
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm920t.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t"
2
diff --git a/meta/conf/machine/include/tune-arm926ejs.conf b/meta/conf/machine/include/tune-arm926ejs.conf
new file mode 100644
index 0000000000..c1462ee148
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm926ejs.conf
@@ -0,0 +1,6 @@
1#if gcc breaks change arm926ejs to arm926ej-s
2# For gcc 3.x you need:
3TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
4# For gcc 4.x you need:
5#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s"
6PACKAGE_ARCH = "armv5te"
diff --git a/meta/conf/machine/include/tune-arm9tdmi.conf b/meta/conf/machine/include/tune-arm9tdmi.conf
new file mode 100644
index 0000000000..cfc3bad1c1
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm9tdmi.conf
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi"
diff --git a/meta/conf/machine/include/tune-c3.conf b/meta/conf/machine/include/tune-c3.conf
new file mode 100644
index 0000000000..e6a522af10
--- /dev/null
+++ b/meta/conf/machine/include/tune-c3.conf
@@ -0,0 +1,3 @@
1TARGET_CC_ARCH = "-march=c3 -mtune=c3"
2PACKAGE_ARCH = "i586"
3
diff --git a/meta/conf/machine/include/tune-ep9312.conf b/meta/conf/machine/include/tune-ep9312.conf
new file mode 100644
index 0000000000..f7a6fb845b
--- /dev/null
+++ b/meta/conf/machine/include/tune-ep9312.conf
@@ -0,0 +1,6 @@
1TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312"
2# add "-mfp=maverick" for newer gcc versions > 4.0
3
4#set arch to ep9312 for all generated packages
5PACKAGE_ARCH = "ep9312"
6
diff --git a/meta/conf/machine/include/tune-ppc603e.conf b/meta/conf/machine/include/tune-ppc603e.conf
new file mode 100644
index 0000000000..7c8714cfc2
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppc603e.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-mcpu=603e"
2PACKAGE_ARCH = "ppc603e"
diff --git a/meta/conf/machine/include/tune-ppce500.conf b/meta/conf/machine/include/tune-ppce500.conf
new file mode 100644
index 0000000000..11717eba70
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppce500.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-mcpu=8540"
2PACKAGE_ARCH = "ppce500"
diff --git a/meta/conf/machine/include/tune-sh3.conf b/meta/conf/machine/include/tune-sh3.conf
new file mode 100644
index 0000000000..192dd8fd22
--- /dev/null
+++ b/meta/conf/machine/include/tune-sh3.conf
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-ml -m3"
diff --git a/meta/conf/machine/include/tune-sh4.conf b/meta/conf/machine/include/tune-sh4.conf
new file mode 100644
index 0000000000..866f7f89d5
--- /dev/null
+++ b/meta/conf/machine/include/tune-sh4.conf
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-ml -m4"
diff --git a/meta/conf/machine/include/tune-strongarm.conf b/meta/conf/machine/include/tune-strongarm.conf
new file mode 100644
index 0000000000..8654c996ef
--- /dev/null
+++ b/meta/conf/machine/include/tune-strongarm.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-march=armv4 -mtune=xscale"
2
diff --git a/meta/conf/machine/include/tune-supersparc.conf b/meta/conf/machine/include/tune-supersparc.conf
new file mode 100644
index 0000000000..1b1ec1207f
--- /dev/null
+++ b/meta/conf/machine/include/tune-supersparc.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-mcpu=supersparc"
2PACKAGE_ARCH = "supersparc"
diff --git a/meta/conf/machine/include/tune-xscale.conf b/meta/conf/machine/include/tune-xscale.conf
new file mode 100644
index 0000000000..0b98f09fc8
--- /dev/null
+++ b/meta/conf/machine/include/tune-xscale.conf
@@ -0,0 +1,3 @@
1TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
2PACKAGE_ARCH = "armv5te"
3
diff --git a/meta/conf/machine/include/zaurus-clamshell-2.6.conf b/meta/conf/machine/include/zaurus-clamshell-2.6.conf
new file mode 100644
index 0000000000..3c19ef3da6
--- /dev/null
+++ b/meta/conf/machine/include/zaurus-clamshell-2.6.conf
@@ -0,0 +1,46 @@
1# Zaurus Clamshell specific configuration for kernel 2.6
2# Don't forget to include zaurus-clamshell.conf as well
3
4PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
5PREFERRED_VERSION_wpa_supplicant = "0.4.7"
6
7PCMCIA_MANAGER ?= "pcmciautils"
8
9BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
10${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \
11ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd"
12
13# Ethernet modules
14BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
15# NFS Modules
16BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
17# Crypto Modules
18BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
19# SMB and CRAMFS
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
21# Serial Modules
22BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
23# Bluetooth Modules
24BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
25 kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \
26 kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs"
27# Infrared Modules
28BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \
29 kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb"
30
31# USB Gadget Modules
32BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \
33 kernel-module-g-serial kernel-module-g-ether"
34
35# Wireless Modules
36BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \
37 kernel-module-hermes kernel-module-orinoco \
38 kernel-module-orinoco-cs kernel-module-spectrum-cs \
39 hostap-conf orinoco-conf"
40
41# Sound Modules
42BOOTSTRAP_EXTRA_RDEPENDS_append_c7x0 = " kernel-module-snd-soc-corgi "
43BOOTSTRAP_EXTRA_RDEPENDS_append_akita = " kernel-module-snd-soc-spitz "
44BOOTSTRAP_EXTRA_RDEPENDS_append_spitz = " kernel-module-snd-soc-spitz "
45# For OSS
46BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss" \ No newline at end of file
diff --git a/meta/conf/machine/include/zaurus-clamshell.conf b/meta/conf/machine/include/zaurus-clamshell.conf
new file mode 100644
index 0000000000..dfbbe5024e
--- /dev/null
+++ b/meta/conf/machine/include/zaurus-clamshell.conf
@@ -0,0 +1,29 @@
1TARGET_ARCH = "arm"
2IPKG_EXTRA_ARCHS = "armv4 armv5te"
3
4PREFERRED_PROVIDER_xserver = "xserver-kdrive"
5
6EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n"
7EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater"
8
9IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
10 --output=${T}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}; \
11 cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
12 ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img"
13
14# add a summary to the jffs2 file to make it mount a lot faster
15#EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \
16# -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \
17# --eraseblock=0x4000"
18#IMAGE_CMD_jffs2 += "; cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
19# ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.img"
20
21GUI_MACHINE_CLASS = "bigscreen"
22GPE_EXTRA_INSTALL += "gaim sylpheed"
23
24include conf/machine/include/handheld-common.conf
25
26# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
27include conf/machine/include/tune-xscale.conf
28
29SERIAL_CONSOLE = "115200 ttyS0"
diff --git a/meta/conf/machine/ipaq-pxa270.conf b/meta/conf/machine/ipaq-pxa270.conf
new file mode 100644
index 0000000000..f5cc893c9c
--- /dev/null
+++ b/meta/conf/machine/ipaq-pxa270.conf
@@ -0,0 +1,63 @@
1#@TYPE: Machine
2#@NAME: iPAQ hx47xx hx2xxx
3#@DESCRIPTION: Machine configuration for the iPAQ with a pxa27x CPU devices
4
5TARGET_ARCH = "arm"
6IPKG_EXTRA_ARCHS = "armv4 armv5te ipaqpxa hx4700"
7#use this for a hx47xx ipaq
8PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
9
10#use this for a hx2xxx ipaq
11#PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
12
13PREFERRED_VERSION_orinoco-modules = "0.15rc1"
14
15ROOT_FLASH_SIZE = "80"
16
17EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
18 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
19 -e 256KiB -p"
20
21MODUTILS = "26"
22PCMCIA_MANAGER = "pcmciautils"
23BOOTSTRAP_EXTRA_RDEPENDS = "kernel ipaq-boot-params "
24BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${PXA270_MODULES}', d)}"
25BOOTSTRAP_EXTRA_RDEPENDS_append = " udev module-init-tools"
26
27PXA270_MODULES = "g_ether g_file_storage g_serial gadgetfs pxa27x_udc \
28 snd_pcm_oss snd_mixer_oss evdev mmc_block pcmcia hidp \
29 nls_cp437 nls_iso8859-1 nls_utf8 af_key"
30
31SERIAL_CONSOLE = "115200 ttyS0"
32
33include conf/machine/include/handheld-common.conf
34
35GUI_MACHINE_CLASS = "bigscreen"
36
37# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
38include conf/machine/include/tune-xscale.conf
39
40# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
41#include conf/machine/include/tune-iwmmxt.conf
42
43BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${HX4700_MODULES}', d)}"
44HX4700_MODULES = "i2c-pxa asic3_mmc hx4700_bt hx4700_leds hx4700_navpt hx4700_pcmcia \
45 hx4700_ts hx4700_wlan snd_hx4700_audio hx4700_power"
46
47
48module_autoload_evdev = "evdev"
49module_autoload_hx4700_power = "hx4700_power"
50module_autoload_pcmcia = "pcmcia"
51module_autoload_hx4700_pcmcia = "hx4700_pcmcia"
52module_autoload_asic3_mmc = "asic3_mmc"
53module_autoload_mmc_block = "mmc_block"
54module_autoload_hx4700_ts = "hx4700_ts"
55module_autoload_hx4700_navpt = "hx4700_navpt"
56module_autoload_hx4700_bt = "hx4700_bt"
57module_autoload_snd-hx4700_audio = "snd-hx4700_audio"
58module_autoload_snd-pcm-oss = "snd-pcm-oss"
59module_autoload_snd-mixer-oss = "snd-mixer-oss"
60module_autoload_pxa27x_udc = "pxa27x_udc"
61
62#FIXME: this should be controlled by a userspace utility later.
63module_autoload_g_ether = "g_ether"
diff --git a/meta/conf/machine/jornada7xx.conf b/meta/conf/machine/jornada7xx.conf
new file mode 100644
index 0000000000..e8218138d5
--- /dev/null
+++ b/meta/conf/machine/jornada7xx.conf
@@ -0,0 +1,7 @@
1#@TYPE: Machine
2#@NAME: HP Jornada 7xx
3#@DESCRIPTION: Machine configuration for the SA1100 based HP Jornada 7xx palmtop computer
4
5TARGET_ARCH = "arm"
6
7include conf/machine/include/tune-strongarm.conf \ No newline at end of file
diff --git a/meta/conf/machine/nokia770.conf b/meta/conf/machine/nokia770.conf
new file mode 100644
index 0000000000..bf893660d4
--- /dev/null
+++ b/meta/conf/machine/nokia770.conf
@@ -0,0 +1,54 @@
1#@TYPE: Machine
2#@NAME: Nokia 770 internet tablet
3#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet
4TARGET_ARCH = "arm"
5IPKG_EXTRA_ARCHS = "armv4 armv5te"
6
7PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-omap"
8PREFERRED_PROVIDER_virtual/bootloader = ""
9PREFERRED_PROVIDER_tslib = "tslib-maemo"
10
11XSERVER = "xserver-kdrive-omap"
12
13# 800x480 is big enough for me
14GUI_MACHINE_CLASS = "bigscreen"
15GPE_EXTRA_INSTALL += "gaim sylpheed gpe-mini-browser tscalib"
16
17# Use tune-arm926 per default. Machine independent feeds should be built with tune-strongarm.
18include conf/machine/include/tune-arm926ejs.conf
19
20
21#size of the root partition (yes, it is 123 MB)
22ROOT_FLASH_SIZE = "123"
23EXTRA_IMAGECMD_jffs2_nokia770 = "--pad --little-endian --eraseblock=0x20000"
24
25# serial console port on devboard rev. B3
26SERIAL_CONSOLE = "115200 ttyS0"
27
28PREFERRED_PROVIDER_virtual/kernel = "linux-nokia770"
29
30BOOTSTRAP_EXTRA_RDEPENDS += "sysfsutils nokia770-init \
31${PCMCIA_MANAGER} apm ppp wireless-tools console-tools"
32
33# NFS Modules
34#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
35# Crypto Modules
36#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
37# SMB and CRAMFS
38#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
39# Serial Modules
40#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 "
41# Bluetooth Modules
42#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
43# kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco"
44# PPP Modules
45#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-ppp-generic kernel-module-ppp-async"
46
47#USB Gadget Modules
48#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage kernel-module-g-serial \
49# kernel-module-g-ether"
50
51ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; "
52
53include conf/machine/include/handheld-common.conf
54
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
new file mode 100644
index 0000000000..3341efd1a7
--- /dev/null
+++ b/meta/conf/machine/qemuarm.conf
@@ -0,0 +1,46 @@
1#@TYPE: Machine
2#@NAME: qemu ARM Emulator setup
3#@DESCRIPTION: Machine configuration for running an ARM system under qemu emulation
4
5TARGET_ARCH = "arm"
6IPKG_EXTRA_ARCHS = "armv4 armv5te"
7
8PCMCIA_MANAGER = "pcmciautils"
9PREFERRED_PROVIDER_xserver = "xserver-kdrive"
10GUI_MACHINE_CLASS = "bigscreen"
11GPE_EXTRA_INSTALL += "gaim sylpheed"
12
13include conf/machine/include/handheld-common.conf
14include conf/machine/include/tune-arm926ejs.conf
15
16SERIAL_CONSOLE = "115200 ttyAMA0"
17
18PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
19
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
21pcmciautils apm wireless-tools irda-utils udev-utils console-tools hostap-utils prism3-firmware prism3-support \
22ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf"
23
24# Ethernet modules
25#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
26# NFS Modules
27#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
28# Crypto Modules
29#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
30# SMB and CRAMFS
31#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
32# Serial Modules
33#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
34# Bluetooth Modules
35#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
36# kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \
37# kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs"
38# Infrared Modules
39#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-irda kernel-module-ircomm \
40# kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb"
41
42IMAGE_FSTYPES = "tar.bz2"
43
44ROOT_FLASH_SIZE = "100"
45# actually that should really read ROOTFS_SIZE = "100", because with modern kernels,
46# we boot from the built-in harddisk in C3000. ROOT_FLASH_SIZE is really 5 MegaByte
diff --git a/meta/conf/machine/spitz.conf b/meta/conf/machine/spitz.conf
new file mode 100644
index 0000000000..f78dd7a3b9
--- /dev/null
+++ b/meta/conf/machine/spitz.conf
@@ -0,0 +1,18 @@
1#@TYPE: Machine
2#@NAME: Sharp Zaurus SL-C3000
3#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C3000 device
4
5include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf
7
8PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}"
9PIVOTBOOT_EXTRA_RRECOMMENDS += ""
10
11# Useful things for the built-in Harddisk
12BOOTSTRAP_EXTRA_RDEPENDS += "hdparm e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs"
13
14IMAGE_FSTYPES = "jffs2 tar.gz"
15
16ROOT_FLASH_SIZE = "100"
17# actually that should really read ROOTFS_SIZE = "100", because with modern kernels,
18# we boot from the built-in harddisk in C3000. ROOT_FLASH_SIZE is really 5 MegaByte