diff options
19 files changed, 67 insertions, 109 deletions
diff --git a/conf/bblayers.conf.toradex.sample b/conf/bblayers.conf.toradex.sample index e0a77f6..d470daa 100644 --- a/conf/bblayers.conf.toradex.sample +++ b/conf/bblayers.conf.toradex.sample | |||
@@ -31,9 +31,9 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..' | |||
31 | BBLAYERS ?= " \ | 31 | BBLAYERS ?= " \ |
32 | ${BSPDIR}/sources/poky/meta \ | 32 | ${BSPDIR}/sources/poky/meta \ |
33 | ${BSPDIR}/sources/poky/meta-yocto \ | 33 | ${BSPDIR}/sources/poky/meta-yocto \ |
34 | ${BSPDIR}/sources/meta-toradex \ | ||
34 | ${BSPDIR}/sources/meta-fsl-arm \ | 35 | ${BSPDIR}/sources/meta-fsl-arm \ |
35 | ${BSPDIR}/sources/meta-fsl-arm-extra \ | 36 | ${BSPDIR}/sources/meta-fsl-arm-extra \ |
36 | ${BSPDIR}/sources/meta-toradex \ | ||
37 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | 37 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ |
38 | ${BSPDIR}/sources/meta-openembedded/meta-python \ | 38 | ${BSPDIR}/sources/meta-openembedded/meta-python \ |
39 | ${BSPDIR}/sources/meta-openembedded/meta-networking \ | 39 | ${BSPDIR}/sources/meta-openembedded/meta-networking \ |
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index ac635d8..5e38e3c 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -24,7 +24,6 @@ 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.7" | ||
28 | SDK_VERSION := "${DISTRO_VERSION}" | 27 | SDK_VERSION := "${DISTRO_VERSION}" |
29 | 28 | ||
30 | MAINTAINER = "B2Qt <B2Qt@digia.com>" | 29 | MAINTAINER = "B2Qt <B2Qt@digia.com>" |
diff --git a/conf/distro/include/am335x-evm.conf b/conf/distro/include/am335x-evm.conf index d8ae042..e1f6cfb 100644 --- a/conf/distro/include/am335x-evm.conf +++ b/conf/distro/include/am335x-evm.conf | |||
@@ -28,11 +28,13 @@ BOOTFS_DEPENDS = "u-boot:do_deploy" | |||
28 | 28 | ||
29 | DISTRO_FEATURES_remove = "webengine" | 29 | DISTRO_FEATURES_remove = "webengine" |
30 | 30 | ||
31 | PREFERRED_VERSION_linux-ti-staging = "3.14%" | ||
32 | |||
31 | PREFERRED_PROVIDER_virtual/egl = "libgles-omap3" | 33 | PREFERRED_PROVIDER_virtual/egl = "libgles-omap3" |
32 | PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3" | 34 | PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3" |
33 | 35 | ||
34 | PREFERRED_VERSION_libgles-omap3 = "5.01.01.01" | 36 | PREFERRED_VERSION_libgles-omap3 = "5.01.01.02" |
35 | PREFERRED_VERSION_omap3-sgx-modules = "5.01.01.01" | 37 | PREFERRED_VERSION_omap3-sgx-modules = "5.01.01.02" |
36 | 38 | ||
37 | MACHINE_EXTRA_INSTALL = "\ | 39 | MACHINE_EXTRA_INSTALL = "\ |
38 | libgles-omap3 \ | 40 | libgles-omap3 \ |
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf index 819960d..0b41513 100644 --- a/conf/distro/include/nitrogen6x.conf +++ b/conf/distro/include/nitrogen6x.conf | |||
@@ -28,7 +28,6 @@ BOOTFS_CONTENT = "\ | |||
28 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:imx6dl-${MACHINE}.dtb \ | 28 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:imx6dl-${MACHINE}.dtb \ |
29 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:imx6q-sabrelite.dtb \ | 29 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:imx6q-sabrelite.dtb \ |
30 | ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:imx6dl-nit6xlite.dtb \ | 30 | ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:imx6dl-nit6xlite.dtb \ |
31 | ${KERNEL_IMAGETYPE}-imx6dl-nitrogen6_max.dtb:imx6dl-nitrogen6_max.dtb \ | ||
32 | ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:imx6q-nitrogen6_max.dtb \ | 31 | ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:imx6q-nitrogen6_max.dtb \ |
33 | 6x_bootscript-${MACHINE}:6x_bootscript \ | 32 | 6x_bootscript-${MACHINE}:6x_bootscript \ |
34 | 6x_upgrade-${MACHINE}:6x_upgrade \ | 33 | 6x_upgrade-${MACHINE}:6x_upgrade \ |
@@ -38,7 +37,6 @@ BOOTFS_CONTENT = "\ | |||
38 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:update/imx6dl-${MACHINE}.dtb \ | 37 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:update/imx6dl-${MACHINE}.dtb \ |
39 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:update/imx6q-sabrelite.dtb \ | 38 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:update/imx6q-sabrelite.dtb \ |
40 | ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:update/imx6dl-nit6xlite.dtb \ | 39 | ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:update/imx6dl-nit6xlite.dtb \ |
41 | ${KERNEL_IMAGETYPE}-imx6dl-nitrogen6_max.dtb:update/imx6dl-nitrogen6_max.dtb \ | ||
42 | ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:update/imx6q-nitrogen6_max.dtb \ | 40 | ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:update/imx6q-nitrogen6_max.dtb \ |
43 | update/platform:update/platform \ | 41 | update/platform:update/platform \ |
44 | " | 42 | " |
diff --git a/conf/distro/include/toradex.inc b/conf/distro/include/toradex.inc index 5256eb4..167f3d4 100644 --- a/conf/distro/include/toradex.inc +++ b/conf/distro/include/toradex.inc | |||
@@ -1,2 +1,2 @@ | |||
1 | BBMASK ?= " " | 1 | BBMASK ?= " " |
2 | BBMASK .= "|meta-toradex/recipes-mozilla|meta-toradex/recipes-browser|meta-toradex/recipes-lxde|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes/trdx-config|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes-qt|meta-toradex/recipes-core/psplash|meta-toradex/recipes-support/florence|meta-toradex/recipes-core/systemd|meta-toradex/recipes-efl|meta-toradex/recipes-core/dropbear|meta-toradex/recipes-support/icu|meta-toradex/recipes-support/i2c-tools|meta-toradex/recipes-benchmark|meta-toradex/recipes-core/udev|meta-toradex/recipes-support/gnutls" | 2 | BBMASK .= "|meta-toradex/recipes-mozilla|meta-toradex/recipes-browser|meta-toradex/recipes-lxde|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes/trdx-config|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes-qt|meta-toradex/recipes-core/psplash|meta-toradex/recipes-support/florence|meta-toradex/recipes-core/systemd|meta-toradex/recipes-efl|meta-toradex/recipes-core/dropbear|meta-toradex/recipes-support/icu|meta-toradex/recipes-support/i2c-tools|meta-toradex/recipes-benchmark|meta-toradex/recipes-core/udev|meta-toradex/recipes-support/gnutls|meta-toradex/recipes-graphics/gpu-viv-bin-mx6q|meta-toradex/recipes-multimedia/gstreamer" |
diff --git a/meta-architech-extras/recipes/linux/linux-imx_3.0.35.bb b/meta-architech-extras/recipes/linux/linux-imx_3.0.35.bb index 87326af..8a2fd54 100644 --- a/meta-architech-extras/recipes/linux/linux-imx_3.0.35.bb +++ b/meta-architech-extras/recipes/linux/linux-imx_3.0.35.bb | |||
@@ -34,3 +34,6 @@ do_configure_prepend() { | |||
34 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig | 34 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig |
35 | echo "CONFIG_USB_ACM=m" >> ${WORKDIR}/defconfig | 35 | echo "CONFIG_USB_ACM=m" >> ${WORKDIR}/defconfig |
36 | } | 36 | } |
37 | |||
38 | # bbappend in meta-tibidabo still tries to use PRINC, set to -1 to prevent errors | ||
39 | PRINC = "-1" | ||
diff --git a/meta-architech-extras/recipes/u-boot/u-boot-fslc_2013.10.bb b/meta-architech-extras/recipes/u-boot/u-boot-fslc_2013.10.bb index 73d4371..f72844e 100644 --- a/meta-architech-extras/recipes/u-boot/u-boot-fslc_2013.10.bb +++ b/meta-architech-extras/recipes/u-boot/u-boot-fslc_2013.10.bb | |||
@@ -23,3 +23,6 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ | |||
23 | HOSTSTRIP=true' | 23 | HOSTSTRIP=true' |
24 | 24 | ||
25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
26 | |||
27 | # bbappend in meta-tibidabo still tries to use PRINC, set to -1 to prevent errors | ||
28 | PRINC = "-1" | ||
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend b/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend index 54ef15f..3424c27 100644 --- a/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend +++ b/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend | |||
@@ -10,3 +10,4 @@ SRC_URI += "\ | |||
10 | 10 | ||
11 | INSANE_SKIP_${PN} = "installed-vs-shipped" | 11 | INSANE_SKIP_${PN} = "installed-vs-shipped" |
12 | KERNEL_IMAGETYPE = "zImage" | 12 | KERNEL_IMAGETYPE = "zImage" |
13 | B = "${S}" | ||
diff --git a/meta-fsl-extras/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.%-hfp.bbappend b/meta-fsl-extras/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.%-hfp.bbappend deleted file mode 100644 index 29b11a3..0000000 --- a/meta-fsl-extras/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.%-hfp.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" | ||
diff --git a/meta-fsl-extras/recipes/linux/linux-boundary_3.10.17.bbappend b/meta-fsl-extras/recipes/linux/linux-boundary_3.10.%.bbappend index c25739b..c25739b 100644 --- a/meta-fsl-extras/recipes/linux/linux-boundary_3.10.17.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-boundary_3.10.%.bbappend | |||
diff --git a/meta-fsl-extras/recipes/linux/linux-imx_3.10.%.bbappend b/meta-fsl-extras/recipes/linux/linux-imx_3.14.%.bbappend index b6358d7..602c3df 100644 --- a/meta-fsl-extras/recipes/linux/linux-imx_3.10.%.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-imx_3.14.%.bbappend | |||
@@ -20,12 +20,6 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/../../../recipes/linux/linux:" | ||
24 | SRC_URI += "\ | ||
25 | file://ARM-perf-add-support-for-perf-registers-API.diff \ | ||
26 | file://ARM-perf-wire-up-perf_regs-and-unwind-support-for-AR.patch \ | ||
27 | " | ||
28 | |||
29 | # kernel image files are not needed in the image | 23 | # kernel image files are not needed in the image |
30 | RDEPENDS_kernel-base = "" | 24 | RDEPENDS_kernel-base = "" |
31 | 25 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch index d6e1e21..928fb8c 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch | |||
@@ -1,68 +1,26 @@ | |||
1 | From ecd64c7926b7aa25b028278666abad582e7cdea8 Mon Sep 17 00:00:00 2001 | 1 | From 15ba0d8f9e2ad8f3024734810088e4caddaaec5a Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@digia.com> | 2 | From: Samuli Piippo <samuli.piippo@digia.com> |
3 | Date: Fri, 9 May 2014 10:23:50 +0300 | 3 | Date: Fri, 9 May 2014 10:23:50 +0300 |
4 | Subject: [PATCH] Updated kernel arguments for sabre sd | 4 | Subject: [PATCH] Updated kernel arguments for sabre sd |
5 | 5 | ||
6 | - detect if hdmi is used and change video arguments accordingly | ||
7 | - disable blanking and cursor blinking | 6 | - disable blanking and cursor blinking |
8 | --- | 7 | --- |
9 | include/configs/mx6sabre_common.h | 21 +++++++++++++++++++++ | 8 | include/configs/mx6sabre_common.h | 2 ++ |
10 | 1 file changed, 21 insertions(+) | 9 | 1 file changed, 2 insertions(+) |
11 | 10 | ||
12 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h | 11 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h |
13 | index c81e9e9..9296b9b 100644 | 12 | index a8746a4..251b28b 100644 |
14 | --- a/include/configs/mx6sabre_common.h | 13 | --- a/include/configs/mx6sabre_common.h |
15 | +++ b/include/configs/mx6sabre_common.h | 14 | +++ b/include/configs/mx6sabre_common.h |
16 | @@ -87,6 +87,13 @@ | 15 | @@ -171,6 +171,8 @@ |
17 | /* Command definition */ | 16 | "done\0" \ |
18 | #include <config_cmd_default.h> | ||
19 | |||
20 | +/* I2C Configs */ | ||
21 | +#define CONFIG_CMD_I2C | ||
22 | +#define CONFIG_SYS_I2C | ||
23 | +#define CONFIG_SYS_I2C_MXC | ||
24 | +#define CONFIG_SYS_I2C_SPEED 100000 | ||
25 | +#define CONFIG_I2C_EDID | ||
26 | + | ||
27 | #define CONFIG_CMD_BMODE | ||
28 | #define CONFIG_CMD_BOOTZ | ||
29 | #define CONFIG_CMD_SETEXPR | ||
30 | @@ -119,6 +126,15 @@ | ||
31 | #define EMMC_ENV "" | ||
32 | #endif | ||
33 | |||
34 | +#define VIDEOARGS \ | ||
35 | + "videoargs=" \ | ||
36 | + "i2c dev 1 ; " \ | ||
37 | + "if i2c probe 0x50 ; then " \ | ||
38 | + "setenv video mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 ; " \ | ||
39 | + "else " \ | ||
40 | + "setenv video mxcfb0:dev=ldb,LDB-XGA,if=RGB666 ldb=sin1 ; " \ | ||
41 | + "fi\0" | ||
42 | + | ||
43 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
44 | "script=boot.scr\0" \ | ||
45 | "image=zImage\0" \ | ||
46 | @@ -146,7 +162,11 @@ | ||
47 | "fi; " \ | ||
48 | "fi\0" \ | ||
49 | EMMC_ENV \ | ||
50 | + VIDEOARGS \ | ||
51 | "mmcargs=setenv bootargs console=${console},${baudrate} " \ | 17 | "mmcargs=setenv bootargs console=${console},${baudrate} " \ |
52 | + "video=${video} "\ | 18 | "root=${mmcroot} " \ |
53 | + "consoleblank=0 " \ | 19 | + "consoleblank=0 " \ |
54 | + "vt.global_cursor_default=0 " \ | 20 | + "vt.global_cursor_default=0 " \ |
55 | "root=${mmcroot}\0" \ | 21 | VIDEO_ARGS "\0" \ |
56 | "loadbootscript=" \ | 22 | "loadbootscript=" \ |
57 | "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | 23 | "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ |
58 | @@ -155,6 +175,7 @@ | ||
59 | "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ | ||
60 | "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ | ||
61 | "mmcboot=echo Booting from mmc ...; " \ | ||
62 | + "run videoargs; " \ | ||
63 | "run mmcargs; " \ | ||
64 | "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ | ||
65 | "if run loadfdt; then " \ | ||
66 | -- | 24 | -- |
67 | 1.9.1 | 25 | 1.9.1 |
68 | 26 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2014.%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2015.%.bbappend index a1a3b27..a1a3b27 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2014.%.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2015.%.bbappend | |||
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend b/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend index f739245..3f07de3 100644 --- a/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend +++ b/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend | |||
@@ -34,3 +34,5 @@ config_script () { | |||
34 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config | 34 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config |
35 | echo "CONFIG_USB_ACM=m" >> ${S}/.config | 35 | echo "CONFIG_USB_ACM=m" >> ${S}/.config |
36 | } | 36 | } |
37 | |||
38 | B = "${S}" | ||
diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend index 658e068..8865a69 100644 --- a/recipes-qt/qt5/qtbase_%.bbappend +++ b/recipes-qt/qt5/qtbase_%.bbappend | |||
@@ -32,6 +32,7 @@ PACKAGECONFIG += " \ | |||
32 | linuxfb \ | 32 | linuxfb \ |
33 | sql-sqlite \ | 33 | sql-sqlite \ |
34 | tslib \ | 34 | tslib \ |
35 | libinput \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 38 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
diff --git a/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch b/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch index 01775eb..9aa9648 100644 --- a/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch +++ b/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6b833a7767c25b60fb0bb8dcc00484df19946288 Mon Sep 17 00:00:00 2001 | 1 | From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | 2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> |
3 | Date: Wed, 9 Sep 2015 13:37:28 +0300 | 3 | Date: Wed, 9 Sep 2015 13:37:28 +0300 |
4 | Subject: [PATCH] Support SYSROOT in c_rehash | 4 | Subject: [PATCH] Support SYSROOT in c_rehash |
@@ -10,39 +10,27 @@ environment variable and use it to locate the actual files during image | |||
10 | creation. | 10 | creation. |
11 | 11 | ||
12 | Upstream-status: Pending | 12 | Upstream-status: Pending |
13 | |||
14 | --- | 13 | --- |
15 | tools/c_rehash.in | 28 ++++++++++++++++++---------- | 14 | tools/c_rehash.in | 30 +++++++++++++++++------------- |
16 | 1 file changed, 18 insertions(+), 10 deletions(-) | 15 | 1 file changed, 17 insertions(+), 13 deletions(-) |
17 | 16 | ||
18 | diff --git a/tools/c_rehash.in b/tools/c_rehash.in | 17 | diff --git a/tools/c_rehash.in b/tools/c_rehash.in |
19 | index f8d0ce1..e81ec5b 100644 | 18 | index 92cb503..f3d2703 100644 |
20 | --- a/tools/c_rehash.in | 19 | --- a/tools/c_rehash.in |
21 | +++ b/tools/c_rehash.in | 20 | +++ b/tools/c_rehash.in |
22 | @@ -5,6 +5,7 @@ | 21 | @@ -7,6 +7,7 @@ my $dir; |
23 | # and add symbolic links to their hash values. | ||
24 | |||
25 | my $openssl; | ||
26 | +my $sysroot; | ||
27 | |||
28 | my $dir; | ||
29 | my $prefix; | 22 | my $prefix; |
30 | @@ -16,6 +17,10 @@ if(defined $ENV{OPENSSL}) { | ||
31 | $ENV{OPENSSL} = $openssl; | ||
32 | } | ||
33 | 23 | ||
34 | +if(defined $ENV{SYSROOT}) { | 24 | my $openssl = $ENV{OPENSSL} || "openssl"; |
35 | + $sysroot = $ENV{SYSROOT}; | 25 | +my $sysroot = $ENV{SYSROOT} || ""; |
36 | +} | ||
37 | + | ||
38 | my $pwd; | 26 | my $pwd; |
39 | eval "require Cwd"; | 27 | my $verbose = 0; |
40 | if (defined(&Cwd::getcwd)) { | 28 | my $symlink_exists=eval {symlink("",""); 1}; |
41 | @@ -76,15 +81,16 @@ sub hash_dir { | 29 | @@ -101,16 +102,17 @@ sub hash_dir { |
30 | } | ||
42 | } | 31 | } |
43 | closedir DIR; | 32 | FILE: foreach $fname (grep {/\.(pem)|(crt)|(cer)|(crl)$/} @flist) { |
44 | FILE: foreach $fname (grep {/\.pem$/} @flist) { | 33 | + $fullname = $sysroot . readlink($fname); |
45 | + $fullname = $sysroot . readlink($fname); | ||
46 | # Check to see if certificates and/or CRLs present. | 34 | # Check to see if certificates and/or CRLs present. |
47 | - my ($cert, $crl) = check_file($fname); | 35 | - my ($cert, $crl) = check_file($fname); |
48 | + my ($cert, $crl) = check_file($fullname); | 36 | + my ($cert, $crl) = check_file($fullname); |
@@ -53,27 +41,29 @@ index f8d0ce1..e81ec5b 100644 | |||
53 | - link_hash_cert($fname) if($cert); | 41 | - link_hash_cert($fname) if($cert); |
54 | - link_hash_cert_old($fname) if($cert); | 42 | - link_hash_cert_old($fname) if($cert); |
55 | - link_hash_crl($fname) if($crl); | 43 | - link_hash_crl($fname) if($crl); |
44 | - link_hash_crl_old($fname) if($crl); | ||
56 | + link_hash_cert($fname, $fullname) if($cert); | 45 | + link_hash_cert($fname, $fullname) if($cert); |
57 | + link_hash_cert_old($fname, $fullname) if($cert); | 46 | + link_hash_cert_old($fname, $fullname) if($cert); |
58 | + link_hash_crl($fname, $fullname) if($crl); | 47 | + link_hash_crl($fname, $fullname) if($crl); |
48 | + link_hash_crl_old($fname, $fullname) if($crl); | ||
59 | } | 49 | } |
60 | } | 50 | } |
61 | 51 | ||
62 | @@ -117,9 +123,10 @@ sub check_file { | 52 | @@ -143,9 +145,10 @@ sub check_file { |
63 | 53 | ||
64 | sub link_hash_cert { | 54 | sub link_hash_cert { |
65 | my $fname = $_[0]; | 55 | my $fname = $_[0]; |
66 | - my $hashopt = $_[1] || '-subject_hash'; | 56 | - my $x509hash = $_[1] || '-subject_hash'; |
67 | - $fname =~ s/'/'\\''/g; | 57 | - $fname =~ s/'/'\\''/g; |
68 | - my ($hash, $fprint) = `"$openssl" x509 $hashopt -fingerprint -noout -in "$fname"`; | 58 | - my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fname"`; |
69 | + my $fullname = $_[1]; | 59 | + my $fullname = $_[1]; |
70 | + my $hashopt = $_[2] || '-subject_hash'; | 60 | + my $x509hash = $_[2] || '-subject_hash'; |
71 | + $fullname =~ s/'/'\\''/g; | 61 | + $fullname =~ s/'/'\\''/g; |
72 | + my ($hash, $fprint) = `"$openssl" x509 $hashopt -fingerprint -noout -in "$fullname"`; | 62 | + my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fullname"`; |
73 | chomp $hash; | 63 | chomp $hash; |
74 | chomp $fprint; | 64 | chomp $fprint; |
75 | $fprint =~ s/^.*=//; | 65 | $fprint =~ s/^.*=//; |
76 | @@ -150,15 +157,16 @@ sub link_hash_cert { | 66 | @@ -176,11 +179,11 @@ sub link_hash_cert { |
77 | } | 67 | } |
78 | 68 | ||
79 | sub link_hash_cert_old { | 69 | sub link_hash_cert_old { |
@@ -81,15 +71,23 @@ index f8d0ce1..e81ec5b 100644 | |||
81 | + link_hash_cert($_[0], $_[1], '-subject_hash_old'); | 71 | + link_hash_cert($_[0], $_[1], '-subject_hash_old'); |
82 | } | 72 | } |
83 | 73 | ||
84 | # Same as above except for a CRL. CRL links are of the form <hash>.r<n> | 74 | sub link_hash_crl_old { |
75 | - link_hash_crl($_[0], '-hash_old'); | ||
76 | + link_hash_crl($_[0], $_[1], '-hash_old'); | ||
77 | } | ||
78 | |||
79 | |||
80 | @@ -188,9 +191,10 @@ sub link_hash_crl_old { | ||
85 | 81 | ||
86 | sub link_hash_crl { | 82 | sub link_hash_crl { |
87 | my $fname = $_[0]; | 83 | my $fname = $_[0]; |
84 | - my $crlhash = $_[1] || "-hash"; | ||
88 | - $fname =~ s/'/'\\''/g; | 85 | - $fname =~ s/'/'\\''/g; |
89 | - my ($hash, $fprint) = `"$openssl" crl -hash -fingerprint -noout -in '$fname'`; | 86 | - my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fname'`; |
90 | + my $fullname = $_[1]; | 87 | + my $fullname = $_[1]; |
88 | + my $crlhash = $_[2] || "-hash"; | ||
91 | + $fullname =~ s/'/'\\''/g; | 89 | + $fullname =~ s/'/'\\''/g; |
92 | + my ($hash, $fprint) = `"$openssl" crl -hash -fingerprint -noout -in '$fullname'`; | 90 | + my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fullname'`; |
93 | chomp $hash; | 91 | chomp $hash; |
94 | chomp $fprint; | 92 | chomp $fprint; |
95 | $fprint =~ s/^.*=//; | 93 | $fprint =~ s/^.*=//; |
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index ca71c1c..1be3fc0 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -12,21 +12,21 @@ | |||
12 | 12 | ||
13 | <project name="poky" | 13 | <project name="poky" |
14 | remote="yocto" | 14 | remote="yocto" |
15 | revision="9c4ff467f66428488b1cd9798066a8cb5d6b4c3b" | 15 | revision="08d32590411568e7bf11612ac695a6e9c6df6286" |
16 | path="sources/poky"/> | 16 | path="sources/poky"/> |
17 | <project name="meta-openembedded" | 17 | <project name="meta-openembedded" |
18 | remote="oe" | 18 | remote="oe" |
19 | revision="5b6f39ce325d490fc382d5d59c5b8b9d5fa38b38" | 19 | revision="10d3c8f85280a0bf867a8e4f84bcda81c290d28e" |
20 | path="sources/meta-openembedded"/> | 20 | path="sources/meta-openembedded"/> |
21 | 21 | ||
22 | <project name="meta-fsl-arm" | 22 | <project name="meta-fsl-arm" |
23 | remote="yocto" | 23 | remote="yocto" |
24 | revision="db1571f40c375a398a8cdbb42de4c4f272ab0cd1" | 24 | revision="44a5115b6ece869cfb10714423e6956128dbaef8" |
25 | path="sources/meta-fsl-arm" | 25 | path="sources/meta-fsl-arm" |
26 | groups="notdefault,fsl,toradex,architech"/> | 26 | groups="notdefault,fsl,toradex,architech"/> |
27 | <project name="meta-ti" | 27 | <project name="meta-ti" |
28 | remote="yocto" | 28 | remote="yocto" |
29 | revision="6d1c337af7d43953f6d0802ffd0bf1d9d3cfb146" | 29 | revision="477f7b7f03dd7c803803101240a416e88cf49fcc" |
30 | path="sources/meta-ti" | 30 | path="sources/meta-ti" |
31 | groups="notdefault,ti,bbb"/> | 31 | groups="notdefault,ti,bbb"/> |
32 | <project name="meta-raspberrypi" | 32 | <project name="meta-raspberrypi" |
@@ -36,7 +36,7 @@ | |||
36 | groups="notdefault,rpi"/> | 36 | groups="notdefault,rpi"/> |
37 | <project name="meta-fsl-arm-extra" | 37 | <project name="meta-fsl-arm-extra" |
38 | remote="freescale" | 38 | remote="freescale" |
39 | revision="794e46e0b0a3e7e270a2f3c217d8fe5751a6b2c6" | 39 | revision="436b86e3421736216412bdbb21cd9cb08c758c75" |
40 | path="sources/meta-fsl-arm-extra" | 40 | path="sources/meta-fsl-arm-extra" |
41 | groups="notdefault,fsl,toradex,architech"/> | 41 | groups="notdefault,fsl,toradex,architech"/> |
42 | <project name="meta-beagleboard" | 42 | <project name="meta-beagleboard" |
diff --git a/scripts/manifest_dizzy.xml b/scripts/manifest_fido.xml index 4b2e4ff..ac62242 100644 --- a/scripts/manifest_dizzy.xml +++ b/scripts/manifest_fido.xml | |||
@@ -12,21 +12,21 @@ | |||
12 | 12 | ||
13 | <project name="poky" | 13 | <project name="poky" |
14 | remote="yocto" | 14 | remote="yocto" |
15 | revision="dizzy" | 15 | revision="fido" |
16 | path="sources/poky"/> | 16 | path="sources/poky"/> |
17 | <project name="meta-openembedded" | 17 | <project name="meta-openembedded" |
18 | remote="oe" | 18 | remote="oe" |
19 | revision="dizzy" | 19 | revision="fido" |
20 | path="sources/meta-openembedded"/> | 20 | path="sources/meta-openembedded"/> |
21 | 21 | ||
22 | <project name="meta-fsl-arm" | 22 | <project name="meta-fsl-arm" |
23 | remote="yocto" | 23 | remote="yocto" |
24 | revision="dizzy" | 24 | revision="fido" |
25 | path="sources/meta-fsl-arm" | 25 | path="sources/meta-fsl-arm" |
26 | groups="notdefault,fsl,toradex,architech"/> | 26 | groups="notdefault,fsl,toradex,architech"/> |
27 | <project name="meta-ti" | 27 | <project name="meta-ti" |
28 | remote="yocto" | 28 | remote="yocto" |
29 | revision="master" | 29 | revision="fido" |
30 | path="sources/meta-ti" | 30 | path="sources/meta-ti" |
31 | groups="notdefault,ti,bbb"/> | 31 | groups="notdefault,ti,bbb"/> |
32 | <project name="meta-raspberrypi" | 32 | <project name="meta-raspberrypi" |
@@ -36,7 +36,7 @@ | |||
36 | groups="notdefault,rpi"/> | 36 | groups="notdefault,rpi"/> |
37 | <project name="meta-fsl-arm-extra" | 37 | <project name="meta-fsl-arm-extra" |
38 | remote="freescale" | 38 | remote="freescale" |
39 | revision="dizzy" | 39 | revision="fido" |
40 | path="sources/meta-fsl-arm-extra" | 40 | path="sources/meta-fsl-arm-extra" |
41 | groups="notdefault,fsl,toradex,architech"/> | 41 | groups="notdefault,fsl,toradex,architech"/> |
42 | <project name="meta-beagleboard" | 42 | <project name="meta-beagleboard" |
diff --git a/scripts/upload.sh b/scripts/upload.sh index f3124ee..a33281b 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh | |||
@@ -24,7 +24,7 @@ | |||
24 | set -x | 24 | set -x |
25 | set -e | 25 | set -e |
26 | 26 | ||
27 | RELEASE=5.5 | 27 | RELEASE=5.6 |
28 | UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ | 28 | UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ |
29 | 29 | ||
30 | if [ ${MACHINE} = "emulator" ]; then | 30 | if [ ${MACHINE} = "emulator" ]; then |