[oe] [PATCH meta-oe] memtester: Corrected recipe following review comments and guidelines
This is an import of memtester from OE classic, commit ID: 5671855bfba71575e4919c4b5fc9c5dcb8052612 Fixes to recipe: * Added patch header to Makefile.patch * Corrected order of variables and added HOMEPAGE to recipe * Removed the line, S = ${WORKDIR}/memtester-${PV} as its the default * Removed new-line at end of recipe Signed-off-by: Joel A Fernandes joelag...@ti.com --- .../memtester/files/Makefile.patch | 23 +++ .../recipes-benchmark/memtester/memtester_4.1.3.bb |6 +--- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/meta-oe/recipes-benchmark/memtester/files/Makefile.patch b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch index 57a0464..971e52a 100644 --- a/meta-oe/recipes-benchmark/memtester/files/Makefile.patch +++ b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch @@ -1,8 +1,18 @@ -Index: memtester-4.0.5/Makefile -=== memtester-4.0.5.orig/Makefile 2005-03-14 06:02:30.0 -0800 -+++ memtester-4.0.5/Makefile 2006-07-08 23:53:42.0 -0700 -@@ -24,8 +24,8 @@ +From 9a950b14b9f7767d83e5faac2e1e8203c500e2c2 Mon Sep 17 00:00:00 2001 +From: Rod Whitby r...@whitby.id.au +Date: Tue, 25 Oct 2011 18:43:50 -0500 +Subject: [PATCH] memtester: Added patch to Makefile to change no-longer-supported 'head -1' syntax to 'head -n 1'. + +Signed-off-by: Joel A Fernandes joelag...@ti.com +--- + Makefile |4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index a271bf5..6bccff3 100644 +--- a/Makefile b/Makefile +@@ -32,8 +32,8 @@ install: all auto-ccld.sh: \ conf-cc conf-ld warn-auto.sh ( cat warn-auto.sh; \ @@ -13,3 +23,6 @@ Index: memtester-4.0.5/Makefile ) auto-ccld.sh compile: \ +-- +1.7.0.4 + diff --git a/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb b/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb index 9f4e53e..f220553 100644 --- a/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb +++ b/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb @@ -1,5 +1,6 @@ -SECTION = console/utils DESCRIPTION = Utility to test for faulty memory subsystem +HOMEPAGE = http://pyropus.ca/software/memtester/; +SECTION = console/utils LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 @@ -10,8 +11,6 @@ SRC_URI += file://Makefile.patch SRC_URI[md5sum] = e562451620cf5343016950462bc0dc38 SRC_URI[sha256sum] = ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6 -S = ${WORKDIR}/memtester-${PV} - do_compile () { echo '${CC} ${CFLAGS} -DPOSIX -c' conf-cc echo '${CC} ${LDFLAGS}' conf-ld @@ -24,4 +23,3 @@ do_install () { install -m 0755 memtester ${D}${bindir}/ install -m 0755 memtester.8 ${D}${mandir}/man8/ } - -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH meta-oe] memtester: Import from OE classic
Hi Paul, On Mon, Oct 24, 2011 at 3:05 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: .. I fixed some of the above in OE classic. Please fix the issues mentioned above in meta-oe with follow-up patches. Thanks for your review comments, I'll work on resubmitting a new patch today with the suggested changes. Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH meta-oe] memtester: Import from OE classic
Added LIC_FILES_CHKSUM Signed-off-by: Joel A Fernandes joelag...@ti.com --- This package is required by the beaglebone-tester .../memtester/files/Makefile.patch | 15 +++ .../recipes-benchmark/memtester/memtester_4.1.3.bb | 27 2 files changed, 42 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-benchmark/memtester/files/Makefile.patch create mode 100644 meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb diff --git a/meta-oe/recipes-benchmark/memtester/files/Makefile.patch b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch new file mode 100644 index 000..57a0464 --- /dev/null +++ b/meta-oe/recipes-benchmark/memtester/files/Makefile.patch @@ -0,0 +1,15 @@ +Index: memtester-4.0.5/Makefile +=== +--- memtester-4.0.5.orig/Makefile 2005-03-14 06:02:30.0 -0800 memtester-4.0.5/Makefile 2006-07-08 23:53:42.0 -0700 +@@ -24,8 +24,8 @@ + auto-ccld.sh: \ + conf-cc conf-ld warn-auto.sh + ( cat warn-auto.sh; \ +- echo CC=\'`head -1 conf-cc`\'; \ +- echo LD=\'`head -1 conf-ld`\' \ ++ echo CC=\'`head -n 1 conf-cc`\'; \ ++ echo LD=\'`head -n 1 conf-ld`\' \ + ) auto-ccld.sh + + compile: \ diff --git a/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb b/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb new file mode 100644 index 000..9f4e53e --- /dev/null +++ b/meta-oe/recipes-benchmark/memtester/memtester_4.1.3.bb @@ -0,0 +1,27 @@ +SECTION = console/utils +DESCRIPTION = Utility to test for faulty memory subsystem +LICENSE = GPLv2 + +LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 + +SRC_URI = http://pyropus.ca/software/memtester/old-versions/memtester-${PV}.tar.gz; +SRC_URI += file://Makefile.patch + +SRC_URI[md5sum] = e562451620cf5343016950462bc0dc38 +SRC_URI[sha256sum] = ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6 + +S = ${WORKDIR}/memtester-${PV} + +do_compile () { + echo '${CC} ${CFLAGS} -DPOSIX -c' conf-cc + echo '${CC} ${LDFLAGS}' conf-ld + oe_runmake +} + +do_install () { + install -d ${D}${bindir} + install -d ${D}${mandir}/man8 + install -m 0755 memtester ${D}${bindir}/ + install -m 0755 memtester.8 ${D}${mandir}/man8/ +} + -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] How do we get programs into sysroots?
I have added a recipe for mkcard script to oe-core/meta/meta-devtools as follows: DESCRIPTION = A tool to format SD Cards correctly LICENSE = GPLv2 LIC_FILES_CHKSUM = file://COPYING;md5=393a5ca445f6965873eca0259a17f833 SECTION = base SRC_URI = file://mkcard.txt \ file://COPYING.patch PR = r3 do_configure() { install -m 0644 ${WORKDIR}/mkcard.txt ${S}/ } do_install() { install -d ${D}${base_sbindir} install -m 0755 ${S}/mkcard.txt ${D}${base_sbindir}/mkcard } BBCLASSEXTEND = native --- Everything works fine, but I don't see 'mkcard' in /sbin in sysroots directory. I'd like to install it there. I tried looking at other scripts to see the right way to do it but I'm not sure of a clean way to do so. I looked at the staging.bbclass and it seems to only pickup libs and headers. Appreciate any help or pointers to posts/documentation Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [OE-core] How do we get programs into sysroots?
Hi Richard Thanks for your email. Forgive the top post due to the limitations of my phone. This script should run as native. In this case what steps do we take to ensure the binaries get installed to the native sysroots path? Thanks, Joel On Aug 28, 2011 4:54 PM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Sun, 2011-08-28 at 13:45 -0700, Chris Larson wrote: On Sun, Aug 28, 2011 at 1:07 PM, Joel A Fer... For OE-dev you do but this shouldn't be necessary any more with OE-Core since there is no legacy staging. In this case I wonder if the -native version or the target version is being run? We only install libs and headers for the target version but the binaries should be present for the -native recipe and be installed to the native sysroot... Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@... ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [OE-core] How do we get programs into sysroots?
Thanks a lot, i'll try this. Regards, Joel On Aug 28, 2011 3:46 PM, Chris Larson clar...@kergoth.com wrote: On Sun, Aug 28, 2011 at 1:07 PM, Joel A Fernandes agnel.j...@gmail.com wrote: DESCRIPTION = A t... When using a custom do_install, with BBCLASSEXTEND, afaik you need to set NATIVE_INSTALL_WORKS = 1 to get its files into the sysroot for the native version. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics ___ Openembedded-core mailing list Openembedded-core@li... ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] meta-oe patch status
On Wed, Aug 17, 2011 at 2:25 AM, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 16-08-11 22:11, Joel A Fernandes schreef: Hi Koen, Could you pull the first 4 commits from: git://github.com/joelagnel/meta-openembedded.git (branch for-koen) These are for gedit and their dependencies, I have verified them with a build. 02f0fee libgnomeprint: Imported from OE classic 8031b13 libgnomecups: Imported from OE Classic d9d57d5 gtksourceview: Imported from OE classic cad106a gedit: Imported from OE classic Can you please send them here for review first? Sure, I will post them here as an RFC thank you, Joel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFOS20DMkyGM64RGpERAlWNAJ93N6pP9yHMEibKNCMvQ5lLo4cXCACeLfJj 83bcU10oO4xfoMNmvs1xQdU= =r6ep -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] meta-oe patch status
Hi Koen, Could you pull the first 4 commits from: git://github.com/joelagnel/meta-openembedded.git (branch for-koen) These are for gedit and their dependencies, I have verified them with a build. 02f0fee libgnomeprint: Imported from OE classic 8031b13 libgnomecups: Imported from OE Classic d9d57d5 gtksourceview: Imported from OE classic cad106a gedit: Imported from OE classic I am working on building vlc and mplayer but there are still build issues I'm working on, I've documented the issues in this commit [1] and will post some RFC patches after doing a clean rebuild. Thanks, Joel https://github.com/joelagnel/meta-openembedded/commit/40c15b361400c621a34d33eb01b14c1d831c007b On Tue, Aug 16, 2011 at 10:37 AM, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, The current set of patches I have q'd: + 246b0b07f771ef6d096d0ef3e488ea28c56e13c5 binutils-2.20.1: import several patches from Debian + 7de84a29b3dc9b5a8987e3ba6df07de8224debf1 ckermit: import from OE rev 5350bbef01b8979617e3d0fd38939f94f1fa5315 + f5ac255987f6ca361ea960296925f46681a2495a ckermit: update to version 9.0 + 7f5254273ab360dd53672323896e3579223a2100 nodejs 0.4.2: import from OE rev e02237d7e46e60fbd9eb4a05a308e6adcf916ebb + 0520132f3087eaa2a74a1b985760f15cc28b8d6b libvpx 0.9.5: import from OE rev e02237d7e46e60fbd9eb4a05a308e6adcf916ebb + 567d7b4502679288fa0679e18982a3d90d44922e libav: enable libvpx + 198f50f12b15ee701fdc3bfd99d2955b445d4d0a emprint: add LIC_FILES_CHKSUM + 2bef2cb4ea697f3ff8d18719afe62a405587485b klibc: initial commit of version 1.5.24 + a1600343feea4a22da7bfa9ddb817cba787f949b klibc.bbclass: shared include for building against klibc + cbcabe1ca34892c12285418c043ead8ee08d519c openssl-1.0.0d: use openssl.inc from meta-oe + 403753cc6580f283a89d89fa8958bc92e895db4a connman: conditionally enable wifi and bluetooth You can view them at https://github.com/koenkooi/meta-oe/commits/master If you have any patches I have missed for some reason or another (e.g. missing [meta-oe]) or want to get some fixups in (e.g. reset PR to r0 for new recipes), please respond to this message. regards, Koen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFOSo6rMkyGM64RGpERAq2OAJ4pF3eM4Ee8R/yQHb3gXunKC5gLlwCeLxV1 dN3d+DglZWDoXhYLiKiXSAI= =/Q7h -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] Help with setting up feeds
Hi, I'm trying to setup my own feeds. For this purpose, I have rsync'ed the deploy/ipk directory from my OE core tmp directory to my webserver, and I edited /etc/opkg/base-feed.conf on my board's root filesystem with: src/gz base http://www.hackerbliss.org/joel/feeds/ipk/armv7a/ Now I created and built the systemd recipe, with the PR bumped. The file is named systemd_v33-r1_armv7a.ipk. I rebuilt the index with, bitbake -b package-index.bb and did an rsysnc again. Now I did, root@joel-laptop:~/repository/beagle/nfs/oe-core# opkg-cl -o . -t . --offline-root . update root@joel-laptop:~/repository/beagle/nfs/oe-core# opkg-cl -o . -t . --offline-root . install systemd The install and configure seems to work, however towards the end I get something like this: Configuring kernel-3.0.1+. Configuring update-modules. Configuring kernel-module-ipv6. Configuring systemd. Collected errors: * rm_r: Failed to remove dir ./opkg-23q3XI/opkg-intercept-0Dgf2b: No such file or directory. * opkg_conf_write_status_files: Can't open status file .//usr/lib/opkg/status: No such file or directory. * rm_r: Failed to open dir ./opkg-23q3XI: No such file or directory. Also the 'info' command works root@joel-laptop:~/repository/beagle/nfs/oe-core# opkg-cl -o . -t . --offline-root . info systemd Package: systemd Version: v33-r1 Depends: dbus-systemd, libcap2 (= 2.22), libdbus-1-3 (= 1.4.12), libudev0 (= 173), libwrap0 (= 7.6), udev-systemd, libacl1 (= 2.2.51), [..] but, the 'status' and 'list_installed' opkg commands don't return anything. Any ideas on what I could be doing wrong? Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [oe-core] gstreamer-ti, questions
On Thu, Aug 4, 2011 at 8:04 PM, Joel A Fernandes agnel.j...@gmail.com wrote: On Thu, Aug 4, 2011 at 2:44 AM, Koen Kooi k...@dominion.thruhere.net wrote: Op 3 aug. 2011, om 18:28 heeft Enrico Butera het volgende geschreven: I've started importing bb files from oe classic into meta-texasinstruments, i still not have a clean build of everything but here are some basic questions: - cross compiler binaries: in classic oe there were sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-[gcc,ld...] and sysroots/i686-linux/usr/armv7a/arm-angstrom-linux-gnueabi/bin/[gcc,ld...], some ti tools use one, some the other. Now there is only usr/bin/armv7a. and this confuses some ti tools. The question is: what is the proper way to handle this? patch gcc install to have a similar layout to classic oe? patch ti tools to fix them? Joel was running into similar problems with https://github.com/joelagnel/meta-texasinstruments/commits/master can you guys have a look at it together? I think its cleaner to have the toolchain to define symlinks in /bin I've done this in the gcc-cross recipe in do_install (which is hopefully the right place to do it) http://www.hackerbliss.org/joel/cgit/cgit.cgi/oe-core/commit/?id=2878a712aabf839cb4c6e84961b6e8deafacf824 Now ti-codec-engine codecs, extensions and server builds but the 'apps' fails to build with a linker error. Here's the compiler log: [..] # # lnkv5T bin/ti_platforms_evm3530/app_remote.xv5T ... /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-gcc -o bin/ti_platforms_evm3530/app_remote.xv5T package/cfg/bin/ti_platforms_evm3530/app_remote/main_native.ov5T package/cfg/bin/ti_platforms_evm3530/app_remote_xv5T.ov5T package/cfg/bin/ti_platforms_evm3530/app_remote/app.ov5T package/cfg/bin/ti_platforms_evm3530/app_remote_xv5T.xdl -L/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/lib -lpthread Interestingly the path: /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/lib doesn't exist, which explains the symbol errors. libgcc contains the symbol `__aeabi_uidivmod' Does this point to another problem with the toolchain? How would we fix this? thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] systemd-gnome-image do_rootfs failure
I'd like to report a possible problem with oe-core that I'm not sure how to fix: On running a bitbake systemd-gnome-image, the do_rootfs stage fails saying certain packages are missing. On digging further, I find that the opkg.conf that opkg-cl uses (in image.bbclass do_rootfs function) has the following contents: arch all 1 arch any 6 arch noarch 11 arch arm 16 arch beagleboard 21 src oe file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk src oe-all file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/all src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard But there is no entry for: file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/armv7a As a result, many packages like xserver-xorg are not found by opkg and the do_rootfs stage fails. This could be a potential problem in package_generate_ipkg_conf in ./openembedded-core/meta/classes/package_ipk.bbclass (?) Here is the build log: [..] ++ echo any ++ sed -e s/arm/i686/ + sdkarch=any + extension=-nativesdk + '[' any = all -o any = any -o any = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/any/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' ++ echo noarch ++ sed -e s/arm/i686/ + sdkarch=noarch + extension=-nativesdk + '[' noarch = all -o noarch = any -o noarch = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/arm/Packages ']' ++ echo arm ++ sed -e s/arm/i686/ + sdkarch=i686 + extension=-nativesdk + '[' i686 = all -o i686 = any -o i686 = noarch ']' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/i686-nativesdk/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard/Packages ']' + echo 'src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard' ++ echo beagleboard ++ sed -e s/arm/i686/ + sdkarch=beagleboard + extension=-nativesdk + '[' beagleboard = all -o beagleboard = any -o beagleboard = noarch ']' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard-nativesdk/Packages ']' + multilib_archs= + mkdir -p /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/temp/ + STATUS=/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs/var/lib/opkg/status + mkdir -p /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs/var/lib/opkg + opkg-cl -f /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/opkg.conf -o /home/joel/angstrom-o e/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs --force-overwrite update Downloading file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/Packages. Updated list of available packages in /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs//v ar/lib/opkg/lists/oe. Downloading file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/all/Packages. Updated list of available packages in /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs//v ar/lib/opkg/lists/oe-all. Downloading file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard/Packages. Updated list of available packages in /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs//v ar/lib/opkg/lists/oe-beagleboard. + export INSTALL_PACKAGES_ATTEMPTONLY_IPK= + INSTALL_PACKAGES_ATTEMPTONLY_IPK= + export INSTALL_PACKAGES_LINGUAS_IPK=locale-base-en-us + INSTALL_PACKAGES_LINGUAS_IPK=locale-base-en-us + export INSTALL_TASK_IPK=rootfs + INSTALL_TASK_IPK=rootfs + export
Re: [oe] systemd-gnome-image do_rootfs failure
Hi, I now get a build error as below with systemd-gnome-image in do_rootfs, could you take a look? Also I had to remove 'fontconfig' from RDEPENDS_task-gnome-fonts in recipes-angstrom/tasks/angstrom-task-gnome.bb as the package didn't exist and it was causing more opkg install problems in do_rootfs . Could you comment on this? Thanks | Configuring e2fsprogs-e2fsck. | Configuring shadow. | Configuring xauth. | Configuring e2fsprogs-blkid. | Configuring libavahi-core7. | Configuring libdaemon0. | Configuring sysvinit-pidof. | Configuring libnss-mdns. | Configuring avahi-daemon. | Configuring avahi-systemd. | Configuring connman-plugin-ethernet. | Configuring kernel-module-nf-nat. | Configuring kernel-module-ipt-masquerade. | Configuring kernel-module-iptable-nat. | Configuring kernel-module-iptable-filter. | Configuring iptables. | Configuring xf86-input-mouse. | Configuring udev. | Configuring xhost. | Configuring xset. | Configuring xrandr. | Configuring xinetd. | Configuring xrdb. | Configuring task-gnome-xserver-base. | Configuring connman-plugin-wifi. | Configuring connman-systemd. | Configuring avahi-utils. | Configuring tinylogin. | Configuring htop. | Configuring openssh-sftp. | Configuring xf86-input-evdev. | Configuring task-xserver. | Configuring cpufrequtils. | Configuring systemd-compat-units. | Configuring dnsmasq-dbus. | Configuring connman. | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome-fonts: | *eglibc (= 2.12) * | * opkg_install_cmd: Cannot install package task-gnome-fonts. | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome: | *eglibc (= 2.12) * | * opkg_install_cmd: Cannot install package task-gnome. | ERROR: Function 'do_rootfs' failed (see /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/temp/log.do_rootfs.25130 for further information) NOTE: package systemd-gnome-image-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/joel/angstrom-oe/setup-scripts-core/sources/meta-angstrom/recipes-angstrom/images/systemd-gnome-image.bb, do_rootfs) failed with exit code '1' ERROR: '/home/joel/angstrom-oe/setup-scripts-core/sources/meta-angstrom/recipes-angstrom/images/systemd-gnome-image.bb' failed On Tue, Aug 2, 2011 at 4:57 PM, Joel A Fernandes agnel.j...@gmail.com wrote: I'd like to report a possible problem with oe-core that I'm not sure how to fix: On running a bitbake systemd-gnome-image, the do_rootfs stage fails saying certain packages are missing. On digging further, I find that the opkg.conf that opkg-cl uses (in image.bbclass do_rootfs function) has the following contents: arch all 1 arch any 6 arch noarch 11 arch arm 16 arch beagleboard 21 src oe file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk src oe-all file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/all src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard But there is no entry for: file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/armv7a As a result, many packages like xserver-xorg are not found by opkg and the do_rootfs stage fails. This could be a potential problem in package_generate_ipkg_conf in ./openembedded-core/meta/classes/package_ipk.bbclass (?) Here is the build log: [..] ++ echo any ++ sed -e s/arm/i686/ + sdkarch=any + extension=-nativesdk + '[' any = all -o any = any -o any = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/any/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' ++ echo noarch ++ sed -e s/arm/i686/ + sdkarch=noarch + extension=-nativesdk + '[' noarch = all -o noarch = any -o noarch = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/arm/Packages ']' ++ echo arm ++ sed -e s/arm/i686/ + sdkarch=i686 + extension=-nativesdk + '[' i686 = all -o i686 = any -o i686 = noarch ']' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/i686-nativesdk/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard/Packages ']' + echo 'src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard' ++ echo beagleboard ++ sed -e s/arm/i686/ + sdkarch=beagleboard + extension
Re: [oe] [beagleboard] [PATCH] gst-plugins-good: v4l2src: Make Leapoard Imaging VGA Camera work out of the box
Hi Vladimir, On Mon, Aug 1, 2011 at 2:57 AM, Vladimir Pantelic vlado...@gmail.com wrote: Joel A Fernandes wrote: +From d5a1f365bfd4420912735709bcb8004d3ad7226c Mon Sep 17 00:00:00 2001 +From: Joel A Fernandesagnel.j...@gmail.com +Date: Fri, 29 Jul 2011 17:23:43 -0500 +Subject: [PATCH] v4l2src: Add UYVY color format to the list of enumerations + +OMAP3 ISP returns -EINVAL for VIDIOC_ENUM_FMT ioctl on video node. Due to this, format negotiation fails. This adds UYVY format to the list of enumerations. I must be missing something, but what has negotation failure to do with adding a new format? I would expect adding new formats not to have any effect if negotiation fails. The way it works is: Enumerate formats - Negotiate formats between source and sink pads and set the format Enumerate formats doesn't return UYVY (The driver is supposed to return this but ENUM_FMT ioctl is not implemented in ISP like I was saying). Due to this, the negotiate function is either unable to find a matching format on the sink pad (if you used a UYVY caps filter element) or fails to set the format if you used a more general element. and why not make ENUM_FMT ioctl return what is needed??? Instead of hacking the gst driver? That'll be a hack as well: http://www.mail-archive.com/linux-media@vger.kernel.org/msg29718.html Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] gst-plugins-good: v4l2src: Make Leapoard Imaging VGA Camera work out of the box
Format enumeration in Gstreamer expects drivers to implement VIDIOC_ENUM_FMT and if not, it calls VIDIOC_TRY_FMT on a set of emulated formats which could be unsupported resulting in failure of the format negotiation stage [1] We add UYVY to the set of formats making the mt9v113 sensor in this camera board and other sensors that don't support the emulated formats work out-of-the box without needing a caps filter element Upstream-Status: Inappropriate - This patch is a quick work around for a limitation of the ISP driver's lack of support of the VIDIOC_ENUM_FMT IOCTL [2] [1] http://lists.freedesktop.org/archives/gstreamer-devel/2011-July/032425.html [2] http://www.mail-archive.com/linux-media@vger.kernel.org/msg29718.html Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v1: * Added Upstream-Status ...-UYVY-color-format-to-the-list-of-enumera.patch | 43 recipes/gstreamer/gst-plugins-good_0.10.28.bb |4 +- 2 files changed, 46 insertions(+), 1 deletions(-) create mode 100644 recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch diff --git a/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch b/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch new file mode 100644 index 000..88a0125 --- /dev/null +++ b/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch @@ -0,0 +1,43 @@ +From d5a1f365bfd4420912735709bcb8004d3ad7226c Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Fri, 29 Jul 2011 17:23:43 -0500 +Subject: [PATCH] v4l2src: Add UYVY color format to the list of enumerations + +OMAP3 ISP returns -EINVAL for VIDIOC_ENUM_FMT ioctl on video node. Due to this, format negotiation fails. This adds UYVY format to the list of enumerations. + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + sys/v4l2/gstv4l2object.c | 17 + + 1 files changed, 17 insertions(+), 0 deletions(-) + +diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c +index 7e15489..e04c0fd 100644 +--- a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c +@@ -1025,6 +1025,23 @@ gst_v4l2_object_fill_format_list (GstV4l2Object * v4l2object) + (GCompareFunc) format_cmp_func); + } + ++/* Add UYVY format to the list of enumerations */ ++ format = g_new0 (struct v4l2_fmtdesc, 1); ++ format-type = (enum v4l2_buf_type)-1; ++ format-index = n; ++ format-flags = 0; ++ format-pixelformat = V4L2_PIX_FMT_UYVY; ++ v4l2object-formats = g_slist_insert_sorted (v4l2object-formats, format, ++ (GCompareFunc) format_cmp_func); ++ ++ GST_INFO_OBJECT (v4l2object-element, index: %u, format-index); ++ GST_INFO_OBJECT (v4l2object-element, type:%d, format-type); ++ GST_INFO_OBJECT (v4l2object-element, flags: %08x, format-flags); ++ GST_INFO_OBJECT (v4l2object-element, description: '%s', ++ format-description); ++ GST_INFO_OBJECT (v4l2object-element, pixelformat: % GST_FOURCC_FORMAT, ++GST_FOURCC_ARGS (format-pixelformat)); ++ + #ifndef GST_DISABLE_GST_DEBUG + { + GSList *l; +-- +1.7.0.4 + diff --git a/recipes/gstreamer/gst-plugins-good_0.10.28.bb b/recipes/gstreamer/gst-plugins-good_0.10.28.bb index a398f4c..b93236b 100644 --- a/recipes/gstreamer/gst-plugins-good_0.10.28.bb +++ b/recipes/gstreamer/gst-plugins-good_0.10.28.bb @@ -1,6 +1,8 @@ require gst-plugins.inc -PR = ${INC_PR}.1 +PR = ${INC_PR}.2 + +SRC_URI += file://0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch SRC_URI[archive.md5sum] = 6ef1588921f59d85c44ee2e49a3c97a0 SRC_URI[archive.sha256sum] = adfbce68b9fbadb7a7aeda2227af6afe1928ef025af4158726617b9d6834b028 -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [beagleboard] [PATCH] gst-plugins-good: v4l2src: Make Leapoard Imaging VGA Camera work out of the box
On Sat, Jul 30, 2011 at 2:31 AM, Koen Kooi k...@beagleboard.org wrote: Op 30 jul. 2011, om 00:58 heeft Joel A Fernandes het volgende geschreven: Format enumeration in Gstreamer expects drivers to implement VIDIOC_ENUM_FMT and if not, it calls VIDIOC_TRY_FMT on a set of emulated formats which could be unsupported resulting in failure of the format negotiation stage [1] We add UYVY to the set of formats making the mt9v113 sensor in this camera board and other sensors that don't support the emulated formats work out-of-the box without needing a caps filter element [1] http://lists.freedesktop.org/archives/gstreamer-devel/2011-July/032425.html Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- ...-UYVY-color-format-to-the-list-of-enumera.patch | 43 recipes/gstreamer/gst-plugins-good_0.10.28.bb | 4 +- 2 files changed, 46 insertions(+), 1 deletions(-) create mode 100644 recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch diff --git a/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch b/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch new file mode 100644 index 000..88a0125 --- /dev/null +++ b/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch @@ -0,0 +1,43 @@ +From d5a1f365bfd4420912735709bcb8004d3ad7226c Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Fri, 29 Jul 2011 17:23:43 -0500 +Subject: [PATCH] v4l2src: Add UYVY color format to the list of enumerations + +OMAP3 ISP returns -EINVAL for VIDIOC_ENUM_FMT ioctl on video node. Due to this, format negotiation fails. This adds UYVY format to the list of enumerations. I must be missing something, but what has negotation failure to do with adding a new format? I would expect adding new formats not to have any effect if negotiation fails. The way it works is: Enumerate formats - Negotiate formats between source and sink pads and set the format Enumerate formats doesn't return UYVY (The driver is supposed to return this but ENUM_FMT ioctl is not implemented in ISP like I was saying). Due to this, the negotiate function is either unable to find a matching format on the sink pad (if you used a UYVY caps filter element) or fails to set the format if you used a more general element. Anyway, could you add a 'upstream-status' tag to the patch as described in http://wiki.openembedded.org/index.php/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations ? This patch is more like a harmless hack which works around a limitation of the driver. It is unlikely that it will be accepted by upstream or if it should even be submitted as an RFC. Considering this, would it be ok if I prepended HACK! to the title? I noticed this in your 1GHz patches Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] gst-plugins-good: v4l2src: Make Leapoard Imaging VGA Camera work out of the box
Format enumeration in Gstreamer expects drivers to implement VIDIOC_ENUM_FMT and if not, it calls VIDIOC_TRY_FMT on a set of emulated formats which could be unsupported resulting in failure of the format negotiation stage [1] We add UYVY to the set of formats making the mt9v113 sensor in this camera board and other sensors that don't support the emulated formats work out-of-the box without needing a caps filter element [1] http://lists.freedesktop.org/archives/gstreamer-devel/2011-July/032425.html Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- ...-UYVY-color-format-to-the-list-of-enumera.patch | 43 recipes/gstreamer/gst-plugins-good_0.10.28.bb |4 +- 2 files changed, 46 insertions(+), 1 deletions(-) create mode 100644 recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch diff --git a/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch b/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch new file mode 100644 index 000..88a0125 --- /dev/null +++ b/recipes/gstreamer/gst-plugins-good/0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch @@ -0,0 +1,43 @@ +From d5a1f365bfd4420912735709bcb8004d3ad7226c Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Fri, 29 Jul 2011 17:23:43 -0500 +Subject: [PATCH] v4l2src: Add UYVY color format to the list of enumerations + +OMAP3 ISP returns -EINVAL for VIDIOC_ENUM_FMT ioctl on video node. Due to this, format negotiation fails. This adds UYVY format to the list of enumerations. + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + sys/v4l2/gstv4l2object.c | 17 + + 1 files changed, 17 insertions(+), 0 deletions(-) + +diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c +index 7e15489..e04c0fd 100644 +--- a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c +@@ -1025,6 +1025,23 @@ gst_v4l2_object_fill_format_list (GstV4l2Object * v4l2object) + (GCompareFunc) format_cmp_func); + } + ++/* Add UYVY format to the list of enumerations */ ++ format = g_new0 (struct v4l2_fmtdesc, 1); ++ format-type = (enum v4l2_buf_type)-1; ++ format-index = n; ++ format-flags = 0; ++ format-pixelformat = V4L2_PIX_FMT_UYVY; ++ v4l2object-formats = g_slist_insert_sorted (v4l2object-formats, format, ++ (GCompareFunc) format_cmp_func); ++ ++ GST_INFO_OBJECT (v4l2object-element, index: %u, format-index); ++ GST_INFO_OBJECT (v4l2object-element, type:%d, format-type); ++ GST_INFO_OBJECT (v4l2object-element, flags: %08x, format-flags); ++ GST_INFO_OBJECT (v4l2object-element, description: '%s', ++ format-description); ++ GST_INFO_OBJECT (v4l2object-element, pixelformat: % GST_FOURCC_FORMAT, ++GST_FOURCC_ARGS (format-pixelformat)); ++ + #ifndef GST_DISABLE_GST_DEBUG + { + GSList *l; +-- +1.7.0.4 + diff --git a/recipes/gstreamer/gst-plugins-good_0.10.28.bb b/recipes/gstreamer/gst-plugins-good_0.10.28.bb index a398f4c..b93236b 100644 --- a/recipes/gstreamer/gst-plugins-good_0.10.28.bb +++ b/recipes/gstreamer/gst-plugins-good_0.10.28.bb @@ -1,6 +1,8 @@ require gst-plugins.inc -PR = ${INC_PR}.1 +PR = ${INC_PR}.2 + +SRC_URI += file://0001-v4l2src-Add-UYVY-color-format-to-the-list-of-enumera.patch SRC_URI[archive.md5sum] = 6ef1588921f59d85c44ee2e49a3c97a0 SRC_URI[archive.sha256sum] = adfbce68b9fbadb7a7aeda2227af6afe1928ef025af4158726617b9d6834b028 -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] beagleboard-test-scripts: userbutton state detection: Remove userspace scripts
On Mon, Jul 25, 2011 at 11:58 PM, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 26-07-11 03:07, Joel A Fernandes schreef: Have U-boot detect if user button was pressed and set a boot argument so that user space can use this information Where's the matching u-boot patch? There's no U-boot patch, the user.txt file installed by this recipe will contain the extra boot argument. Thanks, Joel [1] ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [meta-texasinstruments] [PATCH v3] linux-omap: Fix MMC timeout Errors
This fixes MMC errors due to timeouts on certain SD Cards following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 This fix proposed by Sukumar Ghoral of TI. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Generated a patch that applies to meta-texasinstruments as suggested by Koen in the post at [1] Changes in v2: * Bumped PR Changes in v3: * Added SOB line [1] http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg19995.html ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 33 recipes-kernel/linux/linux-omap_2.6.39.bb |3 +- 2 files changed, 35 insertions(+), 1 deletions(-) create mode 100644 recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..8cd314c --- /dev/null +++ b/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,33 @@ +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts + +This fixes MMC errors due to timeouts on certain SD Cards following suggestions +to set dto to 14 by Jason Kridner and Steven Kipisz + +Details of the issue: +http://talk.maemo.org/showthread.php?p=1000707#post1000707 + +This fix was originally proposed by Sukumar Ghoral of TI. +--- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..7443647 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes-kernel/linux/linux-omap_2.6.39.bb b/recipes-kernel/linux/linux-omap_2.6.39.bb index c92846d..a22e81f 100644 --- a/recipes-kernel/linux/linux-omap_2.6.39.bb +++ b/recipes-kernel/linux/linux-omap_2.6.39.bb @@ -7,7 +7,7 @@ COMPATIBLE_MACHINE = (beagleboard) # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc SRCREV_pn-${PN} = v2.6.39 -MACHINE_KERNEL_PR_append = n +MACHINE_KERNEL_PR_append = o FILESPATHPKG_prepend = linux-omap-2.6.39: @@ -54,6 +54,7 @@ SRC_URI_append = \ file://beagle/0004-OMAP3-beagle-add-regulators-for-camera-interface.patch \ file://beagle/0005-OMAP3-beagle-HACK-add-in-1GHz-OPP.patch \ file://beagle/0006-OMAP3-BEAGLE-fix-RTC.patch \ + file://beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ \ file://camera/0001-Add-driver-for-Aptina-Micron-mt9p031-sensor.patch \ file://camera/0002-v4l-Add-mt9v032-sensor-driver.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v4] linux-omap-psp: Fix MMC timeout errors
This fixes MMC errors due to timeouts on certain SD Cards following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 This fix proposed by Sukumar Ghoral of TI. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes in v3: * Based on Suggestions by Koen [1], I split the patch into 2. This patch is only for the linux-omap-psp-2.6.32 recipe The other part was submitted for linux-omap-2.6.39 recipe from the meta-texasinstruments branch [2] Changes in v4: * Added SOB line Other notes: * The pull request to Tom [3] contained the MMC timeout fix patch that was submitted but was not supposed to be go into maintenance as we weren't sure about whether it fixed the issue (and turns out it didn't). This patch modifies the earlier patch with a working fix [1] http://article.gmane.org/gmane.comp.handhelds.openembedded/46689 [2] http://article.gmane.org/gmane.comp.handhelds.openembedded/46730 [3] http://article.gmane.org/gmane.comp.handhelds.openembedded/46721 ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 41 --- recipes/linux/linux-omap-psp_2.6.32.bb |2 +- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch index 4867d3f..8cd314c 100644 --- a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch +++ b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -1,22 +1,33 @@ -From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 From: Steve Sakoman st...@sakoman.com -Date: Wed, 12 Jan 2011 05:54:55 -0800 -Subject: [PATCH] omap: mmc: Adjust dto to eliminate timeout errors +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts -A number of SD card types were experiencing timeout errors. This -could also lead to data corruption in some cases. +This fixes MMC errors due to timeouts on certain SD Cards following suggestions +to set dto to 14 by Jason Kridner and Steven Kipisz -This fix proposed by Sukumar Ghoral of TI. +Details of the issue: +http://talk.maemo.org/showthread.php?p=1000707#post1000707 + +This fix was originally proposed by Sukumar Ghoral of TI. --- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c -index 9646a75..ef458d6 100644 +index 9646a75..7443647 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c -@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, - cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); - timeout = timeout_ns / cycle_ns; - timeout += timeout_clks; -+ timeout *= 2; - if (timeout) { - while ((timeout 0x8000) == 0) { - dto += 1; +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index 7a0797a..06904a9 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3 SRCREV = 5fc29e7b2a76a64a739f857858ef0b98294aa155 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = f+gitr${SRCREV} +MACHINE_KERNEL_PR_append = g+gitr${SRCREV} SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;branch=master \ file://0001-Added-Crane-Board-support.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [meta-texasinstruments] [PATCH v2] linux-omap: Fix MMC timeout Errors
This fixes MMC errors due to timeouts on certain SD Cards following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 This fix proposed by Sukumar Ghoral of TI. --- Generated a patch that applies to meta-texasinstruments as suggested by Koen in the post at [1] Changes since earlier patch: * Bumped PR [1] http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg19995.html ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 33 recipes-kernel/linux/linux-omap_2.6.39.bb |3 +- 2 files changed, 35 insertions(+), 1 deletions(-) create mode 100644 recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..8cd314c --- /dev/null +++ b/recipes-kernel/linux/linux-omap-2.6.39/beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,33 @@ +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts + +This fixes MMC errors due to timeouts on certain SD Cards following suggestions +to set dto to 14 by Jason Kridner and Steven Kipisz + +Details of the issue: +http://talk.maemo.org/showthread.php?p=1000707#post1000707 + +This fix was originally proposed by Sukumar Ghoral of TI. +--- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..7443647 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes-kernel/linux/linux-omap_2.6.39.bb b/recipes-kernel/linux/linux-omap_2.6.39.bb index c92846d..a22e81f 100644 --- a/recipes-kernel/linux/linux-omap_2.6.39.bb +++ b/recipes-kernel/linux/linux-omap_2.6.39.bb @@ -7,7 +7,7 @@ COMPATIBLE_MACHINE = (beagleboard) # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc SRCREV_pn-${PN} = v2.6.39 -MACHINE_KERNEL_PR_append = n +MACHINE_KERNEL_PR_append = o FILESPATHPKG_prepend = linux-omap-2.6.39: @@ -54,6 +54,7 @@ SRC_URI_append = \ file://beagle/0004-OMAP3-beagle-add-regulators-for-camera-interface.patch \ file://beagle/0005-OMAP3-beagle-HACK-add-in-1GHz-OPP.patch \ file://beagle/0006-OMAP3-BEAGLE-fix-RTC.patch \ + file://beagle/0007-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ \ file://camera/0001-Add-driver-for-Aptina-Micron-mt9p031-sensor.patch \ file://camera/0002-v4l-Add-mt9v032-sensor-driver.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v3] linux-omap-psp: Fix MMC timeout errors
This fixes MMC errors due to timeouts on certain SD Cards following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 This fix proposed by Sukumar Ghoral of TI. --- Changes since v2: Based on Suggestions by Koen [1], I split the patch into 2. This patch is only for the linux-omap-psp-2.6.32 recipe The other part was submitted for linux-omap-2.6.39 recipe from the meta-texasinstruments branch [2] * The pull request to Tom [3] contained the MMC timeout fix patch that was submitted but was not supposed to be go into maintenance as we weren't sure about whether it fixed the issue (and turns out it didn't). This patch modifies the earlier patch with a working fix [1] http://article.gmane.org/gmane.comp.handhelds.openembedded/46689 [2] http://article.gmane.org/gmane.comp.handhelds.openembedded/46730 [3] http://article.gmane.org/gmane.comp.handhelds.openembedded/46721 ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 41 --- recipes/linux/linux-omap-psp_2.6.32.bb |2 +- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch index 4867d3f..8cd314c 100644 --- a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch +++ b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -1,22 +1,33 @@ -From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 From: Steve Sakoman st...@sakoman.com -Date: Wed, 12 Jan 2011 05:54:55 -0800 -Subject: [PATCH] omap: mmc: Adjust dto to eliminate timeout errors +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts -A number of SD card types were experiencing timeout errors. This -could also lead to data corruption in some cases. +This fixes MMC errors due to timeouts on certain SD Cards following suggestions +to set dto to 14 by Jason Kridner and Steven Kipisz -This fix proposed by Sukumar Ghoral of TI. +Details of the issue: +http://talk.maemo.org/showthread.php?p=1000707#post1000707 + +This fix was originally proposed by Sukumar Ghoral of TI. --- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c -index 9646a75..ef458d6 100644 +index 9646a75..7443647 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c -@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, - cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); - timeout = timeout_ns / cycle_ns; - timeout += timeout_clks; -+ timeout *= 2; - if (timeout) { - while ((timeout 0x8000) == 0) { - dto += 1; +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index 7a0797a..06904a9 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3 SRCREV = 5fc29e7b2a76a64a739f857858ef0b98294aa155 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = f+gitr${SRCREV} +MACHINE_KERNEL_PR_append = g+gitr${SRCREV} SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;branch=master \ file://0001-Added-Crane-Board-support.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] beagleboard-test-scripts: userbutton state detection: Remove userspace scripts
Have U-boot detect if user button was pressed and set a boot argument so that user space can use this information This solves a couple of problems: * The user-button doesn't have to be held when userspace loads * Eliminate the need for userspace scripts that check for the state of the button Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- I know recently these updates have become fairly noisy and maybe even a chore for maintainers to keep applying. Moving to AUTOREV checkout for this recipe (from a stable branch I maintain) would reduce or eliminate this (I'm not sure how to trigger rebuilds though without a PR bump) If not, I'm sorry for the noise, hopefully this should be the last change as this script hasn't moved for a few days now. .../beagleboard/beagleboard-test-scripts_git.bb|9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index bb0e6e4..6b676de 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -1,22 +1,18 @@ ## Reminder: The correct spacing for a variable is FOO = BAR in : PR=r1 DESCRIPTION = BeagleBoard test scripts HOMEPAGE = http://beagleboad.org/support; -PR = r4 +PR = r5 SRC_URI = git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ -SRCREV = f7ba1b49190003af524f1a768ec887955a9994a0 +SRCREV = 4c129ee73698bfb14cfa4c77c2796e871b21 S = ${WORKDIR}/git inherit update-rc.d INITSCRIPT_NAME = flash-nand-fs.sh INITSCRIPT_PARAMS = start 99 2 3 4 5 . -do_compile() { -${CC} -o userbutton-pressed ${CFLAGS} ${LDFLAGS} flashing/userbutton-pressed.c -} - do_install() { TEST_FILES= \ testaudio \ @@ -40,7 +36,6 @@ do_install() { # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. install -d ${D}/${sysconfdir}/init.d/ install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh - install -m 0755 userbutton-pressed ${D}/${bindir}/userbutton-pressed install -d ${D}/boot/ install -m 0755 ${S}/flashing/user.txt ${D}/boot/user.txt install -m 0755 ${S}/flashing/uEnv.txt ${D}/boot/uEnv.txt -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] linux-omap-psp, linux-omap: Added patch to fix MMC timeout errors
On Thu, Jul 21, 2011 at 1:29 AM, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 21-07-11 00:02, Joel A Fernandes schreef: This fixes MMC errors due to timeouts on certain SD Cards following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 --- Changes since v1: * Made patch to apply to org.openembedded.dev branch * Bumped PR of respective recipes ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 27 ++ ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 39 +++- recipes/linux/linux-omap-psp_2.6.32.bb | 2 +- recipes/linux/linux-omap_2.6.39.bb | 3 +- Could you please split that in 2? And for the .39 kernel, the master recipe is in meta-ti, not in .dev: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/recipes-kernel/linux/linux-omap_2.6.39.bb?id=7018fe0a81fa33c6d73d6296d25517b5d427d0a7 Did you move it recently? If you don't mind, can you point me to some information on why this has changed? Thanks Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] linux-omap-psp, linux-omap: Added patch to fix MMC timeout errors
This fixes MMC errors due to timeouts on certain SD Cards following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 --- Changes since v1: * Made patch to apply to org.openembedded.dev branch * Bumped PR of respective recipes ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 27 ++ ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 39 +++- recipes/linux/linux-omap-psp_2.6.32.bb |2 +- recipes/linux/linux-omap_2.6.39.bb |3 +- 4 files changed, 52 insertions(+), 19 deletions(-) create mode 100644 recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..7a563b7 --- /dev/null +++ b/recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,27 @@ +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..7443647 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch index 4867d3f..7a563b7 100644 --- a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch +++ b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -1,22 +1,27 @@ -From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 -From: Steve Sakoman st...@sakoman.com -Date: Wed, 12 Jan 2011 05:54:55 -0800 -Subject: [PATCH] omap: mmc: Adjust dto to eliminate timeout errors +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts -A number of SD card types were experiencing timeout errors. This -could also lead to data corruption in some cases. - -This fix proposed by Sukumar Ghoral of TI. +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c -index 9646a75..ef458d6 100644 +index 9646a75..7443647 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c -@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, - cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); - timeout = timeout_ns / cycle_ns; - timeout += timeout_clks; -+ timeout *= 2; - if (timeout) { - while ((timeout 0x8000) == 0) { - dto += 1; +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index 91de194..31de659 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3 SRCREV = 5fc29e7b2a76a64a739f857858ef0b98294aa155 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = f+gitr${SRCREV} +MACHINE_KERNEL_PR_append = g+gitr${SRCREV} SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;branch=master \ file://0001-Added-Crane-Board-support.patch \ diff --git a/recipes/linux/linux-omap_2.6.39.bb b/recipes/linux
[oe] [PATCH v2] linux-omap-psp, linux-omap: Added patch to fix MMC timeout errors
This fixes MMC errors due to timeouts on certain SD Cards, following suggestions to set dto to 14 by Jason Kridner and Steven Kipisz Details of the issue: http://talk.maemo.org/showthread.php?p=1000707#post1000707 --- Changes since earlier patch: * Set dto to 14 instead of doubling timeout Other notes: * We have confirmation that this patch fixes the issue, so it is safe to apply to the maintentance tree * Also please revert the earlier patch from the dev tree titled linux-omap-psp: Added patch to fix MMC timeout errors (commit 93e91091c7e2864274207cc7c59e3f64e453f843) Another thread discussing the issue: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42214.html Thanks! ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 27 ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 27 recipes/linux/linux-omap-psp_2.6.32.bb |3 +- recipes/linux/linux-omap_2.6.39.bb |3 +- 4 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch create mode 100644 recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..7a563b7 --- /dev/null +++ b/recipes/linux/linux-omap-2.6.39/beagle/0006-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,27 @@ +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..7443647 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..7a563b7 --- /dev/null +++ b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,27 @@ +From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Mon, 18 Jul 2011 23:13:41 -0500 +Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + drivers/mmc/host/omap_hsmmc.c |3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..7443647 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + dto = 14; + } + ++ /* Set dto to max value of 14 to avoid SD Card timeouts */ ++ dto = 14; ++ + reg = ~DTO_MASK; + reg |= dto DTO_SHIFT; + OMAP_HSMMC_WRITE(host-base, SYSCTL, reg); +-- +1.7.0.4 + diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index ab9a04a..7a0797a 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3 SRCREV = 5fc29e7b2a76a64a739f857858ef0b98294aa155 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = e+gitr${SRCREV} +MACHINE_KERNEL_PR_append = f+gitr${SRCREV} SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;branch=master \ file://0001-Added-Crane-Board-support.patch \ @@ -59,6 +59,7 @@ SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \ file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \ file://0046-ARM-OMAP-beagle-disable-uart-timeout.patch \ + file://0047-omap-mmc-Adjust-dto-to-eliminate-timeout
Re: [oe] [Angstrom-devel] Bitbake build failure of Angstrom
Hi Koen, Nice to hear from you. On Mon, Jul 18, 2011 at 2:00 AM, Koen Kooi k...@dominion.thruhere.net wrote: Op 18 jul 2011, om 07:16 heeft Joel A Fernandes het volgende geschreven: Hi, I am attempting to manually rebuild the BeagleBoard validation image using bitbake. For this, I used the revision found in /etc/angstrom-version of an image I built with Narcissus. The OE revision I used referring to the above version file is: a1f31c757d2514e946737d60789c6f9f05ce38eb (Which happens to be my fix for GPIO) Now, when I run a bitbake beagleboard-validation-gnome-image -k Why are you using -k ? Not sure if it matters? Even if I don't pass -k, the errors still show up. Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [beagleboard] Re: [Angstrom-devel] Bitbake build failure of Angstrom
Hi Koen, On Mon, Jul 18, 2011 at 2:27 AM, Koen Kooi k...@beagleboard.org wrote: Op 18 jul 2011, om 09:13 heeft Joel A Fernandes het volgende geschreven: Hi Koen, Nice to hear from you. On Mon, Jul 18, 2011 at 2:00 AM, Koen Kooi k...@dominion.thruhere.net wrote: Op 18 jul 2011, om 07:16 heeft Joel A Fernandes het volgende geschreven: Hi, I am attempting to manually rebuild the BeagleBoard validation image using bitbake. For this, I used the revision found in /etc/angstrom-version of an image I built with Narcissus. The OE revision I used referring to the above version file is: a1f31c757d2514e946737d60789c6f9f05ce38eb (Which happens to be my fix for GPIO) Now, when I run a bitbake beagleboard-validation-gnome-image -k Why are you using -k ? Not sure if it matters? Even if I don't pass -k, the errors still show up. You're still not answering my question :) I thought I'd let the build continue as much as it could to save time later. Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] beagleboard-test-scripts: BeagleBoard userbutton detection for flashing
On Fri, Jul 15, 2011 at 8:19 PM, Joel A Fernandes agnel.j...@gmail.com wrote: * Build and install a userbutton tool to detect state of the user button on a BeagleBoard from /dev/input/event0 * Install a user.txt and uEnv.txt to /boot, Narcissus will copy from here to the FAT partition of an SD Card Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- This is an effort to be able to build an SD Card image for the BeagleBoard that can be used optionally for flashing an image to NAND if the user button is pressed. This patch makes sure that the root filesystem is ready with the scripts and programs required for Narcissus to build such an image. This patch can be safely merged in even if the Narcissus hasn't yet been (as it was just submitted) The related Narcissus patch is here: http://groups.google.com/group/beagleboard/browse_thread/thread/c0dd79f8e5fb26ae .../beagleboard/beagleboard-test-scripts_git.bb | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) Would it be possible for amyone to pull this patch into the OE maintenance/dev trees? Thanks, Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] Bitbake build failure of Angstrom
Hi, I am attempting to manually rebuild the BeagleBoard validation image using bitbake. For this, I used the revision found in /etc/angstrom-version of an image I built with Narcissus. The OE revision I used referring to the above version file is: a1f31c757d2514e946737d60789c6f9f05ce38eb (Which happens to be my fix for GPIO) Now, when I run a bitbake beagleboard-validation-gnome-image -k , below is the output showing that there are build failures with libgbod, libnet-dbus-perl. The build did not complete (some 40 tasks short). A question that arises is, if Narcissus could build an image with this tag without failures, why couldn't bitbake? Here is a build log: --- NOTE: Preparing runqueue NOTE: Executing RunQueue Tasks NOTE: Running task 4475 of 8704 (ID: 5042, /home/oebuild/angstrom-oe/setup-scripts-maint/sources/openembedded/recipes/libgpod/libgpod_0.7.92.bb, do_compile) NOTE: Running task 5632 of 8704 (ID: 2715, /home/oebuild/angstrom-oe/setup-scripts-maint/sources/openembedded/recipes/perl/libnet-dbus-perl_0.33.6.bb, do_compile) NOTE: package libgpod-0.7.92-r0: task do_compile: Started NOTE: Running task 5721 of 8704 (ID: 1875, /home/oebuild/angstrom-oe/setup-scripts-maint/sources/openembedded/recipes/synergy/synergy_1.3.1.bb, do_compile) NOTE: package libnet-dbus-perl-0.33.6-r4: task do_compile: Started ERROR: Logfile of failure stored in: /home/oebuild/angstrom-oe/setup-scripts-maint/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/libnet-dbus-perl-0.33.6-r4/temp/log.do_compil e.15567 Log data follows: | + do_compile | + cpan_do_compile | + oe_runmake 'PASTHRU_INC= -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2' 'CCFLAGS= -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -g gdb2' 'LD=arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/oebuild/angstrom-oe/setup-scripts-maint/b uild/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi' | + oenote make -j8 -e MAKEFLAGS= 'PASTHRU_INC= -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2' 'CCFLAGS= -fexpensive-optimizations -frename-registers -fomit-f rame-pointer -O2 -ggdb2' 'LD=arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/oebuild/angstrom-oe/se tup-scripts-maint/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi' | + echo NOTE: 'make -j8 -e MAKEFLAGS= PASTHRU_INC= -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 CCFLAGS= -fexpensive-optimizations -frename-registers -fomit -frame-pointer -O2 -ggdb2 LD=arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/oebuild/angstrom-oe/se tup-scripts-maint/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi' | NOTE: make -j8 -e MAKEFLAGS= PASTHRU_INC= -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 CCFLAGS= -fexpensive-optimizations -frename-registers -fomit-frame-p ointer -O2 -ggdb2 LD=arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/oebuild/angstrom-oe/setup-scri pts-maint/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi | + make -j8 -e MAKEFLAGS= 'PASTHRU_INC= -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2' 'CCFLAGS= -fexpensive-optimizations -frename-registers -fomit-frame-po inter -O2 -ggdb2' 'LD=arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/oebuild/angstrom-oe/setup-scr ipts-maint/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi' | arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/oebuild/angstrom-oe/setup-scripts-maint/build/tmp -angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi -c -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Wall -I/home/oebuild/angstrom-oe/setup-scripts-maint /build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/home/oebuild/angstrom-oe/setup-scripts-maint/build/tmp-angstrom_2008_1/sysroots/i686-linux/usr/include/dbus-1.0 -I/home/oeb uild/angstrom-oe/setup-scripts-maint/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/home/oebuild/angstrom-oe/setup-scripts-maint/build/tmp-angstrom_2008_1/sysroots/i686-li nux/usr/lib/dbus-1.0/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -O2 -DVERSION=\0.33.6\ -DXS_VERSION=\0.33.6\ -fPIC -I/home/oebuild/angstro m-oe/setup-scripts-maint/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/perl/5.10.1/CORE -DDBUS_API_SUBJECT_TO_CHANGE -DHAVE_CONN_DISCONNECT=0
[oe] [PATCH v4] linux-omap-psp: Added patch to fix MMC timeout errors
This fixes MMC errors due to timeouts, and is borrowed from Steve Sakoman's patch for the linux-omap-2.6.39 recipe (as noticed by Jason Kridner) Details of the issue: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42214.html Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since patch v3 with suggestions from Koen: * Fixed commit summary * Bumped MACHINE_KERNEL_PR_append The link to the patch in org.openembedded.dev: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch?h=org.openembedded.dev ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 22 recipes/linux/linux-omap-psp_2.6.32.bb |3 +- 2 files changed, 24 insertions(+), 1 deletions(-) create mode 100644 recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..4867d3f --- /dev/null +++ b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,22 @@ +From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Wed, 12 Jan 2011 05:54:55 -0800 +Subject: [PATCH] omap: mmc: Adjust dto to eliminate timeout errors + +A number of SD card types were experiencing timeout errors. This +could also lead to data corruption in some cases. + +This fix proposed by Sukumar Ghoral of TI. +--- +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..ef458d6 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); + timeout = timeout_ns / cycle_ns; + timeout += timeout_clks; ++ timeout *= 2; + if (timeout) { + while ((timeout 0x8000) == 0) { + dto += 1; diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index a076bf1..7a0797a 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3 SRCREV = 5fc29e7b2a76a64a739f857858ef0b98294aa155 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = e+gitr${SRCREV} +MACHINE_KERNEL_PR_append = f+gitr${SRCREV} SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;branch=master \ file://0001-Added-Crane-Board-support.patch \ @@ -59,6 +59,7 @@ SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \ file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \ file://0046-ARM-OMAP-beagle-disable-uart-timeout.patch \ + file://0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \ file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \ file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] beagleboard-test-scripts: BeagleBoard userbutton detection for flashing
* Build and install a userbutton tool to detect state of the user button on a BeagleBoard from /dev/input/event0 * Install a user.txt and uEnv.txt to /boot, Narcissus will copy from here to the FAT partition of an SD Card Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- This is an effort to be able to build an SD Card image for the BeagleBoard that can be used optionally for flashing an image to NAND if the user button is pressed. This patch makes sure that the root filesystem is ready with the scripts and programs required for Narcissus to build such an image. This patch can be safely merged in even if the Narcissus hasn't yet been (as it was just submitted) The related Narcissus patch is here: http://groups.google.com/group/beagleboard/browse_thread/thread/c0dd79f8e5fb26ae .../beagleboard/beagleboard-test-scripts_git.bb| 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index 0ee7954..bb0e6e4 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -1,18 +1,22 @@ ## Reminder: The correct spacing for a variable is FOO = BAR in : PR=r1 DESCRIPTION = BeagleBoard test scripts HOMEPAGE = http://beagleboad.org/support; -PR = r3 +PR = r4 SRC_URI = git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ -SRCREV = 2df76857155fbd462527c2b00ee83214483f0594 +SRCREV = f7ba1b49190003af524f1a768ec887955a9994a0 S = ${WORKDIR}/git inherit update-rc.d INITSCRIPT_NAME = flash-nand-fs.sh INITSCRIPT_PARAMS = start 99 2 3 4 5 . +do_compile() { +${CC} -o userbutton-pressed ${CFLAGS} ${LDFLAGS} flashing/userbutton-pressed.c +} + do_install() { TEST_FILES= \ testaudio \ @@ -36,4 +40,8 @@ do_install() { # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. install -d ${D}/${sysconfdir}/init.d/ install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh + install -m 0755 userbutton-pressed ${D}/${bindir}/userbutton-pressed + install -d ${D}/boot/ + install -m 0755 ${S}/flashing/user.txt ${D}/boot/user.txt + install -m 0755 ${S}/flashing/uEnv.txt ${D}/boot/uEnv.txt } -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] linux-omap-psp: Added patch by Steve Sakoman to fix timeout errors
This fixes MMC errors due to timeouts, out was noticed by Jason Kridner in in the linux-omap-2.6.39 recipe Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Some useful links shared by Jason: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42214.html http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patchRelevant links: The link to the patch in org.openembedded.dev: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch?h=org.openembedded.dev ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 22 recipes/linux/linux-omap_2.6.32.bb |1 + 2 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..ae5a7aa --- /dev/null +++ b/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,22 @@ +From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Wed, 12 Jan 2011 05:54:55 -0800 +Subject: [PATCH 24/31] omap: mmc: Adjust dto to eliminate timeout errors + +A number of SD card types were experiencing timeout errors. This +could also lead to data corruption in some cases. + +This fix proposed by Sukumar Ghoral of TI. +--- +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..ef458d6 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); + timeout = timeout_ns / cycle_ns; + timeout += timeout_clks; ++ timeout *= 2; + if (timeout) { + while ((timeout 0x8000) == 0) { + dto += 1; diff --git a/recipes/linux/linux-omap_2.6.32.bb b/recipes/linux/linux-omap_2.6.32.bb index 348ec96..404387f 100644 --- a/recipes/linux/linux-omap_2.6.32.bb +++ b/recipes/linux/linux-omap_2.6.32.bb @@ -33,6 +33,7 @@ file://0005-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board.patch \ file://0006-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch \ file://0007-ASoC-enable-audio-capture-by-default-for-twl4030.patch \ file://0009-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch \ +file://0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ file://madc/0009-drivers-mfd-add-twl4030-madc-driver.patch \ file://madc/0010-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch \ file://madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCHi v2] linux-omap-psp: Added patch by Steve Sakoman to fix timeout errors
This fixes MMC errors due to timeouts, and is borrowed from linux-omap-2.6.39 recipe (as noticed by Jason Kridner) Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since earlier patch: * Fixed commit summary Some useful links shared by Jason: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42214.html http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patchRelevant links: The link to the patch in org.openembedded.dev: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch?h=org.openembedded.dev ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 22 recipes/linux/linux-omap_2.6.32.bb |1 + 2 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..ae5a7aa --- /dev/null +++ b/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,22 @@ +From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Wed, 12 Jan 2011 05:54:55 -0800 +Subject: [PATCH 24/31] omap: mmc: Adjust dto to eliminate timeout errors + +A number of SD card types were experiencing timeout errors. This +could also lead to data corruption in some cases. + +This fix proposed by Sukumar Ghoral of TI. +--- +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..ef458d6 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); + timeout = timeout_ns / cycle_ns; + timeout += timeout_clks; ++ timeout *= 2; + if (timeout) { + while ((timeout 0x8000) == 0) { + dto += 1; diff --git a/recipes/linux/linux-omap_2.6.32.bb b/recipes/linux/linux-omap_2.6.32.bb index 348ec96..404387f 100644 --- a/recipes/linux/linux-omap_2.6.32.bb +++ b/recipes/linux/linux-omap_2.6.32.bb @@ -33,6 +33,7 @@ file://0005-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board.patch \ file://0006-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch \ file://0007-ASoC-enable-audio-capture-by-default-for-twl4030.patch \ file://0009-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch \ +file://0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ file://madc/0009-drivers-mfd-add-twl4030-madc-driver.patch \ file://madc/0010-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch \ file://madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCHi v2] linux-omap-psp: Added patch by Steve Sakoman to fix timeout errors
This fixes MMC errors due to timeouts, and is borrowed from linux-omap-2.6.39 recipe (as noticed by Jason Kridner) Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since earlier patch: * Fixed commit summary Some useful links shared by Jason: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42214.html http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patchRelevant links: The link to the patch in org.openembedded.dev: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch?h=org.openembedded.dev ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 22 recipes/linux/linux-omap_2.6.32.bb |1 + 2 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..ae5a7aa --- /dev/null +++ b/recipes/linux/linux-omap-2.6.32/0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,22 @@ +From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Wed, 12 Jan 2011 05:54:55 -0800 +Subject: [PATCH 24/31] omap: mmc: Adjust dto to eliminate timeout errors + +A number of SD card types were experiencing timeout errors. This +could also lead to data corruption in some cases. + +This fix proposed by Sukumar Ghoral of TI. +--- +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..ef458d6 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); + timeout = timeout_ns / cycle_ns; + timeout += timeout_clks; ++ timeout *= 2; + if (timeout) { + while ((timeout 0x8000) == 0) { + dto += 1; diff --git a/recipes/linux/linux-omap_2.6.32.bb b/recipes/linux/linux-omap_2.6.32.bb index 348ec96..404387f 100644 --- a/recipes/linux/linux-omap_2.6.32.bb +++ b/recipes/linux/linux-omap_2.6.32.bb @@ -33,6 +33,7 @@ file://0005-ARM-OMAP-add-support-for-TCT-Zippy-to-Beagle-board.patch \ file://0006-ARM-OMAP-Make-beagle-u-boot-partition-writable.patch \ file://0007-ASoC-enable-audio-capture-by-default-for-twl4030.patch \ file://0009-MTD-NAND-omap2-proper-fix-for-subpage-read-ECC-error.patch \ +file://0010-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ file://madc/0009-drivers-mfd-add-twl4030-madc-driver.patch \ file://madc/0010-ARM-OMAP-Add-twl4030-madc-support-to-Overo.patch \ file://madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v3] linux-omap-psp: Added patch to fix MMC timeout errors
This fixes MMC errors due to timeouts, and is borrowed from Steve Sakoman's patch for the linux-omap-2.6.39 recipe (as noticed by Jason Kridner) Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v2: * Applied the patch to the correct recipe (linux-omap-psp-2.6.32 instead of linux-omap-2.6.32) (Sorry!) * Moved author name to commit message A link shared by Jason discussing the issue: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42214.html Paul, This is an actual problem that we experience and this patch seems to fix it. Patch: http://cgit.openembedded.net/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39/sakoman/0024-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch --- ...mc-Adjust-dto-to-eliminate-timeout-errors.patch | 22 recipes/linux/linux-omap-psp_2.6.32.bb |1 + 2 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch diff --git a/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file mode 100644 index 000..4867d3f --- /dev/null +++ b/recipes/linux/linux-omap-psp-2.6.32/0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch @@ -0,0 +1,22 @@ +From 26a79f408bd41ad7b4a47f2683909d3fc1575eab Mon Sep 17 00:00:00 2001 +From: Steve Sakoman st...@sakoman.com +Date: Wed, 12 Jan 2011 05:54:55 -0800 +Subject: [PATCH] omap: mmc: Adjust dto to eliminate timeout errors + +A number of SD card types were experiencing timeout errors. This +could also lead to data corruption in some cases. + +This fix proposed by Sukumar Ghoral of TI. +--- +diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +index 9646a75..ef458d6 100644 +--- a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c +@@ -1032,6 +1032,7 @@ static void set_data_timeout(struct omap_hsmmc_host *host, + cycle_ns = 10 / (clk_get_rate(host-fclk) / clkd); + timeout = timeout_ns / cycle_ns; + timeout += timeout_clks; ++ timeout *= 2; + if (timeout) { + while ((timeout 0x8000) == 0) { + dto += 1; diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index a076bf1..e6c97ed 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -59,6 +59,7 @@ SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \ file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \ file://0046-ARM-OMAP-beagle-disable-uart-timeout.patch \ + file://0047-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch \ file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \ file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \ file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] ghostscript 9.01 fails to build
Hi, When OE build gets to the gs-9.01 recipe (ghostscript), it breaks in the do_configure stage. I'm using org.openembedded.dev HEAD, Here are the logs for the configure stage: http://www.utdallas.edu/~joel.fernandes/log.configure.gs-9.01-r0 The missing headers and libraries seem to be coming from the fontconfig recipe (recipes/fontconfig/fontconfig_2.8.0.bb) and I think it lacks a particular do_stage function that should copy the libraries/headers for ghostscript to pickup. Is my analysis correct? Has anyone experienced a similar issue? Thanks for any help, Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v3] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM
Hi, On Wed, Jul 6, 2011 at 11:02 AM, Joel A Fernandes agnel.j...@gmail.com wrote: The user-button wasn't working for me with the the linux-omap-psp-2.6.32 kernel, this change fixes it. I noticed the correct value in the linux-omap-2.6.39 sources Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v2: * Bumped PR * Made the commit summary more descriptive, removed full stop conf/machine/include/omap3.inc | 2 +- ...agle-cleaned-up-board-revision-conditions.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc Could this patch be ACKed and/or applied to the dev and maintenance trees? Thanks Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] angstrom: Use pulseaudio version 0.9.22 for armv7a architecture
This fixes all the issues noticed earlier with pulseaudio 0.9.15: * Pulseaudio keeping audio devices busy when run as per-user instance * Failure of pactl, pacmd etc to connect to the pulse server The gcc 4.3.x angstrom is using in maintenance lacks the needed atomic ops to build pulseaudio 0.9.23 for armv7a so we use pulseaudio 0.9.22 which is less buggier than pulseaudio 0.9.15 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Following Paul's suggestions, changes since original patch: * Moved setting of the PREFERRED_VERSION for pulseaudio from conf/distro/angstrom-2008.1.conf to conf/distro/include/angstrom-2008-preferred-versions.inc * prepended the patch title with angstrom: Original patch: http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/033854.html Paul's suggestions: http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/033872.html Koen's comments on the lack of atomic ops in gcc 4.3.x: http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/033866.html .../include/angstrom-2008-preferred-versions.inc |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index b5b524a..4833d35 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -45,6 +45,7 @@ PREFERRED_VERSION_pango-native = 1.24.4 PREFERRED_VERSION_pkgconfig= 0.23 PREFERRED_VERSION_pkgconfig-native = 0.23 PREFERRED_VERSION_pulseaudio = 0.9.15 +PREFERRED_VERSION_pulseaudio_armv7a = 0.9.22 PREFERRED_VERSION_python-pycairo = 1.8.0 PREFERRED_VERSION_qt4-tools-native = ${ANGSTROM_QT_VERSION} PREFERRED_VERSION_qt4-tools-sdk = ${ANGSTROM_QT_VERSION} -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] pulseaudio: Switch to version version 0.9.22
Hi Paul, Thanks for your comments. Your suggestion works and is much cleaner. I have submitted a new patch. Thanks, Joel On Sun, Jul 10, 2011 at 8:05 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear Joel, Am Samstag, den 09.07.2011, 19:39 -0500 schrieb Joel A Fernandes: I do not know if the commit summary is correct and if it should be prepended with ?angstrom?. Why do say that the commit summary is not correct? The conf file being patched is for the Angstrom 2011.03 distribution. that is why it should be prepended with angstrom like it is done in other changes to those files. $ git log conf/distro/include/angstrom* This fixes all the issues noticed earlier with pulseaudio 0.9.15: * Pulseaudio keeping audio devices busy when run as per-user instance * Failure of pactl, pacmd etc to connect to the pulseaudio server Please always include links to corresponding list threads if they are available. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Notes: * This has to go into the OpenEmbedded 2011.03-maintenance branch as there is no such configration file in the master branch $ git grep pulse conf/distro conf/distro/include/angstrom-2008-preferred-versions.inc:PREFERRED_VERSION_gst-pulse = 0.9.7 conf/distro/include/angstrom-2008-preferred-versions.inc:PREFERRED_VERSION_pulseaudio = 0.9.15 conf/distro/include/angstrom-2010-preferred-versions.inc:PREFERRED_VERSION_gst-pulse = 0.9.7 conf/distro/include/angstrom-2010-preferred-versions.inc:PREFERRED_VERSION_pulseaudio = 0.9.22 [?] So you your change could actually be applied to master? I was trying to say that the conf file involved doesn't exist in the master branch conf/distro/angstrom-2008.1.conf | 3 +++ .../include/angstrom-2008-preferred-versions.inc | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf index ae1ed4c..7b4f25a 100644 --- a/conf/distro/angstrom-2008.1.conf +++ b/conf/distro/angstrom-2008.1.conf @@ -121,6 +121,9 @@ PREFERRED_VERSION_binutils_avr32 = 2.17 PREFERRED_VERSION_binutils-cross_avr32 = 2.17 PREFERRED_VERSION_binutils-cross-sdk_avr32 = 2.17 +ANGSTROM_PULSEAUDIO_VERSION = 0.9.15 +ANGSTROM_PULSEAUDIO_VERSION_armv7a = 0.9.22 + 1. Where did you find this syntax? $ git grep PULSE conf/distro/ does not find anything in branch master. Yes, I didn't either because I was the first one to add it. :) There are other variables in the same conf file that provide overrides in a similar way. Why do you think is the syntax not correct? Well, since in my opinion this variable is redundant. Just change the versions in the file under `/include/`. 2. Could you add an explanation, why 0.9.22 is not used for everything and only for armv7a. Is that because of commit cce5e648 [1]? I'm not sure which commit causes a problem, but Koen can explain more. From what I understand, the compiler doesn't support building this version of pulseaudio for armv7a. Koen? The old Linux kernel in 2008.1 does not support this for non armv7a according to Koen’s answer. PREFERRED_PROVIDER_dbus-glib = dbus-glib PREFERRED_PROVIDER_hotplug = udev PREFERRED_PROVIDER_opkg ?= opkg diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index b5b524a..e4b8bf1 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -44,7 +44,7 @@ PREFERRED_VERSION_pango-native = 1.24.4 #PREFERRED_VERSION_pixman = 0.13.2 PREFERRED_VERSION_pkgconfig = 0.23 PREFERRED_VERSION_pkgconfig-native = 0.23 -PREFERRED_VERSION_pulseaudio = 0.9.15 +PREFERRED_VERSION_pulseaudio = ${ANGSTROM_PULSEAUDIO_VERSION} PREFERRED_VERSION_python-pycairo = 1.8.0 PREFERRED_VERSION_qt4-tools-native = ${ANGSTROM_QT_VERSION} PREFERRED_VERSION_qt4-tools-sdk = ${ANGSTROM_QT_VERSION} So I would prefer, if you would change the version just in this file and such a patch could go into branch master first. master doesn't have a conf/distro/angstrom-2008.1.conf so I'm not sure how I can create a patch for the master branch? The following change in /conf/distro/include/angstrom-2008-preferred-versions.inc should be enough, should not it? PREFERRED_VERSION_pulseaudio = 0.9.15 +PREFERRED_VERSION_pulseaudio_armv7a = 0.9.22 Even better would be the following. 1. Package PA 0.9.23 for oe-dev. If I remember correctly I send all patches upstream and it should work for all architectures(?). 2. Prefer PA 0.9.23 for ?ngstr?m and other distributions. 3. Remove older PA
Re: [oe] [PATCH] pulseaudio: Switch to version version 0.9.22
Hi Paul, Thanks for your comments. I do not know if the commit summary is correct and if it should be prepended with ?angstrom?. Why do say that the commit summary is not correct? The conf file being patched is for the Angstrom 2011.03 distribution. This fixes all the issues noticed earlier with pulseaudio 0.9.15: * Pulseaudio keeping audio devices busy when run as per-user instance * Failure of pactl, pacmd etc to connect to the pulseaudio server Please always include links to corresponding list threads if they are available. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Notes: * This has to go into the OpenEmbedded 2011.03-maintenance branch as there is no such configration file in the master branch $ git grep pulse conf/distro conf/distro/include/angstrom-2008-preferred-versions.inc:PREFERRED_VERSION_gst-pulse = 0.9.7 conf/distro/include/angstrom-2008-preferred-versions.inc:PREFERRED_VERSION_pulseaudio = 0.9.15 conf/distro/include/angstrom-2010-preferred-versions.inc:PREFERRED_VERSION_gst-pulse = 0.9.7 conf/distro/include/angstrom-2010-preferred-versions.inc:PREFERRED_VERSION_pulseaudio = 0.9.22 [?] So you your change could actually be applied to master? I was trying to say that the conf file involved doesn't exist in the master branch conf/distro/angstrom-2008.1.conf | 3 +++ .../include/angstrom-2008-preferred-versions.inc | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf index ae1ed4c..7b4f25a 100644 --- a/conf/distro/angstrom-2008.1.conf +++ b/conf/distro/angstrom-2008.1.conf @@ -121,6 +121,9 @@ PREFERRED_VERSION_binutils_avr32 = 2.17 PREFERRED_VERSION_binutils-cross_avr32 = 2.17 PREFERRED_VERSION_binutils-cross-sdk_avr32 = 2.17 +ANGSTROM_PULSEAUDIO_VERSION = 0.9.15 +ANGSTROM_PULSEAUDIO_VERSION_armv7a = 0.9.22 + 1. Where did you find this syntax? $ git grep PULSE conf/distro/ does not find anything in branch master. Yes, I didn't either because I was the first one to add it. :) There are other variables in the same conf file that provide overrides in a similar way. Why do you think is the syntax not correct? 2. Could you add an explanation, why 0.9.22 is not used for everything and only for armv7a. Is that because of commit cce5e648 [1]? I'm not sure which commit causes a problem, but Koen can explain more. From what I understand, the compiler doesn't support building this version of pulseaudio for armv7a. Koen? PREFERRED_PROVIDER_dbus-glib = dbus-glib PREFERRED_PROVIDER_hotplug = udev PREFERRED_PROVIDER_opkg ?= opkg diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index b5b524a..e4b8bf1 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -44,7 +44,7 @@ PREFERRED_VERSION_pango-native = 1.24.4 #PREFERRED_VERSION_pixman = 0.13.2 PREFERRED_VERSION_pkgconfig = 0.23 PREFERRED_VERSION_pkgconfig-native = 0.23 -PREFERRED_VERSION_pulseaudio = 0.9.15 +PREFERRED_VERSION_pulseaudio = ${ANGSTROM_PULSEAUDIO_VERSION} PREFERRED_VERSION_python-pycairo = 1.8.0 PREFERRED_VERSION_qt4-tools-native = ${ANGSTROM_QT_VERSION} PREFERRED_VERSION_qt4-tools-sdk = ${ANGSTROM_QT_VERSION} So I would prefer, if you would change the version just in this file and such a patch could go into branch master first. master doesn't have a conf/distro/angstrom-2008.1.conf so I'm not sure how I can create a patch for the master branch? Even better would be the following. 1. Package PA 0.9.23 for oe-dev. If I remember correctly I send all patches upstream and it should work for all architectures(?). 2. Prefer PA 0.9.23 for ?ngstr?m and other distributions. 3. Remove older PA versions. 4. Cherry pick these changes into branch 2011.03-maintenance. Joel, do you have time and motivation to do that? Motivation is there, but time isn't ;). I can make an effort to do this at some point though. Thanks, Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
On Fri, Jul 8, 2011 at 11:07 AM, Kooi, Koen k-k...@ti.com wrote: (posting from the airport) If I understood correctly Joel is going to try out 0.9.22 to see if that fixes session mode, and it not, try to make systemmode a separate recipe that both .15 and .22 could optionally use. Joel, please correct me if I'm wrong :) Hi Koen, That's right :) While I'm doing a build, I am also posting detailed logs to pulseaudio ML about the failure of an older version, just incase. Just mentioning that I'm setting PREFERRED_VERSION_pulseaudio to 0.9.22 in conf/.../angstrom-2008-preferred-versions.inc I do recall from the phone that you mentioned something about an armv7 specific variable but I couldn't find it. Let me know if setting the above mentioned variable is ok. Thanks and Have a safe flight. Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
On Fri, Jul 8, 2011 at 3:11 PM, Kridner, Jason j...@ti.com wrote: -Original Message- From: Joel A Fernandes [mailto:agnel.j...@gmail.com] Sent: Friday, July 08, 2011 3:11 PM To: Kooi, Koen Cc: Paul Menzel; openembedded-devel@lists.openembedded.org; Kridner, Jason; Fernandes, Joel A Subject: Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user On Fri, Jul 8, 2011 at 11:07 AM, Kooi, Koen k-k...@ti.com wrote: (posting from the airport) If I understood correctly Joel is going to try out 0.9.22 to see if that fixes session mode, and it not, try to make systemmode a separate recipe that both .15 and .22 could optionally use. Joel, please correct me if I'm wrong :) Hi Koen, That's right :) While I'm doing a build, I am also posting detailed logs to pulseaudio ML about the failure of an older version, just incase. Just mentioning that I'm setting PREFERRED_VERSION_pulseaudio to 0.9.22 in conf/.../angstrom-2008-preferred-versions.inc Is it 2008 or 2010 that gets used? Oh! I use the angstrom setup scripts so my DISTRO is set to angstrom-2008.1 . Is this a problem? The various 'year' version are confusing, Do you know which DISTRO= would Narcissus assembled images be using? Pulseaudio on the Narcissus assembled C5 image is on 0.9.15 , this is set only in 2008: http://cgit.openembedded.net/cgit.cgi/openembedded/tree/conf/distro/include/angstrom-2008-preferred-versions.inc?h=2011.03-maintenance#n47 Also, if I'm right that the C5 image packages were built with DISTRO set to 2008, then shouldn't we be rebuilding pulseaudio with DISTRO = 2008? Thanks Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
While I'm doing a build, I am also posting detailed logs to pulseaudio ML about the failure of an older version, just incase. Just mentioning that I'm setting PREFERRED_VERSION_pulseaudio to 0.9.22 in conf/.../angstrom-2008-preferred-versions.inc Is it 2008 or 2010 that gets used? Just noticed that angstrom-2008.conf is present in the 2011.03-maintenance branch but not in the .dev So I guess that we're supposed to use for all maintenance builds Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] pulseaudio: Switch to version version 0.9.22 for Angstrom 2011.03
On Fri, Jul 8, 2011 at 7:21 PM, Joel A Fernandes agnel.j...@gmail.com wrote: This fixes all the issues noticed earlier with pulseaudio 0.9.15: * Pulseaudio keeping audio devices busy when run as per-user instance * Failure of pactl, pacmd etc to connect to the pulseaudio server Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Notes: * This has to go into the OpenEmbedded 2011.03-maintenance branch as there is no such configration file in the master branch * Please ignore the earlier patch pulseaudio: Run as system-wide instance instead of per-user Applying this and the patch titled beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND will mark the Alpha build of the C5 image. Can this be tagged? Things to go into Beta: * User button fixes (kernel and flashing scripts) * U-boot fixes for EHCI timeouts when doing a tftpboot conf/distro/angstrom-2008.1.conf | 3 +++ .../include/angstrom-2008-preferred-versions.inc | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) I'm not sure if DISTRO_PR has to be bumped so I left it as is, please let me know if its required. Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
Hi Paul, Can we ignore this patch and use one I just submitted titled pulseaudio: Switch to version version 0.9.22 for Angstrom 2011.03? Thanks for reviewing my patch, Regards, Joel On Fri, Jul 8, 2011 at 11:00 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: [Just adding back everyone to CC list.] Am Freitag, den 08.07.2011, 17:55 +0200 schrieb Paul Menzel: Am Donnerstag, den 07.07.2011, 21:55 -0500 schrieb Joel A Fernandes: As far as I understood system mode can sometimes be the right thing to do but most of the time it is just a configuration error. Running PA and printing out the debug messages should give you a clue. Pulseaudio isn't printing any debug messages to syslog or stdout ( -vv -log-level pulseaudio options ) Here was the thread on BeagleBoard mailing list that discusses this issue: http://groups.google.com/group/beagleboard/browse_thread/thread/4dc82483a8d000fb/ccbd0e21fa5e89a0 I will post the details of the problem on the pulseaudio mailing list and try to get some other alternatives. For now, can we temporarily merge this patch while I followup with them? Here is a discussion I started on the pulseaudio list: http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-July/010565.html Thank you very much for bringing this issue to upstreams attention. Regarding to pushing this patch, I am still a little confused since you wrote to the PA list you are using PA 0.9.15 and your patch is against 0.9.22. Thanks, Paul ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] pulseaudio: Switch to version version 0.9.22 for Angstrom 2011.03
This fixes all the issues noticed earlier with pulseaudio 0.9.15: * Pulseaudio keeping audio devices busy when run as per-user instance * Failure of pactl, pacmd etc to connect to the pulseaudio server Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Notes: * This has to go into the OpenEmbedded 2011.03-maintenance branch as there is no such configration file in the master branch * Please ignore the earlier patch pulseaudio: Run as system-wide instance instead of per-user Applying this and the patch titled beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND will mark the Alpha build of the C5 image. Can this be tagged? Things to go into Beta: * User button fixes (kernel and flashing scripts) * U-boot fixes for EHCI timeouts when doing a tftpboot conf/distro/angstrom-2008.1.conf |3 +++ .../include/angstrom-2008-preferred-versions.inc |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf index ae1ed4c..7b4f25a 100644 --- a/conf/distro/angstrom-2008.1.conf +++ b/conf/distro/angstrom-2008.1.conf @@ -121,6 +121,9 @@ PREFERRED_VERSION_binutils_avr32 = 2.17 PREFERRED_VERSION_binutils-cross_avr32 = 2.17 PREFERRED_VERSION_binutils-cross-sdk_avr32 = 2.17 +ANGSTROM_PULSEAUDIO_VERSION= 0.9.15 +ANGSTROM_PULSEAUDIO_VERSION_armv7a = 0.9.22 + PREFERRED_PROVIDER_dbus-glib = dbus-glib PREFERRED_PROVIDER_hotplug = udev PREFERRED_PROVIDER_opkg ?= opkg diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index b5b524a..e4b8bf1 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -44,7 +44,7 @@ PREFERRED_VERSION_pango-native = 1.24.4 #PREFERRED_VERSION_pixman = 0.13.2 PREFERRED_VERSION_pkgconfig= 0.23 PREFERRED_VERSION_pkgconfig-native = 0.23 -PREFERRED_VERSION_pulseaudio = 0.9.15 +PREFERRED_VERSION_pulseaudio = ${ANGSTROM_PULSEAUDIO_VERSION} PREFERRED_VERSION_python-pycairo = 1.8.0 PREFERRED_VERSION_qt4-tools-native = ${ANGSTROM_QT_VERSION} PREFERRED_VERSION_qt4-tools-sdk = ${ANGSTROM_QT_VERSION} -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND
On Thu, Jul 7, 2011 at 9:37 AM, Kooi, Koen k-k...@ti.com wrote: Since we're not in a ramdisk anymore, we could also dump a /etc/joel-was-here file to see if we already have flashed nand from this specific card or not. Don't see how this will work when the same card is used to flash multiple boards? Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v3] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND
This script flashes the NAND of a BeagleBoard if: * The user-button is pressed * There is a valid image on the SD Card to flash * The board has NAND Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v2: User button is checked before flashing of the board This is based on Jason's review: http://groups.google.com/group/beagleboard/msg/835de9a37c3a340a .../beagleboard/beagleboard-test-scripts_git.bb| 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index be0d059..3f3cc56 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -1,14 +1,18 @@ ## Reminder: The correct spacing for a variable is FOO = BAR in : PR=r1 DESCRIPTION = BeagleBoard test scripts HOMEPAGE = http://beagleboad.org/support; -PR = r2 +PR = r3 -SRC_URI = git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ +SRC_URI = git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ -SRCREV = 473dd2ab20d866be6168c9f992c2c9e74e485c9d +SRCREV = 513bfa2e99822150ea5845f3a33c349029cb7c13 S = ${WORKDIR}/git +inherit update-rc.d +INITSCRIPT_NAME = flash-fs.sh +INITSCRIPT_PARAMS = start 99 2 3 4 5 . + do_install() { TEST_FILES= \ testaudio \ @@ -28,4 +32,8 @@ do_install() { for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done + # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card. + # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. + install -d ${D}/${sysconfdir}/init.d/ + install -m 0755 ${S}/flashing/flash-fs.sh ${D}/${sysconfdir}/init.d/flash-fs.sh } -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
Hi Paul, Thanks for your email. On Thu, Jul 7, 2011 at 2:00 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear Joel, Am Donnerstag, den 07.07.2011, 00:38 -0500 schrieb Joel A Fernandes: * Pulseaudio running as per-user is opening audio devices and blocking everyone else from getting access to the device. The problem is it doesn't even seem to be allowing applications to connect to it, this patch starts it up in system mode instead which is tested and known to work thank you for the patch. Could you post your error and check with the PulseAudio guys what the cause is? There are very responsive on their mailing list, which moved to freedesktop.org recently. Sure, I will follow up with the pulseaudio folks. As far as I understood system mode can sometimes be the right thing to do but most of the time it is just a configuration error. Running PA and printing out the debug messages should give you a clue. Pulseaudio isn't printing any debug messages to syslog or stdout ( -vv -log-level pulseaudio options ) Here was the thread on BeagleBoard mailing list that discusses this issue: http://groups.google.com/group/beagleboard/browse_thread/thread/4dc82483a8d000fb/ccbd0e21fa5e89a0 I will post the details of the problem on the pulseaudio mailing list and try to get some other alternatives. For now, can we temporarily merge this patch while I followup with them? Is that needed? It is an unexpected change for the user having to find out that s/he has to make a program under `/usr/bin/` executable to run it. Do you have any suggestions on else we could do it? A patch that rm's the script? thanks Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
As far as I understood system mode can sometimes be the right thing to do but most of the time it is just a configuration error. Running PA and printing out the debug messages should give you a clue. Pulseaudio isn't printing any debug messages to syslog or stdout ( -vv -log-level pulseaudio options ) Here was the thread on BeagleBoard mailing list that discusses this issue: http://groups.google.com/group/beagleboard/browse_thread/thread/4dc82483a8d000fb/ccbd0e21fa5e89a0 I will post the details of the problem on the pulseaudio mailing list and try to get some other alternatives. For now, can we temporarily merge this patch while I followup with them? Here is a discussion I started on the pulseaudio list: http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-July/010565.html thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v4] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND
This script flashes the NAND of a BeagleBoard if: * There is a valid image on the SD Card to flash * The board has NAND Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v3: * User button changes for flashing have been removed as it seemed unstable and we would like to have a revision which we're using for the BeagleBoard image that's being shipped with a BeagleBoard C5 board. We're calling this version of the build Alpha, the Beta will have the flash-with-userbutton feature * flash-fs.sh renamed to to flash-nand-fs.sh after suggestion from Khem .../beagleboard/beagleboard-test-scripts_git.bb| 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index be0d059..0ee7954 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -1,14 +1,18 @@ ## Reminder: The correct spacing for a variable is FOO = BAR in : PR=r1 DESCRIPTION = BeagleBoard test scripts HOMEPAGE = http://beagleboad.org/support; -PR = r2 +PR = r3 -SRC_URI = git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ +SRC_URI = git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ -SRCREV = 473dd2ab20d866be6168c9f992c2c9e74e485c9d +SRCREV = 2df76857155fbd462527c2b00ee83214483f0594 S = ${WORKDIR}/git +inherit update-rc.d +INITSCRIPT_NAME = flash-nand-fs.sh +INITSCRIPT_PARAMS = start 99 2 3 4 5 . + do_install() { TEST_FILES= \ testaudio \ @@ -28,4 +32,8 @@ do_install() { for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done + # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card. + # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. + install -d ${D}/${sysconfdir}/init.d/ + install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh } -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND.
Hi Paul, Thanks for your suggestions. I will make the requested changes, do_install() { @@ -28,4 +28,7 @@ do_install() { for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done + # Add script to flash the NAND if it exists and if there is a valid image to flash on bootup. • After »Add a space can be removed. • »on bootup« is not clear to me. Does the BB have to be rebooted and then the image is flashed? In boards with a NAND device, an image is written to the NAND if the SD Card has an image. This is during startup. Regards, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM
Hi Paul, Thanks for your suggestions. On Wed, Jul 6, 2011 at 4:43 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear Joel, Am Dienstag, den 05.07.2011, 20:48 -0500 schrieb Joel A Fernandes: 1. What has changed in this patch iteration? (You can put that below the `---`.) Thanks, will do. 2. Could you elaborate a bit more what the problem was, i. e. how the situation was before, and how the fix works? For example pointing to the thread on the BeagleBoard list.(?) I am not aware of any thread that showed concern about the incorrect value. It so happened that the user-button wasn't working for me. 3. Is a similar patch also needed for 2.6.39? A similar patch is already included in 2.6.39 and has the correct value. (line 109 in linux/linux-omap-2.6.39/beagle/0001-OMAP3-beagle-add-support-for-beagleboard-xM-revision.patch) Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v3] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM
The user-button wasn't working for me with the the linux-omap-psp-2.6.32 kernel, this change fixes it. I noticed the correct value in the linux-omap-2.6.39 sources Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v2: * Bumped PR * Made the commit summary more descriptive, removed full stop conf/machine/include/omap3.inc |2 +- ...agle-cleaned-up-board-revision-conditions.patch |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc index c762d41..f806a32 100644 --- a/conf/machine/include/omap3.inc +++ b/conf/machine/include/omap3.inc @@ -4,7 +4,7 @@ TARGET_ARCH = arm require conf/machine/include/tune-cortexa8.inc PREFERRED_PROVIDER_virtual/kernel = linux-omap # Increase this everytime you change something in the kernel -MACHINE_KERNEL_PR = r102 +MACHINE_KERNEL_PR = r103 KERNEL_IMAGETYPE = uImage diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch index 513a101..fb91cb6 100644 --- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch +++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch @@ -143,8 +143,8 @@ index 4bde54b..664a9c6 100644 omap3_beagle_i2c_init(); - if (cpu_is_omap3630()) { -+ if ((omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMAB) -+ (omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC)) { ++ if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMAB) || ++ (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC)) { gpio_buttons[0].gpio = 4; } -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND
This script flashes the NAND of a BeagleBoard if it exists, and if there is a valid image to flash Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since v1: * Bumped PR * Using commit revision number instead of AUTOREV * Using update-rc.d class instead of copying init script to /etc/rc5.d/ * Removed full stops from the commit summary * Made comment on the init script in do_install more clear .../beagleboard/beagleboard-test-scripts_git.bb| 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index be0d059..4e0f54f 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -1,14 +1,18 @@ ## Reminder: The correct spacing for a variable is FOO = BAR in : PR=r1 DESCRIPTION = BeagleBoard test scripts HOMEPAGE = http://beagleboad.org/support; -PR = r2 +PR = r3 -SRC_URI = git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ +SRC_URI = git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ -SRCREV = 473dd2ab20d866be6168c9f992c2c9e74e485c9d +SRCREV = c482b7cb6caaa986a86d360d39e9040c77667d6b S = ${WORKDIR}/git +inherit update-rc.d +INITSCRIPT_NAME = flash-fs.sh +INITSCRIPT_PARAMS = start 99 2 3 4 5 . + do_install() { TEST_FILES= \ testaudio \ @@ -28,4 +32,8 @@ do_install() { for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done + # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card. + # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. + install -d ${D}/${sysconfdir}/init.d/ + install -m 0755 ${S}/flashing/flash-fs.sh ${D}/${sysconfdir}/init.d/flash-fs.sh } -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] libxml: Deleted patch that is already applied in source tarball
This deletes a patch that appears to be already applied to the checked out source and is causing do_patch in libxml2 to fail when bitbaking beagleboard-validation-base-image Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Not sure if should bump the PR in this case? If not, please ignore this note .../0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch | 29 recipes/libxml/libxml2_2.7.8.bb|1 - 2 files changed, 0 insertions(+), 30 deletions(-) delete mode 100644 recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch diff --git a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch b/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch deleted file mode 100644 index f94350d..000 --- a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0cbeb50ee03ce582a0c979c70d8fbf030e270c37 Mon Sep 17 00:00:00 2001 -From: Daniel Veillard veill...@redhat.com -Date: Mon, 15 Nov 2010 11:06:29 + -Subject: Fix a potential memory access error - -in case of a previus allocation error -diff --git a/xpath.c b/xpath.c -index 4d6826d..81e33f6 100644 a/xpath.c -+++ b/xpath.c -@@ -3575,13 +3575,13 @@ xmlXPathNodeSetAdd(xmlNodeSetPtr cur, xmlNodePtr val) { - } else if (cur-nodeNr == cur-nodeMax) { - xmlNodePtr *temp; - --cur-nodeMax *= 2; -- temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax * -+ temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax * 2 * - sizeof(xmlNodePtr)); - if (temp == NULL) { - xmlXPathErrMemory(NULL, growing nodeset\n); - return; - } -+cur-nodeMax *= 2; - cur-nodeTab = temp; - } - if (val-type == XML_NAMESPACE_DECL) { --- -cgit v0.8.3.1 diff --git a/recipes/libxml/libxml2_2.7.8.bb b/recipes/libxml/libxml2_2.7.8.bb index 1a71c2b..7d0c451 100644 --- a/recipes/libxml/libxml2_2.7.8.bb +++ b/recipes/libxml/libxml2_2.7.8.bb @@ -1,7 +1,6 @@ require libxml2.inc SRC_URI += \ - file://0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch \ file://df83c17e5a2646bd923f75e5e507bc80d73c9722.patch \ file://fec31bcd452e77c10579467ca87a785b41115de6.patch \ file://00819877651b87842ed878898ba17dba489820f0.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] libxml: Deleted patch that is already applied in source tarball
* Deleted a patch that appears to be already applied to the checked out source and is causing do_patch in libxml2 to fail Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since previous patch: Update commit summary to be more relevant. Not sure if should bump the PR in this case? If not, please ignore this note .../0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch | 29 recipes/libxml/libxml2_2.7.8.bb|1 - 2 files changed, 0 insertions(+), 30 deletions(-) delete mode 100644 recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch diff --git a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch b/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch deleted file mode 100644 index f94350d..000 --- a/recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0cbeb50ee03ce582a0c979c70d8fbf030e270c37 Mon Sep 17 00:00:00 2001 -From: Daniel Veillard veill...@redhat.com -Date: Mon, 15 Nov 2010 11:06:29 + -Subject: Fix a potential memory access error - -in case of a previus allocation error -diff --git a/xpath.c b/xpath.c -index 4d6826d..81e33f6 100644 a/xpath.c -+++ b/xpath.c -@@ -3575,13 +3575,13 @@ xmlXPathNodeSetAdd(xmlNodeSetPtr cur, xmlNodePtr val) { - } else if (cur-nodeNr == cur-nodeMax) { - xmlNodePtr *temp; - --cur-nodeMax *= 2; -- temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax * -+ temp = (xmlNodePtr *) xmlRealloc(cur-nodeTab, cur-nodeMax * 2 * - sizeof(xmlNodePtr)); - if (temp == NULL) { - xmlXPathErrMemory(NULL, growing nodeset\n); - return; - } -+cur-nodeMax *= 2; - cur-nodeTab = temp; - } - if (val-type == XML_NAMESPACE_DECL) { --- -cgit v0.8.3.1 diff --git a/recipes/libxml/libxml2_2.7.8.bb b/recipes/libxml/libxml2_2.7.8.bb index 1a71c2b..7d0c451 100644 --- a/recipes/libxml/libxml2_2.7.8.bb +++ b/recipes/libxml/libxml2_2.7.8.bb @@ -1,7 +1,6 @@ require libxml2.inc SRC_URI += \ - file://0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch \ file://df83c17e5a2646bd923f75e5e507bc80d73c9722.patch \ file://fec31bcd452e77c10579467ca87a785b41115de6.patch \ file://00819877651b87842ed878898ba17dba489820f0.patch \ -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] In reply to review of [PATCH] libxml: Deleted patch that is already applied in source tarball
Hi Paul, Sorry I am unable to reply to your email on libxml2 as I'm a digest-mode subscriber so I have started another thread. Could I be kept on the CC-list by replying-to-all? My build configuration is: DISTRO=angstrom-2010.x MACHINE=beagleboard git branch: org.openembedded.dev Uncompressing the sources from the downloaded archive libxml2-2.7.8.tar.gz shows that the patch in recipes/libxml/libxml2-2.7.8/0cbeb50ee03ce582a0c979c70d8fbf030e270c37.patch has already been applied to xpath.c Could your build configuration be pulling a different recipe? Thanks, Joel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] pulseaudio: Run as system-wide instance instead of per-user
* Pulseaudio running as per-user is opening audio devices and blocking everyone else from getting access to the device. The problem is it doesn't even seem to be allowing applications to connect to it, this patch starts it up in system mode instead which is tested and known to work Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- .../pulseaudio-system-mode-startup.sh |4 recipes/pulseaudio/pulseaudio_0.9.22.bb| 15 +++ 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100755 recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh diff --git a/recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh b/recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh new file mode 100755 index 000..528ceb9 --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +echo Starting Pulseaudio in system mode.. +pulseaudio --log-target=syslog --system diff --git a/recipes/pulseaudio/pulseaudio_0.9.22.bb b/recipes/pulseaudio/pulseaudio_0.9.22.bb index 2368829..6d3adc4 100644 --- a/recipes/pulseaudio/pulseaudio_0.9.22.bb +++ b/recipes/pulseaudio/pulseaudio_0.9.22.bb @@ -12,6 +12,10 @@ FILESPATHPKG =. pulseaudio-0.9.21: inherit gettext +inherit update-rc.d +INITSCRIPT_NAME = pulseaudio.sh +INITSCRIPT_PARAMS = start 99 2 3 4 5 . + #SRC_URI += \ # file://buildfix.patch \ # file://autoconf_version.patch \ @@ -27,6 +31,7 @@ SRC_URI += \ file://armv4+v5asm.patch \ file://fixbluezbuild.patch \ file://ubacktrace.patch \ + file://pulseaudio-system-mode-startup.sh \ #do_compile_prepend() { @@ -37,3 +42,13 @@ SRC_URI += \ SRC_URI[md5sum] = ca85ab470669b05e100861654cf5eb3c SRC_URI[sha256sum] = c6019324395117a258c048a6db5e9734551cc2c61dc35b46403ff00d64be55f0 + +do_install_append() { + # init script to start pulseaudio system-wide + install -d ${D}/${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/pulseaudio-system-mode-startup.sh ${D}/${sysconfdir}/init.d/pulseaudio.sh + + # Disable startup of pulseaudio as a per-user instance + chmod -x ${D}/${bindir}/start-pulseaudio-x11 +} + -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user
* Pulseaudio running as per-user is opening audio devices and blocking everyone else from getting access to the device. The problem is it doesn't even seem to be allowing applications to connect to it, this patch starts it up in system mode instead which is tested and known to work Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- Changes since earlier version: Sorry I didn't bump the PR! Resending it again .../pulseaudio-system-mode-startup.sh |4 recipes/pulseaudio/pulseaudio_0.9.22.bb| 17 - 2 files changed, 20 insertions(+), 1 deletions(-) create mode 100755 recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh diff --git a/recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh b/recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh new file mode 100755 index 000..528ceb9 --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.21/pulseaudio-system-mode-startup.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +echo Starting Pulseaudio in system mode.. +pulseaudio --log-target=syslog --system diff --git a/recipes/pulseaudio/pulseaudio_0.9.22.bb b/recipes/pulseaudio/pulseaudio_0.9.22.bb index 2368829..1bc6816 100644 --- a/recipes/pulseaudio/pulseaudio_0.9.22.bb +++ b/recipes/pulseaudio/pulseaudio_0.9.22.bb @@ -1,6 +1,6 @@ require pulseaudio.inc -PR = ${INC_PR}.2 +PR = ${INC_PR}.3 DEPENDS += gdbm speex @@ -12,6 +12,10 @@ FILESPATHPKG =. pulseaudio-0.9.21: inherit gettext +inherit update-rc.d +INITSCRIPT_NAME = pulseaudio.sh +INITSCRIPT_PARAMS = start 99 2 3 4 5 . + #SRC_URI += \ # file://buildfix.patch \ # file://autoconf_version.patch \ @@ -27,6 +31,7 @@ SRC_URI += \ file://armv4+v5asm.patch \ file://fixbluezbuild.patch \ file://ubacktrace.patch \ + file://pulseaudio-system-mode-startup.sh \ #do_compile_prepend() { @@ -37,3 +42,13 @@ SRC_URI += \ SRC_URI[md5sum] = ca85ab470669b05e100861654cf5eb3c SRC_URI[sha256sum] = c6019324395117a258c048a6db5e9734551cc2c61dc35b46403ff00d64be55f0 + +do_install_append() { + # init script to start pulseaudio system-wide + install -d ${D}/${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/pulseaudio-system-mode-startup.sh ${D}/${sysconfdir}/init.d/pulseaudio.sh + + # Disable startup of pulseaudio as a per-user instance + chmod -x ${D}/${bindir}/start-pulseaudio-x11 +} + -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH v2] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM
Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- ...agle-cleaned-up-board-revision-conditions.patch |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch index 513a101..fb91cb6 100644 --- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch +++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch @@ -143,8 +143,8 @@ index 4bde54b..664a9c6 100644 omap3_beagle_i2c_init(); - if (cpu_is_omap3630()) { -+ if ((omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMAB) -+ (omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC)) { ++ if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMAB) || ++ (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC)) { gpio_buttons[0].gpio = 4; } -- 1.7.0.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] linux-omap-psp-2.6.32 kernel: Fixed User-button GPIO to correct value for -xM
Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- ...agle-cleaned-up-board-revision-conditions.patch |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch index 513a101..fb91cb6 100644 --- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch +++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch @@ -143,8 +143,8 @@ index 4bde54b..664a9c6 100644 omap3_beagle_i2c_init(); - if (cpu_is_omap3630()) { -+ if ((omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMAB) -+ (omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC)) { ++ if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMAB) || ++ (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC)) { gpio_buttons[0].gpio = 4; } -- 1.7.1 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] Packaging from devshell
Hi, I use devshell for compiling by running a bitbake generated do_compile shell script in work/ for my package, this helps me develop faster as I can skip over parsing and other repetitive stages. However I'm not able to do the same with do_package_write, as the shell script for the same appears to have an empty function: do_package_write() { : } Could anyone suggest which script should I execute to package from devshell? Thanks, Joel. ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] ti-dmai: Fixes for Display and Capture.
These patches fix issues with display and capture in ti-dmai that cause it to break with recent kernels. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- recipes/ti/ti-dmai.inc |4 + ...display-Set-the-default-Display-Output-to.patch | 26 + ...o-detect-V4L2-display-device-node-to-open.patch | 109 ...e-display-rotation-to-avoid-problems-due-.patch | 29 + ...-DMAI-Use-the-correct-capture-device-node.patch | 26 + 5 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 recipes/ti/ti-dmai/beagle/0001-DMAI-video_display-Set-the-default-Display-Output-to.patch create mode 100644 recipes/ti/ti-dmai/beagle/0002-DMAI-Auto-detect-V4L2-display-device-node-to-open.patch create mode 100644 recipes/ti/ti-dmai/beagle/0003-DMAI-Disable-display-rotation-to-avoid-problems-due-.patch create mode 100644 recipes/ti/ti-dmai/beagle/0004-DMAI-Use-the-correct-capture-device-node.patch diff --git a/recipes/ti/ti-dmai.inc b/recipes/ti/ti-dmai.inc index c3a0f71..a5a11a1 100644 --- a/recipes/ti/ti-dmai.inc +++ b/recipes/ti/ti-dmai.inc @@ -27,6 +27,10 @@ SRC_URI = svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};proto=https;user=a file://loadmodules-ti-dmai-ol138_al.sh \ file://doxygen_templates.tar.gz \ file://arago-tdox \ + file://beagle/0001-DMAI-video_display-Set-the-default-Display-Output-to.patch \ + file://beagle/0002-DMAI-Auto-detect-V4L2-display-device-node-to-open.patch \ + file://beagle/0003-DMAI-Disable-display-rotation-to-avoid-problems-due-.patch \ + file://beagle/0004-DMAI-Use-the-correct-capture-device-node.patch \ DEPENDS = virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools diff --git a/recipes/ti/ti-dmai/beagle/0001-DMAI-video_display-Set-the-default-Display-Output-to.patch b/recipes/ti/ti-dmai/beagle/0001-DMAI-video_display-Set-the-default-Display-Output-to.patch new file mode 100644 index 000..fce8272 --- /dev/null +++ b/recipes/ti/ti-dmai/beagle/0001-DMAI-video_display-Set-the-default-Display-Output-to.patch @@ -0,0 +1,26 @@ +From c584fc4593fc95c24facc8521a8a1180a0bc7b13 Mon Sep 17 00:00:00 2001 +From: Joel joel@chase-ubuntu.(none) +Date: Mon, 20 Jun 2011 16:59:54 -0500 +Subject: [PATCH 1/4] DMAI video_display: Set the default Display Output to DVI. + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + apps/video_display/linux/main.c |2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) +packages/ti/sdo/dmai +diff --git a/packages/ti/sdo/dmai/apps/video_display/linux/main.c b/packages/ti/sdo/dmai/apps/video_display/linux/main.c +index 15182b7..496d19c 100644 +--- a/packages/ti/sdo/dmai/apps/video_display/linux/main.c b/packages/ti/sdo/dmai/apps/video_display/linux/main.c +@@ -45,7 +45,7 @@ + #include ../appMain.h + + /* Default arguments for app */ +-#define DEFAULT_ARGS { 1000, FALSE, FALSE, VideoStd_D1_NTSC, Display_Output_COMPOSITE } ++#define DEFAULT_ARGS { 1000, FALSE, FALSE, VideoStd_D1_NTSC, Display_Output_DVI } + + /* + * Argument IDs for long options. They must not conflict with ASCII values, +-- +1.7.0.4 + diff --git a/recipes/ti/ti-dmai/beagle/0002-DMAI-Auto-detect-V4L2-display-device-node-to-open.patch b/recipes/ti/ti-dmai/beagle/0002-DMAI-Auto-detect-V4L2-display-device-node-to-open.patch new file mode 100644 index 000..77882f4 --- /dev/null +++ b/recipes/ti/ti-dmai/beagle/0002-DMAI-Auto-detect-V4L2-display-device-node-to-open.patch @@ -0,0 +1,109 @@ +From 39d909ea1040b86968adf0d62475955bd07f96a8 Mon Sep 17 00:00:00 2001 +From: Joel A Fernandes agnel.j...@gmail.com +Date: Tue, 21 Jun 2011 15:33:14 -0500 +Subject: [PATCH 2/4] DMAI: Auto-detect V4L2 display device node to open. + +Changes in display device node names in the kernel break DMAI. +This autodetects the device node name to avoid such breakages in the future. + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com +--- + linux/Display.c |2 +- + linux/omap3530/Display_v4l2.c | 40 + 2 files changed, 41 insertions(+), 1 deletions(-) + +diff --git a/packages/ti/sdo/dmai/linux/Display.c b/packages/ti/sdo/dmai/linux/Display.c +index bf0db2e..578ab8a 100644 +--- a/packages/ti/sdo/dmai/linux/Display.c b/packages/ti/sdo/dmai/linux/Display.c +@@ -197,7 +197,7 @@ const Display_Attrs Display_Attrs_O3530_VID_DEFAULT = { + Display_Std_V4L2, + VideoStd_VGA, + Display_Output_LCD, +-/dev/video1, ++, // V4L2 device nodes are auto detected + 0, + ColorSpace_UYVY, + -1, +diff --git a/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c b/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c +index 8cd891c..61f15bb 100644 +--- a/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c b/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c +@@ -35,6 +35,7
[oe] [PATCH] linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup.
linux-omap: Disable UART sleep timeout to avoid serial port problems on wakeup. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- ...0046-ARM-OMAP-beagle-disable-uart-timeout.patch | 21 recipes/linux/linux-omap-psp_2.6.32.bb |1 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch b/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch new file mode 100644 index 000..b0c0d0b --- /dev/null +++ b/recipes/linux/linux-omap-psp-2.6.32/0046-ARM-OMAP-beagle-disable-uart-timeout.patch @@ -0,0 +1,21 @@ +commit 06a8d6478752403a617ed9fb9f6b78c31ad25020 +Author: Joel A Fernandes agnel.j...@gmail.com +Date: Tue Jun 21 17:31:13 2011 -0500 + +omap: Disable UART sleep timeout to avoid serial port problems on wakeup. + +Signed-off-by: Joel A Fernandes agnel.j...@gmail.com + +diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c +index 19805a7..35a24af 100644 +--- a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c +@@ -36,7 +36,7 @@ + #define UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV 0x52 + #define UART_OMAP_WER 0x17/* Wake-up enable register */ + +-#define DEFAULT_TIMEOUT (5 * HZ) ++#define DEFAULT_TIMEOUT 0 + + struct omap_uart_state { + int num; diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb index da2e943..11e1f06 100644 --- a/recipes/linux/linux-omap-psp_2.6.32.bb +++ b/recipes/linux/linux-omap-psp_2.6.32.bb @@ -58,6 +58,7 @@ SRC_URI = git://arago-project.org/git/projects/linux-omap3.git;protocol=http;br file://0043-MTD-silence-ecc-errors-on-mtdblock0.patch \ file://0044-ARM-OMAP-beagle-every-known-beagle-except-revB-uses-.patch \ file://0045-ARM-OMAP-beagle-add-support-for-beagleFPGA-expansion.patch \ + file://0046-ARM-OMAP-beagle-disable-uart-timeout.patch \ file://cam/0001-mt9t111-first-stab-at-merging-sensor-driver-based-on.patch \ file://cam/0002-mt9t111-Fix-all-checkpatch-errors.patch \ file://cam/0003-mt9t111-Pass-v4l2_int_device-data.patch \ ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] ti-dsplink: Fixed location of toolchain
ti-dsplink: Fixed location of toolchain to build ti-dsplink. Signed-off-by: Joel A Fernandes agnel.j...@gmail.com --- recipes/ti/ti-dsplink.inc | 34 +- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/recipes/ti/ti-dsplink.inc b/recipes/ti/ti-dsplink.inc index c48ec41..bbdc35a 100644 --- a/recipes/ti/ti-dsplink.inc +++ b/recipes/ti/ti-dsplink.inc @@ -94,23 +94,23 @@ do_compile() { # Build the gpp user space library cd ${DSPLINK}/gpp/src/api make \ CROSS_COMPILE=${TARGET_PREFIX} \ - CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - AR=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar \ - LD=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ld \ - COMPILER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - ARCHIVER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar \ + CC=${CC} \ + AR=${AR} \ + LD=${LD} \ + COMPILER=${CC} \ + ARCHIVER=${AR} \ KERNEL_DIR=${STAGING_KERNEL_DIR} \ all # Build the gpp kernel space (debug and release) cd ${DSPLINK}/gpp/src make \ - OBJDUMP=${TARGET_PREFIX}objdump \ + OBJDUMP=${OBJDUMP} \ CROSS_COMPILE=${TARGET_PREFIX} \ - CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - AR=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar \ - LD=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ld \ - COMPILER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - ARCHIVER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar \ + CC=${CC} \ + AR=${AR} \ + LD=${LD} \ + COMPILER=${CC} \ + ARCHIVER=${AR} \ KERNEL_DIR=${STAGING_KERNEL_DIR} \ BASE_BUILDOS=${STAGING_KERNEL_DIR} \ all @@ -122,12 +122,12 @@ do_compile() { OSINC_PLATFORM=${TOOLCHAIN_PATH}/lib/gcc/${TARGET_SYS}/$(${TARGET_PREFIX}gcc -dumpversion)/include \ OSINC_TARGET=${BASE_TOOLCHAIN}/target/usr/include \ CROSS_COMPILE=${TARGET_PREFIX} \ - CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - LD=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - AR=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar \ - COMPILER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - LINKER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - ARCHIVER=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}ar \ + CC=${CC} \ + AR=${AR} \ + LD=${LD} \ + COMPILER=${CC} \ + ARCHIVER=${AR} \ + LINKER=${CC} \ KERNEL_DIR=${STAGING_KERNEL_DIR} \ all ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel