Skip to contentSkip to conversation

Cumulative patches from Mailing List

PATCH New Saul Wold 1 participant 7 messages Apr 10, 2011

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

cover Cumulative patches from Mailing List

From: Saul Wold <[email protected]>

Richard,

Here is a set of patches from the Mailing list that I have pulled together and tested, these address a varitey of issues along with some autobuilder failure fixes

Sau!

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: distro/oe-core
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=distro/oe-core

Thanks,
Saul Wold <[email protected]>
---

Colin Walters (1):
autotools: Pass --disable-silent-rules to configure

Darren Hart (1):
README.hardware: automate boot process for router station pro

Gary Thomas (1):
Allow JFFS2 image options to be overridden

Saul Wold (2):
clutter-1.6: fix SRC_URI[md5sum]
qt4-x11-free: add virtual/libgl for opengl dependency

Xiaofeng Yan (1):
eglibc-package.inc: Add eglibc-binaries, eglibc-localedatas,
eglibc-gconvs and eglibc-charmps to variable PACKAGE

 README.hardware                                    |   22 ++++++++++++++++++++
 meta/classes/autotools.bbclass                     |    1 +
 meta/classes/image_types.bbclass                   |    2 +-
 meta/recipes-core/eglibc/eglibc-package.inc        |   20 ++++++++++++++++++
 meta/recipes-graphics/clutter/clutter-1.6_1.6.8.bb |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free.inc               |    4 +-
 6 files changed, 47 insertions(+), 4 deletions(-)
author
#1 lore raw

PATCH 1/6 autotools: Pass --disable-silent-rules to configure

From: Colin Walters <[email protected]>

Non-verbose logs are really annoying when trying to debug a build failure. A lot of projects are copying in the flag to use AM_SILENT_RULES which automake gained recently. We need to undo this.

We'll get a warning from configure if it's not recognized, but that's fine.

---
 meta/classes/autotools.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/classes/autotools.bbclass +1 -0
index bc891f9..7ebf833 100644
@@ -63,6 +63,7 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
 		  --oldincludedir=${oldincludedir} \
 		  --infodir=${infodir} \
 		  --mandir=${mandir} \
+		  --disable-silent-rules \
 		  ${@append_libtool_sysroot(d)}"
 
 oe_runconf () {
Signature · 1 line
1.7.1.1
author
#2 lore raw

PATCH 2/6 Allow JFFS2 image options to be overridden

In reply to Saul Wold

From: Gary Thomas <[email protected]>

---
 meta/classes/image_types.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image_types.bbclass +1 -1
index f11a7ed..f23c1f5 100644
@@ -63,7 +63,7 @@ IMAGE_CMD_ubi () {
 IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}"
 
 EXTRA_IMAGECMD = ""
-EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
+EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"
 EXTRA_IMAGECMD_yaffs2 = "1"
 # Change these if you want default genext2fs behavior (i.e. create minimal inode number)
 EXTRA_IMAGECMD_ext2 ?= "-i 8192"
Signature · 1 line
1.7.1.1
author
#5 lore raw

PATCH 5/6 qt4-x11-free: add virtual/libgl for opengl dependency

In reply to Saul Wold

From: Saul Wold <[email protected]>

---
 meta/recipes-qt/qt4/qt4-x11-free.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-qt/qt4/qt4-x11-free.inc +2 -2
index 306adb9..ba08dc8 100644
@@ -4,9 +4,9 @@ DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is
 HOMEPAGE = "http://qt.nokia.com"
 SECTION = "x11/libs"
 PRIORITY = "optional"
-DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
+DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
 
-INC_PR = "r21"
+INC_PR = "r22"
 
 QT_GLFLAGS ?= "-no-opengl"
 QT_GLFLAGS_qemux86 = "-opengl"
Signature · 1 line
1.7.1.1
author
#3 lore raw

PATCH 3/6 eglibc-package.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE

In reply to Saul Wold

From: Xiaofeng Yan <[email protected]>

The purpose of adding the above variables it to make it easier to install them into a lsb-image. By having 4 collections of packages they will not fill the task-poky-lsb.bb file.

eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*"

[sgw: edited summary and description]
---
 meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
meta/recipes-core/eglibc/eglibc-package.inc +20 -0
index 01275aa..fa6dc3c 100644
@@ -44,6 +44,26 @@ PACKAGES_DYNAMIC = " \
 		    eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
 		    locale-base-*${PKGSUFFIX}"
 
+# Create a eglibc-binaries
+ALLOW_EMPTY_${PN}-binaries = "1"
+PACKAGES += "${PN}-binaries"
+RRECOMMENDS_${PN}-binaries =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}"
+
+# Create a eglibc-charmaps package 
+ALLOW_EMPTY_${PN}-charmaps = "1"
+PACKAGES += "${PN}-charmaps"
+RRECOMMENDS_${PN}-charmaps =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}"
+
+# Create a eglibc-gconvs package 
+ALLOW_EMPTY_${PN}-gconvs = "1"
+PACKAGES += "${PN}-gconvs"
+RRECOMMENDS_${PN}-gconvs =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}"
+
+# Create a eglibc-localedatas package 
+ALLOW_EMPTY_${PN}-localedatas = "1"
+PACKAGES += "${PN}-localedatas"
+RRECOMMENDS_${PN}-localedatas =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}"
+
 RPROVIDES_eglibc = "glibc"
 RPROVIDES_eglibc-utils = "glibc-utils"
 RPROVIDES_eglibc-pic = "glibc-pic"
Signature · 1 line
1.7.1.1
author
#4 lore raw

PATCH 4/6 clutter-1.6: fix SRC_URI[md5sum]

In reply to Saul Wold

From: Saul Wold <[email protected]>

---
 meta/recipes-graphics/clutter/clutter-1.6_1.6.8.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-graphics/clutter/clutter-1.6_1.6.8.bb +1 -1
index 7ead5f9..04935e3 100644
@@ -21,5 +21,5 @@ do_configure_prepend () {
 	sed -i -e 's/^DOLT//' ${S}/configure.ac
 }
 
-SRC_URI[md5sum] = "5a3c6d8414d4e286aba0a936f344c9b1""
+SRC_URI[md5sum] = "9eedac4216f709a9f144940d24bfbb3e"
 SRC_URI[sha256sum] = "cc147b8e7e62ed4b9b8a83df3db9788cf37db0c83970ba876228433f32bda442"
Signature · 1 line
1.7.1.1
author
#6 lore raw

PATCH 6/6 README.hardware: automate boot process for router station pro

In reply to Saul Wold

From: Darren Hart <[email protected]>

---
 README.hardware |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
README.hardware +22 -0
index 025c678..b2ce146 100644
@@ -392,3 +392,25 @@ To boot the flashed kernel perform the following steps.
 (-e means 'elf', -d 'decompress')
 
 2) Execute the kernel using the exec command as above.
+
+--- Automating the boot process ---
+
+After writing the kernel to flash and testing the load and exec commands
+manually, you can automate the boot process with a boot script.
+
+1) RedBoot> fconfig
+   (Answer the questions not specified here as they pertain to your environment)
+2) Run script at boot: true
+  Boot script: 
+  .. fis load -d -e kernel
+  .. exec
+  Enter script, terminate with empty line
+  >> fis load -d -e kernel
+  >> exec -c "console=ttyS0,115200 root=/dev/sda1 rw rootdelay=2 board=UBNT-RSPRO"
+  >> 
+3) Answer the remaining questions and write the changes to flash:
+  Update RedBoot non-volatile configuration - continue (y/n)? y
+  ... Erase from 0xbfff0000-0xc0000000: .
+  ... Program from 0x87ff0000-0x88000000 at 0xbfff0000: .
+4) Power cycle the board.
+
Signature · 1 line
1.7.1.1