[OE-core] [PATCH] uboot-inc: Backport patch to fix Beaglebone Black bootloader

2016-02-17 Thread Erkka Kääriä
Beaglebone Black boot started failing after upstream patch 755324c432f, and was
fixed in 7205442e6. Unfortunately, the u-boot upgrade from 2015.10 to 2016.01
only includes the former patch. The latter patch is backported to fix this.

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
---
 meta/recipes-bsp/u-boot/u-boot.inc |  3 +-
 .../0001-am335x_evm.h-unsed-CONFIG_BOOTDELAY.patch | 34 ++
 2 files changed, 36 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-bsp/u-boot/u-boot/0001-am335x_evm.h-unsed-CONFIG_BOOTDELAY.patch

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 41eb205..ac8f338 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -6,7 +6,8 @@ PROVIDES = "virtual/bootloader"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = 
"file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
 
-SRC_URI = "git://git.denx.de/u-boot.git;branch=master"
+SRC_URI = "git://git.denx.de/u-boot.git;branch=master \
+   file://0001-am335x_evm.h-unsed-CONFIG_BOOTDELAY.patch"
 
 S = "${WORKDIR}/git"
 
diff --git 
a/meta/recipes-bsp/u-boot/u-boot/0001-am335x_evm.h-unsed-CONFIG_BOOTDELAY.patch 
b/meta/recipes-bsp/u-boot/u-boot/0001-am335x_evm.h-unsed-CONFIG_BOOTDELAY.patch
new file mode 100644
index 000..70c87c4
--- /dev/null
+++ 
b/meta/recipes-bsp/u-boot/u-boot/0001-am335x_evm.h-unsed-CONFIG_BOOTDELAY.patch
@@ -0,0 +1,34 @@
+From 7205442e621db54ea06c3bca2d793e1ae2214f9c Mon Sep 17 00:00:00 2001
+From: Tom Rini <tr...@konsulko.com>
+Date: Thu, 10 Dec 2015 16:46:01 -0500
+Subject: [PATCH] am335x_evm.h: unsed CONFIG_BOOTDELAY
+
+Now that ti_armv7_common.h uses config_distro_defaults.h we don't need
+to include it again and then undef CONFIG_BOOTDELAY
+
+Signed-off-by: Tom Rini <tr...@konsulko.com>
+
+Upstream-Status: Backport
+
+---
+ include/configs/am335x_evm.h | 4 
+ 1 file changed, 4 deletions(-)
+
+diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
+index c51db8c..cf6a606 100644
+--- a/include/configs/am335x_evm.h
 b/include/configs/am335x_evm.h
+@@ -18,10 +18,6 @@
+
+ #include 
+
+-/* Don't override the distro default bootdelay */
+-#undef CONFIG_BOOTDELAY
+-#include 
+-
+ #ifndef CONFIG_SPL_BUILD
+ #ifndef CONFIG_FIT
+ # define CONFIG_FIT
+--
+2.7.0
+
-- 
2.7.0

-
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] python_2.7.9.bb: Add python-misc as runtime dependency to python-modules

2015-09-16 Thread Erkka Kääriä
Currently python-misc is not included even if python-modules is. This means 
some python scripts fail even if python-modules is included in the image (for 
example, get-pip.py at bootstrap.pypa.io/get-pip.py).

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
---
 meta/recipes-devtools/python/python_2.7.9.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python_2.7.9.bb 
b/meta/recipes-devtools/python/python_2.7.9.bb
index ae45577..f7e2f27 100644
--- a/meta/recipes-devtools/python/python_2.7.9.bb
+++ b/meta/recipes-devtools/python/python_2.7.9.bb
@@ -161,7 +161,8 @@ FILES_${PN}-dbg += 
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
 # catch all the rest (unsorted)
 PACKAGES += "${PN}-misc"
 FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}"
-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-misc"
+RDEPENDS_${PN}-modules += "${PN}-misc"
+RDEPENDS_${PN}-ptest = "${PN}-modules"
 #inherit ptest after "require python-${PYTHON_MAJMIN}-manifest.inc" so 
PACKAGES doesn't get overwritten
 inherit ptest
 
-- 
2.1.4

-
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] python.inc: Remove --with-wctype-functions configure option

2015-09-16 Thread Erkka Kääriä
This option is causing issues with python unicode support. Several unicode 
related regression tests are currently failing (test_re and test_codecs for 
example) and removing this option fixes these.

This configure option mostly seems to be historical. Discussion related to 
python issue 9210 (https://bugs.python.org/issue9210) indicates its original 
goal was to save memory and that the option should have been deprecated ages 
ago.

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
---
 meta/recipes-devtools/python/python.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python.inc 
b/meta/recipes-devtools/python/python.inc
index e18ab8e..4d428f3 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -16,7 +16,6 @@ PYTHON_MAJMIN = "2.7"
 
 inherit autotools
 
-PYTHONLSBOPTS = "--with-wctype-functions"
 PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
 
 EXTRA_OECONF = "\
-- 
2.1.4

-
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] Removes --with-wctype-functions configure option

2015-09-15 Thread Erkka Kääriä
This option is causing issues with python unicode support. Several unicode 
related regression tests are currently failing (test_re and test_codecs for 
example) and removing this option fixes these.

This configure option mostly seems to be historical. Discussion related to 
python issue 9210 (https://bugs.python.org/issue9210) indicates its original 
goal was to save memory and that the option should have been deprecated ages 
ago.

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
---
 meta/recipes-devtools/python/python.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python.inc 
b/meta/recipes-devtools/python/python.inc
index e18ab8e..4d428f3 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -16,7 +16,6 @@ PYTHON_MAJMIN = "2.7"
 
 inherit autotools
 
-PYTHONLSBOPTS = "--with-wctype-functions"
 PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
 
 EXTRA_OECONF = "\
-- 
2.1.4

-
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] Add python-misc as rdependency to python-modules

2015-09-15 Thread Erkka Kääriä
Currently python-misc is not included even if python-modules is. This means 
some python scripts fail even if python-modules is included in the image (for 
example, get-pip.py at bootrap.pypa.io/get-pip.py). This patch adds python-misc 
as runtime dependency for python-modules.

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
---
 meta/recipes-devtools/python/python_2.7.9.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python_2.7.9.bb 
b/meta/recipes-devtools/python/python_2.7.9.bb
index ae45577..f7e2f27 100644
--- a/meta/recipes-devtools/python/python_2.7.9.bb
+++ b/meta/recipes-devtools/python/python_2.7.9.bb
@@ -161,7 +161,8 @@ FILES_${PN}-dbg += 
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
 # catch all the rest (unsorted)
 PACKAGES += "${PN}-misc"
 FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}"
-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-misc"
+RDEPENDS_${PN}-modules += "${PN}-misc"
+RDEPENDS_${PN}-ptest = "${PN}-modules"
 #inherit ptest after "require python-${PYTHON_MAJMIN}-manifest.inc" so 
PACKAGES doesn't get overwritten
 inherit ptest
 
-- 
2.1.4

-
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core