diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-09-02 12:13:36 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-09-02 12:15:45 +0300 |
commit | 74d228d7fd5b6c533852a6856b01d4d21f80216b (patch) | |
tree | d51284ba079a53c824cdd3bf6a434dda2fa61584 | |
parent | fa7c1238796da94fff794d865e501622301a5d85 (diff) | |
parent | a1af90f3e900e5fd93fdedf74bafd2269f92ec45 (diff) | |
download | meta-boot2qt-74d228d7fd5b6c533852a6856b01d4d21f80216b.tar.gz |
Merge remote-tracking branch 'origin/stable' into dev
* origin/stable: (45 commits)
Update sha1 for meta-fsl-arm-extra
Include u-boot-fw-tools to image
New sha1 for meta-fsl-arm-extra
Fix c_rehash problem on ca-certificates
linux-boundary: revert 1G/3G memory split configure
Use specific SHA1 from all of the meta repos
beagleboard specific u-boot was removed from meta-ti
Old libgles-omap3 packages were removed from meta-ti
toradex: enable FunctionFS module needed for adb
bbb: correct path for kernel configure fragment
image: include i2c-tools in image
adb: enabled network mode for toradex
toradex: Add hardware acceleration for gstream
adbd: add dependency to openssl for libcrypto
Include toradex repository
imx6: set preferred version for gpu drivers
Include older Vivante drivers for Apalis iMX6
Include support for Toradox Apalis iMX6
BBB: enable USB serial kernel drivers
No need for RPi in BBMASK
...
Change-Id: I9a3a329c0ec64476a5809c7bcd06a2bbe44655b4
60 files changed, 904 insertions, 806 deletions
@@ -28,27 +28,31 @@ OpenEmbedded and Yocto. | |||
28 | 28 | ||
29 | This layer depends on: | 29 | This layer depends on: |
30 | 30 | ||
31 | URI: git://git.openembedded.org/openembedded-core | 31 | URI: git://git.yoctoproject.org/poky |
32 | branch: dora | 32 | branch: daisy |
33 | revision: HEAD | 33 | revision: b0ce70ffa820c8b4069bdb413f7aa9db668b9428 |
34 | 34 | ||
35 | URI: git://git.openembedded.org/meta-openembedded | 35 | URI: git://git.openembedded.org/meta-openembedded |
36 | layer: meta-oe | 36 | layer: meta-oe |
37 | branch: dora | 37 | branch: daisy |
38 | revision: HEAD | 38 | revision: a6dcf6265822ca1484d991d10a3042e04a960cdb |
39 | 39 | ||
40 | URI: git://git.yoctoproject.org/meta-ti | 40 | URI: git://git.yoctoproject.org/meta-ti |
41 | branch: dora | 41 | branch: daisy |
42 | revision: HEAD | 42 | revision: 5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66 |
43 | 43 | ||
44 | URI: git://git.yoctoproject.org/meta-fsl-arm | 44 | URI: git://git.yoctoproject.org/meta-fsl-arm |
45 | branch: dora | 45 | branch: daisy |
46 | revision: HEAD | 46 | revision: f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b |
47 | 47 | ||
48 | URI: git://github.com/Freescale/meta-fsl-arm-extra.git | 48 | URI: git://github.com/Freescale/meta-fsl-arm-extra |
49 | branch: dora | 49 | branch: daisy |
50 | revision: HEAD | 50 | revision: 029f535cfbc5746288c6129babb2d7679927a183 |
51 | 51 | ||
52 | URI: git://git.yoctoproject.org/meta-raspberrypi | 52 | URI: git://git.yoctoproject.org/meta-raspberrypi |
53 | branch: dora | 53 | branch: daisy |
54 | revision: HEAD | 54 | revision: cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55 |
55 | |||
56 | URI: git://git.toradex.com/meta-toradex.git | ||
57 | branch: V2.2 | ||
58 | revision: 371ea626f29a2a12294ab6ea30e36743a9e2f78f | ||
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 8c4da01..e1f34fc 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -33,29 +33,32 @@ mkdir -p ${1} | |||
33 | DIR=$(readlink -f $(dirname $0)) | 33 | DIR=$(readlink -f $(dirname $0)) |
34 | BUILDDIR=$(readlink -f $1) | 34 | BUILDDIR=$(readlink -f $1) |
35 | 35 | ||
36 | if [ ! -d ${BUILDDIR}/poky ]; then | 36 | checkout() { |
37 | git clone git://git.yoctoproject.org/poky ${BUILDDIR}/poky -b dora | 37 | REPO=$1 |
38 | fi | 38 | REPODIR=${REPO##*/} |
39 | 39 | if [ ${REPODIR} != "poky" ]; then | |
40 | if [ ! -d ${BUILDDIR}/poky/meta-openembedded ]; then | 40 | REPODIR="poky/${REPODIR}" |
41 | git clone git://git.openembedded.org/meta-openembedded ${BUILDDIR}/poky/meta-openembedded -b dora | 41 | fi |
42 | fi | 42 | REF=${2%%:*} |
43 | 43 | SHA1=${2##*:} | |
44 | if [ ! -d ${BUILDDIR}/poky/meta-ti ]; then | 44 | if [ ! -d ${BUILDDIR}/${REPODIR} ]; then |
45 | git clone git://git.yoctoproject.org/meta-ti ${BUILDDIR}/poky/meta-ti -b dora | 45 | mkdir ${BUILDDIR}/${REPODIR} |
46 | fi | 46 | cd ${BUILDDIR}/${REPODIR} |
47 | git init | ||
48 | git remote add origin ${REPO} -f | ||
49 | git checkout ${REF} | ||
50 | git reset --hard ${SHA1} | ||
51 | cd - | ||
52 | fi | ||
53 | } | ||
47 | 54 | ||
48 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm ]; then | 55 | checkout git://git.yoctoproject.org/poky "daisy:b0ce70ffa820c8b4069bdb413f7aa9db668b9428" |
49 | git clone git://git.yoctoproject.org/meta-fsl-arm ${BUILDDIR}/poky/meta-fsl-arm -b dora | 56 | checkout git://git.yoctoproject.org/meta-fsl-arm "daisy:f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b" |
50 | fi | 57 | checkout git://github.com/Freescale/meta-fsl-arm-extra "daisy:6c3871ea5b0ec358e978814b5b38cef40d8dcbbc" |
51 | 58 | checkout git://git.yoctoproject.org/meta-ti "daisy:5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66" | |
52 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm-extra ]; then | 59 | checkout git://git.yoctoproject.org/meta-raspberrypi "daisy:cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55" |
53 | git clone git://github.com/Freescale/meta-fsl-arm-extra.git ${BUILDDIR}/poky/meta-fsl-arm-extra -b dora | 60 | checkout git://git.toradex.com/meta-toradex "V2.2:371ea626f29a2a12294ab6ea30e36743a9e2f78f" |
54 | fi | 61 | checkout git://git.openembedded.org/meta-openembedded "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb" |
55 | |||
56 | if [ ! -d ${BUILDDIR}/poky/meta-raspberrypi ]; then | ||
57 | git clone git://git.yoctoproject.org/meta-raspberrypi ${BUILDDIR}/poky/meta-raspberrypi -b dora | ||
58 | fi | ||
59 | 62 | ||
60 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then | 63 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then |
61 | ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt | 64 | ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt |
diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass index 5292965..cbb6c4c 100644 --- a/classes/bootfs-image.bbclass +++ b/classes/bootfs-image.bbclass | |||
@@ -26,7 +26,7 @@ BOOTFS_LINK_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}" | |||
26 | BOOTFS_DEPENDS ?= "" | 26 | BOOTFS_DEPENDS ?= "" |
27 | 27 | ||
28 | fakeroot do_bootfs () { | 28 | fakeroot do_bootfs () { |
29 | if [ -n ${BOOTFS_CONTENT} ]; then | 29 | if [ -z "${BOOTFS_CONTENT}" ]; then |
30 | exit 0 | 30 | exit 0 |
31 | fi | 31 | fi |
32 | 32 | ||
diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample index 5a95ec2..9789ceb 100644 --- a/conf/bblayers.conf.sample +++ b/conf/bblayers.conf.sample | |||
@@ -34,6 +34,7 @@ BBLAYERS ?= " \ | |||
34 | ##COREBASE##/meta-fsl-arm-extra \ | 34 | ##COREBASE##/meta-fsl-arm-extra \ |
35 | ##COREBASE##/meta-ti \ | 35 | ##COREBASE##/meta-ti \ |
36 | ##COREBASE##/meta-raspberrypi \ | 36 | ##COREBASE##/meta-raspberrypi \ |
37 | ##COREBASE##/meta-toradex \ | ||
37 | ##COREBASE##/meta-openembedded/meta-oe \ | 38 | ##COREBASE##/meta-openembedded/meta-oe \ |
38 | ##COREBASE##/meta-b2qt \ | 39 | ##COREBASE##/meta-b2qt \ |
39 | " | 40 | " |
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index 66ddcf1..8819c93 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -24,7 +24,7 @@ include conf/distro/poky.conf | |||
24 | 24 | ||
25 | DISTRO = "b2qt" | 25 | DISTRO = "b2qt" |
26 | DISTRO_NAME = "Boot to Qt for Embedded Linux" | 26 | DISTRO_NAME = "Boot to Qt for Embedded Linux" |
27 | DISTRO_VERSION = "1.5" | 27 | DISTRO_VERSION = "1.6" |
28 | SDK_VERSION := "${DISTRO_VERSION}" | 28 | SDK_VERSION := "${DISTRO_VERSION}" |
29 | 29 | ||
30 | MAINTAINER = "B2Qt <B2Qt@digia.com>" | 30 | MAINTAINER = "B2Qt <B2Qt@digia.com>" |
@@ -39,7 +39,7 @@ include conf/distro/include/${MACHINE}.conf | |||
39 | 39 | ||
40 | SYSVINIT_ENABLED_GETTYS = "" | 40 | SYSVINIT_ENABLED_GETTYS = "" |
41 | 41 | ||
42 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc" | 42 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 largefile usbgadget usbhost wifi xattr nfs" |
43 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" | 43 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" |
44 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" | 44 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" |
45 | 45 | ||
diff --git a/conf/distro/include/apalis-imx6.conf b/conf/distro/include/apalis-imx6.conf new file mode 100644 index 0000000..144693d --- /dev/null +++ b/conf/distro/include/apalis-imx6.conf | |||
@@ -0,0 +1,52 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | IMAGE_FSTYPES = "tar.gz" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | ||
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | ||
27 | u-boot-${MACHINE}.imx:u-boot.imx \ | ||
28 | " | ||
29 | BOOTFS_DEPENDS = "u-boot:do_deploy" | ||
30 | |||
31 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.9-1.0.0-hfp" | ||
32 | PREFERRED_VERSION_imx-lib = "3.10.9-1.0.0" | ||
33 | |||
34 | MACHINE_EXTRA_INSTALL = "\ | ||
35 | libgal-mx6 \ | ||
36 | libegl-mx6 \ | ||
37 | libgles2-mx6 \ | ||
38 | gst-fsl-plugin \ | ||
39 | " | ||
40 | |||
41 | MACHINE_EXTRA_INSTALL_SDK = " \ | ||
42 | libgal-mx6 \ | ||
43 | libegl-mx6 \ | ||
44 | libegl-mx6-dev \ | ||
45 | libgles2-mx6 \ | ||
46 | libgles2-mx6-dev \ | ||
47 | " | ||
48 | |||
49 | ADB_PRODUCTID = "0x0000" | ||
50 | |||
51 | SERIAL_CONSOLES = "115200;ttymxc0 \ | ||
52 | 115200;ttymxc1" | ||
diff --git a/conf/distro/include/imx6qsabresd.conf b/conf/distro/include/imx6qsabresd.conf new file mode 100644 index 0000000..a19f85f --- /dev/null +++ b/conf/distro/include/imx6qsabresd.conf | |||
@@ -0,0 +1,52 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | IMAGE_FSTYPES = "tar.gz ext3 sdcard" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | ||
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | ||
27 | ${KERNEL_IMAGETYPE}-imx6q-sabresd.dtb:imx6q-sabresd.dtb \ | ||
28 | ${KERNEL_IMAGETYPE}-imx6q-sabresd-hdcp.dtb:imx6q-sabresd-hdcp.dtb \ | ||
29 | ${KERNEL_IMAGETYPE}-imx6q-sabresd-ldo.dtb:imx6q-sabresd-ldo.dtb \ | ||
30 | u-boot-${MACHINE}.imx:u-boot.imx \ | ||
31 | " | ||
32 | BOOTFS_DEPENDS = "u-boot:do_deploy" | ||
33 | |||
34 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.0-hfp" | ||
35 | PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0" | ||
36 | |||
37 | MACHINE_EXTRA_INSTALL = "\ | ||
38 | libgal-mx6 \ | ||
39 | libegl-mx6 \ | ||
40 | libgles2-mx6 \ | ||
41 | gst-fsl-plugin \ | ||
42 | " | ||
43 | |||
44 | MACHINE_EXTRA_INSTALL_SDK = " \ | ||
45 | libgal-mx6 \ | ||
46 | libegl-mx6 \ | ||
47 | libegl-mx6-dev \ | ||
48 | libgles2-mx6 \ | ||
49 | libgles2-mx6-dev \ | ||
50 | " | ||
51 | |||
52 | ADB_PRODUCTID = "0x0000" | ||
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf index 2a64026..9af8417 100644 --- a/conf/distro/include/nitrogen6x.conf +++ b/conf/distro/include/nitrogen6x.conf | |||
@@ -24,6 +24,9 @@ IMAGE_FSTYPES = "tar.gz" | |||
24 | 24 | ||
25 | BOOTFS_CONTENT = "\ | 25 | BOOTFS_CONTENT = "\ |
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | 26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ |
27 | ${KERNEL_IMAGETYPE}-imx6q-${MACHINE}.dtb:imx6q-${MACHINE}.dtb \ | ||
28 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:imx6dl-${MACHINE}.dtb \ | ||
29 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:imx6q-sabrelite.dtb \ | ||
27 | 6x_bootscript-${MACHINE}:6x_bootscript \ | 30 | 6x_bootscript-${MACHINE}:6x_bootscript \ |
28 | 6x_upgrade-${MACHINE}:6x_upgrade \ | 31 | 6x_upgrade-${MACHINE}:6x_upgrade \ |
29 | " | 32 | " |
@@ -31,6 +34,9 @@ BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-bounda | |||
31 | 34 | ||
32 | EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" | 35 | EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" |
33 | 36 | ||
37 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.0-hfp" | ||
38 | PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0" | ||
39 | |||
34 | MACHINE_EXTRA_INSTALL = "\ | 40 | MACHINE_EXTRA_INSTALL = "\ |
35 | libgal-mx6 \ | 41 | libgal-mx6 \ |
36 | libegl-mx6 \ | 42 | libegl-mx6 \ |
diff --git a/conf/local.conf.sample b/conf/local.conf.sample index a9e1b34..3874397 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample | |||
@@ -275,7 +275,8 @@ CONF_VERSION = "1" | |||
275 | 275 | ||
276 | INHERIT += "rm_work" | 276 | INHERIT += "rm_work" |
277 | 277 | ||
278 | BBMASK = "meta-ti/recipes-misc|meta-raspberrypi/recipes-graphics/mesa/mesa_9.2.2.bbappend" | 278 | BBMASK = "meta-ti/recipes-misc" |
279 | BBMASK += "|meta-toradex/recipes/images|meta-toradex/recipes-browser|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes-mozilla|meta-toradex/recipes-graphics|meta-toradex/recipes-devtools/mtd|meta-toradex/recipes-core/psplash|meta-toradex/recipes-lxde|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes/trdx-config|meta-toradex/recipes-core/util-linux|meta-toradex/recipes-core/systemd|meta-toradex/recipes-support|meta-toradex/recipes-core/dropbear|meta-toradex/recipes/base-files|meta-toradex/recipes-multimedia/gstreamer" | ||
279 | ACCEPT_FSL_EULA = "1" | 280 | ACCEPT_FSL_EULA = "1" |
280 | LICENSE_FLAGS_WHITELIST = "commercial" | 281 | LICENSE_FLAGS_WHITELIST = "commercial" |
281 | 282 | ||
diff --git a/recipes/adbd/adbd.bb b/recipes/adbd/adbd.bb index 9e3ed67..562e1d1 100644 --- a/recipes/adbd/adbd.bb +++ b/recipes/adbd/adbd.bb | |||
@@ -31,6 +31,7 @@ PR = "r0" | |||
31 | SRCREV = "${PV}" | 31 | SRCREV = "${PV}" |
32 | 32 | ||
33 | RRECOMMENDS_${PN} += "kernel-module-g-ffs" | 33 | RRECOMMENDS_${PN} += "kernel-module-g-ffs" |
34 | DEPENDS = "openssl" | ||
34 | 35 | ||
35 | SRC_URI = "git://android.googlesource.com/platform/system/core;protocol=https \ | 36 | SRC_URI = "git://android.googlesource.com/platform/system/core;protocol=https \ |
36 | file://adbd.patch;striplevel=2 \ | 37 | file://adbd.patch;striplevel=2 \ |
diff --git a/recipes/adbd/files/apalis-imx6/defaults b/recipes/adbd/files/apalis-imx6/defaults new file mode 100644 index 0000000..0fbba4c --- /dev/null +++ b/recipes/adbd/files/apalis-imx6/defaults | |||
@@ -0,0 +1,4 @@ | |||
1 | VENDOR=0x18d1 | ||
2 | PRODUCT=0x0000 | ||
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | ||
4 | USE_ETHERNET=yes | ||
diff --git a/recipes/base-files/base-files/blacklist.conf b/recipes/base-files/base-files/blacklist.conf new file mode 100644 index 0000000..a8b8885 --- /dev/null +++ b/recipes/base-files/base-files/blacklist.conf | |||
@@ -0,0 +1 @@ | |||
blacklist evbug | |||
diff --git a/recipes/base-files/base-files_3.0.14.bbappend b/recipes/base-files/base-files_3.0.14.bbappend index 4b8908a..6e083e2 100644 --- a/recipes/base-files/base-files_3.0.14.bbappend +++ b/recipes/base-files/base-files_3.0.14.bbappend | |||
@@ -20,7 +20,15 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | SRC_URI += "\ | ||
25 | file://blacklist.conf \ | ||
26 | " | ||
27 | |||
23 | do_install_append() { | 28 | do_install_append() { |
24 | ln -s /home/root ${D}/root | 29 | ln -s /home/root ${D}/root |
25 | echo ${MACHINE_HOSTNAME} > ${D}${sysconfdir}/hostname | 30 | echo ${MACHINE_HOSTNAME} > ${D}${sysconfdir}/hostname |
31 | |||
32 | install -m 0755 -d ${D}${sysconfdir}/modprobe.d | ||
33 | install -m 0644 ${WORKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d | ||
26 | } | 34 | } |
diff --git a/recipes/busybox/busybox_1.21.1.bbappend b/recipes/busybox/busybox_1.22.1.bbappend index fe5d5ea..fe5d5ea 100644 --- a/recipes/busybox/busybox_1.21.1.bbappend +++ b/recipes/busybox/busybox_1.22.1.bbappend | |||
diff --git a/recipes/ca-certificates/ca-certificates_20130610.bbappend b/recipes/ca-certificates/ca-certificates_20130610.bbappend new file mode 100644 index 0000000..723a900 --- /dev/null +++ b/recipes/ca-certificates/ca-certificates_20130610.bbappend | |||
@@ -0,0 +1,24 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | SRC_URI_remove = "file://0001-update-ca-certificates-remove-c-rehash.patch" | ||
24 | DEPENDS_class-native = "coreutils-native" | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc new file mode 100644 index 0000000..f661539 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
@@ -0,0 +1,246 @@ | |||
1 | # Copyright (C) 2012-2013 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2013 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "GPU driver and apps for imx6" | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "Proprietary" | ||
8 | LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=19f5925343fa3da65596eeaa4ddb5fd3" | ||
9 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', '', d)}" | ||
10 | PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg" | ||
11 | |||
12 | PE = "1" | ||
13 | |||
14 | inherit fsl-eula-unpack | ||
15 | |||
16 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ | ||
17 | file://egl.pc \ | ||
18 | file://egl_x11.pc \ | ||
19 | file://glesv1_cm.pc \ | ||
20 | file://glesv1_cm_x11.pc \ | ||
21 | file://glesv2.pc \ | ||
22 | file://glesv2_x11.pc \ | ||
23 | file://vg.pc \ | ||
24 | file://vg_x11.pc \ | ||
25 | file://gc_wayland_protocol.pc \ | ||
26 | file://wayland-egl.pc \ | ||
27 | file://wayland-viv.pc \ | ||
28 | " | ||
29 | |||
30 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | ||
31 | libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \ | ||
32 | libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ | ||
33 | libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ | ||
34 | libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ | ||
35 | libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ | ||
36 | libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ | ||
37 | libvdk-mx6 libvdk-mx6-dev libvdk-mx6-dbg \ | ||
38 | libegl-mx6 libegl-mx6-dev libegl-mx6-dbg \ | ||
39 | libgal-mx6 libgal-mx6-dev libgal-mx6-dbg \ | ||
40 | libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \ | ||
41 | libvivante-dri-mx6 \ | ||
42 | libvivante-dfb-mx6 \ | ||
43 | libwayland-viv-mx6 libwayland-viv-mx6-dev libwayland-viv-mx6-dbg \ | ||
44 | libgc-wayland-protocol-mx6 libgc-wayland-protocol-mx6-dev libgc-wayland-protocol-mx6-dbg \ | ||
45 | libwayland-egl-mx6-dev \ | ||
46 | " | ||
47 | |||
48 | # Skip package if it does not match the machine float-point type in use | ||
49 | python __anonymous () { | ||
50 | is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d) | ||
51 | is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp" | ||
52 | |||
53 | if is_package_hardfp != is_machine_hardfp: | ||
54 | PN = d.getVar("PN", True) | ||
55 | PV = d.getVar("PV", True) | ||
56 | bb.debug(1, "Skipping %s (%s) as machine and package float-point does not match" % (PN, PV)) | ||
57 | raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine") | ||
58 | } | ||
59 | |||
60 | USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" | ||
61 | USE_DFB = "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}" | ||
62 | USE_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" | ||
63 | |||
64 | # Inhibit warnings about files being stripped. | ||
65 | INHIBIT_PACKAGE_STRIP = "1" | ||
66 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
67 | |||
68 | # FIXME: The provided binary doesn't provide soname. If in future BSP | ||
69 | # release the libraries are fixed, we can drop this hack. | ||
70 | REALSOLIBS := "${SOLIBS}" | ||
71 | SOLIBS = "${SOLIBSDEV}" | ||
72 | |||
73 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
74 | # they don't get Debian-renamed (which would remove the -mx6 suffix). | ||
75 | # | ||
76 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
77 | # the source we cannot fix it. Disable the insane check for now. | ||
78 | python __anonymous() { | ||
79 | packages = d.getVar('PACKAGES', True).split() | ||
80 | for p in packages: | ||
81 | d.appendVar("INSANE_SKIP_%s" % p, " ldflags") | ||
82 | |||
83 | for p in (("libegl", "libegl1"), ("libgl", "libgl1"), | ||
84 | ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"), | ||
85 | ("libgles3",)): | ||
86 | fullp = p[0] + "-mx6" | ||
87 | pkgs = " ".join(p) | ||
88 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
89 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
90 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
91 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
92 | |||
93 | # For -dev, the first element is both the Debian and original name | ||
94 | fullp += "-dev" | ||
95 | pkgs = p[0] + "-dev" | ||
96 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
97 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
98 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
99 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
100 | } | ||
101 | |||
102 | do_install () { | ||
103 | install -d ${D}${libdir} | ||
104 | install -d ${D}${includedir} | ||
105 | |||
106 | cp -a ${S}/usr/lib/*.so* ${D}${libdir} | ||
107 | cp -axr ${S}/usr/include/* ${D}${includedir} | ||
108 | cp -axr ${S}/opt ${D} | ||
109 | |||
110 | install -d ${D}${libdir}/pkgconfig | ||
111 | |||
112 | # The preference order, based in DISTRO_FEATURES, is x11, wayland, directfb and fb | ||
113 | if [ "${USE_X11}" = "yes" ]; then | ||
114 | cp -r ${S}/usr/lib/dri ${D}${libdir} | ||
115 | backend=x11 | ||
116 | |||
117 | install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc | ||
118 | install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
119 | install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
120 | install -m 0644 ${WORKDIR}/vg_x11.pc ${D}${libdir}/pkgconfig/vg.pc | ||
121 | #FIXME: WL & X11 is not currently functional | ||
122 | #if [ "${USE_WL}" = "yes" ]; then | ||
123 | # install -m 0644 ${WORKDIR}/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc | ||
124 | # install -m 0644 ${WORKDIR}/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
125 | # install -m 0644 ${WORKDIR}/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc | ||
126 | #fi | ||
127 | elif [ "${USE_WL}" = "yes" ]; then | ||
128 | backend=wl | ||
129 | |||
130 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc | ||
131 | install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
132 | install -m 0644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
133 | install -m 0644 ${WORKDIR}/vg.pc ${D}${libdir}/pkgconfig/vg.pc | ||
134 | install -m 0644 ${WORKDIR}/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc | ||
135 | install -m 0644 ${WORKDIR}/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
136 | install -m 0644 ${WORKDIR}/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc | ||
137 | else | ||
138 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc | ||
139 | install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
140 | install -m 0644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
141 | install -m 0644 ${WORKDIR}/vg.pc ${D}${libdir}/pkgconfig/vg.pc | ||
142 | |||
143 | if [ "${USE_DFB}" = "yes" ]; then | ||
144 | cp -r ${S}/usr/lib/directfb-1.6-0 ${D}${libdir} | ||
145 | backend=dfb | ||
146 | else | ||
147 | # Regular framebuffer | ||
148 | backend=fb | ||
149 | fi | ||
150 | fi | ||
151 | |||
152 | # We'll only have one backend here so we rename it to generic name | ||
153 | # and avoid rework in other packages, when possible | ||
154 | mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0 | ||
155 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1.2 | ||
156 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so | ||
157 | mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1.0 | ||
158 | ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so.1 | ||
159 | ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so | ||
160 | mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so | ||
161 | mv ${D}${libdir}/libVIVANTE-${backend}.so ${D}${libdir}/libVIVANTE.so | ||
162 | |||
163 | for backend in wl x11 fb dfb; do | ||
164 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' | ||
165 | done | ||
166 | |||
167 | find ${D}${libdir} -type f -exec chmod 644 {} \; | ||
168 | find ${D}${includedir} -type f -exec chmod 644 {} \; | ||
169 | } | ||
170 | |||
171 | S = "${WORKDIR}/${PN}-${PV}" | ||
172 | |||
173 | FILES_${PN} += "/opt" | ||
174 | FILES_${PN}-dev = "${includedir}" | ||
175 | FILES_${PN}-dbg = "${libdir}/.debug /opt/viv_samples/*/*/.debug" | ||
176 | |||
177 | FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}" | ||
178 | FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" | ||
179 | FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}" | ||
180 | |||
181 | # libEGL.so is used by some demo apps from Freescale | ||
182 | INSANE_SKIP_libegl-mx6 += "dev-so" | ||
183 | FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " | ||
184 | FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | ||
185 | FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}" | ||
186 | |||
187 | FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS}" | ||
188 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV}" | ||
189 | FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}" | ||
190 | |||
191 | FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" | ||
192 | FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}" | ||
193 | FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}" | ||
194 | RDEPENDS_libgl-mx6-dev = "libgl-mesa-dev" | ||
195 | |||
196 | # libEGL needs to open libGLESv1.so | ||
197 | INSANE_SKIP_libgles-mx6 += "dev-so" | ||
198 | FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBS}" | ||
199 | FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" | ||
200 | FILES_libgles-mx6-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS} ${libdir}/.debug/libGLES_*${SOLIBS}" | ||
201 | |||
202 | # libEGL needs to open libGLESv2.so | ||
203 | INSANE_SKIP_libgles2-mx6 += "dev-so" | ||
204 | FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" | ||
205 | FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" | ||
206 | FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | ||
207 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" | ||
208 | |||
209 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" | ||
210 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" | ||
211 | FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" | ||
212 | |||
213 | FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS}" | ||
214 | FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | ||
215 | FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}" | ||
216 | RDEPENDS_libopencl-mx6 = "libclc-mx6" | ||
217 | |||
218 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" | ||
219 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" | ||
220 | FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}" | ||
221 | |||
222 | FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}" | ||
223 | FILES_libvdk-mx6-dev = "${includedir}/*vdk.h ${libdir}/libVDK${SOLIBSDEV}" | ||
224 | FILES_libvdk-mx6-dbg = "${libdir}/.debug/libVDK${SOLIBS}" | ||
225 | |||
226 | FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" | ||
227 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" | ||
228 | FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}" | ||
229 | |||
230 | FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" | ||
231 | |||
232 | FILES_libvivante-dfb-mx6 = "${libdir}/directfb-1.6-0/gfxdrivers/libdirectfb_gal.so" | ||
233 | |||
234 | INSANE_SKIP_libwayland-viv-mx6 += "dev-so" | ||
235 | FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" | ||
236 | FILES_libwayland-viv-mx6-dev = "${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" | ||
237 | FILES_libwayland-viv-mx6-dbg = "${libdir}/.debug/libwayland-viv${SOLIBS}" | ||
238 | |||
239 | INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so" | ||
240 | FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
241 | FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" | ||
242 | FILES_libgc-wayland-protocol-mx6-dbg = "${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
243 | |||
244 | FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc" | ||
245 | |||
246 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch new file mode 100644 index 0000000..dc91d7c --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 1a4a35678ef70283d1a31835deecd39711a9db86 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
3 | Date: Wed, 30 Jan 2013 13:16:53 -0500 | ||
4 | Subject: [PATCH] change header path to HAL | ||
5 | |||
6 | The gpu-viv-bin-mx6q package from Freescale puts this header in the HAL | ||
7 | directory under the system. I think this is a problem in the LTIB release as | ||
8 | well. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
13 | |||
14 | --- | ||
15 | usr/include/gc_vdk_types.h | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | Index: gpu-viv-bin-mx6q-1.1.0/usr/include/gc_vdk_types.h | ||
19 | =================================================================== | ||
20 | --- gpu-viv-bin-mx6q-1.1.0.orig/usr/include/gc_vdk_types.h | ||
21 | +++ gpu-viv-bin-mx6q-1.1.0/usr/include/gc_vdk_types.h | ||
22 | @@ -39,7 +39,7 @@ extern "C" { | ||
23 | #endif | ||
24 | |||
25 | #include <EGL/egl.h> | ||
26 | -#include "gc_hal_eglplatform_type.h" | ||
27 | +#include <HAL/gc_hal_eglplatform_type.h> | ||
28 | |||
29 | |||
30 | /******************************************************************************* | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl.pc new file mode 100644 index 0000000..a21922d --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: Vivante EGL library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} -DLINUX | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl_x11.pc new file mode 100644 index 0000000..5921583 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl_x11.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: Vivante EGL library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} -DLINUX | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch new file mode 100644 index 0000000..3eac116 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Avoid conflicting types with Xorg newer code | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
5 | |||
6 | Index: gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h | ||
7 | =================================================================== | ||
8 | --- gpu-viv-bin-mx6q-1.1.0.orig/usr/include/HAL/gc_hal_base.h | ||
9 | +++ gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h | ||
10 | @@ -101,7 +101,7 @@ extern gcsPLS gcPLS; | ||
11 | typedef struct _gcsTLS * gcsTLS_PTR; | ||
12 | |||
13 | typedef void (* gctTLS_DESTRUCTOR) ( | ||
14 | - gcsTLS_PTR TLS | ||
15 | + gcsTLS_PTR pTLS | ||
16 | ); | ||
17 | |||
18 | typedef struct _gcsTLS | ||
19 | @@ -648,10 +648,10 @@ gcoOS_SetPLSValue( | ||
20 | /* Get access to the thread local storage. */ | ||
21 | gceSTATUS | ||
22 | gcoOS_GetTLS( | ||
23 | - OUT gcsTLS_PTR * TLS | ||
24 | + OUT gcsTLS_PTR * pTLS | ||
25 | ); | ||
26 | |||
27 | - /* Copy the TLS from a source thread. */ | ||
28 | + /* Copy the pTLS from a source thread. */ | ||
29 | gceSTATUS gcoOS_CopyTLS(IN gcsTLS_PTR Source); | ||
30 | |||
31 | /* Destroy the objects associated with the current thread. */ | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch new file mode 100644 index 0000000..732a073 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From c59f9640d185759208f9d55a93b6602936dcb5e8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Alonso <aalonso00@gmail.com> | ||
3 | Date: Sat, 26 Jan 2013 17:52:04 -0600 | ||
4 | Subject: [PATCH 2/2] gc_hal_eglplatform: remove xlib undefs | ||
5 | |||
6 | * Remove header undefs for Always and Status definitions | ||
7 | |||
8 | Signed-off-by: Adrian Alonso <aalonso00@gmail.com> | ||
9 | --- | ||
10 | usr/include/HAL/gc_hal_eglplatform.h | 3 --- | ||
11 | 1 file changed, 3 deletions(-) | ||
12 | |||
13 | diff --git a/usr/include/HAL/gc_hal_eglplatform.h b/usr/include/HAL/gc_hal_eglplatform.h | ||
14 | index a968fe7..e80c65a 100644 | ||
15 | --- a/usr/include/HAL/gc_hal_eglplatform.h | ||
16 | +++ b/usr/include/HAL/gc_hal_eglplatform.h | ||
17 | @@ -341,14 +341,11 @@ typedef Pixmap HALNativePixmapType; | ||
18 | /* Rename some badly named X defines. */ | ||
19 | #ifdef Status | ||
20 | # define XStatus int | ||
21 | -# undef Status | ||
22 | #endif | ||
23 | #ifdef Always | ||
24 | # define XAlways 2 | ||
25 | -# undef Always | ||
26 | #endif | ||
27 | #ifdef CurrentTime | ||
28 | -# undef CurrentTime | ||
29 | # define XCurrentTime 0 | ||
30 | #endif | ||
31 | |||
32 | -- | ||
33 | 1.8.1 | ||
34 | |||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_wayland_protocol.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_wayland_protocol.pc new file mode 100644 index 0000000..f4610ea --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_wayland_protocol.pc | |||
@@ -0,0 +1,10 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: gc_wayland_protocol | ||
7 | Description: Vivante Wayland Protocol Extension Library | ||
8 | Version: 0.1 | ||
9 | Cflags: -I${includedir} | ||
10 | Libs: -L${libdir} -lgc_wayland_protocol | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc new file mode 100644 index 0000000..d97b067 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv1_cm | ||
7 | Description: Vivante OpenGL ES 1.1 CM library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv1_CM -lEGL -lGAL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm_x11.pc new file mode 100644 index 0000000..e801633 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm_x11.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv1_cm | ||
7 | Description: Vivante OpenGL ES 1.1 CM library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv1_CM -lEGL -lGAL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc new file mode 100644 index 0000000..9be46f2 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: Vivante OpenGL ES 2.0 library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv2 -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2_x11.pc new file mode 100644 index 0000000..57ad807 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2_x11.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: Vivante OpenGL ES 2.0 library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv2 -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg.pc new file mode 100644 index 0000000..7c00def --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: vg | ||
7 | Description: Vivante OpenVG 1.1 library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lOpenVG -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg_x11.pc new file mode 100644 index 0000000..94fb91e --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg_x11.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: vg | ||
7 | Description: Vivante OpenVG 1.1 library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lOpenVG -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-egl.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-egl.pc new file mode 100644 index 0000000..ba1b898 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-egl.pc | |||
@@ -0,0 +1,10 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: wayland-egl | ||
7 | Description: Bind the driver EGL to the Wayland API | ||
8 | Version: 1.0.0 | ||
9 | Libs: -L${libdir} -lEGL | ||
10 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-viv.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-viv.pc new file mode 100644 index 0000000..3fdedd0 --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-viv.pc | |||
@@ -0,0 +1,10 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: Wayland Vivante Lib | ||
7 | Description: Wayland server side library for Vivante's EGL driver | ||
8 | Version: 0.1 | ||
9 | Cflags: -I${includedir}/wayland-viv | ||
10 | Libs: -L${libdir} -lwayland-viv | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bbappend b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.0-hfp.bbappend index bed361e..bed361e 100644 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bbappend +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.0-hfp.bbappend | |||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb new file mode 100644 index 0000000..5c7727b --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require gpu-viv-bin-mx6q.inc | ||
5 | |||
6 | SRC_URI[md5sum] = "52f5ebbb6a9b5d0eafdb952246de584e" | ||
7 | SRC_URI[sha256sum] = "8b0386e13d4a7c770f8bc8e7a6119629c5ed379488dd5ef635bc92353f906003" | ||
8 | |||
9 | PACKAGE_FP_TYPE = "hardfp" | ||
10 | |||
11 | RDEPENDS_libgl-mx6-dev = "" | ||
diff --git a/recipes/imx-lib/imx-lib_3.10.9-1.0.0.bb b/recipes/imx-lib/imx-lib_3.10.9-1.0.0.bb new file mode 100644 index 0000000..f2a736a --- /dev/null +++ b/recipes/imx-lib/imx-lib_3.10.9-1.0.0.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | |||
3 | require recipes-bsp/imx-lib/imx-lib.inc | ||
4 | |||
5 | SRC_URI[md5sum] = "5cc9c8d09c7ba401cdab4a2ecbda89e2" | ||
6 | SRC_URI[sha256sum] = "d1581c2f2956731da0c42e9dc17514a4d00790deeb83defeb5e07d14746190d8" | ||
7 | |||
8 | PE = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/recipes/libgles/libgles-omap3_4.09.00.01.bbappend b/recipes/libgles/libgles-omap3_4.09.00.01.bbappend index 6a37c89..0646e73 100644 --- a/recipes/libgles/libgles-omap3_4.09.00.01.bbappend +++ b/recipes/libgles/libgles-omap3_4.09.00.01.bbappend | |||
@@ -29,7 +29,7 @@ do_install_append() { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | # Inhibit warnings about files being stripped. | 31 | # Inhibit warnings about files being stripped. |
32 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 32 | INHIBIT_PACKAGE_STRIP = "1" |
33 | 33 | ||
34 | pkg_postinst_${PN}_append() { | 34 | pkg_postinst_${PN}_append() { |
35 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) | 35 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) |
diff --git a/recipes/libgles/libgles-omap3_5.01.00.01.bbappend b/recipes/libgles/libgles-omap3_5.01.01.01.bbappend index 82bfdb2..9a90577 100644 --- a/recipes/libgles/libgles-omap3_5.01.00.01.bbappend +++ b/recipes/libgles/libgles-omap3_5.01.01.01.bbappend | |||
@@ -28,7 +28,7 @@ BINLOCATION_beaglebone = "${S}/gfx_rel_es8.x" | |||
28 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1" | 28 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1" |
29 | 29 | ||
30 | # Inhibit warnings about files being stripped. | 30 | # Inhibit warnings about files being stripped. |
31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 31 | INHIBIT_PACKAGE_STRIP = "1" |
32 | 32 | ||
33 | pkg_postinst_${PN}_append() { | 33 | pkg_postinst_${PN}_append() { |
34 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) | 34 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) |
diff --git a/recipes/libsdl/libsdl_1.2.15.bbappend b/recipes/libsdl/libsdl_1.2.15.bbappend index 36424fd..3a08249 100644 --- a/recipes/libsdl/libsdl_1.2.15.bbappend +++ b/recipes/libsdl/libsdl_1.2.15.bbappend | |||
@@ -1 +1 @@ | |||
DEPENDS_remove = "virtual/libgl" | DEPENDS_remove = "virtual/libgl libglu" | ||
diff --git a/recipes/linux/linux-am335x-psp_3.2.bbappend b/recipes/linux/linux-am335x-psp_3.2.bbappend index 313111b..fd7dd31 100644 --- a/recipes/linux/linux-am335x-psp_3.2.bbappend +++ b/recipes/linux/linux-am335x-psp_3.2.bbappend | |||
@@ -30,5 +30,11 @@ do_configure_append() { | |||
30 | 30 | ||
31 | echo "CONFIG_DEVTMPFS=y" >> ${S}/.config | 31 | echo "CONFIG_DEVTMPFS=y" >> ${S}/.config |
32 | 32 | ||
33 | # Enable USB serial support | ||
34 | echo "CONFIG_USB_SERIAL=m" >> ${S}/.config | ||
35 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${S}/.config | ||
36 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${S}/.config | ||
37 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${S}/.config | ||
38 | |||
33 | yes '' | oe_runmake oldconfig | 39 | yes '' | oe_runmake oldconfig |
34 | } | 40 | } |
diff --git a/recipes/libgles/libgles-omap3_5.00.00.01.bbappend b/recipes/linux/linux-boundary_3.10.17.bbappend index 5446ffa..ae59272 100644 --- a/recipes/libgles/libgles-omap3_5.00.00.01.bbappend +++ b/recipes/linux/linux-boundary_3.10.17.bbappend | |||
@@ -20,27 +20,21 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | 23 | ||
25 | BINLOCATION_omap3 = "${S}/gfx_rel_es5.x" | 24 | do_configure_prepend() { |
26 | BINLOCATION_beaglebone = "${S}/gfx_rel_es8.x" | 25 | # Use multitouch protocol for touchscreen that support it |
26 | echo "CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH=n" >> ${WORKDIR}/defconfig | ||
27 | echo "CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH=n" >> ${WORKDIR}/defconfig | ||
27 | 28 | ||
28 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1" | 29 | # FunctionFS for adb |
30 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig | ||
29 | 31 | ||
30 | do_install_append() { | 32 | # Enable USB serial support |
31 | echo "ParamBufferSize=33554432" >> ${D}${sysconfdir}/powervr.ini | 33 | echo "CONFIG_USB_SERIAL=m" >> ${WORKDIR}/defconfig |
32 | } | 34 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${WORKDIR}/defconfig |
33 | 35 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${WORKDIR}/defconfig | |
34 | # Inhibit warnings about files being stripped. | 36 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig |
35 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
36 | 37 | ||
37 | pkg_postinst_${PN}_append() { | 38 | # fix imx-vpu break on video decoding |
38 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) | 39 | echo "CONFIG_VMSPLIT_2G=y" >> ${WORKDIR}/defconfig |
39 | echo ${ESREV} > $D${sysconfdir}/powervr-esrev | ||
40 | } | 40 | } |
41 | |||
42 | RRECOMMENDS_${PN} = "omap3-sgx-modules" | ||
43 | RRECOMMENDS_${PN}-blitwsegl = "" | ||
44 | RRECOMMENDS_${PN}-flipwsegl = "" | ||
45 | RRECOMMENDS_${PN}-frontwsegl = "" | ||
46 | RRECOMMENDS_${PN}-linuxfbwsegl = "" | ||
diff --git a/recipes/linux/linux-boundary_3.0.35.bbappend b/recipes/linux/linux-imx_3.10.17.bbappend index 610dc4d..082c431 100644 --- a/recipes/linux/linux-boundary_3.0.35.bbappend +++ b/recipes/linux/linux-imx_3.10.17.bbappend | |||
@@ -20,12 +20,13 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | |||
24 | do_configure_prepend() { | 23 | do_configure_prepend() { |
25 | # Use multitouch protocol for touchscreen that support it | ||
26 | echo "CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH=n" >> ${WORKDIR}/defconfig | ||
27 | echo "CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH=n" >> ${WORKDIR}/defconfig | ||
28 | |||
29 | # FunctionFS for adb | 24 | # FunctionFS for adb |
30 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig | 25 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig |
26 | |||
27 | # Enable USB serial support | ||
28 | echo "CONFIG_USB_SERIAL=m" >> ${WORKDIR}/defconfig | ||
29 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${WORKDIR}/defconfig | ||
30 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${WORKDIR}/defconfig | ||
31 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig | ||
31 | } | 32 | } |
diff --git a/recipes/linux/linux-mainline_3.2.bbappend b/recipes/linux/linux-mainline_3.2.bbappend index 4c2cb59..9e195dc 100644 --- a/recipes/linux/linux-mainline_3.2.bbappend +++ b/recipes/linux/linux-mainline_3.2.bbappend | |||
@@ -29,6 +29,12 @@ do_configure_prepend() { | |||
29 | echo "CONFIG_USB_FUNCTIONFS_RNDIS=n" >> ${WORKDIR}/defconfig | 29 | echo "CONFIG_USB_FUNCTIONFS_RNDIS=n" >> ${WORKDIR}/defconfig |
30 | echo "CONFIG_USB_FUNCTIONFS_GENERIC=y" >> ${WORKDIR}/defconfig | 30 | echo "CONFIG_USB_FUNCTIONFS_GENERIC=y" >> ${WORKDIR}/defconfig |
31 | 31 | ||
32 | # Enable USB serial support | ||
33 | echo "CONFIG_USB_SERIAL=m" >> ${WORKDIR}/defconfig | ||
34 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${WORKDIR}/defconfig | ||
35 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${WORKDIR}/defconfig | ||
36 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig | ||
37 | |||
32 | # Remove beagleboard logo | 38 | # Remove beagleboard logo |
33 | if [ -e ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm ]; then | 39 | if [ -e ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm ]; then |
34 | rm ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm | 40 | rm ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm |
diff --git a/recipes/linux/linux-ti-staging/usb-serial.cfg b/recipes/linux/linux-ti-staging/usb-serial.cfg new file mode 100644 index 0000000..8f0688e --- /dev/null +++ b/recipes/linux/linux-ti-staging/usb-serial.cfg | |||
@@ -0,0 +1,4 @@ | |||
1 | CONFIG_USB_SERIAL=m | ||
2 | CONFIG_USB_SERIAL_GENERIC=y | ||
3 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
4 | CONFIG_USB_SERIAL_PL2303=m | ||
diff --git a/recipes/linux/linux-ti-staging_3.12.bbappend b/recipes/linux/linux-ti-staging_3.12.bbappend index fe2bdd2..b2d6104 100644 --- a/recipes/linux/linux-ti-staging_3.12.bbappend +++ b/recipes/linux/linux-ti-staging_3.12.bbappend | |||
@@ -20,4 +20,9 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | SRC_URI += "\ | ||
25 | file://usb-serial.cfg \ | ||
26 | " | ||
27 | KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/usb-serial.cfg" | ||
23 | KERNEL_DEVICETREE_b2qt = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" | 28 | KERNEL_DEVICETREE_b2qt = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" |
diff --git a/recipes/linux/linux-toradex-fsl_git.bbappend b/recipes/linux/linux-toradex-fsl_git.bbappend new file mode 100644 index 0000000..adee8c4 --- /dev/null +++ b/recipes/linux/linux-toradex-fsl_git.bbappend | |||
@@ -0,0 +1,26 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | config_script () { | ||
24 | # FunctionFS for adb | ||
25 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config | ||
26 | } | ||
diff --git a/recipes/linux/linux-yocto_3.10.bbappend b/recipes/linux/linux-yocto_3.14.bbappend index 2645cbc..2645cbc 100644 --- a/recipes/linux/linux-yocto_3.10.bbappend +++ b/recipes/linux/linux-yocto_3.14.bbappend | |||
diff --git a/recipes/mesa/mesa/0001-configure-Avoid-use-of-AC_CHECK_FILE-for-cross-compi.patch b/recipes/mesa/mesa/0001-configure-Avoid-use-of-AC_CHECK_FILE-for-cross-compi.patch deleted file mode 100644 index 9f7002a..0000000 --- a/recipes/mesa/mesa/0001-configure-Avoid-use-of-AC_CHECK_FILE-for-cross-compi.patch +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | From 877b8ea9a79d1d51f8e6b032801731538590d39e Mon Sep 17 00:00:00 2001 | ||
2 | From: Jonathan Liu <net147@gmail.com> | ||
3 | Date: Tue, 4 Jun 2013 06:04:44 -0700 | ||
4 | Subject: [PATCH] configure: Avoid use of AC_CHECK_FILE for cross compiling | ||
5 | |||
6 | The AC_CHECK_FILE macro can't be used for cross compiling as it will | ||
7 | result in "error: cannot check for file existence when cross compiling". | ||
8 | Replace it with the AS_IF macro. | ||
9 | |||
10 | Upstream-Status: Submitted | ||
11 | http://lists.freedesktop.org/archives/mesa-dev/2013-June/040168.html | ||
12 | |||
13 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
14 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
15 | --- | ||
16 | configure.ac | 12 ++++++------ | ||
17 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 36065f1..2b4a374 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -1694,8 +1694,8 @@ if test "x$enable_gallium_llvm" = xyes; then | ||
24 | CLANG_LIBDIR=${LLVM_LIBDIR} | ||
25 | fi | ||
26 | CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION} | ||
27 | - AC_CHECK_FILE("$CLANG_RESOURCE_DIR/include/stddef.h",, | ||
28 | - AC_MSG_ERROR([Could not find clang internal header stddef.h in $CLANG_RESOURCE_DIR Use --with-clang-libdir to specify the correct path to the clang libraries.])) | ||
29 | + AS_IF([test ! -f "$CLANG_RESOURCE_DIR/include/stddef.h"], | ||
30 | + [AC_MSG_ERROR([Could not find clang internal header stddef.h in $CLANG_RESOURCE_DIR Use --with-clang-libdir to specify the correct path to the clang libraries.])]) | ||
31 | fi | ||
32 | else | ||
33 | MESA_LLVM=0 | ||
34 | @@ -1912,7 +1912,7 @@ if test "x$MESA_LLVM" != x0; then | ||
35 | if test "x$with_llvm_shared_libs" = xyes; then | ||
36 | dnl We can't use $LLVM_VERSION because it has 'svn' stripped out, | ||
37 | LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version` | ||
38 | - AC_CHECK_FILE("$LLVM_LIBDIR/lib$LLVM_SO_NAME.so", llvm_have_one_so=yes,) | ||
39 | + AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.so"], [llvm_have_one_so=yes]) | ||
40 | |||
41 | if test "x$llvm_have_one_so" = xyes; then | ||
42 | dnl LLVM was built using auto*, so there is only one shared object. | ||
43 | @@ -1920,8 +1920,8 @@ if test "x$MESA_LLVM" != x0; then | ||
44 | else | ||
45 | dnl If LLVM was built with CMake, there will be one shared object per | ||
46 | dnl component. | ||
47 | - AC_CHECK_FILE("$LLVM_LIBDIR/libLLVMTarget.so",, | ||
48 | - AC_MSG_ERROR([Could not find llvm shared libraries: | ||
49 | + AS_IF([test ! -f "$LLVM_LIBDIR/libLLVMTarget.so"], | ||
50 | + [AC_MSG_ERROR([Could not find llvm shared libraries: | ||
51 | Please make sure you have built llvm with the --enable-shared option | ||
52 | and that your llvm libraries are installed in $LLVM_LIBDIR | ||
53 | If you have installed your llvm libraries to a different directory you | ||
54 | @@ -1932,7 +1932,7 @@ if test "x$MESA_LLVM" != x0; then | ||
55 | --enable-opencl | ||
56 | If you do not want to build with llvm shared libraries and instead want to | ||
57 | use llvm static libraries then remove these options from your configure | ||
58 | - invocation and reconfigure.])) | ||
59 | + invocation and reconfigure.])]) | ||
60 | |||
61 | dnl We don't need to update LLVM_LIBS in this case because the LLVM | ||
62 | dnl install uses a shared object for each compoenent and we have | ||
63 | -- | ||
64 | 1.8.2.1 | ||
65 | |||
diff --git a/recipes/mesa/mesa/0001-fix-xlib-dependency-from-pipe-loader.patch b/recipes/mesa/mesa/0001-fix-xlib-dependency-from-pipe-loader.patch deleted file mode 100644 index a9f2394..0000000 --- a/recipes/mesa/mesa/0001-fix-xlib-dependency-from-pipe-loader.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 17d94fa96f095571651f0260378785c2a801ff16 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Thu, 27 Jun 2013 14:49:54 +0300 | ||
4 | Subject: [PATCH] fix xlib dependency from pipe-loader | ||
5 | |||
6 | --- | ||
7 | src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 2 ++ | ||
8 | 1 file changed, 2 insertions(+) | ||
9 | |||
10 | diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | ||
11 | index c2b78c6..8c59c83 100644 | ||
12 | --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | ||
13 | +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | ||
14 | @@ -31,7 +31,9 @@ | ||
15 | #include "util/u_dl.h" | ||
16 | #include "sw/null/null_sw_winsys.h" | ||
17 | #include "target-helpers/inline_sw_helper.h" | ||
18 | +#ifdef X11 | ||
19 | #include "state_tracker/xlib_sw_winsys.h" | ||
20 | +#endif | ||
21 | |||
22 | struct pipe_loader_sw_device { | ||
23 | struct pipe_loader_device base; | ||
24 | -- | ||
25 | 1.7.10.4 | ||
26 | |||
diff --git a/recipes/mesa/mesa/0001-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch b/recipes/mesa/mesa/0001-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch deleted file mode 100644 index b74fddc..0000000 --- a/recipes/mesa/mesa/0001-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 9915636fb8afe75ee2e8e013e4f495a4cb937afb Mon Sep 17 00:00:00 2001 | ||
2 | From: Brian Paul <brianp@vmware.com> | ||
3 | Date: Wed, 6 Mar 2013 16:57:20 -0700 | ||
4 | Subject: [PATCH] llvmpipe: remove the power of two sizeof(struct cmd_block) | ||
5 | assertion | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | It fails on 32-bit systems (I only tested on 64-bit). Power of two | ||
11 | size isn't required, so just remove the assertion. | ||
12 | |||
13 | Reviewed-by: José Fonseca <jfonseca@vmware.com> | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | http://cgit.freedesktop.org/mesa/mesa/commit/?id=9915636fb8afe75ee2e8e013e4f495a4cb937afb | ||
17 | |||
18 | --- | ||
19 | src/gallium/drivers/llvmpipe/lp_scene.c | 7 ------- | ||
20 | 1 file changed, 7 deletions(-) | ||
21 | |||
22 | diff --git a/src/gallium/drivers/llvmpipe/lp_scene.c b/src/gallium/drivers/llvmpipe/lp_scene.c | ||
23 | index dd0943e..a0912eb 100644 | ||
24 | --- a/src/gallium/drivers/llvmpipe/lp_scene.c | ||
25 | +++ b/src/gallium/drivers/llvmpipe/lp_scene.c | ||
26 | @@ -76,13 +76,6 @@ lp_scene_create( struct pipe_context *pipe ) | ||
27 | assert(maxCommandBytes < LP_SCENE_MAX_SIZE); | ||
28 | /* We'll also need space for at least one other data block */ | ||
29 | assert(maxCommandPlusData <= LP_SCENE_MAX_SIZE); | ||
30 | - | ||
31 | - /* Ideally, the size of a cmd_block object will be a power of two | ||
32 | - * in order to avoid wasting space when we allocation them from | ||
33 | - * data blocks (which are power of two also). | ||
34 | - */ | ||
35 | - assert(sizeof(struct cmd_block) == | ||
36 | - util_next_power_of_two(sizeof(struct cmd_block))); | ||
37 | } | ||
38 | #endif | ||
39 | |||
40 | -- | ||
41 | 1.8.3 | ||
42 | |||
diff --git a/recipes/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch b/recipes/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch deleted file mode 100644 index 47ba167..0000000 --- a/recipes/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch +++ /dev/null | |||
@@ -1,358 +0,0 @@ | |||
1 | From d52a7ec5dcdf3936bd727b854831efb90acfd2ba Mon Sep 17 00:00:00 2001 | ||
2 | From: Daniel Stone <daniel@fooishbar.org> | ||
3 | Date: Fri, 24 May 2013 17:20:27 +0100 | ||
4 | Subject: [PATCH] EGL: Mutate NativeDisplayType depending on config | ||
5 | |||
6 | If we go through ./configure without enabling X11 anywhere, then set the | ||
7 | fallback types for EGL NativeDisplay and friends, rather than assuming | ||
8 | X11/Xlib. | ||
9 | |||
10 | Signed-off-by: Daniel Stone <daniel@fooishbar.org> | ||
11 | --- | ||
12 | configure.ac | 9 +++ | ||
13 | include/EGL/eglplatform.h | 146 ------------------------------------------ | ||
14 | include/EGL/eglplatform.h.in | 146 ++++++++++++++++++++++++++++++++++++++++++ | ||
15 | 3 files changed, 155 insertions(+), 146 deletions(-) | ||
16 | delete mode 100644 include/EGL/eglplatform.h | ||
17 | create mode 100644 include/EGL/eglplatform.h.in | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 4a98996..6fa77da 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -1576,12 +1576,20 @@ fi | ||
24 | |||
25 | EGL_PLATFORMS="$egl_platforms" | ||
26 | |||
27 | +if echo "$egl_platforms" | grep 'x11' >/dev/null 2>&1; then | ||
28 | + MESA_EGL_NO_X11_HEADERS=0 | ||
29 | +else | ||
30 | + MESA_EGL_NO_X11_HEADERS=1 | ||
31 | +fi | ||
32 | + | ||
33 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_X11, echo "$egl_platforms" | grep 'x11' >/dev/null 2>&1) | ||
34 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_WAYLAND, echo "$egl_platforms" | grep 'wayland' >/dev/null 2>&1) | ||
35 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_DRM, echo "$egl_platforms" | grep 'drm' >/dev/null 2>&1) | ||
36 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_FBDEV, echo "$egl_platforms" | grep 'fbdev' >/dev/null 2>&1) | ||
37 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_NULL, echo "$egl_platforms" | grep 'null' >/dev/null 2>&1) | ||
38 | |||
39 | +AC_SUBST([MESA_EGL_NO_X11_HEADERS]) | ||
40 | + | ||
41 | AM_CONDITIONAL(HAVE_EGL_DRIVER_DRI2, test "x$HAVE_EGL_DRIVER_DRI2" != "x") | ||
42 | AM_CONDITIONAL(HAVE_EGL_DRIVER_GLX, test "x$HAVE_EGL_DRIVER_GLX" != "x") | ||
43 | |||
44 | @@ -2053,6 +2061,7 @@ CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS" | ||
45 | |||
46 | dnl Substitute the config | ||
47 | AC_CONFIG_FILES([Makefile | ||
48 | + include/EGL/eglplatform.h | ||
49 | src/Makefile | ||
50 | src/egl/Makefile | ||
51 | src/egl/drivers/Makefile | ||
52 | diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h | ||
53 | deleted file mode 100644 | ||
54 | index 17fdc61..0000000 | ||
55 | --- a/include/EGL/eglplatform.h | ||
56 | +++ /dev/null | ||
57 | @@ -1,146 +0,0 @@ | ||
58 | -#ifndef __eglplatform_h_ | ||
59 | -#define __eglplatform_h_ | ||
60 | - | ||
61 | -/* | ||
62 | -** Copyright (c) 2007-2009 The Khronos Group Inc. | ||
63 | -** | ||
64 | -** Permission is hereby granted, free of charge, to any person obtaining a | ||
65 | -** copy of this software and/or associated documentation files (the | ||
66 | -** "Materials"), to deal in the Materials without restriction, including | ||
67 | -** without limitation the rights to use, copy, modify, merge, publish, | ||
68 | -** distribute, sublicense, and/or sell copies of the Materials, and to | ||
69 | -** permit persons to whom the Materials are furnished to do so, subject to | ||
70 | -** the following conditions: | ||
71 | -** | ||
72 | -** The above copyright notice and this permission notice shall be included | ||
73 | -** in all copies or substantial portions of the Materials. | ||
74 | -** | ||
75 | -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
76 | -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
77 | -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
78 | -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
79 | -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
80 | -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
81 | -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
82 | -*/ | ||
83 | - | ||
84 | -/* Platform-specific types and definitions for egl.h | ||
85 | - * $Revision: 12306 $ on $Date: 2010-08-25 09:51:28 -0700 (Wed, 25 Aug 2010) $ | ||
86 | - * | ||
87 | - * Adopters may modify khrplatform.h and this file to suit their platform. | ||
88 | - * You are encouraged to submit all modifications to the Khronos group so that | ||
89 | - * they can be included in future versions of this file. Please submit changes | ||
90 | - * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
91 | - * by filing a bug against product "EGL" component "Registry". | ||
92 | - */ | ||
93 | - | ||
94 | -#include <KHR/khrplatform.h> | ||
95 | - | ||
96 | -/* Macros used in EGL function prototype declarations. | ||
97 | - * | ||
98 | - * EGL functions should be prototyped as: | ||
99 | - * | ||
100 | - * EGLAPI return-type EGLAPIENTRY eglFunction(arguments); | ||
101 | - * typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments); | ||
102 | - * | ||
103 | - * KHRONOS_APICALL and KHRONOS_APIENTRY are defined in KHR/khrplatform.h | ||
104 | - */ | ||
105 | - | ||
106 | -#ifndef EGLAPI | ||
107 | -#define EGLAPI KHRONOS_APICALL | ||
108 | -#endif | ||
109 | - | ||
110 | -#ifndef EGLAPIENTRY | ||
111 | -#define EGLAPIENTRY KHRONOS_APIENTRY | ||
112 | -#endif | ||
113 | -#define EGLAPIENTRYP EGLAPIENTRY* | ||
114 | - | ||
115 | -/* The types NativeDisplayType, NativeWindowType, and NativePixmapType | ||
116 | - * are aliases of window-system-dependent types, such as X Display * or | ||
117 | - * Windows Device Context. They must be defined in platform-specific | ||
118 | - * code below. The EGL-prefixed versions of Native*Type are the same | ||
119 | - * types, renamed in EGL 1.3 so all types in the API start with "EGL". | ||
120 | - * | ||
121 | - * Khronos STRONGLY RECOMMENDS that you use the default definitions | ||
122 | - * provided below, since these changes affect both binary and source | ||
123 | - * portability of applications using EGL running on different EGL | ||
124 | - * implementations. | ||
125 | - */ | ||
126 | - | ||
127 | -#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ | ||
128 | -#ifndef WIN32_LEAN_AND_MEAN | ||
129 | -#define WIN32_LEAN_AND_MEAN 1 | ||
130 | -#endif | ||
131 | -#include <windows.h> | ||
132 | - | ||
133 | -typedef HDC EGLNativeDisplayType; | ||
134 | -typedef HBITMAP EGLNativePixmapType; | ||
135 | -typedef HWND EGLNativeWindowType; | ||
136 | - | ||
137 | -#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ | ||
138 | - | ||
139 | -typedef int EGLNativeDisplayType; | ||
140 | -typedef void *EGLNativeWindowType; | ||
141 | -typedef void *EGLNativePixmapType; | ||
142 | - | ||
143 | -#elif defined(WL_EGL_PLATFORM) | ||
144 | - | ||
145 | -typedef struct wl_display *EGLNativeDisplayType; | ||
146 | -typedef struct wl_egl_pixmap *EGLNativePixmapType; | ||
147 | -typedef struct wl_egl_window *EGLNativeWindowType; | ||
148 | - | ||
149 | -#elif defined(__GBM__) | ||
150 | - | ||
151 | -typedef struct gbm_device *EGLNativeDisplayType; | ||
152 | -typedef struct gbm_bo *EGLNativePixmapType; | ||
153 | -typedef void *EGLNativeWindowType; | ||
154 | - | ||
155 | -#elif defined(ANDROID) /* Android */ | ||
156 | - | ||
157 | -struct ANativeWindow; | ||
158 | -struct egl_native_pixmap_t; | ||
159 | - | ||
160 | -typedef struct ANativeWindow *EGLNativeWindowType; | ||
161 | -typedef struct egl_native_pixmap_t *EGLNativePixmapType; | ||
162 | -typedef void *EGLNativeDisplayType; | ||
163 | - | ||
164 | -#elif defined(__unix__) | ||
165 | - | ||
166 | -#ifdef MESA_EGL_NO_X11_HEADERS | ||
167 | - | ||
168 | -typedef void *EGLNativeDisplayType; | ||
169 | -typedef khronos_uint32_t EGLNativePixmapType; | ||
170 | -typedef khronos_uint32_t EGLNativeWindowType; | ||
171 | - | ||
172 | -#else | ||
173 | - | ||
174 | -/* X11 (tentative) */ | ||
175 | -#include <X11/Xlib.h> | ||
176 | -#include <X11/Xutil.h> | ||
177 | - | ||
178 | -typedef Display *EGLNativeDisplayType; | ||
179 | -typedef Pixmap EGLNativePixmapType; | ||
180 | -typedef Window EGLNativeWindowType; | ||
181 | - | ||
182 | -#endif /* MESA_EGL_NO_X11_HEADERS */ | ||
183 | - | ||
184 | -#else | ||
185 | -#error "Platform not recognized" | ||
186 | -#endif | ||
187 | - | ||
188 | -/* EGL 1.2 types, renamed for consistency in EGL 1.3 */ | ||
189 | -typedef EGLNativeDisplayType NativeDisplayType; | ||
190 | -typedef EGLNativePixmapType NativePixmapType; | ||
191 | -typedef EGLNativeWindowType NativeWindowType; | ||
192 | - | ||
193 | - | ||
194 | -/* Define EGLint. This must be a signed integral type large enough to contain | ||
195 | - * all legal attribute names and values passed into and out of EGL, whether | ||
196 | - * their type is boolean, bitmask, enumerant (symbolic constant), integer, | ||
197 | - * handle, or other. While in general a 32-bit integer will suffice, if | ||
198 | - * handles are 64 bit types, then EGLint should be defined as a signed 64-bit | ||
199 | - * integer type. | ||
200 | - */ | ||
201 | -typedef khronos_int32_t EGLint; | ||
202 | - | ||
203 | -#endif /* __eglplatform_h */ | ||
204 | diff --git a/include/EGL/eglplatform.h.in b/include/EGL/eglplatform.h.in | ||
205 | new file mode 100644 | ||
206 | index 0000000..5126c92 | ||
207 | --- /dev/null | ||
208 | +++ b/include/EGL/eglplatform.h.in | ||
209 | @@ -0,0 +1,146 @@ | ||
210 | +#ifndef __eglplatform_h_ | ||
211 | +#define __eglplatform_h_ | ||
212 | + | ||
213 | +/* | ||
214 | +** Copyright (c) 2007-2009 The Khronos Group Inc. | ||
215 | +** | ||
216 | +** Permission is hereby granted, free of charge, to any person obtaining a | ||
217 | +** copy of this software and/or associated documentation files (the | ||
218 | +** "Materials"), to deal in the Materials without restriction, including | ||
219 | +** without limitation the rights to use, copy, modify, merge, publish, | ||
220 | +** distribute, sublicense, and/or sell copies of the Materials, and to | ||
221 | +** permit persons to whom the Materials are furnished to do so, subject to | ||
222 | +** the following conditions: | ||
223 | +** | ||
224 | +** The above copyright notice and this permission notice shall be included | ||
225 | +** in all copies or substantial portions of the Materials. | ||
226 | +** | ||
227 | +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
228 | +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
229 | +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
230 | +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
231 | +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
232 | +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
233 | +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
234 | +*/ | ||
235 | + | ||
236 | +/* Platform-specific types and definitions for egl.h | ||
237 | + * $Revision: 12306 $ on $Date: 2010-08-25 09:51:28 -0700 (Wed, 25 Aug 2010) $ | ||
238 | + * | ||
239 | + * Adopters may modify khrplatform.h and this file to suit their platform. | ||
240 | + * You are encouraged to submit all modifications to the Khronos group so that | ||
241 | + * they can be included in future versions of this file. Please submit changes | ||
242 | + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
243 | + * by filing a bug against product "EGL" component "Registry". | ||
244 | + */ | ||
245 | + | ||
246 | +#include <KHR/khrplatform.h> | ||
247 | + | ||
248 | +/* Macros used in EGL function prototype declarations. | ||
249 | + * | ||
250 | + * EGL functions should be prototyped as: | ||
251 | + * | ||
252 | + * EGLAPI return-type EGLAPIENTRY eglFunction(arguments); | ||
253 | + * typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments); | ||
254 | + * | ||
255 | + * KHRONOS_APICALL and KHRONOS_APIENTRY are defined in KHR/khrplatform.h | ||
256 | + */ | ||
257 | + | ||
258 | +#ifndef EGLAPI | ||
259 | +#define EGLAPI KHRONOS_APICALL | ||
260 | +#endif | ||
261 | + | ||
262 | +#ifndef EGLAPIENTRY | ||
263 | +#define EGLAPIENTRY KHRONOS_APIENTRY | ||
264 | +#endif | ||
265 | +#define EGLAPIENTRYP EGLAPIENTRY* | ||
266 | + | ||
267 | +/* The types NativeDisplayType, NativeWindowType, and NativePixmapType | ||
268 | + * are aliases of window-system-dependent types, such as X Display * or | ||
269 | + * Windows Device Context. They must be defined in platform-specific | ||
270 | + * code below. The EGL-prefixed versions of Native*Type are the same | ||
271 | + * types, renamed in EGL 1.3 so all types in the API start with "EGL". | ||
272 | + * | ||
273 | + * Khronos STRONGLY RECOMMENDS that you use the default definitions | ||
274 | + * provided below, since these changes affect both binary and source | ||
275 | + * portability of applications using EGL running on different EGL | ||
276 | + * implementations. | ||
277 | + */ | ||
278 | + | ||
279 | +#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ | ||
280 | +#ifndef WIN32_LEAN_AND_MEAN | ||
281 | +#define WIN32_LEAN_AND_MEAN 1 | ||
282 | +#endif | ||
283 | +#include <windows.h> | ||
284 | + | ||
285 | +typedef HDC EGLNativeDisplayType; | ||
286 | +typedef HBITMAP EGLNativePixmapType; | ||
287 | +typedef HWND EGLNativeWindowType; | ||
288 | + | ||
289 | +#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ | ||
290 | + | ||
291 | +typedef int EGLNativeDisplayType; | ||
292 | +typedef void *EGLNativeWindowType; | ||
293 | +typedef void *EGLNativePixmapType; | ||
294 | + | ||
295 | +#elif defined(WL_EGL_PLATFORM) | ||
296 | + | ||
297 | +typedef struct wl_display *EGLNativeDisplayType; | ||
298 | +typedef struct wl_egl_pixmap *EGLNativePixmapType; | ||
299 | +typedef struct wl_egl_window *EGLNativeWindowType; | ||
300 | + | ||
301 | +#elif defined(__GBM__) | ||
302 | + | ||
303 | +typedef struct gbm_device *EGLNativeDisplayType; | ||
304 | +typedef struct gbm_bo *EGLNativePixmapType; | ||
305 | +typedef void *EGLNativeWindowType; | ||
306 | + | ||
307 | +#elif defined(ANDROID) /* Android */ | ||
308 | + | ||
309 | +struct ANativeWindow; | ||
310 | +struct egl_native_pixmap_t; | ||
311 | + | ||
312 | +typedef struct ANativeWindow *EGLNativeWindowType; | ||
313 | +typedef struct egl_native_pixmap_t *EGLNativePixmapType; | ||
314 | +typedef void *EGLNativeDisplayType; | ||
315 | + | ||
316 | +#elif defined(__unix__) | ||
317 | + | ||
318 | +#if @MESA_EGL_NO_X11_HEADERS@ | ||
319 | + | ||
320 | +typedef void *EGLNativeDisplayType; | ||
321 | +typedef khronos_uint32_t EGLNativePixmapType; | ||
322 | +typedef khronos_uint32_t EGLNativeWindowType; | ||
323 | + | ||
324 | +#else | ||
325 | + | ||
326 | +/* X11 (tentative) */ | ||
327 | +#include <X11/Xlib.h> | ||
328 | +#include <X11/Xutil.h> | ||
329 | + | ||
330 | +typedef Display *EGLNativeDisplayType; | ||
331 | +typedef Pixmap EGLNativePixmapType; | ||
332 | +typedef Window EGLNativeWindowType; | ||
333 | + | ||
334 | +#endif /* MESA_EGL_NO_X11_HEADERS */ | ||
335 | + | ||
336 | +#else | ||
337 | +#error "Platform not recognized" | ||
338 | +#endif | ||
339 | + | ||
340 | +/* EGL 1.2 types, renamed for consistency in EGL 1.3 */ | ||
341 | +typedef EGLNativeDisplayType NativeDisplayType; | ||
342 | +typedef EGLNativePixmapType NativePixmapType; | ||
343 | +typedef EGLNativeWindowType NativeWindowType; | ||
344 | + | ||
345 | + | ||
346 | +/* Define EGLint. This must be a signed integral type large enough to contain | ||
347 | + * all legal attribute names and values passed into and out of EGL, whether | ||
348 | + * their type is boolean, bitmask, enumerant (symbolic constant), integer, | ||
349 | + * handle, or other. While in general a 32-bit integer will suffice, if | ||
350 | + * handles are 64 bit types, then EGLint should be defined as a signed 64-bit | ||
351 | + * integer type. | ||
352 | + */ | ||
353 | +typedef khronos_int32_t EGLint; | ||
354 | + | ||
355 | +#endif /* __eglplatform_h */ | ||
356 | -- | ||
357 | 1.7.10.4 | ||
358 | |||
diff --git a/recipes/mesa/mesa/fix-glsl-cross.patch b/recipes/mesa/mesa/fix-glsl-cross.patch deleted file mode 100644 index 34226ea..0000000 --- a/recipes/mesa/mesa/fix-glsl-cross.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | The target libtool is used when building host binaries, which predictably | ||
2 | doesn't work. | ||
3 | |||
4 | Upstream-Status: Submitted (https://bugs.freedesktop.org/show_bug.cgi?id=44618) | ||
5 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
6 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
7 | |||
8 | diff --git a/src/glsl/builtin_compiler/Makefile.am b/src/glsl/builtin_compiler/Makefile.am | ||
9 | index e11a17f..8ebe0a2 100644 | ||
10 | --- a/src/glsl/builtin_compiler/Makefile.am | ||
11 | +++ b/src/glsl/builtin_compiler/Makefile.am | ||
12 | @@ -64,6 +64,8 @@ AM_CXXFLAGS = $(AM_CFLAGS) | ||
13 | include ../Makefile.sources | ||
14 | |||
15 | noinst_PROGRAMS = builtin_compiler | ||
16 | + | ||
17 | +if !CROSS_COMPILING | ||
18 | noinst_LTLIBRARIES = libglslcore.la libglcpp.la | ||
19 | |||
20 | libglcpp_la_SOURCES = \ | ||
21 | @@ -73,6 +75,7 @@ libglcpp_la_SOURCES = \ | ||
22 | libglslcore_la_SOURCES = \ | ||
23 | $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \ | ||
24 | $(LIBGLSL_FILES) | ||
25 | +endif | ||
26 | |||
27 | builtin_compiler_SOURCES = \ | ||
28 | $(top_srcdir)/src/mesa/main/hash_table.c \ | ||
29 | @@ -81,4 +84,14 @@ builtin_compiler_SOURCES = \ | ||
30 | $(top_srcdir)/src/mesa/program/symbol_table.c \ | ||
31 | $(BUILTIN_COMPILER_CXX_FILES) \ | ||
32 | $(GLSL_COMPILER_CXX_FILES) | ||
33 | + | ||
34 | +if CROSS_COMPILING | ||
35 | +builtin_compiler_SOURCES += \ | ||
36 | + $(LIBGLCPP_GENERATED_FILES) \ | ||
37 | + $(LIBGLCPP_FILES) \ | ||
38 | + $(BUILTIN_COMPILER_GENERATED_CXX_FILES) \ | ||
39 | + $(LIBGLSL_FILES) | ||
40 | +builtin_compiler_CPPFLAGS = $(AM_CPPFLAGS) | ||
41 | +else | ||
42 | builtin_compiler_LDADD = libglslcore.la libglcpp.la | ||
43 | +endif | ||
diff --git a/recipes/mesa/mesa/glapi.patch b/recipes/mesa/mesa/glapi.patch deleted file mode 100644 index 74cac0b..0000000 --- a/recipes/mesa/mesa/glapi.patch +++ /dev/null | |||
@@ -1,109 +0,0 @@ | |||
1 | From 5ea43e65498505fc5d11d63668cda165146eb55b Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Boll <andreas.boll.dev@gmail.com> | ||
3 | Date: Thu, 30 May 2013 11:32:43 +0000 | ||
4 | Subject: glapi: Add some missing static_dispatch="false" annotations to es_EXT.xml | ||
5 | |||
6 | This fixes the following build errors on powerpc: | ||
7 | |||
8 | CC glapi_dispatch.lo | ||
9 | In file included from glapi_dispatch.c:90:0: | ||
10 | ../../../../../src/mapi/glapi/glapitemp.h:1640:1: error: no previous | ||
11 | prototype for 'glReadBufferNV' [-Werror=missing-prototypes] | ||
12 | ../../../../../src/mapi/glapi/glapitemp.h:4198:1: error: no previous | ||
13 | prototype for 'glDrawBuffersNV' [-Werror=missing-prototypes] | ||
14 | ../../../../../src/mapi/glapi/glapitemp.h:6377:1: error: no previous | ||
15 | prototype for 'glFlushMappedBufferRangeEXT' | ||
16 | [-Werror=missing-prototypes] | ||
17 | ../../../../../src/mapi/glapi/glapitemp.h:6389:1: error: no previous | ||
18 | prototype for 'glMapBufferRangeEXT' [-Werror=missing-prototypes] | ||
19 | ../../../../../src/mapi/glapi/glapitemp.h:6401:1: error: no previous | ||
20 | prototype for 'glBindVertexArrayOES' [-Werror=missing-prototypes] | ||
21 | ../../../../../src/mapi/glapi/glapitemp.h:6413:1: error: no previous | ||
22 | prototype for 'glDeleteVertexArraysOES' [-Werror=missing-prototypes] | ||
23 | ../../../../../src/mapi/glapi/glapitemp.h:6433:1: error: no previous | ||
24 | prototype for 'glGenVertexArraysOES' [-Werror=missing-prototypes] | ||
25 | ../../../../../src/mapi/glapi/glapitemp.h:6445:1: error: no previous | ||
26 | prototype for 'glIsVertexArrayOES' [-Werror=missing-prototypes] | ||
27 | |||
28 | NOTE: This is a candidate for the 9.0 and 9.1 branches. | ||
29 | |||
30 | Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> | ||
31 | Reviewed-by: Brian Paul <brianp@vmware.com> | ||
32 | --- | ||
33 | diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml | ||
34 | index ff378ac..f412333 100644 | ||
35 | --- a/src/mapi/glapi/gen/es_EXT.xml | ||
36 | +++ b/src/mapi/glapi/gen/es_EXT.xml | ||
37 | @@ -689,22 +689,25 @@ | ||
38 | |||
39 | <!-- 71. GL_OES_vertex_array_object --> | ||
40 | <category name="GL_OES_vertex_array_object" number="71"> | ||
41 | - <function name="BindVertexArrayOES" alias="BindVertexArray" es2="2.0"> | ||
42 | + <function name="BindVertexArrayOES" alias="BindVertexArray" | ||
43 | + static_dispatch="false" es2="2.0"> | ||
44 | <param name="array" type="GLuint"/> | ||
45 | </function> | ||
46 | |||
47 | <function name="DeleteVertexArraysOES" alias="DeleteVertexArrays" | ||
48 | - es2="2.0"> | ||
49 | + static_dispatch="false" es2="2.0"> | ||
50 | <param name="n" type="GLsizei"/> | ||
51 | <param name="arrays" type="const GLuint *" count="n"/> | ||
52 | </function> | ||
53 | |||
54 | - <function name="GenVertexArraysOES" alias="GenVertexArrays" es2="2.0"> | ||
55 | + <function name="GenVertexArraysOES" alias="GenVertexArrays" | ||
56 | + static_dispatch="false" es2="2.0"> | ||
57 | <param name="n" type="GLsizei"/> | ||
58 | <param name="arrays" type="GLuint *" output="true" count="n"/> | ||
59 | </function> | ||
60 | |||
61 | - <function name="IsVertexArrayOES" alias="IsVertexArray" es2="2.0"> | ||
62 | + <function name="IsVertexArrayOES" alias="IsVertexArray" | ||
63 | + static_dispatch="false" es2="2.0"> | ||
64 | <param name="array" type="GLuint"/> | ||
65 | <return type="GLboolean"/> | ||
66 | </function> | ||
67 | @@ -779,7 +782,8 @@ | ||
68 | <size name="Get" mode="get"/> | ||
69 | </enum> | ||
70 | |||
71 | - <function name="DrawBuffersNV" alias="DrawBuffers" es2="2.0"> | ||
72 | + <function name="DrawBuffersNV" alias="DrawBuffers" | ||
73 | + static_dispatch="false" es2="2.0"> | ||
74 | <param name="n" type="GLsizei" counter="true"/> | ||
75 | <param name="bufs" type="const GLenum *" count="n"/> | ||
76 | </function> | ||
77 | @@ -787,7 +791,8 @@ | ||
78 | |||
79 | <!-- 93. GL_NV_read_buffer --> | ||
80 | <category name="GL_NV_read_buffer"> | ||
81 | - <function name="ReadBufferNV" alias="ReadBuffer" es2="2.0"> | ||
82 | + <function name="ReadBufferNV" alias="ReadBuffer" | ||
83 | + static_dispatch="false" es2="2.0"> | ||
84 | <param name="mode" type="GLenum"/> | ||
85 | </function> | ||
86 | </category> | ||
87 | @@ -815,8 +820,8 @@ | ||
88 | <enum name="MAP_FLUSH_EXPLICIT_BIT_EXT" value="0x0010"/> | ||
89 | <enum name="MAP_UNSYNCHRONIZED_BIT_EXT" value="0x0020"/> | ||
90 | |||
91 | - <function name="MapBufferRangeEXT" alias="MapBufferRange" es1="1.0" | ||
92 | - es2="2.0"> | ||
93 | + <function name="MapBufferRangeEXT" alias="MapBufferRange" | ||
94 | + static_dispatch="false" es1="1.0" es2="2.0"> | ||
95 | <param name="target" type="GLenum"/> | ||
96 | <param name="offset" type="GLintptr"/> | ||
97 | <param name="size" type="GLsizeiptr"/> | ||
98 | @@ -825,7 +830,7 @@ | ||
99 | </function> | ||
100 | |||
101 | <function name="FlushMappedBufferRangeEXT" alias="FlushMappedBufferRange" | ||
102 | - es1="1.0" es2="2.0"> | ||
103 | + static_dispatch="false" es1="1.0" es2="2.0"> | ||
104 | <param name="target" type="GLenum"/> | ||
105 | <param name="offset" type="GLintptr"/> | ||
106 | <param name="length" type="GLsizeiptr"/> | ||
107 | -- | ||
108 | cgit v0.9.0.2-2-gbebe | ||
109 | |||
diff --git a/recipes/mesa/mesa_9.1.6.bbappend b/recipes/mesa/mesa_9.2.5.bbappend index 627f70b..627f70b 100644 --- a/recipes/mesa/mesa_9.1.6.bbappend +++ b/recipes/mesa/mesa_9.2.5.bbappend | |||
diff --git a/recipes/libgles/libgles-omap3_4.05.00.03.bbappend b/recipes/openssl/openssl_1.0.1g.bbappend index 73a2408..1ba0a2e 100644 --- a/recipes/libgles/libgles-omap3_4.05.00.03.bbappend +++ b/recipes/openssl/openssl_1.0.1g.bbappend | |||
@@ -20,20 +20,9 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | BINLOCATION_omap3 = "${S}/gfx_rel_es5.x" | 23 | PACKAGECONFIG += "perl" |
24 | 24 | ||
25 | TOOLCHAIN_PATH = "${STAGING_DIR_TARGET}" | 25 | do_install_append () { |
26 | 26 | rmdir ${D}${libdir}/ssl/certs | |
27 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 27 | ln -s ${sysconfdir}/ssl/certs ${D}${libdir}/ssl/ |
28 | SRC_URI += " file://0001-Add-GLchar-typedef.patch" | ||
29 | |||
30 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1" | ||
31 | |||
32 | do_install_append() { | ||
33 | echo "ParamBufferSize=33554432" >> ${D}${sysconfdir}/powervr.ini | ||
34 | } | ||
35 | |||
36 | pkg_postinst_${PN}_append() { | ||
37 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) | ||
38 | echo ${ESREV} > $D${sysconfdir}/powervr-esrev | ||
39 | } | 28 | } |
diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb index 9c92438..281204c 100644 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb +++ b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb | |||
@@ -30,6 +30,10 @@ require recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | |||
30 | RDEPENDS_${PN} = "\ | 30 | RDEPENDS_${PN} = "\ |
31 | python-nativesdk \ | 31 | python-nativesdk \ |
32 | python-subprocess-nativesdk \ | 32 | python-subprocess-nativesdk \ |
33 | python-compiler-nativesdk \ | ||
34 | python-multiprocessing-nativesdk \ | ||
35 | python-shell-nativesdk \ | ||
36 | python-threading-nativesdk \ | ||
33 | " | 37 | " |
34 | 38 | ||
35 | 39 | ||
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb index 0942a7e..bcc7868 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb | |||
@@ -32,6 +32,7 @@ RDEPENDS_${PN} = "\ | |||
32 | psplash \ | 32 | psplash \ |
33 | openssh-sftp-server \ | 33 | openssh-sftp-server \ |
34 | openssl \ | 34 | openssl \ |
35 | openssl-misc \ | ||
35 | libpng \ | 36 | libpng \ |
36 | jpeg \ | 37 | jpeg \ |
37 | tiff \ | 38 | tiff \ |
@@ -45,5 +46,6 @@ RDEPENDS_${PN} = "\ | |||
45 | alsa-utils-amixer \ | 46 | alsa-utils-amixer \ |
46 | hunspell \ | 47 | hunspell \ |
47 | ca-certificates \ | 48 | ca-certificates \ |
49 | linux-firmware \ | ||
48 | ${MACHINE_EXTRA_INSTALL} \ | 50 | ${MACHINE_EXTRA_INSTALL} \ |
49 | " | 51 | " |
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb index f6a8a54..5a076c1 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb | |||
@@ -35,6 +35,7 @@ RDEPENDS_${PN} = "\ | |||
35 | gst-plugins-good-id3demux \ | 35 | gst-plugins-good-id3demux \ |
36 | gst-plugins-good-auparse \ | 36 | gst-plugins-good-auparse \ |
37 | gst-plugins-good-isomp4 \ | 37 | gst-plugins-good-isomp4 \ |
38 | gst-plugins-good-icydemux \ | ||
38 | gst-plugins-ugly-rmdemux \ | 39 | gst-plugins-ugly-rmdemux \ |
39 | gst-plugins-ugly-asf \ | 40 | gst-plugins-ugly-asf \ |
40 | gst-plugins-ugly-a52dec \ | 41 | gst-plugins-ugly-a52dec \ |
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb index 61ca211..3320efe 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb | |||
@@ -30,4 +30,6 @@ RDEPENDS_${PN} = "\ | |||
30 | ldd \ | 30 | ldd \ |
31 | binutils \ | 31 | binutils \ |
32 | binutils-symlinks \ | 32 | binutils-symlinks \ |
33 | i2c-tools \ | ||
34 | u-boot-fw-utils \ | ||
33 | " | 35 | " |
diff --git a/recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-kernel-args.patch b/recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-kernel-args.patch deleted file mode 100644 index 1dea7f5..0000000 --- a/recipes/u-boot/u-boot-beagleboard/0001-beagle-change-default-kernel-args.patch +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | From 9ac6875931f5f9d073ca31cd6e1fb7636afb76bc Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Thu, 23 May 2013 14:37:10 +0300 | ||
4 | Subject: [PATCH] beagle: change default kernel args | ||
5 | |||
6 | - default resolution to 800x600 | ||
7 | - increase VRAM for fb0 | ||
8 | - disable console blank | ||
9 | - disable console cursor blinking | ||
10 | - use extrabootargs | ||
11 | --- | ||
12 | include/configs/omap3_beagle.h | 20 ++++++++++++++++---- | ||
13 | 1 file changed, 16 insertions(+), 4 deletions(-) | ||
14 | |||
15 | diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h | ||
16 | index 1cc46dc..945e15e 100644 | ||
17 | --- a/include/configs/omap3_beagle.h | ||
18 | +++ b/include/configs/omap3_beagle.h | ||
19 | @@ -224,7 +224,7 @@ | ||
20 | "optargs=\0" \ | ||
21 | "camera=none\0" \ | ||
22 | "vram=12M\0" \ | ||
23 | - "dvimode=640x480MR-16@60\0" \ | ||
24 | + "dvimode=800x600MR-16@60\0" \ | ||
25 | "defaultdisplay=dvi\0" \ | ||
26 | "mmcdev=0\0" \ | ||
27 | "mmcroot=/dev/mmcblk0p2 ro\0" \ | ||
28 | @@ -240,20 +240,28 @@ | ||
29 | "buddy2=${buddy2} "\ | ||
30 | "camera=${camera} "\ | ||
31 | "vram=${vram} " \ | ||
32 | + "omapfb.vram=0:${vram} " \ | ||
33 | "omapfb.mode=dvi:${dvimode} " \ | ||
34 | "omapdss.def_disp=${defaultdisplay} " \ | ||
35 | "root=${mmcroot} " \ | ||
36 | - "rootfstype=${mmcrootfstype}\0" \ | ||
37 | + "rootfstype=${mmcrootfstype} " \ | ||
38 | + "consoleblank=0 " \ | ||
39 | + "vt.global_cursor_default=0 " \ | ||
40 | + "${extrabootargs}\0" \ | ||
41 | "nandargs=setenv bootargs console=${console} " \ | ||
42 | "${optargs} " \ | ||
43 | "mpurate=${mpurate} " \ | ||
44 | "buddy=${buddy} "\ | ||
45 | "camera=${camera} "\ | ||
46 | "vram=${vram} " \ | ||
47 | + "omapfb.vram=0:${vram} " \ | ||
48 | "omapfb.mode=dvi:${dvimode} " \ | ||
49 | "omapdss.def_disp=${defaultdisplay} " \ | ||
50 | "root=${nandroot} " \ | ||
51 | - "rootfstype=${nandrootfstype}\0" \ | ||
52 | + "rootfstype=${nandrootfstype} " \ | ||
53 | + "consoleblank=0 " \ | ||
54 | + "vt.global_cursor_default=0 " \ | ||
55 | + "${extrabootargs}\0" \ | ||
56 | "bootenv=uEnv.txt\0" \ | ||
57 | "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \ | ||
58 | "importbootenv=echo Importing environment from mmc ...; " \ | ||
59 | @@ -263,10 +271,14 @@ | ||
60 | "mpurate=${mpurate} " \ | ||
61 | "buddy=${buddy} "\ | ||
62 | "vram=${vram} " \ | ||
63 | + "omapfb.vram=0:${vram} " \ | ||
64 | "omapfb.mode=dvi:${dvimode} " \ | ||
65 | "omapdss.def_disp=${defaultdisplay} " \ | ||
66 | "root=${ramroot} " \ | ||
67 | - "rootfstype=${ramrootfstype}\0" \ | ||
68 | + "rootfstype=${ramrootfstype} " \ | ||
69 | + "consoleblank=0 " \ | ||
70 | + "vt.global_cursor_default=0 " \ | ||
71 | + "${extrabootargs}\0" \ | ||
72 | "loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \ | ||
73 | "loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \ | ||
74 | "loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \ | ||
75 | -- | ||
76 | 1.7.10.4 | ||
77 | |||
diff --git a/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch b/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch new file mode 100644 index 0000000..59a4505 --- /dev/null +++ b/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch | |||
@@ -0,0 +1,133 @@ | |||
1 | From 2288d6475ba3ab9a7fb3cd4aa0aa3a7c60dbfac6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Fri, 9 May 2014 10:23:50 +0300 | ||
4 | Subject: [PATCH] Updated kernel arguments for sabre sd | ||
5 | |||
6 | - Enable I2C | ||
7 | - detect if hdmi is used and change video arguments accordingly | ||
8 | - disable blanking and cursor blinking | ||
9 | |||
10 | --- | ||
11 | board/freescale/mx6sabresd/mx6sabresd.c | 23 +++++++++++++++++++++++ | ||
12 | include/configs/mx6sabre_common.h | 21 +++++++++++++++++++++ | ||
13 | 2 files changed, 44 insertions(+) | ||
14 | |||
15 | diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c | ||
16 | index 12d8c56..303b774 100644 | ||
17 | --- a/board/freescale/mx6sabresd/mx6sabresd.c | ||
18 | +++ b/board/freescale/mx6sabresd/mx6sabresd.c | ||
19 | @@ -12,6 +12,7 @@ | ||
20 | #include <asm/arch/mx6-pins.h> | ||
21 | #include <asm/errno.h> | ||
22 | #include <asm/gpio.h> | ||
23 | +#include <asm/imx-common/mxc_i2c.h> | ||
24 | #include <asm/imx-common/iomux-v3.h> | ||
25 | #include <asm/imx-common/boot_mode.h> | ||
26 | #include <mmc.h> | ||
27 | @@ -24,6 +25,7 @@ | ||
28 | #include <ipu_pixfmt.h> | ||
29 | #include <asm/io.h> | ||
30 | #include <asm/arch/sys_proto.h> | ||
31 | +#include <i2c.h> | ||
32 | DECLARE_GLOBAL_DATA_PTR; | ||
33 | |||
34 | #define UART_PAD_CTRL (PAD_CTL_PUS_100K_UP | \ | ||
35 | @@ -40,6 +42,12 @@ DECLARE_GLOBAL_DATA_PTR; | ||
36 | #define SPI_PAD_CTRL (PAD_CTL_HYS | PAD_CTL_SPEED_MED | \ | ||
37 | PAD_CTL_DSE_40ohm | PAD_CTL_SRE_FAST) | ||
38 | |||
39 | +#define I2C_PAD_CTRL (PAD_CTL_PUS_100K_UP | \ | ||
40 | + PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm | PAD_CTL_HYS | \ | ||
41 | + PAD_CTL_ODE | PAD_CTL_SRE_FAST) | ||
42 | + | ||
43 | +#define I2C_PAD MUX_PAD_CTRL(I2C_PAD_CTRL) | ||
44 | + | ||
45 | int dram_init(void) | ||
46 | { | ||
47 | gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE); | ||
48 | @@ -130,6 +138,19 @@ iomux_v3_cfg_t const ecspi1_pads[] = { | ||
49 | MX6_PAD_KEY_ROW1__GPIO4_IO09 | MUX_PAD_CTRL(NO_PAD_CTRL), | ||
50 | }; | ||
51 | |||
52 | +static struct i2c_pads_info i2c_pad_info1 = { | ||
53 | + .scl = { | ||
54 | + .i2c_mode = MX6_PAD_KEY_COL3__I2C2_SCL | I2C_PAD, | ||
55 | + .gpio_mode = MX6_PAD_KEY_COL3__GPIO4_IO12 | I2C_PAD, | ||
56 | + .gp = IMX_GPIO_NR(4, 12) | ||
57 | + }, | ||
58 | + .sda = { | ||
59 | + .i2c_mode = MX6_PAD_KEY_ROW3__I2C2_SDA | I2C_PAD, | ||
60 | + .gpio_mode = MX6_PAD_KEY_ROW3__GPIO4_IO13 | I2C_PAD, | ||
61 | + .gp = IMX_GPIO_NR(4, 13) | ||
62 | + } | ||
63 | +}; | ||
64 | + | ||
65 | static void setup_spi(void) | ||
66 | { | ||
67 | imx_iomux_v3_setup_multiple_pads(ecspi1_pads, ARRAY_SIZE(ecspi1_pads)); | ||
68 | @@ -477,6 +498,8 @@ int board_init(void) | ||
69 | setup_spi(); | ||
70 | #endif | ||
71 | |||
72 | + setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); | ||
73 | + | ||
74 | return 0; | ||
75 | } | ||
76 | |||
77 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h | ||
78 | index 5ee7fa5..b83bf74 100644 | ||
79 | --- a/include/configs/mx6sabre_common.h | ||
80 | +++ b/include/configs/mx6sabre_common.h | ||
81 | @@ -85,6 +85,13 @@ | ||
82 | /* Command definition */ | ||
83 | #include <config_cmd_default.h> | ||
84 | |||
85 | +/* I2C Configs */ | ||
86 | +#define CONFIG_CMD_I2C | ||
87 | +#define CONFIG_SYS_I2C | ||
88 | +#define CONFIG_SYS_I2C_MXC | ||
89 | +#define CONFIG_SYS_I2C_SPEED 100000 | ||
90 | +#define CONFIG_I2C_EDID | ||
91 | + | ||
92 | #define CONFIG_CMD_BMODE | ||
93 | #define CONFIG_CMD_BOOTZ | ||
94 | #define CONFIG_CMD_SETEXPR | ||
95 | @@ -117,6 +124,15 @@ | ||
96 | #define EMMC_ENV "" | ||
97 | #endif | ||
98 | |||
99 | +#define VIDEOARGS \ | ||
100 | + "videoargs=" \ | ||
101 | + "i2c dev 1 ; " \ | ||
102 | + "if i2c probe 0x50 ; then " \ | ||
103 | + "setenv video mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 ; " \ | ||
104 | + "else " \ | ||
105 | + "setenv video mxcfb0:dev=ldb,LDB-XGA,if=RGB666 ldb=sin1 ; " \ | ||
106 | + "fi\0" | ||
107 | + | ||
108 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
109 | "script=boot.scr\0" \ | ||
110 | "uimage=uImage\0" \ | ||
111 | @@ -144,7 +160,11 @@ | ||
112 | "fi; " \ | ||
113 | "fi\0" \ | ||
114 | EMMC_ENV \ | ||
115 | + VIDEOARGS \ | ||
116 | "mmcargs=setenv bootargs console=${console},${baudrate} " \ | ||
117 | + "video=${video} "\ | ||
118 | + "consoleblank=0 " \ | ||
119 | + "vt.global_cursor_default=0 " \ | ||
120 | "root=${mmcroot}\0" \ | ||
121 | "loadbootscript=" \ | ||
122 | "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | ||
123 | @@ -153,6 +173,7 @@ | ||
124 | "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ | ||
125 | "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ | ||
126 | "mmcboot=echo Booting from mmc ...; " \ | ||
127 | + "run videoargs; " \ | ||
128 | "run mmcargs; " \ | ||
129 | "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ | ||
130 | "if run loadfdt; then " \ | ||
131 | -- | ||
132 | 1.8.3.2 | ||
133 | |||
diff --git a/recipes/u-boot/u-boot-beagleboard_2011.09.bbappend b/recipes/u-boot/u-boot-fslc_2014.01.bbappend index f6fbde1..b4ff56f 100644 --- a/recipes/u-boot/u-boot-beagleboard_2011.09.bbappend +++ b/recipes/u-boot/u-boot-fslc_2014.01.bbappend | |||
@@ -20,7 +20,7 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 23 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
24 | SRC_URI += " \ | 24 | SRC_URI += " \ |
25 | file://0001-beagle-change-default-kernel-args.patch \ | 25 | file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ |
26 | " | 26 | " |
diff --git a/recipes/wpa-supplicant/wpa-supplicant_2.0.bbappend b/recipes/wpa-supplicant/wpa-supplicant_2.1.bbappend index 9a200b2..9a200b2 100644 --- a/recipes/wpa-supplicant/wpa-supplicant_2.0.bbappend +++ b/recipes/wpa-supplicant/wpa-supplicant_2.1.bbappend | |||