From 2000698b17011bbde1c3e5bb01a7d6763316db5a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 5 Sep 2012 13:25:58 +0100 Subject: meta-yocto: Split into distro and bsp components Now we have settled on best practises and compliance criteria, bring meta-yocto into compliance by separating out the hardware support components into meta-yocto-bsp leaving policy configuration in meta-yocto. Also rename the meta-yocto scripts directory to OE-Core can be a clearly isolated component in poky. (From meta-yocto rev: eac90e27a032ea23d9a4f35c7eef8b1940c80e22) Signed-off-by: Richard Purdie --- meta-yocto-bsp/conf/layer.conf | 11 + meta-yocto-bsp/conf/machine/atom-pc.conf | 39 ++ meta-yocto-bsp/conf/machine/beagleboard.conf | 40 ++ meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 31 + meta-yocto-bsp/conf/machine/routerstationpro.conf | 26 + .../recipes-bsp/alsa-state/alsa-state.bbappend | 1 + .../alsa-state/alsa-state/beagleboard/asound.state | 656 +++++++++++++++++++++ .../formfactor/formfactor/atom-pc/machconfig | 6 + .../formfactor/formfactor/beagleboard/machconfig | 3 + .../recipes-bsp/formfactor/formfactor_0.0.bbappend | 1 + .../netbase/netbase-5.0/beagleboard/interfaces | 27 + .../recipes-core/netbase/netbase_5.0.bbappend | 1 + .../packagegroup-core-tools-profile.bbappend | 2 + .../uclibc/uclibc/atom-pc/uClibc.machine | 69 +++ .../recipes-core/uclibc/uclibc_git.bbappend | 1 + .../packagegroup-core-sdk-gmae.bbappend | 1 + ...egroup-core-standalone-gmae-sdk-target.bbappend | 1 + .../recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 3 + .../recipes-graphics/mesa/mesa-dri_git.bbappend | 3 + .../xserver-xf86-config/atom-pc/xorg.conf | 26 + .../xserver-xf86-config/beagleboard/xorg.conf | 34 ++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 1 + .../linux/linux-yocto-rt_3.0.bbappend | 25 + .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 15 + .../recipes-kernel/linux/linux-yocto_3.2.bbappend | 14 + .../recipes-kernel/linux/linux-yocto_3.4.bbappend | 15 + .../recipes-qt/qt4/qt4-x11-free_4.8.1.bbappend | 2 + 27 files changed, 1054 insertions(+) create mode 100644 meta-yocto-bsp/conf/layer.conf create mode 100644 meta-yocto-bsp/conf/machine/atom-pc.conf create mode 100644 meta-yocto-bsp/conf/machine/beagleboard.conf create mode 100644 meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf create mode 100644 meta-yocto-bsp/conf/machine/routerstationpro.conf create mode 100644 meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state.bbappend create mode 100644 meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state create mode 100644 meta-yocto-bsp/recipes-bsp/formfactor/formfactor/atom-pc/machconfig create mode 100755 meta-yocto-bsp/recipes-bsp/formfactor/formfactor/beagleboard/machconfig create mode 100644 meta-yocto-bsp/recipes-bsp/formfactor/formfactor_0.0.bbappend create mode 100644 meta-yocto-bsp/recipes-core/netbase/netbase-5.0/beagleboard/interfaces create mode 100644 meta-yocto-bsp/recipes-core/netbase/netbase_5.0.bbappend create mode 100644 meta-yocto-bsp/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend create mode 100644 meta-yocto-bsp/recipes-core/uclibc/uclibc/atom-pc/uClibc.machine create mode 100644 meta-yocto-bsp/recipes-core/uclibc/uclibc_git.bbappend create mode 100644 meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bbappend create mode 100644 meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bbappend create mode 100644 meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend create mode 100644 meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_git.bbappend create mode 100644 meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/atom-pc/xorg.conf create mode 100644 meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beagleboard/xorg.conf create mode 100644 meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.0.bbappend create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.2.bbappend create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend create mode 100644 meta-yocto-bsp/recipes-qt/qt4/qt4-x11-free_4.8.1.bbappend (limited to 'meta-yocto-bsp') diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf new file mode 100644 index 0000000000..49fb135094 --- /dev/null +++ b/meta-yocto-bsp/conf/layer.conf @@ -0,0 +1,11 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH := "${BBPATH}:${LAYERDIR}" + +# We have a packages directory, add to BBFILES +BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "yoctobsp" +BBFILE_PATTERN_yoctobsp := "^${LAYERDIR}/" +BBFILE_PRIORITY_yoctobsp = "5" + diff --git a/meta-yocto-bsp/conf/machine/atom-pc.conf b/meta-yocto-bsp/conf/machine/atom-pc.conf new file mode 100644 index 0000000000..46bc71b75d --- /dev/null +++ b/meta-yocto-bsp/conf/machine/atom-pc.conf @@ -0,0 +1,39 @@ +#@TYPE: Machine +#@NAME: Atom-PC + +#@DESCRIPTION: Machine configuration for Intel Atom based PCs. Currently supported machines are the Asus eee901, Acer Aspire One, Toshiba NB305, and Intel BlackSand development board. + +include conf/machine/include/tune-atom.inc + +MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 x86 wifi acpi alsa" + +KERNEL_IMAGETYPE = "bzImage" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "3.0%" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "xserver-xorg \ + xserver-xorg-extension-dri2 \ + xserver-xorg-extension-glx \ + xserver-xorg-extension-extmod \ + xserver-xorg-extension-dbe \ + xf86-input-mouse \ + xf86-input-keyboard \ + xf86-input-evdev \ + xf86-input-synaptics \ + xf86-video-intel \ + mesa-dri-driver-i915" + +#MACHINE_EXTRA_RDEPENDS = "rt2860" + +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts" + +IMAGE_FSTYPES ?= "ext3 cpio.gz live" + +APPEND += "usbcore.autosuspend=1" + +GLIBC_ADDONS = "nptl" + +EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" + +ROOTLESS_X = "1" diff --git a/meta-yocto-bsp/conf/machine/beagleboard.conf b/meta-yocto-bsp/conf/machine/beagleboard.conf new file mode 100644 index 0000000000..aa8fa07be4 --- /dev/null +++ b/meta-yocto-bsp/conf/machine/beagleboard.conf @@ -0,0 +1,40 @@ +#@TYPE: Machine +#@NAME: Beagleboard machine +#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board + +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg-lite" +XSERVER ?= "xserver-xorg-lite \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-omapfb \ + xf86-input-keyboard" + +# Ship all kernel modules by default +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +# Allow for MMC booting (required by the NAND-less Beagleboard XM) +EXTRA_IMAGEDEPENDS += "u-boot x-load" + +# Uncomment the following line to enable the hard floating point abi. Note that +# this breaks some binary libraries and 3D (neither of which ship with +# meta-yocto). For maximum compatibility, leave this disabled. +#DEFAULTTUNE ?= "cortexa8hf-neon" +include conf/machine/include/tune-cortexa8.inc + +IMAGE_FSTYPES += "tar.bz2 jffs2" +EXTRA_IMAGECMD_jffs2 = "-lnp " + +# 2.6.37 and later kernels use OMAP_SERIAL, ttyO2 +# earlier kernels use ttyS2 +SERIAL_CONSOLE = "115200 ttyO2" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "3.0%" + +KERNEL_IMAGETYPE = "uImage" + +UBOOT_MACHINE = "omap3_beagle_config" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa" diff --git a/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf b/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf new file mode 100644 index 0000000000..266f9d4978 --- /dev/null +++ b/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf @@ -0,0 +1,31 @@ +#@TYPE: Machine +#@DESCRIPTION: Machine configuration for running + +TARGET_FPU = "" + +require conf/machine/include/tune-ppc603e.inc + +KERNEL_IMAGETYPE = "uImage" + +EXTRA_IMAGEDEPENDS += "u-boot" +UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config" + +SERIAL_CONSOLE = "115200 ttyS0" + +MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" + +PREFERRED_VERSION_linux-yocto ?= "3.4%" +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" + +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "xserver-xorg \ + xserver-xorg-extension-extmod \ + xf86-input-evdev \ + xf86-video-fbdev" + +PREFERRED_VERSION_u-boot ?= "v2012.04%" +UBOOT_ENTRYPOINT = "0x00000000" + +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts" + +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" diff --git a/meta-yocto-bsp/conf/machine/routerstationpro.conf b/meta-yocto-bsp/conf/machine/routerstationpro.conf new file mode 100644 index 0000000000..707392d0c8 --- /dev/null +++ b/meta-yocto-bsp/conf/machine/routerstationpro.conf @@ -0,0 +1,26 @@ +#@TYPE: Machine +#@NAME: mti_malta32_be MIPS +#@DESCRIPTION: mti_malta32_be + +require conf/machine/include/tune-mips32.inc + +MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial" + +KERNEL_IMAGETYPE = "vmlinux" +KERNEL_ALT_IMAGETYPE = "vmlinux.bin" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "3.4%" + +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "xserver-xorg \ + xserver-xorg-extension-extmod \ + xf86-input-evdev \ + xf86-video-fbdev" + +SERIAL_CONSOLE = "115200 ttyS0" + +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +IMAGE_FSTYPES ?= "jffs2 tar.bz2" + diff --git a/meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state.bbappend b/meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state b/meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state new file mode 100644 index 0000000000..f92449152c --- /dev/null +++ b/meta-yocto-bsp/recipes-bsp/alsa-state/alsa-state/beagleboard/asound.state @@ -0,0 +1,656 @@ +state.omap3beagle { + control.1 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 'Option 2 (voice/audio)' + comment.item.1 'Option 1 (audio)' + iface MIXER + name 'Codec Operation Mode' + value 'Option 1 (audio)' + } + control.2 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 63' + comment.dbmin -6300 + comment.dbmax 0 + iface MIXER + name 'DAC1 Digital Fine Playback Volume' + value.0 0 + value.1 0 + } + control.3 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 63' + comment.dbmin -6300 + comment.dbmax 0 + iface MIXER + name 'DAC2 Digital Fine Playback Volume' + value.0 50 + value.1 50 + } + control.4 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 2' + comment.dbmin 0 + comment.dbmax 1200 + iface MIXER + name 'DAC1 Digital Coarse Playback Volume' + value.0 0 + value.1 0 + } + control.5 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 2' + comment.dbmin 0 + comment.dbmax 1200 + iface MIXER + name 'DAC2 Digital Coarse Playback Volume' + value.0 2 + value.1 2 + } + control.6 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 18' + comment.dbmin -2400 + comment.dbmax 1200 + iface MIXER + name 'DAC1 Analog Playback Volume' + value.0 0 + value.1 0 + } + control.7 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 18' + comment.dbmin -2400 + comment.dbmax 1200 + iface MIXER + name 'DAC2 Analog Playback Volume' + value.0 15 + value.1 15 + } + control.8 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'DAC1 Analog Playback Switch' + value.0 false + value.1 false + } + control.9 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'DAC2 Analog Playback Switch' + value.0 true + value.1 true + } + control.10 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '0 - 49' + comment.dbmin -3700 + comment.dbmax 1200 + iface MIXER + name 'DAC Voice Digital Downlink Volume' + value 0 + } + control.11 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '0 - 18' + comment.dbmin -2400 + comment.dbmax 1200 + iface MIXER + name 'DAC Voice Analog Downlink Volume' + value 18 + } + control.12 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'DAC Voice Analog Downlink Switch' + value false + } + control.13 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 3' + comment.dbmin -1200 + comment.dbmax 600 + iface MIXER + name 'PreDriv Playback Volume' + value.0 0 + value.1 0 + } + control.14 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 3' + comment.dbmin -1200 + comment.dbmax 600 + iface MIXER + name 'Headset Playback Volume' + value.0 3 + value.1 3 + } + control.15 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 3' + comment.dbmin -1200 + comment.dbmax 600 + iface MIXER + name 'Carkit Playback Volume' + value.0 0 + value.1 0 + } + control.16 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '0 - 3' + comment.dbmin -600 + comment.dbmax 1200 + iface MIXER + name 'Earpiece Playback Volume' + value 0 + } + control.17 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 31' + comment.dbmin 0 + comment.dbmax 3100 + iface MIXER + name 'TX1 Digital Capture Volume' + value.0 12 + value.1 12 + } + control.18 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 31' + comment.dbmin 0 + comment.dbmax 3100 + iface MIXER + name 'TX2 Digital Capture Volume' + value.0 0 + value.1 0 + } + control.19 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 5' + comment.dbmin 0 + comment.dbmax 3000 + iface MIXER + name 'Analog Capture Volume' + value.0 0 + value.1 0 + } + control.20 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 'Voice high priority' + comment.item.1 'HiFi high priority' + iface MIXER + name 'AVADC Clock Priority' + value 'Voice high priority' + } + control.21 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 '27/20/14 ms' + comment.item.1 '55/40/27 ms' + comment.item.2 '109/81/55 ms' + comment.item.3 '218/161/109 ms' + comment.item.4 '437/323/218 ms' + comment.item.5 '874/645/437 ms' + comment.item.6 '1748/1291/874 ms' + comment.item.7 '3495/2581/1748 ms' + iface MIXER + name 'HS ramp delay' + value '27/20/14 ms' + } + control.22 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 'Vibra H-bridge direction' + comment.item.1 'Audio data MSB' + iface MIXER + name 'Vibra H-bridge mode' + value 'Vibra H-bridge direction' + } + control.23 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 'Positive polarity' + comment.item.1 'Negative polarity' + iface MIXER + name 'Vibra H-bridge direction' + value 'Positive polarity' + } + control.24 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Analog Right Sub Mic Capture Switch' + value false + } + control.25 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Analog Right AUXR Capture Switch' + value true + } + control.26 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Analog Left Main Mic Capture Switch' + value false + } + control.27 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Analog Left Headset Mic Capture Switch' + value false + } + control.28 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Analog Left AUXL Capture Switch' + value true + } + control.29 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Analog Left Carkit Mic Capture Switch' + value false + } + control.30 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 Analog + comment.item.1 Digimic1 + iface MIXER + name 'TX2 Capture Route' + value Analog + } + control.31 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 Analog + comment.item.1 Digimic0 + iface MIXER + name 'TX1 Capture Route' + value Analog + } + control.32 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 'Local vibrator' + comment.item.1 Audio + iface MIXER + name 'Vibra Route' + value 'Local vibrator' + } + control.33 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 AudioL1 + comment.item.1 AudioR1 + comment.item.2 AudioL2 + comment.item.3 AudioR2 + iface MIXER + name 'Vibra Mux' + value AudioL1 + } + control.34 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HandsfreeR Switch' + value false + } + control.35 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 Voice + comment.item.1 AudioR1 + comment.item.2 AudioR2 + comment.item.3 AudioL2 + iface MIXER + name 'HandsfreeR Mux' + value Voice + } + control.36 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HandsfreeL Switch' + value false + } + control.37 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 1 + comment.item.0 Voice + comment.item.1 AudioL1 + comment.item.2 AudioL2 + comment.item.3 AudioR2 + iface MIXER + name 'HandsfreeL Mux' + value Voice + } + control.38 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'CarkitR Mixer Voice' + value false + } + control.39 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'CarkitR Mixer AudioR1' + value false + } + control.40 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'CarkitR Mixer AudioR2' + value false + } + control.41 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'CarkitL Mixer Voice' + value false + } + control.42 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'CarkitL Mixer AudioL1' + value false + } + control.43 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'CarkitL Mixer AudioL2' + value false + } + control.44 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HeadsetR Mixer Voice' + value false + } + control.45 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HeadsetR Mixer AudioR1' + value false + } + control.46 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HeadsetR Mixer AudioR2' + value true + } + control.47 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HeadsetL Mixer Voice' + value false + } + control.48 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HeadsetL Mixer AudioL1' + value false + } + control.49 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'HeadsetL Mixer AudioL2' + value true + } + control.50 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveR Mixer Voice' + value false + } + control.51 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveR Mixer AudioR1' + value false + } + control.52 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveR Mixer AudioR2' + value false + } + control.53 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveR Mixer AudioL2' + value false + } + control.54 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveL Mixer Voice' + value false + } + control.55 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveL Mixer AudioL1' + value false + } + control.56 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveL Mixer AudioL2' + value false + } + control.57 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'PredriveL Mixer AudioR2' + value false + } + control.58 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Earpiece Mixer Voice' + value false + } + control.59 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Earpiece Mixer AudioL1' + value false + } + control.60 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Earpiece Mixer AudioL2' + value false + } + control.61 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Earpiece Mixer AudioR1' + value false + } + control.62 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '0 - 41' + comment.dbmin -5100 + comment.dbmax -1000 + iface MIXER + name 'Voice Digital Loopback Volume' + value 0 + } + control.63 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '0 - 7' + comment.dbmin -2400 + comment.dbmax 0 + iface MIXER + name 'Right Digital Loopback Volume' + value 0 + } + control.64 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '0 - 7' + comment.dbmin -2400 + comment.dbmax 0 + iface MIXER + name 'Left Digital Loopback Volume' + value 0 + } + control.65 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Voice Analog Loopback Switch' + value false + } + control.66 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Left2 Analog Loopback Switch' + value false + } + control.67 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Right2 Analog Loopback Switch' + value false + } + control.68 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Left1 Analog Loopback Switch' + value false + } + control.69 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Right1 Analog Loopback Switch' + value false + } +} diff --git a/meta-yocto-bsp/recipes-bsp/formfactor/formfactor/atom-pc/machconfig b/meta-yocto-bsp/recipes-bsp/formfactor/formfactor/atom-pc/machconfig new file mode 100644 index 0000000000..bef4ce3c9b --- /dev/null +++ b/meta-yocto-bsp/recipes-bsp/formfactor/formfactor/atom-pc/machconfig @@ -0,0 +1,6 @@ +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1 + +DISPLAY_CAN_ROTATE=0 +DISPLAY_ORIENTATION=0 +DISPLAY_DPI=133 diff --git a/meta-yocto-bsp/recipes-bsp/formfactor/formfactor/beagleboard/machconfig b/meta-yocto-bsp/recipes-bsp/formfactor/formfactor/beagleboard/machconfig new file mode 100755 index 0000000000..a46859f139 --- /dev/null +++ b/meta-yocto-bsp/recipes-bsp/formfactor/formfactor/beagleboard/machconfig @@ -0,0 +1,3 @@ +# Assume a USB mouse and touchscreen are connected +HAVE_TOUCHSCREEN=0 +HAVE_KEYBOARD=1 diff --git a/meta-yocto-bsp/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-yocto-bsp/recipes-bsp/formfactor/formfactor_0.0.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-yocto-bsp/recipes-bsp/formfactor/formfactor_0.0.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-yocto-bsp/recipes-core/netbase/netbase-5.0/beagleboard/interfaces b/meta-yocto-bsp/recipes-core/netbase/netbase-5.0/beagleboard/interfaces new file mode 100644 index 0000000000..b6935c11af --- /dev/null +++ b/meta-yocto-bsp/recipes-core/netbase/netbase-5.0/beagleboard/interfaces @@ -0,0 +1,27 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + +# Wireless interfaces +iface wlan0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver wext + wpa-conf /etc/wpa_supplicant.conf + +iface atml0 inet dhcp + +# Wired or wireless interfaces +auto eth0 +iface eth0 inet dhcp +iface eth1 inet dhcp + +# Ethernet/RNDIS gadget (g_ether) or LAN9514 on BeagleBoard xM +auto usb0 +iface usb0 inet dhcp + +# Bluetooth networking +iface bnep0 inet dhcp + diff --git a/meta-yocto-bsp/recipes-core/netbase/netbase_5.0.bbappend b/meta-yocto-bsp/recipes-core/netbase/netbase_5.0.bbappend new file mode 100644 index 0000000000..56223033bd --- /dev/null +++ b/meta-yocto-bsp/recipes-core/netbase/netbase_5.0.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" diff --git a/meta-yocto-bsp/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend b/meta-yocto-bsp/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend new file mode 100644 index 0000000000..352c1f9f22 --- /dev/null +++ b/meta-yocto-bsp/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend @@ -0,0 +1,2 @@ +RDEPENDS_${PN}_append_atom-pc = " lttng-ust systemtap" + diff --git a/meta-yocto-bsp/recipes-core/uclibc/uclibc/atom-pc/uClibc.machine b/meta-yocto-bsp/recipes-core/uclibc/uclibc/atom-pc/uClibc.machine new file mode 100644 index 0000000000..5df15f94cb --- /dev/null +++ b/meta-yocto-bsp/recipes-core/uclibc/uclibc/atom-pc/uClibc.machine @@ -0,0 +1,69 @@ +# +# Automatically generated make config: don't edit +# Fri Nov 23 15:49:33 2007 +# +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +TARGET_i386=y +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="i386" +FORCE_OPTIONS_FOR_ARCH=y +CONFIG_GENERIC_386=y +# CONFIG_386 is not set +# CONFIG_486 is not set +# CONFIG_586 is not set +# CONFIG_586MMX is not set +# CONFIG_686 is not set +# CONFIG_PENTIUMII is not set +# CONFIG_PENTIUMIII is not set +# CONFIG_PENTIUM4 is not set +# CONFIG_K6 is not set +# CONFIG_K7 is not set +# CONFIG_ELAN is not set +# CONFIG_CRUSOE is not set +# CONFIG_WINCHIPC6 is not set +# CONFIG_WINCHIP2 is not set +# CONFIG_CYRIXIII is not set +# CONFIG_NEHEMIAH is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_LITTLE_ENDIAN=y + +# +# Using Little Endian +# +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +UCLIBC_HAS_FPU=y +DO_C99_MATH=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +UCLIBC_HAS_FENV=y diff --git a/meta-yocto-bsp/recipes-core/uclibc/uclibc_git.bbappend b/meta-yocto-bsp/recipes-core/uclibc/uclibc_git.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-yocto-bsp/recipes-core/uclibc/uclibc_git.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bbappend b/meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bbappend new file mode 100644 index 0000000000..0105adee05 --- /dev/null +++ b/meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bbappend @@ -0,0 +1 @@ +SDK-EXTRAS_atom-pc ?= " lttng-ust-dev" diff --git a/meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bbappend b/meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bbappend new file mode 100644 index 0000000000..0105adee05 --- /dev/null +++ b/meta-yocto-bsp/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bbappend @@ -0,0 +1 @@ +SDK-EXTRAS_atom-pc ?= " lttng-ust-dev" diff --git a/meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend b/meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend new file mode 100644 index 0000000000..7e8e7732db --- /dev/null +++ b/meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend @@ -0,0 +1,3 @@ +# Atom PCs have DRI support so use mesa-dri by default +DEFAULT_PREFERENCE_atom-pc = "2" + diff --git a/meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_git.bbappend b/meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_git.bbappend new file mode 100644 index 0000000000..61d3891663 --- /dev/null +++ b/meta-yocto-bsp/recipes-graphics/mesa/mesa-dri_git.bbappend @@ -0,0 +1,3 @@ +# Atom PCs have DRI support so use mesa-dri by default +DEFAULT_PREFERENCE_atom-pc = "1" + diff --git a/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/atom-pc/xorg.conf b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/atom-pc/xorg.conf new file mode 100644 index 0000000000..e18b911199 --- /dev/null +++ b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/atom-pc/xorg.conf @@ -0,0 +1,26 @@ +Section "Device" + Identifier "Intel Graphics Driver" + Driver "intel" +EndSection + +Section "Monitor" + Identifier "Generic Monitor" + Option "DPMS" +EndSection + +Section "Screen" + Identifier "Default Screen" + Device "Intel Graphics Driver" + Monitor "Generic Monitor" + DefaultDepth 24 +EndSection + +Section "ServerLayout" + Identifier "Default Layout" + Screen "Default Screen" +EndSection + +Section "ServerFlags" + Option "DontZap" "0" + Option "AutoAddDevices" "False" +EndSection diff --git a/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beagleboard/xorg.conf b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beagleboard/xorg.conf new file mode 100644 index 0000000000..0335e6af76 --- /dev/null +++ b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/beagleboard/xorg.conf @@ -0,0 +1,34 @@ +Section "Module" + Load "extmod" + Load "dbe" + Load "glx" + Load "freetype" + Load "type1" + Load "record" + Load "dri" +EndSection + +Section "Monitor" + Identifier "Builtin Default Monitor" +EndSection + +Section "Device" + Identifier "Builtin Default fbdev Device 0" + Driver "omapfb" +EndSection + +Section "Screen" + Identifier "Builtin Default fbdev Screen 0" + Device "Builtin Default fbdev Device 0" + Monitor "Builtin Default Monitor" +EndSection + +Section "ServerLayout" + Identifier "Builtin Default Layout" + Screen "Builtin Default fbdev Screen 0" +EndSection + +Section "ServerFlags" + Option "DontZap" "0" + Option "AutoAddDevices" "False" +EndSection diff --git a/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-yocto-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend new file mode 100644 index 0000000000..274eb822ce --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend @@ -0,0 +1,25 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +# atom-pc support +COMPATIBLE_MACHINE_atom-pc = "atom-pc" +KMACHINE_atom-pc = "atom-pc" +KBRANCH_atom-pc = "yocto/standard/preempt-rt/base" +SRCREV_machine_pn-linux-yocto-rt_atom-pc = "bbd5bfe49403fdcca294ca4b163d5f7195ea3a8e" + +# mpc8315e-rdb support +COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" +KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb" +KBRANCH_mpc8315e-rdb = "yocto/standard/preempt-rt/base" +SRCREV_machine_pn-linux-yocto-rt_mpc8315e-rdb = "bbd5bfe49403fdcca294ca4b163d5f7195ea3a8e" + +# beagleboard support - 3.0 support has not yet been completed, build failure +#COMPATIBLE_MACHINE_beagleboard = "beagleboard" +#KMACHINE_beagleboard = "beagleboard" +#KBRANCH_beagleboard = "yocto/standard/preempt-rt/base" +#SRCREV_machine_pn-linux-yocto-rt_beagleboard = + +# routerstationpro support - preempt-rt kernel build failure +COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" +KMACHINE_routerstationpro = "routerstationpro" +KBRANCH_routerstationpro = "yocto/standard/preempt-rt/routerstationpro" +SRCREV_machine_pn-linux-yocto-rt_routerstationpro = "634ba79510753eecd27a39a315f690f1c9d46efe" diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.0.bbappend new file mode 100644 index 0000000000..9641336cf6 --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.0.bbappend @@ -0,0 +1,15 @@ +KBRANCH_atom-pc = "yocto/standard/common-pc/atom-pc" +KBRANCH_routerstationpro = "yocto/standard/routerstationpro" +KBRANCH_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb" +KBRANCH_beagleboard = "yocto/standard/beagleboard" + +SRCREV_machine_atom-pc ?= "834c2a69c87ee7211932f8ec5102a472828abcb1" +SRCREV_machine_routerstationpro ?= "1c17c082b6ee565acc176cde5be835ac4269817b" +SRCREV_machine_mpc8315e-rdb ?= "f2312437b52dda4499310aacb4c561ba8b8cbeb7" +SRCREV_machine_beagleboard ?= "3ab688a78cac7b2e32afc83376a53370f2bd13b7" + + +COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" +COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" +COMPATIBLE_MACHINE_beagleboard = "beagleboard" +COMPATIBLE_MACHINE_atom-pc = "atom-pc" diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.2.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.2.bbappend new file mode 100644 index 0000000000..fa160f8caf --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.2.bbappend @@ -0,0 +1,14 @@ +KBRANCH_atom-pc = "standard/default/common-pc/atom-pc" +KBRANCH_routerstationpro = "standard/default/routerstationpro" +KBRANCH_mpc8315e-rdb = "standard/default/fsl-mpc8315e-rdb" +KBRANCH_beagleboard = "standard/default/beagleboard" + +SRCREV_machine_atom-pc ?= "41074a778d251a77e036fd8a99915cd4da6cd8f7" +SRCREV_machine_routerstationpro ?= "94abc0d75d0a99c40c53402570cd9c569539fee9" +SRCREV_machine_mpc8315e-rdb ?= "a04e94f4dae9cf6d32d059cf9e0308abe7341a3a" +SRCREV_machine_beagleboard ?= "40bde7a43ef3cd85729ab02464a7ecdf71e522a6" + +COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" +COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" +COMPATIBLE_MACHINE_beagleboard = "beagleboard" +COMPATIBLE_MACHINE_atom-pc = "atom-pc" diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend new file mode 100644 index 0000000000..e9a6d9de48 --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend @@ -0,0 +1,15 @@ +KBRANCH_atom-pc = "standard/common-pc/atom-pc" +KBRANCH_routerstationpro = "standard/routerstationpro" +KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" +KBRANCH_beagleboard = "standard/beagleboard" + +SRCREV_machine_atom-pc ?= "0985844fa6235422c67ef269952fa4e765f252f9" +SRCREV_machine_routerstationpro ?= "a2907c57acfb8fa71095a3ce5b20994ff859dbc5" +SRCREV_machine_mpc8315e-rdb ?= "363a6f7e0c95aabec779a7ea3474662d191b935c" +SRCREV_machine_beagleboard ?= "0985844fa6235422c67ef269952fa4e765f252f9" + + +COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb" +COMPATIBLE_MACHINE_routerstationpro = "routerstationpro" +# COMPATIBLE_MACHINE_beagleboard = "beagleboard" +COMPATIBLE_MACHINE_atom-pc = "atom-pc" diff --git a/meta-yocto-bsp/recipes-qt/qt4/qt4-x11-free_4.8.1.bbappend b/meta-yocto-bsp/recipes-qt/qt4/qt4-x11-free_4.8.1.bbappend new file mode 100644 index 0000000000..0c948bcf13 --- /dev/null +++ b/meta-yocto-bsp/recipes-qt/qt4/qt4-x11-free_4.8.1.bbappend @@ -0,0 +1,2 @@ +QT_GLFLAGS_atom-pc = "-opengl" +QT_GLFLAGS_mpc8315e-rdb = "-opengl" -- cgit v1.2.3-54-g00ecf