[oe] [PATCH] [meta-oe] cloud9: update repository for sass.js

2013-09-05 Thread Jason Kridner
From: Jason Kridner j...@ti.com

Updated repository location due to old repository being removed.

http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg32587.html

Signed-off-by: Jason Kridner j...@ti.com
Cc: Dale Schaafsma dales...@hotmail.com
---
 meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb 
b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
index 3300fd2..a755470 100644
--- a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
+++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
@@ -3,7 +3,7 @@ HOMEPAGE = http://c9.io;
 LICENSE = GPLv3
 LIC_FILES_CHKSUM = file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018
 
-PR = r4
+PR = r5
 
 # Nodejs-native for node-waf, nodejs4-native for the headers
 DEPENDS = libxml2 nodejs-native nodejs4-native
@@ -21,7 +21,7 @@ SRC_URI = git://github.com/ajaxorg/cloud9.git;name=cloud9ide 
\

git://github.com/visionmedia/expresso.git;destsuffix=git/support/connect/support/expresso;name=expresso
 \

git://github.com/visionmedia/node-jscoverage.git;destsuffix=git/support/connect/support/expresso/deps/jscoverage;name=jscoverage
 \

git://github.com/cloudhead/less.js.git;destsuffix=git/support/connect/support/less;name=less
 \
-   
git://github.com/visionmedia/sass.js.git;destsuffix=git/support/connect/support/sass;name=sass
 \
+   
git://github.com/matehat/sass.js.git;destsuffix=git/support/connect/support/sass;name=sass
 \

git://github.com/ajaxorg/jsDAV.git;destsuffix=git/support/jsdav;name=jsdav \

git://github.com/fjakobs/async.js.git;destsuffix=git/support/jsdav/support/async.js;name=async-js
 \

git://github.com/felixge/node-formidable.git;destsuffix=git/support/jsdav/support/formidable;name=formidable
 \
-- 
1.7.10.4

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe] nodejs: add 0.8.14

2012-11-07 Thread Jason Kridner
From: Jason Kridner j...@ti.com

Signed-off-by: Jason Kridner j...@ti.com
---
 .../nodejs/0001-Fix-hardfloat-detection.patch  |   44 
 .../nodejs/nodejs/0002-Enable-NEON.patch   |   27 
 ...0003-Resolve-bad-rpath-issue-when-linking.patch |   29 +
 meta-oe/recipes-devtools/nodejs/nodejs_0.8.14.bb   |   35 
 4 files changed, 135 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0001-Fix-hardfloat-detection.patch
 create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0002-Enable-NEON.patch
 create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0003-Resolve-bad-rpath-issue-when-linking.patch
 create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs_0.8.14.bb

diff --git 
a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Fix-hardfloat-detection.patch 
b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Fix-hardfloat-detection.patch
new file mode 100644
index 000..558446d
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Fix-hardfloat-detection.patch
@@ -0,0 +1,44 @@
+From 0ffc68a4d2fec6ad246e60f3a4d5a0b3b489733e Mon Sep 17 00:00:00 2001
+From: Khem Raj raj.k...@gmail.com
+Date: Wed, 7 Nov 2012 11:51:26 -0500
+Subject: [PATCH] Fix hardfloat detection
+
+gcc has a builtin define to denote hard abi when in use, e.g. when
+using -mfloat-abi=hard it will define __ARM_PCS_VFP to 1 and therefore
+we should check that to determine which calling convention is in use
+and not __VFP_FP__ which merely indicates presence of VFP unit
+
+The fix has been provided by Khem Raj raj.k...@gmail.com
+
+Updated to v0.8 branch and resubmitted by Jason Kridner j...@ti.com
+
+Upstream-Status: Forwarded
+---
+ deps/v8/src/platform-linux.cc |4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/deps/v8/src/platform-linux.cc b/deps/v8/src/platform-linux.cc
+index ed9eb79..10d1879 100644
+--- a/deps/v8/src/platform-linux.cc
 b/deps/v8/src/platform-linux.cc
+@@ -170,7 +170,7 @@ bool OS::ArmCpuHasFeature(CpuFeature feature) {
+ // calling this will return 1.0 and otherwise 0.0.
+ static void ArmUsingHardFloatHelper() {
+   asm(mov r0, #0:::r0);
+-#if defined(__VFP_FP__)  !defined(__SOFTFP__)
++#if defined(__ARM_PCS_VFP)  !defined(__SOFTFP__)
+   // Load 0x3ff0 into r1 using instructions available in both ARM
+   // and Thumb mode.
+   asm(mov r1, #3:::r1);
+@@ -195,7 +195,7 @@ static void ArmUsingHardFloatHelper() {
+ #else
+   asm(vmov d0, r0, r1);
+ #endif  // __thumb__
+-#endif  // defined(__VFP_FP__)  !defined(__SOFTFP__)
++#endif  // defined(__ARM_PCS_VFP)  !defined(__SOFTFP__)
+   asm(mov r1, #0:::r1);
+ }
+ 
+-- 
+1.7.9.5
+
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0002-Enable-NEON.patch 
b/meta-oe/recipes-devtools/nodejs/nodejs/0002-Enable-NEON.patch
new file mode 100644
index 000..2b83ff8
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0002-Enable-NEON.patch
@@ -0,0 +1,27 @@
+From 8891cb4cae57a6b7db54edb33a43743c4b09c53a Mon Sep 17 00:00:00 2001
+From: Jason Kridner j...@ti.com
+Date: Wed, 7 Nov 2012 14:43:55 -0500
+Subject: [PATCH] Enable NEON
+
+Read this was necessary on a blog.
+
+http://www.code-with-passion.com/2012/11/07/cross-compiling-nodejs-and-node-modules-for-armbeaglebone/
+---
+ deps/v8/build/common.gypi |1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi
+index 7a780cc..237f53f 100644
+--- a/deps/v8/build/common.gypi
 b/deps/v8/build/common.gypi
+@@ -29,6 +29,7 @@
+ 
+ {
+   'variables': {
++'arm_neon%': 1,
+ 'use_system_v8%': 0,
+ 'msvs_use_common_release': 0,
+ 'gcc_version%': 'unknown',
+-- 
+1.7.9.5
+
diff --git 
a/meta-oe/recipes-devtools/nodejs/nodejs/0003-Resolve-bad-rpath-issue-when-linking.patch
 
b/meta-oe/recipes-devtools/nodejs/nodejs/0003-Resolve-bad-rpath-issue-when-linking.patch
new file mode 100644
index 000..b7e8b6c
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/nodejs/nodejs/0003-Resolve-bad-rpath-issue-when-linking.patch
@@ -0,0 +1,29 @@
+From aaf38f17911941d979074e4d5f8475f4ad5595a8 Mon Sep 17 00:00:00 2001
+From: Nathan Rajlich nat...@tootallnate.net
+Date: Tue, 9 Oct 2012 09:49:00 -0700
+Subject: [PATCH] Resolve bad rpath issue when linking
+
+See http://piscisaureus.no.de/libuv/2012-10-09#16:42:44.577 to
+understand the issue.
+
+Added to OE by Jason Kridner j...@ti.com
+---
+ common.gypi |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/common.gypi b/common.gypi
+index b26d2f3..8ae671b 100644
+--- a/common.gypi
 b/common.gypi
+@@ -163,7 +163,7 @@
+   [ 'OS==linux or OS==freebsd or OS==openbsd or OS==solaris', {
+ 'cflags': [ '-Wall', '-pthread', ],
+ 'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
+-'ldflags': [ '-pthread', '-rdynamic' ],
++'ldflags': [ '-pthread' ],
+ 'conditions': [
+   [ 'target_arch==ia32', {
+ 'cflags': [ '-m32' ],
+-- 
+1.7.9.5

Re: [oe] [meta-xfce/meta-gnome/V2 01/10] exo: update to 0.10.2

2013-03-30 Thread Jason Kridner
On Wed, Jan 2, 2013 at 10:16 AM, Andreas Müller
schnitzelt...@googlemail.com wrote:

 Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
 ---
  meta-xfce/recipes-xfce/exo/exo/configure.patch |4 ++--
  .../exo/{exo_0.8.0.bb = exo_0.10.2.bb}|4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)
  rename meta-xfce/recipes-xfce/exo/{exo_0.8.0.bb = exo_0.10.2.bb} (87%)


There seems to be a missing dependency on some Perl modules[1]:

| checking for perl module URI::Escape... no
| checking for perl module URI::file... no
| checking for perl module URI::URL... no
| configure: error: Atleast one of the required Perl modules
(URI::Escape, URI::file and URI::URL) was not found on your system
| Configure failed. The contents of all config.log files follows to
aid debugging

[1] 
https://s3.amazonaws.com/beagleboard/angstrom-2013-03-30-16%3A24%3A13/build.log

I'm working on a patch.



 diff --git a/meta-xfce/recipes-xfce/exo/exo/configure.patch 
 b/meta-xfce/recipes-xfce/exo/exo/configure.patch
 index 2ccfcfc..ef27e42 100644
 --- a/meta-xfce/recipes-xfce/exo/exo/configure.patch
 +++ b/meta-xfce/recipes-xfce/exo/exo/configure.patch
 @@ -1,5 +1,5 @@
  exo-0.3.4/configure.in~2007-12-02 10:37:06.0 -0200
 -+++ exo-0.3.4/configure.in 2008-06-05 17:21:42.0 -0300
 +--- a/configure.ac 2007-12-02 10:37:06.0 -0200
  b/configure.ac 2008-06-05 17:21:42.0 -0300
  @@ -127,22 +127,24 @@
   dnl ***
   dnl *** Check for strftime() extensions ***
 diff --git a/meta-xfce/recipes-xfce/exo/exo_0.8.0.bb 
 b/meta-xfce/recipes-xfce/exo/exo_0.10.2.bb
 similarity index 87%
 rename from meta-xfce/recipes-xfce/exo/exo_0.8.0.bb
 rename to meta-xfce/recipes-xfce/exo/exo_0.10.2.bb
 index af9103f..4fdfd48 100644
 --- a/meta-xfce/recipes-xfce/exo/exo_0.8.0.bb
 +++ b/meta-xfce/recipes-xfce/exo/exo_0.10.2.bb
 @@ -13,8 +13,8 @@ SRC_URI +=  \
  file://gnome-mount \
  

 -SRC_URI[md5sum] = 189bd19210e1d7d8601be1cdf27bf259
 -SRC_URI[sha256sum] = 
 6e21aa30692affcb45fc8283d034da4a02221d26e3e1facb968d04fed4ba05b0
 +SRC_URI[md5sum] = c70f2a217811bfba2e62f938d4b8f748
 +SRC_URI[sha256sum] = 
 b385828bf8a38204da3254b57fdfa25a72694495aa189fabd5040f707eec76ce

  # see http://wiki.xfce.org/gnomemount-replacement
  do_install_append () {
 --
 1.7.4.4


 ___
 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-xfce/meta-gnome/V2 01/10] exo: update to 0.10.2

2013-03-30 Thread Jason Kridner
On Sat, Mar 30, 2013 at 1:05 PM, Jason Kridner jkrid...@beagleboard.org wrote:
 On Wed, Jan 2, 2013 at 10:16 AM, Andreas Müller
 schnitzelt...@googlemail.com wrote:

 Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
 ---
  meta-xfce/recipes-xfce/exo/exo/configure.patch |4 ++--
  .../exo/{exo_0.8.0.bb = exo_0.10.2.bb}|4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)
  rename meta-xfce/recipes-xfce/exo/{exo_0.8.0.bb = exo_0.10.2.bb} (87%)


 There seems to be a missing dependency on some Perl modules[1]:

 | checking for perl module URI::Escape... no
 | checking for perl module URI::file... no
 | checking for perl module URI::URL... no
 | configure: error: Atleast one of the required Perl modules
 (URI::Escape, URI::file and URI::URL) was not found on your system
 | Configure failed. The contents of all config.log files follows to
 aid debugging

 [1] 
 https://s3.amazonaws.com/beagleboard/angstrom-2013-03-30-16%3A24%3A13/build.log

 I'm working on a patch.

k, it seems that the builds use the Perl packages in the host system
and not perl-native, so probably the right thing to do is for me to
simply add it to my host system.

For Ubuntu, that is 'sudo apt-get install liburi-perl'.

Is this something we'd want to avoid having as a host dependency in the future?




 diff --git a/meta-xfce/recipes-xfce/exo/exo/configure.patch 
 b/meta-xfce/recipes-xfce/exo/exo/configure.patch
 index 2ccfcfc..ef27e42 100644
 --- a/meta-xfce/recipes-xfce/exo/exo/configure.patch
 +++ b/meta-xfce/recipes-xfce/exo/exo/configure.patch
 @@ -1,5 +1,5 @@
  exo-0.3.4/configure.in~2007-12-02 10:37:06.0 -0200
 -+++ exo-0.3.4/configure.in 2008-06-05 17:21:42.0 -0300
 +--- a/configure.ac 2007-12-02 10:37:06.0 -0200
  b/configure.ac 2008-06-05 17:21:42.0 -0300
  @@ -127,22 +127,24 @@
   dnl ***
   dnl *** Check for strftime() extensions ***
 diff --git a/meta-xfce/recipes-xfce/exo/exo_0.8.0.bb 
 b/meta-xfce/recipes-xfce/exo/exo_0.10.2.bb
 similarity index 87%
 rename from meta-xfce/recipes-xfce/exo/exo_0.8.0.bb
 rename to meta-xfce/recipes-xfce/exo/exo_0.10.2.bb
 index af9103f..4fdfd48 100644
 --- a/meta-xfce/recipes-xfce/exo/exo_0.8.0.bb
 +++ b/meta-xfce/recipes-xfce/exo/exo_0.10.2.bb
 @@ -13,8 +13,8 @@ SRC_URI +=  \
  file://gnome-mount \
  

 -SRC_URI[md5sum] = 189bd19210e1d7d8601be1cdf27bf259
 -SRC_URI[sha256sum] = 
 6e21aa30692affcb45fc8283d034da4a02221d26e3e1facb968d04fed4ba05b0
 +SRC_URI[md5sum] = c70f2a217811bfba2e62f938d4b8f748
 +SRC_URI[sha256sum] = 
 b385828bf8a38204da3254b57fdfa25a72694495aa189fabd5040f707eec76ce

  # see http://wiki.xfce.org/gnomemount-replacement
  do_install_append () {
 --
 1.7.4.4


 ___
 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] [meta-oe][meta-systemd][danny][PATCH] cloud9: add EnvironmentFile

2013-04-08 Thread Jason Kridner
* Allows specification of NODE_PATH

Signed-off-by: Jason Kridner j...@ti.com
---
 .../recipes-devtools/cloud9/cloud9/cloud9.service  |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service 
b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
index 714b465..54a9db0 100644
--- a/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
+++ b/meta-systemd/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service
@@ -3,6 +3,7 @@ Description=Cloud9 IDE
 ConditionPathExists=|/var/lib/cloud9
 
 [Service]
+EnvironmentFile=-/etc/conf.d/node
 ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w 
/var/lib/cloud9 -p 3000
 
 [Install]
-- 
1.7.8.6


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [OE-core] OE Changelog for 2011-4-8 to 2011-4-15

2011-05-20 Thread Jason Kridner
i'd be very interested in seeing this (weekly-only, without follow-ups, ie.
in the bcc) on beaglebo...@googlegroups.com and would encourage linaro,
yocto, ubuntu, debian, fedora, gentoo, libav, etc projects generating
regular status reports relevant to ARM developers to do the same.

On May 19, 2011 1:43 PM, Cliff Brake cliff.br...@gmail.com wrote:

Are there any other repos or maillists that I should include in this
report?  I'm trying to increase visibility in what all the projects
are doing, so we can reduce duplication of work in various layers.

Thanks,
Cliff

On Thu, May 19, 2011 at 1:56 PM, cliff.br...@gmail.com wrote: 
...
--
=
http://bec-systems.com

___
Openembedded-core mailing list
openembedded-c...@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
___
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

2011-07-07 Thread Jason Kridner
On Wed, Jul 6, 2011 at 12:15 PM, Joel A Fernandes agnel.j...@gmail.com wrote:
 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

Acked-by: Jason Kridner jkrid...@beagleboard.org

I will eventually merge your changes into the mainline, but I believe
it is helpful to get these updates in OE for BeagleBoard users who
want to reproduce the shipping images.

Can you update the process to only flash the boards if the USER button
is held or some other similar strategy?  It seems that enabling this
script would make the SD card image useless for non-flashing
activities.  Of course, Gerald would need to sign-off on any flashing
process changes.

 ---
 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


___
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

2011-07-07 Thread Jason Kridner
On Thu, Jul 7, 2011 at 10: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.

That would indeed make the card more useful, but it seems to be tied
to the wrong state--especially in a production environment where you
likely want to reuse the card on multiple boards.

It is critical that the public has a card image they can download to
restore the flash into its factory condition.  For C5 boards, it seems
to me that the USER button is a reasonable approach as it will cause
the on-card x-loader to be used that will give preference to the
on-card u-boot.  The remaining challenge is the lack of an isolated
command to read the environment from the NAND flash.  The current
u-boot will always have the default environment overridden by the
environment in NAND flash.

We discussed previously on this list the idea of adding a command to
read the environment from the NAND flash and then adjusting the
default environment to perform that read and use the on-NAND
environment (as priority above any other environment settings, such as
uenv.txt on the SD card) if the USER button was not pressed.  Then,
the reading of the environment from the NAND flash could be removed
and only read as part of the default environment settings.

A C5 image needs to go out, so I'm OK adding none of these changes for
this release, but I'd like it if Joel could make the above NAND/USER
button related changes to the mainline u-boot as part of the effort to
get all of the BeagleBoard u-boot patches into mainline.  At that
point, a new flashing image could be released.  In the meantime,
manual intervention of 'nand erase 26 2000' may be required to
initiate flashing boards that have been modified.



 Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. 
 Registered in England  Wales under company number 00574102

 -Original Message-

 From: Jason Kridner [mailto:jkrid...@beagleboard.org]
 Sent: Thursday, July 07, 2011 4:35 PM
 To: openembedded-devel@lists.openembedded.org
 Cc: Fernandes, Joel A; beaglebo...@googlegroups.com; Kooi, Koen; Joel A 
 Fernandes; Kridner, Jason
 Subject: Re: [oe] [PATCH v2] beagleboard-test-scripts: Add a script 
 flash-fs.sh for flashing NAND

 On Wed, Jul 6, 2011 at 12:15 PM, Joel A Fernandes agnel.j...@gmail.com 
 wrote:
 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

 Acked-by: Jason Kridner jkrid...@beagleboard.org

 I will eventually merge your changes into the mainline, but I believe
 it is helpful to get these updates in OE for BeagleBoard users who
 want to reproduce the shipping images.

 Can you update the process to only flash the boards if the USER button
 is held or some other similar strategy?  It seems that enabling this
 script would make the SD card image useless for non-flashing
 activities.  Of course, Gerald would need to sign-off on any flashing
 process changes.

 ---
 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

Re: [oe] [PATCH v2] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND

2011-07-07 Thread Jason Kridner
On Thu, Jul 7, 2011 at 10:49 AM, Joel A Fernandes agnel.j...@gmail.com wrote:
 On Thu, Jul 7, 2011 at 9:35 AM, Jason Kridner jkrid...@beagleboard.org 
 wrote:
 On Wed, Jul 6, 2011 at 12:15 PM, Joel A Fernandes agnel.j...@gmail.com 
 wrote:
 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

 Acked-by: Jason Kridner jkrid...@beagleboard.org

 I will eventually merge your changes into the mainline, but I believe
 it is helpful to get these updates in OE for BeagleBoard users who
 want to reproduce the shipping images.


 Can you update the process to only flash the boards if the USER button
 is held or some other similar strategy?  It seems that enabling this
 script would make the SD card image useless for non-flashing

 Since we cannot access user-button as its used as an input event, can
 I put in a message like Press any key to flash, timeout if no key is
 hit and then normally boot?

You should be able to check the status similar to the way you do for
keyboards.  From what I've read[1][2], you can simply use the
EVIOCGKEY ioctl to check the state.

[1] 
http://andrey.thedotcommune.com/2010/02/heres-another-quick-linux-input-snippet.html
[2] http://www.linuxjournal.com/node/6429/print


 Regards
 Joel


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [beagleboard] [PATCH v3] beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND

2011-07-07 Thread Jason Kridner
On Thu, Jul 7, 2011 at 5:23 PM, Joel A Fernandes agnel.j...@gmail.com wrote:
 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

Acked-by: Jason Kridner jkrid...@beagleboard.org

 ---
 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

Thanks!

  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

2011-07-08 Thread Jason Kridner
On Fri, Jul 8, 2011 at 3:10 PM, Joel A Fernandes agnel.j...@gmail.com wrote:
 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?


 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.

I believe I've found an example at
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/conf/distro/angstrom-2008.1.conf?h=2011.03-maintenance#n107:

ANGSTROM_BINUTILS_VERSION?= 2.18
ANGSTROM_BINUTILS_VERSION_armv4  ?= 2.20
ANGSTROM_BINUTILS_VERSION_armv7a ?= 2.18.50.0.7

PREFERRED_VERSION_binutils   ?= ${ANGSTROM_BINUTILS_VERSION}

Looking at 
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/conf/distro/include/angstrom-2010-preferred-versions.inc,
it seems to have 0.9.22 already!
http://cgit.openembedded.net/cgit.cgi/openembedded/tree/conf/distro/include/angstrom-2010-preferred-versions.inc?h=2011.03-maintenance
seems to be at 0.9.21.

I'd guess that you'd want to submit a patch for maintenance that did
something similar:

ANGSTROM_PULSEAUDIO_VERSION= 0.9.21 (or whatever the old version was)
ANGSTROM_PULSEAUDIO_VERSION_armv7a = 0.9.22

PREFERRED_VERSION_pulseaudio   = ${ANGSTROM_PULSEAUDIO_VERSION}


 Thanks and Have a safe flight.

Hopefully I've saved Koen some typing from the phone!  (probably not :-) )


 Regards,
 Joel

 ___
 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] [PATCH v2] pulseaudio: Run as system-wide instance instead of per-user

2011-07-08 Thread Jason Kridner
On Fri, Jul 8, 2011 at 4:47 PM, Joel A Fernandes agnel.j...@gmail.com wrote:
 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?

Whatever is setup by the setup scripts is right, I just didn't know
which file was getting used.


 The various 'year' version are confusing,

Agreed.


 Do you know which DISTRO= would Narcissus assembled images be using?

I got as far as figuring out that the images are served up using the
configuration at
https://gitorious.org/angstrom/narcissus/trees/master/conf/beagleboard/configs/2011.03
which contains angstrom-feed-configs_1.0-r14.6_beagleboard.ipk.  I
don't know the easy way to unpack that IPK to see what URLs it points
to.

I believe that file comes from
http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/machine/beagleboard/angstrom-feed-configs_1.0-r14.6_beagleboard.ipk.

Trying to track backwards gets a bit difficult for me from there as I
don't know where to find a copy of the autobuilder.  I also think
stuff on gitorious isn't the latest.


 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

Well, that makes it pretty clear, eh?


 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?

Do what the script says!


 Thanks
 Joel

 ___
 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] [PATCH v3] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM

2011-07-10 Thread Jason Kridner
On Wed, Jul 6, 2011 at 12:02 PM, 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

Acked-by: Jason Kridner jkrid...@beagleboard.org

I confirmed by looking at the schematics that this is the correct
logic.  GPIO4 for BeagleBoard-xM and GPIO7 for BeagleBoard.


  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


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [beagleboard] bitbake blues

2011-07-10 Thread Jason Kridner
On Thu, Jul 7, 2011 at 11:12 AM, Mark A. Yoder mark.a.yo...@gmail.com wrote:
 I'm try to get QT installed via bitbake.  I'm following the instructions at
 [1] with a slight variation:
 $ git clone git://git.angstrom-distribution.org/setup-scripts oe
 $ cd oe
 $ MACHINE=beagleboard ./oebb.sh config beagleboard
 $ MACHINE=beagleboard ./oebb.sh update
 $ . ~/.oe/environment-2008
 $ bitbake wpa-gui
 After about 6 minutes this ends in the error:
 NOTE: Running task 26 of 4564 (ID: 37,
 /home/yoder/BeagleBoard/oe/sources/openembedded/recipes/quilt/quilt-native_0.48.bb,
 do_package_write_ipk)
 ERROR: Logfile of failure stored in: /dev/null
 Log data follows:
 NOTE: package quilt-native-0.48-r7.1: task sysroot_stage_all: Failed
 ERROR: Function 'sysroot_stage_all' failed (see /dev/null for further
 information)
 ERROR: Task 23
 (/home/yoder/BeagleBoard/oe/sources/openembedded/recipes/quilt/quilt-native_0.48.bb,
 do_populate_sysroot) failed with exit code '1'
 Waiting for 1 active tasks to finish:
 0: quilt-native-0.48-r7.1 do_package_write_ipk (pid 30971)
 NOTE: package quilt-native-0.48-r7.1: task do_package_write_ipk: Started
 NOTE: package quilt-native-0.48-r7.1: task do_package_write_ipk: Succeeded
 ERROR:
 '/home/yoder/BeagleBoard/oe/sources/openembedded/recipes/quilt/quilt-native_0.48.bb'
 failed
 The whole output is here [2].  I'm running Ubuntu 10.4.  The oe directory
 was initially empty.  I even removed the ~/.oe/environment from a previous
 install.
 Anyone have suggestions on what to do next?

Did you delete the temp directory and try again?  Given that you'd
done another build before this setup, I'm wondering if there is a
chance you have some stale bits in the picture.

 --Mark
 [1] http://www.angstrom-distribution.org/building-angstrom
 [2] http://pastebin.com/P0s8QNur

 --
 You received this message because you are subscribed to the Google Groups
 Beagle Board group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/beagleboard/-/t2k7slKnHmEJ.
 To post to this group, send email to beaglebo...@googlegroups.com.
 To unsubscribe from this group, send email to
 beagleboard+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/beagleboard?hl=en.


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCHi v2] linux-omap-psp: Added patch by Steve Sakoman to fix timeout errors

2011-07-14 Thread Jason Kridner
On Thu, Jul 14, 2011 at 6:19 PM, Paul Menzel
paulepan...@users.sourceforge.net wrote:
 Dear Joel,


 Am Donnerstag, den 14.07.2011, 17:03 -0500 schrieb Joel A Fernandes:

 in my opinion the commit summary should be the following.

 Add patch to fix MMC errors due to timeouts

 The name of the author can go into the commit message.

 This fixes MMC errors due to timeouts, and is borrowed from 
 linux-omap-2.6.39 recipe (as noticed by Jason Kridner)

 Did somebody actually experience this problem or this this precaution?
 If the forme could you please add a link to the problem report?

The first link below this paragraph includes reference to this issue.
We've seen it on some of the BeagleBoard rev C5 boards being tested
before release on certain SD cards, but Joel was asked directly to
look at this issue rather than a post showing up on a mailing list.
Another reference to the issue, that Joel might want to include if he
does a revision, can be found at:
http://www.gossamer-threads.com/lists/maemo/users/64583.  A slightly
different fix was applied there, but the fundamental of increasing the
timeout is the same.


 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:

 At the end there is missing a line break.

 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

 I would like to see those information in the commit message.

  ...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 \

 Otherwise this looks good.


 Thanks,

 Paul

 ___
 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] [PATCH v2] linux-omap-psp, linux-omap: Added patch to fix MMC timeout errors

2011-07-21 Thread Jason Kridner
On Thu, Jul 21, 2011 at 12:24 PM, Joel A Fernandes agnel.j...@gmail.com wrote:
 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?

Are we not keeping both up-to-date for the time being?  Is
Angstrom-next now officially oe-core?  Should Narcissus now rename
'next' to 'classic'?


 Thanks
 Joel

 ___
 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] [meta-oe] WIP: cloud9: created

2011-09-24 Thread Jason Kridner
Cloud9 is a web-browser based IDE.  This application should support
multiple architectures as long as they have node.js and a build of
node-o3-xml that is dropped into this system.  Ideally, that library
would be added separately as a system-dependent portion, because
everything else should be ISA independent.

Advice on cleaning up this recipe is welcome.  I will continue to
improve it as I understand how.  It is rather useful as-is.
---
 meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb |   28 +++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb

diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb 
b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
new file mode 100644
index 000..626332f
--- /dev/null
+++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = Meet Cloud9, development-as-a-service for Javascripters and 
other developers
+HOMEPAGE = http://c9.io;
+RDEPENDS = nodejs
+
+SRC_URI = git://github.com/jadonk/cloud9.git;protocol=git \
+
+
+LICENSE = GPLv3
+LIC_FILES_CHKSUM = file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018
+
+SRCREV = 08bae1d1cc2ba9f7f883a25afd07f0339a82fa8b
+S = ${WORKDIR}/git
+
+do_configure_prepend () {
+ git submodule update --init --recursive
+}
+
+do_compile () {
+}
+
+do_install () {
+ install -m 0755 -d ${D}/usr/share/cloud9 ${D}${bindir}
+ rsync -r --exclude=.* ${S}/* ${D}/usr/share/cloud9
+ touch ${D}${bindir}/cloud9
+ echo #!/bin/sh  ${D}${bindir}/cloud9
+ echo node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /home/root -p 3000 
 ${D}${bindir}/cloud9
+ chmod 0755 ${D}${bindir}/cloud9
+}
-- 
1.7.4.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [meta-oe v2] cloud9: created

2011-10-05 Thread Jason Kridner
Cloud9 is a web-browser based IDE running on node.js.

This application should support multiple architectures as long as they have
node.js and a build of node-o3-xml that is dropped into this system.
Currently, that includes x86 32/64-bit and ARM armv7.  Ideally, that library
would be added separately as a system-dependent portion, because everything
else should be ISA independent.

Signed-off-by: Jason Kridner j...@ti.com
---
v2:
* addressed feedback from http://patches.openembedded.org/patch/12077/
* moved shared workspace to /var/lib/cloud9
---
 meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb |   38 +++
 1 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb

diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb 
b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
new file mode 100644
index 000..6ae2246
--- /dev/null
+++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = Meet Cloud9, development-as-a-service for Javascripters and 
other developers
+HOMEPAGE = http://c9.io;
+LICENSE = GPLv3
+LIC_FILES_CHKSUM = file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018
+DEPENDS = rsync
+RDEPENDS = nodejs
+
+SRC_URI = git://github.com/jadonk/cloud9.git;protocol=git \
+
+
+SRCREV = 08bae1d1cc2ba9f7f883a25afd07f0339a82fa8b
+S = ${WORKDIR}/git
+
+# Most of cloud9 is in git submodules that still need to be fetched.
+do_configure_prepend () {
+ git submodule update --init --recursive
+}
+
+# There's nothing left to be compiled at this time.
+# node-o3-xml is the only compiled code module in here.
+# The repository has binaries for:
+#  Linux ARM armv7
+#  Linux x86 32/64-bit
+#  Sun Solaris 32-bit
+#  Mac x86 32/64-bit
+#  Windows x86 32-bit
+do_compile () {
+:
+}
+
+do_install () {
+ install -m 0755 -d ${D}/usr/share/cloud9 ${D}${bindir} ${D}/var/lib/cloud9
+ rsync -r --exclude=.* ${S}/* ${D}/usr/share/cloud9
+ touch ${D}${bindir}/cloud9
+ echo #!/bin/sh  ${D}${bindir}/cloud9
+ echo node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 
3000  ${D}${bindir}/cloud9
+ chmod 0755 ${D}${bindir}/cloud9
+}
-- 
1.7.4.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Can't build libcgroup

2011-10-13 Thread Jason Kridner
On Thu, Oct 13, 2011 at 5:12 PM, Gary Thomas g...@mlbassoc.com wrote:
 On 2011-10-13 14:58, Andreas Müller wrote:

 On Thursday, October 13, 2011 10:46:48 PM Gary Thomas wrote:

 On 2011-10-13 14:44, Khem Raj wrote:

 On Thu, Oct 13, 2011 at 1:42 PM, Gary Thomasg...@mlbassoc.com   wrote:

 On 2011-10-13 14:33, Khem Raj wrote:

 On Thu, Oct 13, 2011 at 11:57 AM, Gary Thomasg...@mlbassoc.com
 wrote:

 On 2011-10-13 12:48, Khem Raj wrote:

 On Thu, Oct 13, 2011 at 7:28 AM, Gary Thomasg...@mlbassoc.com
   wrote:

 On 2011-10-13 08:16, Kridner, Jason wrote:

 On Oct 13, 2011, at 8:39 AM, Gary Thomasg...@mlbassoc.com
   wrote:

 Trying to follow the Angstrom instructions directly.

 OE Build Configuration:
 BB_VERSION        = 1.13.3
 TARGET_ARCH       = arm
 TARGET_OS         = linux-gnueabi
 MACHINE           = beagleboard
 DISTRO            = angstrom
 DISTRO_VERSION    = v2011.10-core
 TUNE_FEATURES     = armv7a vfp neon cortexa8
 TARGET_FPU        = vfp-neon
 meta-angstrom     =
 master:66263650f8548d6b0b5f593ab728f536d5e05a9f
 meta-oe
 meta-efl
 meta-gpe
 meta-gnome
 meta-xfce         =
 master:1e5d73ec4f44200104de085838f04e31a49435da
 meta-ti           =
 master:3530f1025efc3792334b897a4e70c6d5822ef56d
 meta              =
 master:5ad1ca59dea6d5045f252ed7b786ad193faced64

 Fails with this error:
 | ccache arm-angstrom-linux-gnueabi-gcc  -march=armv7-a
 -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp
 -mfpu=neon
 -mtune=cortex-a8 -mthumb-interwork -mno-thumb



 --sysroot=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard
 -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -g
 -feliminate-unused-debug-types -Wall -c walk_test.c
 | libcg_ba.cpp:18:18: fatal error: string: No such file or
 directory

 Does this happen with lastest angstrom on oe-core ? or classic
 oe.dev
 I am unable to reproduce it on my end

 Latest angstrom with layers as above.

 strange, I have it working well for qemuarm and I cant imagine how C++
 headers could be broken for beagle

 Maybe you could try it using the Angstrom tools?  Here's the
 [documented]
 sequence I used:
   % MACHINE=beagleboard ./oebb.sh config beagleboard
   ... adjust conf/site.conf for my local DL_DIR
   ... adjust conf/local.conf to include MACHINE=beagleboard, set
 parallel
 build flags, etc
   ... removed all meta-intel repos from conf/bblayers.conf (to avoid
 xorg-dri
 issues)
   % . ~/.oe/environment-oecore
   % bitbake systemd-image


 needless to say thats what I have done
 but for qemuarm

 Just making sure :-)  I'll try qemuarm here with the same setup.


 Hmm few days ago I had unexplainable effects about iostream [1] which
 could be cleaned by rebuild (and I swear I have seen same for string before)

 Some race / parallel install issue?

 [1]
 http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010869.html

 If it fails for me again using qemuarm, I'll try a fresh build
 where I don't try to run full-out -I normally run with:
  BB_NUMBER_THREADS = 4
  PARALLEL_MAKE = -j 4
 on a 4-core machine.


I started over and reduced my BB_NUMBER_THREADS to 2, but left my
PARALLEL_MAKE at -j24 and the issue went away.  I had it set for 8
threads before when it failed.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] rt-test: moved to github repo

2011-11-03 Thread Jason Kridner
PR not bumped since previous builds would be identical.
---
 meta/recipes-rt/rt-tests/rt-tests_0.73.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.73.bb 
b/meta/recipes-rt/rt-tests/rt-tests_0.73.bb
index a2cf6be..e816fa2 100644
--- a/meta/recipes-rt/rt-tests/rt-tests_0.73.bb
+++ b/meta/recipes-rt/rt-tests/rt-tests_0.73.bb
@@ -11,7 +11,7 @@ SRCREV = 81da016fb0f6ab0511fbec81fc8ba1a50398a20d
 PV = git${SRCPV}
 PR = r0
 
-SRC_URI = 
git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git;protocol=git
+SRC_URI = git://github.com/clrkwllms/rt-tests.git;protocol=git
 
 S = ${WORKDIR}/git
 
-- 
1.7.4.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] angstrom-uboot-scripts: added default boot scripts

2010-08-03 Thread Jason Kridner
Added default boot scripts for the BeagleBoard validation image.
---
 .../beagleboard-validation-boot.cmd|   15 +++
 .../beagleboard-validation-user.cmd|   15 +++
 2 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 
recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
 create mode 100644 
recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd

diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
new file mode 100644
index 000..1d0f223
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
@@ -0,0 +1,15 @@
+setenv dvimode 'hd720'
+setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
+if ${beaglerev} = AxBx; then
+setenv mpurate 600
+setenv optargs 'mem=...@0x8000 musb_hdrc.fifomode=5'
+elif ${beaglerev} = Cx; then
+setenv mpurate 720
+setenv optargs 'mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5'
+else
+setenv mpurate 1000
+setenv optargs 'mem=...@0x8000 mem=3...@0x8800'
+fi
+run loaduimage
+run mmcboot
+
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
new file mode 100644
index 000..0c32ae1
--- /dev/null
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -0,0 +1,15 @@
+setenv console 'tty0 console=ttyS2,115200n8'
+if ${beaglerev} = AxBx; then
+setenv mpurate 600
+setenv optargs 'mem=...@0x8000 musb_hdrc.fifomode=5'
+elif ${beaglerev} = Cx; then
+setenv mpurate 720
+setenv optargs 'mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5'
+else
+setenv mpurate 1000
+setenv optargs 'mem=...@0x8000 mem=3...@0x8800'
+fi
+run loaduimage
+run loadramdisk
+run ramboot
+
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: added ramdisk

2010-08-03 Thread Jason Kridner
Simply adding 'ext2.gz' to the IMAGE_FSTYPES to produce a default sized
ramdisk image whenever this image is built.
---
 recipes/images/beagleboard-test-image.bb |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index 0ea323a..f4d736d 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -22,4 +22,5 @@ IMAGE_INSTALL +=  \
 
 export IMAGE_BASENAME = beagleboard-test-image
 
-EXTRA_IMAGEDEPENDS += x-load u-boot virtual/kernel
+EXTRA_IMAGEDEPENDS +=  x-load u-boot virtual/kernel
+IMAGE_FSTYPES +=  ext2.gz
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: add cpuburn-neon

2010-08-04 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index 669eb52..e25a427 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -18,6 +18,7 @@ IMAGE_INSTALL +=  \
   angstrom-uboot-scripts \
   beagleboard-test-scripts \
   nano \
+  cpuburn-neon \
 
 
 export IMAGE_BASENAME = beagleboard-test-image
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot: beagleboard: default 3MP camera support

2010-08-05 Thread Jason Kridner
This turns on the pull-ups so that the I2C will work by default as well
as sets the default camera type.  Currently, the kernel cannot probe for
I2C devices, but that should be the long term fix.  We put the change
here into the default environment, instead of the boot.scr, such that
there won't be a need to update your boot.scr in the future for the
default camera if we ever get the kernel fixed to probe for I2C devcies.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 .../0045-BeagleBoard-Enable-pullups-on-i2c2.patch  |   46 ++
 ...eagleBoard-Add-camera-to-default-bootargs.patch |   50 
 recipes/u-boot/u-boot_git.bb   |4 +-
 3 files changed, 99 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0045-BeagleBoard-Enable-pullups-on-i2c2.patch
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch

diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0045-BeagleBoard-Enable-pullups-on-i2c2.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0045-BeagleBoard-Enable-pullups-on-i2c2.patch
new file mode 100644
index 000..ea3ab74
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0045-BeagleBoard-Enable-pullups-on-i2c2.patch
@@ -0,0 +1,46 @@
+From bf4b655c6c02bbf95bd6ebbf820e53dbd8eb4803 Mon Sep 17 00:00:00 2001
+From: Steve Kipisz s-kipi...@ti.com
+Date: Thu, 5 Aug 2010 10:36:07 -0500
+Subject: [PATCH] BeagleBoard: Enable pullups on i2c2.
+
+---
+ board/ti/beagle/beagle.c   |2 ++
+ include/asm-arm/arch-omap3/omap3.h |9 +
+ 2 files changed, 11 insertions(+), 0 deletions(-)
+
+diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
+index cdba3dd..eeb37bc 100644
+--- a/board/ti/beagle/beagle.c
 b/board/ti/beagle/beagle.c
+@@ -163,6 +163,8 @@ int misc_init_r(void)
+   struct gpio *gpio5_base = (struct gpio *)OMAP34XX_GPIO5_BASE;
+   struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE;
+ 
++  /* Enable i22 pullup resisters */
++  *(ulong *)(CONTROL_PROG_IO1) = ~(PRG_I2C2_PULLUPRESX);
+   beagle_identify();
+ 
+   printf(\nProbing for expansion boards, if none are connected you'll 
see a harmless I2C error.\n\n);
+diff --git a/include/asm-arm/arch-omap3/omap3.h 
b/include/asm-arm/arch-omap3/omap3.h
+index 3957c79..1860dff 100644
+--- a/include/asm-arm/arch-omap3/omap3.h
 b/include/asm-arm/arch-omap3/omap3.h
+@@ -50,6 +50,15 @@
+ /* CONTROL */
+ #define OMAP34XX_CTRL_BASE(OMAP34XX_L4_IO_BASE + 0x2000)
+ 
++/* Signal Integrity Parameter Control Registers */
++#define CONTROL_PROG_IO0  0x48002444
++#define CONTROL_PROG_IO1  0x48002448
++#define CONTROL_PROG_IO2  0x48002408
++#define CONTROL_PROG_IO_WKUP1 0x48002A80
++
++/* Bit definition for CONTROL_PROG_IO1 */
++#define PRG_I2C2_PULLUPRESX   0x0001
++
+ /* UART */
+ #define OMAP34XX_UART1(OMAP34XX_L4_IO_BASE + 0x6a000)
+ #define OMAP34XX_UART2(OMAP34XX_L4_IO_BASE + 0x6c000)
+-- 
+1.6.6.1
+
diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
new file mode 100644
index 000..f999f7f
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
@@ -0,0 +1,50 @@
+From 519ecc8a8f441d30e55c7e4552c63e2363fa6dd5 Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Thu, 5 Aug 2010 13:54:12 -0500
+Subject: [PATCH] BeagleBoard: Add camera to default bootargs
+
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ include/configs/omap3_beagle.h |4 
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
+index 1a76004..48ad805 100644
+--- a/include/configs/omap3_beagle.h
 b/include/configs/omap3_beagle.h
+@@ -208,6 +208,7 @@
+   bootscr=boot.scr\0 \
+   mpurate=500\0 \
+   buddy=none\0 \
++  camera=lbcm3m1\0 \
+   vram=12M\0 \
+   dvimode=640x480mr...@60\0 \
+   defaultdisplay=dvi\0 \
+@@ -222,6 +223,7 @@
+   ${optargs}  \
+   mpurate=${mpurate}  \
+   buddy=${buddy} \
++  camera=${camera} \
+   vram=${vram}  \
+   omapfb.mode=dvi:${dvimode}  \
+   omapdss.def_disp=${defaultdisplay}  \
+@@ -231,6 +233,7 @@
+   ${optargs}  \
+   mpurate=${mpurate}  \
+   buddy=${buddy} \
++  camera=${camera} \
+   vram=${vram}  \
+   omapfb.mode=dvi:${dvimode}  \
+   omapdss.def_disp=${defaultdisplay}  \
+@@ -241,6 +244,7 @@
+   ${optargs}  \
+   mpurate=${mpurate}  \
+   buddy=${buddy

[oe] [PATCH] angstrom-uboot-scripts: fixed tests for revision

2010-08-05 Thread Jason Kridner
Tests in u-boot scripts require the 'test' function.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/angstrom/angstrom-uboot-scripts.bb |2 +-
 .../beagleboard-validation-boot.cmd|4 ++--
 .../beagleboard-validation-user.cmd|6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb 
b/recipes/angstrom/angstrom-uboot-scripts.bb
index 1be681a..2152f5d 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = Various uboot scripts
 
-PR = r7
+PR = r8
 
 DEPENDS = u-boot-mkimage-native
 
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
index 1d0f223..50a82a6 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
@@ -1,9 +1,9 @@
 setenv dvimode 'hd720'
 setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
-if ${beaglerev} = AxBx; then
+if test ${beaglerev} = AxBx; then
 setenv mpurate 600
 setenv optargs 'mem=...@0x8000 musb_hdrc.fifomode=5'
-elif ${beaglerev} = Cx; then
+elif test ${beaglerev} = Cx; then
 setenv mpurate 720
 setenv optargs 'mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5'
 else
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
index 0c32ae1..6488db4 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -1,8 +1,8 @@
-setenv console 'tty0 console=ttyS2,115200n8'
-if ${beaglerev} = AxBx; then
+setenv console 'ttyS2,115200n8 console=tty0'
+if test ${beaglerev} = AxBx; then
 setenv mpurate 600
 setenv optargs 'mem=...@0x8000 musb_hdrc.fifomode=5'
-elif ${beaglerev} = Cx; then
+elif test ${beaglerev} = Cx; then
 setenv mpurate 720
 setenv optargs 'mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5'
 else
-- 
1.5.6.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: Move camera sensor reset

2010-08-05 Thread Jason Kridner
Camera reset needed to be done after applying power.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 ...-Move-sensor-rest-to-after-applying-power.patch |   65 
 recipes/linux/linux-omap-psp_2.6.32.bb |1 +
 2 files changed, 66 insertions(+), 0 deletions(-)
 create mode 100644 
recipes/linux/linux-omap-psp-2.6.32/cam/0001-Move-sensor-rest-to-after-applying-power.patch

diff --git 
a/recipes/linux/linux-omap-psp-2.6.32/cam/0001-Move-sensor-rest-to-after-applying-power.patch
 
b/recipes/linux/linux-omap-psp-2.6.32/cam/0001-Move-sensor-rest-to-after-applying-power.patch
new file mode 100644
index 000..4bb327e
--- /dev/null
+++ 
b/recipes/linux/linux-omap-psp-2.6.32/cam/0001-Move-sensor-rest-to-after-applying-power.patch
@@ -0,0 +1,65 @@
+From f3fdd3fb4e45b75722d68e5e380c0c71f83fffcf Mon Sep 17 00:00:00 2001
+From: Steve Kipisz s-kipi...@ti.com
+Date: Thu, 5 Aug 2010 10:51:11 -0500
+Subject: [PATCH] Move sensor rest to after applying power.
+
+---
+ arch/arm/mach-omap2/board-omap3beagle-camera.c |   12 
+ 1 files changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c 
b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+index 520e1d8..39ac4b7 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle-camera.c
 b/arch/arm/mach-omap2/board-omap3beagle-camera.c
+@@ -160,8 +160,6 @@ static int mt9v113_power_set(struct v4l2_int_device *s, 
enum v4l2_power power)
+   case V4L2_POWER_ON:
+ 
+   isp_configure_interface(vdev-cam-isp, mt9v113_if_config);
+-  /* Set RESET_BAR to 0 */
+-  gpio_set_value(LEOPARD_RESET_GPIO, 0);
+ 
+   /* turn on VDD */
+   regulator_enable(cam_1v8_reg);
+@@ -170,6 +168,9 @@ static int mt9v113_power_set(struct v4l2_int_device *s, 
enum v4l2_power power)
+   regulator_enable(cam_2v8_reg);
+   mdelay(50);
+ 
++  /* Set RESET_BAR to 0 */
++  gpio_set_value(LEOPARD_RESET_GPIO, 0);
++
+   /* Enable EXTCLK */
+   isp_set_xclk(vdev-cam-isp, MT9V113_CLK_MIN*2, CAM_USE_XCLKA);
+   /*
+@@ -177,8 +178,10 @@ static int mt9v113_power_set(struct v4l2_int_device *s, 
enum v4l2_power power)
+* ((100 * 70) / 600) = aprox 12 us.
+*/
+   udelay(12);
++
+   /* Set RESET_BAR to 1 */
+   gpio_set_value(LEOPARD_RESET_GPIO, 1);
++
+   /*
+* Wait at least 100 CLK cycles (w/EXTCLK = 6MHz, or CLK_MIN):
+* ((100 * 100) / 600) = aprox 17 us.
+@@ -317,8 +320,6 @@ static int mt9t112_power_set(struct v4l2_int_device *s, 
enum v4l2_power power)
+   isp_configure_interface(vdev-cam-isp, mt9t112_if_config);
+ #endif
+ 
+-  /* Set RESET_BAR to 0 */
+-  gpio_set_value(LEOPARD_RESET_GPIO, 0);
+ 
+   /* turn on VDD */
+   regulator_enable(cam_1v8_reg);
+@@ -330,6 +331,9 @@ static int mt9t112_power_set(struct v4l2_int_device *s, 
enum v4l2_power power)
+ 
+   mdelay(50);
+ 
++  /* Set RESET_BAR to 0 */
++  gpio_set_value(LEOPARD_RESET_GPIO, 0);
++
+   /* Enable EXTCLK */
+   isp_set_xclk(vdev-cam-isp, 2400, CAM_USE_XCLKA);
+ 
+-- 
+1.6.6.1
+
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb 
b/recipes/linux/linux-omap-psp_2.6.32.bb
index 5c1287b..887e3d5 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -130,6 +130,7 @@ SRC_URI = 
git://arago-project.org/git/people/sriram/ti-psp-omap.git;protocol=gi

file://cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch \

file://cam/0002-omap3beagle-camera-Fix-dual-sensor-registration.patch \
file://cam/0003-mt9v113-Fix-State-variable-handling.patch \
+  file://cam/0001-Move-sensor-rest-to-after-applying-power.patch \
file://0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch \
file://defconfig
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot: beagleboard: fixed patch filename error

2010-08-05 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/u-boot/u-boot_git.bb |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index 79c2b95..a016af8 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -69,8 +69,8 @@ SRC_URI_beagleboard = 
git://www.denx.de/git/u-boot.git;protocol=git \

file://0042-BeagleBoard-New-command-for-status-of-USER-button.patch \

file://0043-BeagleBoard-Add-CONFIG_SYS_MEMTEST_SCRATCH.patch \
file://0044-Beagleboard-Adjust-boot.patch \
-   file://0045-Beagleboard-Enable-pullups-on-i2c2.patch \
-   
file://0046-Beagleboard-Add-camera-to-default-bootargs.patch \
+   file://0045-BeagleBoard-Enable-pullups-on-i2c2.patch \
+   
file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \
file://fw_env.config \
 
 SRCREV_beagleboard = ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55
-- 
1.5.6.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: Add camera bootarg

2010-08-06 Thread Jason Kridner
---
 conf/machine/include/omap3.inc |2 +-
 recipes/linux/linux-omap-psp_2.6.32.bb |1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index 7c30288..0b8e42e 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -3,7 +3,7 @@ SOC_FAMILY = omap3
 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 = r86
+MACHINE_KERNEL_PR = r87
 
 KERNEL_IMAGETYPE = uImage
 
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb 
b/recipes/linux/linux-omap-psp_2.6.32.bb
index 887e3d5..03706cd 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -132,6 +132,7 @@ SRC_URI = 
git://arago-project.org/git/people/sriram/ti-psp-omap.git;protocol=gi
file://cam/0003-mt9v113-Fix-State-variable-handling.patch \
   file://cam/0001-Move-sensor-rest-to-after-applying-power.patch \
file://0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch \
+  file://0001-omap3beagle-Add-camera-bootarg.patch \
file://defconfig
 
 SRC_URI_append_beagleboard =  file://logo_linux_clut224.ppm \
-- 
1.5.6.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: Add camera bootarg

2010-08-06 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 conf/machine/include/omap3.inc |2 +-
 .../cam/0001-omap3beagle-Add-camera-bootarg.patch  |  108 
 recipes/linux/linux-omap-psp_2.6.32.bb |1 +
 3 files changed, 110 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/linux/linux-omap-psp-2.6.32/cam/0001-omap3beagle-Add-camera-bootarg.patch

diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index 7c30288..0b8e42e 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -3,7 +3,7 @@ SOC_FAMILY = omap3
 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 = r86
+MACHINE_KERNEL_PR = r87
 
 KERNEL_IMAGETYPE = uImage
 
diff --git 
a/recipes/linux/linux-omap-psp-2.6.32/cam/0001-omap3beagle-Add-camera-bootarg.patch
 
b/recipes/linux/linux-omap-psp-2.6.32/cam/0001-omap3beagle-Add-camera-bootarg.patch
new file mode 100644
index 000..0d93cee
--- /dev/null
+++ 
b/recipes/linux/linux-omap-psp-2.6.32/cam/0001-omap3beagle-Add-camera-bootarg.patch
@@ -0,0 +1,108 @@
+From c1442ebdb0c717931557bebbeab314e44bf3 Mon Sep 17 00:00:00 2001
+From: Sergio Aguirre saagui...@ti.com
+Date: Thu, 22 Jul 2010 15:38:43 -0500
+Subject: [PATCH 1/2] omap3beagle: Add camera bootarg
+
+This adds a new 'camera' bootarg, with (so far) 2 new possible types:
+- lbcmvga: Leopard Board Camera Module: MT9V113 VGA
+- lbcm3m1: Leopard Board Camera Module: MT9T111 3MP
+
+Also, cleans up a little bit the current i2c2 bus init code.
+
+Signed-off-by: Sergio Aguirre saagui...@ti.com
+---
+ arch/arm/mach-omap2/board-omap3beagle.c |   42 +--
+ 1 files changed, 34 insertions(+), 8 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c 
b/arch/arm/mach-omap2/board-omap3beagle.c
+index f93616b..2677b41 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
 b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -89,6 +89,7 @@ extern struct mt9t112_platform_data mt9t112_pdata;
+ #define NAND_BLOCK_SIZE   SZ_128K
+ 
+ char expansionboard_name[16];
++char cameraboard_name[16];
+ 
+ #if defined(CONFIG_ENC28J60) || defined(CONFIG_ENC28J60_MODULE)
+ 
+@@ -595,13 +596,16 @@ static struct i2c_board_info __initdata 
beagle_zippy_i2c2_boardinfo[] = {
+ static struct i2c_board_info __initdata beagle_zippy_i2c2_boardinfo[] = {};
+ #endif
+ 
+-static struct i2c_board_info __initdata beagle_i2c2_boardinfo[] = {
++static struct i2c_board_info __initdata beagle_lbcmvga_i2c2_boardinfo[] = {
+ #if defined(CONFIG_VIDEO_MT9V113) || defined(CONFIG_VIDEO_MT9V113_MODULE)
+   {
+   I2C_BOARD_INFO(mt9v113, MT9V113_I2C_ADDR),
+   .platform_data  = mt9v113_pdata,
+   },
+ #endif
++};
++
++static struct i2c_board_info __initdata beagle_lbcm3m1_i2c2_boardinfo[] = {
+ #if defined(CONFIG_VIDEO_MT9T112) || defined(CONFIG_VIDEO_MT9T112_MODULE)
+   {
+   I2C_BOARD_INFO(mt9t112, MT9T112_I2C_ADDR),
+@@ -614,15 +618,27 @@ static int __init omap3_beagle_i2c_init(void)
+ {
+   omap_register_i2c_bus(1, 2600, beagle_i2c1_boardinfo,
+   ARRAY_SIZE(beagle_i2c1_boardinfo));
+-  if(!strcmp(expansionboard_name, zippy) || 
!strcmp(expansionboard_name, zippy2))
+-  {
+-  printk(KERN_INFO Beagle expansionboard: registering i2c2 bus 
for zippy/zippy2\n);
++
++  if (!strcmp(expansionboard_name, zippy) ||
++ !strcmp(expansionboard_name, zippy2)) {
++  printk(KERN_INFO Beagle expansionboard:
++registering i2c2 bus for zippy/zippy2\n);
+   omap_register_i2c_bus(2, 400,  beagle_zippy_i2c2_boardinfo,
+   ARRAY_SIZE(beagle_zippy_i2c2_boardinfo));
+-  } else
+-  {
+-  omap_register_i2c_bus(2, 400,  beagle_i2c2_boardinfo,
+-  ARRAY_SIZE(beagle_i2c2_boardinfo));
++  } else {
++  if (!strcmp(cameraboard_name, lbcmvga)) {
++  printk(KERN_INFO Beagle cameraboard:
++registering i2c2 bus for lbcmvga\n);
++  omap_register_i2c_bus(2, 400,  
beagle_lbcmvga_i2c2_boardinfo,
++  
ARRAY_SIZE(beagle_lbcmvga_i2c2_boardinfo));
++  } else if (!strcmp(cameraboard_name, lbcm3m1)) {
++  printk(KERN_INFO Beagle cameraboard:
++registering i2c2 bus for lbcm3m1\n);
++  omap_register_i2c_bus(2, 400,  
beagle_lbcm3m1_i2c2_boardinfo,
++  
ARRAY_SIZE(beagle_lbcm3m1_i2c2_boardinfo));
++  } else {
++  omap_register_i2c_bus(2, 400, NULL, 0);
++  }
+   }
+   /* Bus 3 is attached to the DVI port where devices

[oe] [PATCH] beagleboard-test-image: add additional packages

2010-08-08 Thread Jason Kridner
Add sox for audio testing.
Add kernel-module-mt9t112 for camera testing.
Add u-boot-mkimage for editing the boot.scr and user.scr files.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index e25a427..b54bc62 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -19,6 +19,9 @@ IMAGE_INSTALL +=  \
   beagleboard-test-scripts \
   nano \
   cpuburn-neon \
+  kernel-module-mt9t112 \
+  u-boot-mkimage \
+  sox \
 
 
 export IMAGE_BASENAME = beagleboard-test-image
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: add devmem2

2010-08-09 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index b54bc62..cbbd3c2 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -22,6 +22,7 @@ IMAGE_INSTALL +=  \
   kernel-module-mt9t112 \
   u-boot-mkimage \
   sox \
+  devmem2 \
 
 
 export IMAGE_BASENAME = beagleboard-test-image
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] angstrom-uboot-scripts: debugged beagleboard validation boot/user scripts

2010-08-09 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/angstrom/angstrom-uboot-scripts.bb |2 +-
 .../beagleboard-validation-boot.cmd|   15 +++
 .../beagleboard-validation-user.cmd|   15 +++
 3 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb 
b/recipes/angstrom/angstrom-uboot-scripts.bb
index 2152f5d..a478cb2 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = Various uboot scripts
 
-PR = r8
+PR = r9
 
 DEPENDS = u-boot-mkimage-native
 
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
index 50a82a6..71d314c 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-boot.cmd
@@ -1,14 +1,13 @@
-setenv dvimode 'hd720'
-setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
+# On xM: bootargs=console=ttyS2,115200n8 mem=...@0x8000 
mem=3...@0x8800 mpurate=1000 buddy=none camera=lbcm3m1 vram=16M 
omapfb.vram=0:8M,1:4M,2:4M omapfb.mode=dvi:hd720 omapdss.def_disp=dvi 
root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
+mmc init
+setenv dvimode hd720
+setenv vram 16M omapfb.vram=0:8M,1:4M,2:4M
 if test ${beaglerev} = AxBx; then
-setenv mpurate 600
-setenv optargs 'mem=...@0x8000 musb_hdrc.fifomode=5'
+setenv optargs mem=...@0x8000 musb_hdrc.fifomode=5
 elif test ${beaglerev} = Cx; then
-setenv mpurate 720
-setenv optargs 'mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5'
+setenv optargs mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5
 else
-setenv mpurate 1000
-setenv optargs 'mem=...@0x8000 mem=3...@0x8800'
+setenv optargs mem=...@0x8000 mem=3...@0x8800
 fi
 run loaduimage
 run mmcboot
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
index 6488db4..7dbf69b 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -1,15 +1,14 @@
-setenv console 'ttyS2,115200n8 console=tty0'
+mmc init
+setenv rdaddr 0x8100
+setenv ramroot /dev/ram0
 if test ${beaglerev} = AxBx; then
-setenv mpurate 600
-setenv optargs 'mem=...@0x8000 musb_hdrc.fifomode=5'
+setenv optargs mem=...@0x8000 musb_hdrc.fifomode=5
 elif test ${beaglerev} = Cx; then
-setenv mpurate 720
-setenv optargs 'mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5'
+setenv optargs mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5
 else
-setenv mpurate 1000
-setenv optargs 'mem=...@0x8000 mem=3...@0x8800'
+setenv optargs mem=...@0x8000 mem=3...@0x8800
 fi
-run loaduimage
 run loadramdisk
+run loaduimage
 run ramboot
 
-- 
1.5.6.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: updated to latest

2010-08-09 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 .../beagleboard/beagleboard-test-scripts_git.bb|   14 +-
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb 
b/recipes/beagleboard/beagleboard-test-scripts_git.bb
index d3d5fde..ea3cafe 100644
--- a/recipes/beagleboard/beagleboard-test-scripts_git.bb
+++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb
@@ -1,24 +1,28 @@
+## Reminder:  The correct spacing for a variable is FOO = BAR  in : PR=r1
 DESCRIPTION = BeagleBoard test scripts
 HOMEPAGE = http://beagleboad.org/support;
+PR = r1
 
 SRC_URI = git://gitorious.org/beagleboard-validation/scripts.git;protocol=git 
\
 
 
-SRCREV = 4f4578e7423c5fb1f3364e1056d53dd3b792dc2a
+SRCREV = f009c731df5c410eb819fa90f199713ea60cea6a
 S = ${WORKDIR}/git
 
 do_install() {
   TEST_FILES= \
-testled \
-testuserbtn \
 testaudio \
+testcamera \
+testedid \
+testled \
 testsvideo \
-readgpio \
+testuserbtn \
 editbootscr \
+edituserscr \
+readgpio \
   
   install -d ${D}/${bindir}
   for i in ${TEST_FILES}; do
 install -m 0755 ${S}/${i} ${D}/${bindir}
   done
 }
-
-- 
1.5.6.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: added new scripts

2010-08-09 Thread Jason Kridner
testneon: runs burn-neon for 10 seconds
testdsp: runs loopgpp dsplink example
testmem: runs memtester

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 .../beagleboard/beagleboard-test-scripts_git.bb|7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb 
b/recipes/beagleboard/beagleboard-test-scripts_git.bb
index ea3cafe..be0d059 100644
--- a/recipes/beagleboard/beagleboard-test-scripts_git.bb
+++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb
@@ -1,20 +1,23 @@
 ## Reminder:  The correct spacing for a variable is FOO = BAR  in : PR=r1
 DESCRIPTION = BeagleBoard test scripts
 HOMEPAGE = http://beagleboad.org/support;
-PR = r1
+PR = r2
 
 SRC_URI = git://gitorious.org/beagleboard-validation/scripts.git;protocol=git 
\
 
 
-SRCREV = f009c731df5c410eb819fa90f199713ea60cea6a
+SRCREV = 473dd2ab20d866be6168c9f992c2c9e74e485c9d
 S = ${WORKDIR}/git
 
 do_install() {
   TEST_FILES= \
 testaudio \
 testcamera \
+testdsp \
 testedid \
 testled \
+testmem \
+testneon \
 testsvideo \
 testuserbtn \
 editbootscr \
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot: beagleboard: adjusted clocks to match PSP

2010-08-11 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 ...3-clocks-update-clock-setup-for-36XX-37XX.patch |4 ++--
 recipes/u-boot/u-boot_git.bb   |2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
index 03da8ce..e5dbec6 100644
--- 
a/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
@@ -726,9 +726,9 @@ index 73063ec..2045e4e 100644
 +per_36x_dpll_param:
 +/*SYSCLKM   N  M2  M3  M4 M5  M6  m2DIV */
 +.word 12000,360,4, 9,  16, 5, 4,  3,  1
-+.word 13000,   1728,   12, 9,  32, 18,8,  6,  2
++.word 13000,864,   12, 9,  16, 9, 4,  3,  1
 +.word 19200,360,7, 9,  16, 5, 4,  3,  1
-+.word 26000,   1728,   12, 9,  32, 18,8,  6,  2
++.word 26000,432,   12, 9,  16, 9, 4,  3,  1
 +.word 38400,360,   15, 9,  16, 5, 4,  3,  1
 +
 +.globl get_36x_mpu_dpll_param
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index ed2ee92..7f26a87 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
 require u-boot.inc
-PR =r62
+PR =r63
 
 FILESPATHPKG =. u-boot-git:
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot/angstrom-uboot-scripts: resize ramdisk

2010-08-11 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/angstrom/angstrom-uboot-scripts.bb |2 +-
 .../beagleboard-validation-user.cmd|7 +++-
 .../0001-BeagleBoard-move-ramdisk-parameters.patch |   38 
 recipes/u-boot/u-boot_git.bb   |3 +-
 4 files changed, 46 insertions(+), 4 deletions(-)
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb 
b/recipes/angstrom/angstrom-uboot-scripts.bb
index a478cb2..020a7af 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = Various uboot scripts
 
-PR = r9
+PR = r10
 
 DEPENDS = u-boot-mkimage-native
 
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
index 7dbf69b..971b96e 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -1,11 +1,14 @@
 mmc init
-setenv rdaddr 0x8100
-setenv ramroot /dev/ram0
 if test ${beaglerev} = AxBx; then
+setenv rdaddr 0x8100
 setenv optargs mem=...@0x8000 musb_hdrc.fifomode=5
 elif test ${beaglerev} = Cx; then
+setenv rdaddr 0x8800
+setenv ramroot /dev/ram0 rw ramdisk_size=131072 initrd=${rdaddr},128M
 setenv optargs mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5
 else
+setenv rdaddr 0x8800
+setenv ramroot /dev/ram0 rw ramdisk_size=131072 initrd=${rdaddr},128M
 setenv optargs mem=...@0x8000 mem=3...@0x8800
 fi
 run loadramdisk
diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch
new file mode 100644
index 000..5d6e69d
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch
@@ -0,0 +1,38 @@
+From c8d02f2a8500f06de39681aed60ea5c9894f8087 Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Wed, 11 Aug 2010 14:50:38 -0500
+Subject: [PATCH] BeagleBoard: move ramdisk parameters
+
+This will make it easier to reprogram the ramdisk size.
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ include/configs/omap3_beagle.h |5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
+index 48ad805..4f5c1d4 100644
+--- a/include/configs/omap3_beagle.h
 b/include/configs/omap3_beagle.h
+@@ -217,7 +217,7 @@
+   mmcrootfstype=ext3 rootwait\0 \
+   nandroot=/dev/mtdblock4 rw\0 \
+   nandrootfstype=jffs2\0 \
+-  ramroot=/dev/ram0 rw\0 \
++  ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0 \
+   ramrootfstype=ext2\0 \
+   mmcargs=setenv bootargs console=${console}  \
+   ${optargs}  \
+@@ -248,8 +248,7 @@
+   vram=${vram}  \
+   omapfb.mode=dvi:${dvimode}  \
+   omapdss.def_disp=${defaultdisplay}  \
+-  root=${ramroot} rw ramdisk_size=65536  \
+-  initrd=${rdaddr},64M  \
++  root=${ramroot}  \
+   rootfstype=${ramrootfstype}\0 \
+   loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0 \
+   bootscript=echo Running bootscript from mmc ...;  \
+-- 
+1.5.6.4
+
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index 7f26a87..19386fc 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
 require u-boot.inc
-PR =r63
+PR =r64
 
 FILESPATHPKG =. u-boot-git:
 
@@ -71,6 +71,7 @@ SRC_URI_beagleboard = 
git://www.denx.de/git/u-boot.git;protocol=git \
file://0044-Beagleboard-Adjust-boot.patch \
file://0045-BeagleBoard-Enable-pullups-on-i2c2.patch \

file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \
+  file://0001-BeagleBoard-move-ramdisk-parameters.patch \
file://fw_env.config \
 
 SRCREV_beagleboard = ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] u-boot: beagleboard: adjusted clocks to match PSP

2010-08-11 Thread Jason Kridner
On Wed, Aug 11, 2010 at 3:50 PM, Koen Kooi k.k...@student.utwente.nl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 11-08-10 21:33, Jason Kridner wrote:

 Signed-off-by: Jason Kridner jkrid...@beagleboard.org
 ---
  ...3-clocks-update-clock-setup-for-36XX-37XX.patch |    4 ++--
  recipes/u-boot/u-boot_git.bb                       |    2 +-
  2 files changed, 3 insertions(+), 3 deletions(-)

 diff --git 
 a/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
  
 b/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
 index 03da8ce..e5dbec6 100644
 --- 
 a/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
 +++ 
 b/recipes/u-boot/u-boot-git/beagleboard/0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch
 @@ -726,9 +726,9 @@ index 73063ec..2045e4e 100644
  +per_36x_dpll_param:
  +/*    SYSCLK    M       N      M2      M3      M4     M5      M6      
 m2DIV */
  +.word 12000,    360,    4,     9,      16,     5,     4,      3,      1
 -+.word 13000,   1728,   12,     9,      32,     18,    8,      6,      2
 ++.word 13000,    864,   12,     9,      16,     9,     4,      3,      1
  +.word 19200,    360,    7,     9,      16,     5,     4,      3,      1
 -+.word 26000,   1728,   12,     9,      32,     18,    8,      6,      2
 ++.word 26000,    432,   12,     9,      16,     9,     4,      3,      1
  +.word 38400,    360,   15,     9,      16,     5,     4,      3,      1
  +

 Are those actually correct? Last time I looked at that bit Sakomans code
 was cleaner and better. Dunno if the PSP tree has changed to fix that.

They work for getting the S-Video and DVI displays working in u-boot
for xM testing.  It could be that the right thing is to fix some other
values, but this is what I've got.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: add dsplink

2010-08-13 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index 7361017..cbb2e7d 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -23,6 +23,7 @@ IMAGE_INSTALL +=  \
   u-boot-mkimage \
   sox \
   devmem2 \
+  ti-dsplink-examples \
 
 
 export IMAGE_BASENAME = beagleboard-test-image
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot/angstrom-uboot-scripts/beagleboard-test-image: increase ramdisk

2010-08-13 Thread Jason Kridner
* add initramfs image
* move to 128MB ramdisk until I can get initramfs working

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/angstrom/angstrom-uboot-scripts.bb |2 +-
 .../beagleboard-validation-user.cmd|7 +++-
 recipes/images/beagleboard-test-image.bb   |5 ++-
 .../0001-BeagleBoard-move-ramdisk-parameters.patch |   38 
 recipes/u-boot/u-boot_git.bb   |3 +-
 5 files changed, 50 insertions(+), 5 deletions(-)
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb 
b/recipes/angstrom/angstrom-uboot-scripts.bb
index a478cb2..020a7af 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = Various uboot scripts
 
-PR = r9
+PR = r10
 
 DEPENDS = u-boot-mkimage-native
 
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
index 7dbf69b..971b96e 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -1,11 +1,14 @@
 mmc init
-setenv rdaddr 0x8100
-setenv ramroot /dev/ram0
 if test ${beaglerev} = AxBx; then
+setenv rdaddr 0x8100
 setenv optargs mem=...@0x8000 musb_hdrc.fifomode=5
 elif test ${beaglerev} = Cx; then
+setenv rdaddr 0x8800
+setenv ramroot /dev/ram0 rw ramdisk_size=131072 initrd=${rdaddr},128M
 setenv optargs mem=...@0x8000 mem=1...@0x8800 musb_hdrc.fifomode=5
 else
+setenv rdaddr 0x8800
+setenv ramroot /dev/ram0 rw ramdisk_size=131072 initrd=${rdaddr},128M
 setenv optargs mem=...@0x8000 mem=3...@0x8800
 fi
 run loadramdisk
diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index cbbd3c2..7361017 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -28,4 +28,7 @@ IMAGE_INSTALL +=  \
 export IMAGE_BASENAME = beagleboard-test-image
 
 EXTRA_IMAGEDEPENDS += x-load u-boot virtual/kernel
-IMAGE_FSTYPES += ext2.gz
+IMAGE_FSTYPES += ext2.gz cpio.gz.u-boot
+IMAGE_ROOTFS_SIZE_ext2 = 131072
+EXTRA_IMAGECMD_ext2.gz += -i 8192
+
diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch
new file mode 100644
index 000..5d6e69d
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0001-BeagleBoard-move-ramdisk-parameters.patch
@@ -0,0 +1,38 @@
+From c8d02f2a8500f06de39681aed60ea5c9894f8087 Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Wed, 11 Aug 2010 14:50:38 -0500
+Subject: [PATCH] BeagleBoard: move ramdisk parameters
+
+This will make it easier to reprogram the ramdisk size.
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ include/configs/omap3_beagle.h |5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
+index 48ad805..4f5c1d4 100644
+--- a/include/configs/omap3_beagle.h
 b/include/configs/omap3_beagle.h
+@@ -217,7 +217,7 @@
+   mmcrootfstype=ext3 rootwait\0 \
+   nandroot=/dev/mtdblock4 rw\0 \
+   nandrootfstype=jffs2\0 \
+-  ramroot=/dev/ram0 rw\0 \
++  ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0 \
+   ramrootfstype=ext2\0 \
+   mmcargs=setenv bootargs console=${console}  \
+   ${optargs}  \
+@@ -248,8 +248,7 @@
+   vram=${vram}  \
+   omapfb.mode=dvi:${dvimode}  \
+   omapdss.def_disp=${defaultdisplay}  \
+-  root=${ramroot} rw ramdisk_size=65536  \
+-  initrd=${rdaddr},64M  \
++  root=${ramroot}  \
+   rootfstype=${ramrootfstype}\0 \
+   loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0 \
+   bootscript=echo Running bootscript from mmc ...;  \
+-- 
+1.5.6.4
+
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index 7f26a87..19386fc 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
 require u-boot.inc
-PR =r63
+PR =r64
 
 FILESPATHPKG =. u-boot-git:
 
@@ -71,6 +71,7 @@ SRC_URI_beagleboard = 
git://www.denx.de/git/u-boot.git;protocol=git \
file://0044-Beagleboard-Adjust-boot.patch \
file://0045-BeagleBoard-Enable-pullups-on-i2c2.patch \

file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \
+  file://0001-BeagleBoard-move-ramdisk-parameters.patch \
file://fw_env.config \
 
 SRCREV_beagleboard = ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55
-- 
1.5.6.4

[oe] [PATCH] libgcrypt: Add symlink for mpi files

2010-08-16 Thread Jason Kridner
'configure' doesn't seem to include the necessary '../mpi' in the
symlinks that get generated.  This hack will make the symlinks that do
get created work.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/libgcrypt/libgcrypt.inc |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
index f29dc8d..0c44fff 100644
--- a/recipes/libgcrypt/libgcrypt.inc
+++ b/recipes/libgcrypt/libgcrypt.inc
@@ -4,6 +4,8 @@ PRIORITY = optional
 LICENSE = GPL LGPL FDL
 DEPENDS = libgpg-error
 
+PR = r1
+
 SRC_URI = ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
file://add-pkgconfig-support.patch \
file://mips-h-constraint.patch
@@ -14,6 +16,10 @@ EXTRA_OECONF = --without-pth --disable-asm 
--with-capabilities
 
 ARM_INSTRUCTION_SET = arm
 
+do_configure_append() {
+   ln -s ${S}/mpi ${S}/mpi/mpi
+}
+
 do_install_append() {
install -d ${D}/${libdir}/pkgconfig/
cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] bison: add flex dependency

2010-08-16 Thread Jason Kridner
It seems that bison was missing this dependency.  I'm not 100% certain this
is the right way to add it, so I'm leaving off my signed-off-by in hopes that
someone will ack this who really knows.

---
 recipes/bison/bison.inc |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/bison/bison.inc b/recipes/bison/bison.inc
index 22672e2..d32f454 100644
--- a/recipes/bison/bison.inc
+++ b/recipes/bison/bison.inc
@@ -3,12 +3,12 @@ HOMEPAGE = http://www.gnu.org/software/bison/;
 LICENSE = GPL
 SECTION = devel
 PRIORITY = optional
-DEPENDS = virtual/libintl
+DEPENDS = virtual/libintl virtual/flex
 
 SRC_URI = ${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
   file://m4.patch
 
-INC_PR = r7
+INC_PR = r8
 
 inherit autotools gettext
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] flex: disabled packaged staging of native builds

2010-08-16 Thread Jason Kridner
---
 recipes/flex/flex.inc |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
index 49b26e8..5d3f076 100644
--- a/recipes/flex/flex.inc
+++ b/recipes/flex/flex.inc
@@ -4,7 +4,7 @@ LICENSE = BSD
 
 DEPENDS = gettext
 
-INC_PR = r5
+INC_PR = r6
 
 S = ${WORKDIR}/flex-${PV}
 
@@ -16,3 +16,5 @@ inherit autotools gettext
 # static-only library; that might be an error
 
 FILES_${PN} += ${libdir}/libfl.a
+
+PSTAGING_DISABLED_virtclass-native = 1
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] flex: disabled packaged staging of native builds

2010-08-16 Thread Jason Kridner
On Mon, Aug 16, 2010 at 7:43 PM, Tom Rini tom_r...@mentor.com wrote:
 Jason Kridner wrote:

 ---
  recipes/flex/flex.inc |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

 diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
 index 49b26e8..5d3f076 100644
 --- a/recipes/flex/flex.inc
 +++ b/recipes/flex/flex.inc
 @@ -4,7 +4,7 @@ LICENSE = BSD
  DEPENDS = gettext
  -INC_PR = r5
 +INC_PR = r6
  S = ${WORKDIR}/flex-${PV}
  @@ -16,3 +16,5 @@ inherit autotools gettext
  # static-only library; that might be an error
  FILES_${PN} += ${libdir}/libfl.a
 +
 +PSTAGING_DISABLED_virtclass-native = 1

 I assume you've ran into 2.3.35 not being relocation happy?  Have you been
 able to look at this at all?  2.3.31 works so it's something 'bad' done
 upstream.  Thanks!

I did, but I didn't look into the details.  bison-native wouldn't
rebuild when I used my flex-native pstage.  bitbake -c clean
flex-native fixed it, so...


 --
 Tom Rini
 Mentor Graphics Corporation

 ___
 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] [PATCH] eds-dbus: depends on libsoup-2.4

2010-08-17 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/eds/eds-dbus_git.bb |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/eds/eds-dbus_git.bb b/recipes/eds/eds-dbus_git.bb
index 16b3276..9bee1e0 100644
--- a/recipes/eds/eds-dbus_git.bb
+++ b/recipes/eds/eds-dbus_git.bb
@@ -1,11 +1,11 @@
 DESCRIPTION = Evolution database backend server
 HOMEPAGE = http://labs.o-hand.com/embedded-eds/;
 LICENSE = LGPL
-DEPENDS = libical intltool-native libglade glib-2.0 gtk+ gconf dbus db 
gnome-common virtual/libiconv zlib intltool libxml2
+DEPENDS = libical intltool-native libglade glib-2.0 gtk+ gconf dbus db 
gnome-common virtual/libiconv zlib intltool libxml2 libsoup-2.4
 
 SRCREV = 91812cd2f797fb8ec8befbb2685037584ce144ee
 PV = 1.4.0
-PR = r4
+PR = r5
 PE = 1
 PR_append = +gitr${SRCREV}
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] bison: add flex dependency

2010-08-17 Thread Jason Kridner
On Tue, Aug 17, 2010 at 9:57 AM, Phil Blundell ph...@gnu.org wrote:
 On Mon, 2010-08-16 at 16:26 -0500, Jason Kridner wrote:
 -DEPENDS = virtual/libintl
 +DEPENDS = virtual/libintl virtual/flex

 Does this actually work?

No.  Sorry for the bad patch.

  I couldn't immediately spot any obvious
 package which PROVIDES virtual/flex, and that sounds like a strange kind
 of virtual to have since I don't think there are any alternative
 implementations of flex.  (But if bison actually depends on lex
 generically, rather than flex specifically, it might make some sense to
 introduce a virtual/lex and have flex PROVIDE it.)

 p.



 ___
 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] [PATCH] flex: disabled packaged staging of native builds

2010-08-17 Thread Jason Kridner
flex-2.5.35 introduced a hardcoded path somewhere that prevents packaged
staging from working.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/flex/flex.inc |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc
index 49b26e8..39f4ec2 100644
--- a/recipes/flex/flex.inc
+++ b/recipes/flex/flex.inc
@@ -4,7 +4,7 @@ LICENSE = BSD
 
 DEPENDS = gettext
 
-INC_PR = r5
+INC_PR = r6
 
 S = ${WORKDIR}/flex-${PV}
 
@@ -16,3 +16,6 @@ inherit autotools gettext
 # static-only library; that might be an error
 
 FILES_${PN} += ${libdir}/libfl.a
+
+# flex-2.5.35 adds a hard-coded path that causes failures when using packaged 
staging
+PSTAGING_DISABLED_virtclass-native = 1
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: add g_ether kernel module

2010-08-17 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index cbb2e7d..71cbbab 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -20,6 +20,7 @@ IMAGE_INSTALL +=  \
   nano \
   cpuburn-neon \
   kernel-module-mt9t112 \
+  kernel-module-g-ether \
   u-boot-mkimage \
   sox \
   devmem2 \
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-olddemo-image: saved off beagleboard-demo-image

2010-08-17 Thread Jason Kridner
I want to use the name beagleboard-demo-image for what actually ships
with the xM boards.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-olddemo-image.bb |   30 +++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 recipes/images/beagleboard-olddemo-image.bb

diff --git a/recipes/images/beagleboard-olddemo-image.bb 
b/recipes/images/beagleboard-olddemo-image.bb
new file mode 100644
index 000..d83281c
--- /dev/null
+++ b/recipes/images/beagleboard-olddemo-image.bb
@@ -0,0 +1,30 @@
+# Demo image for beagleboard
+
+IMAGE_LINGUAS = de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in
+
+XSERVER ?= xserver-xorg \
+   xf86-input-evdev \
+   xf86-input-mouse \
+   xf86-video-fbdev \
+   xf86-input-keyboard \
+
+
+ANGSTROM_EXTRA_INSTALL ?= 
+SPLASH = exquisite exquisite-themes exquisite-theme-angstrom
+
+export IMAGE_BASENAME = Beagleboard-demo-image
+
+DEPENDS = task-base
+IMAGE_INSTALL = \
+${XSERVER} \
+${ANGSTROM_EXTRA_INSTALL} \
+task-beagleboard-demo \
+${SPLASH} \
+
+
+IMAGE_PREPROCESS_COMMAND = create_etc_timestamp
+
+#zap root password for release images
+ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; 
$...@base_conditional(DISTRO_TYPE, release, zap_root_password; , ,d)}'
+
+inherit image
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] quilt: disable packaged staging on native builds

2010-08-17 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/quilt/quilt-native.inc |3 +++
 recipes/quilt/quilt_0.48.bb|2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/quilt/quilt-native.inc b/recipes/quilt/quilt-native.inc
index 10d8183..f422b63 100644
--- a/recipes/quilt/quilt-native.inc
+++ b/recipes/quilt/quilt-native.inc
@@ -6,6 +6,9 @@ RDEPENDS_${PN} = diffstat-native patch-native bzip2-native 
util-linux-native
 FILESPATHPKG =. quilt-${PV}
 INHIBIT_AUTOTOOLS_DEPS = 1
 
+# Several packages fail to patch when using quilt from packaged staging
+PSTAGING_DISABLED_virtclass-native = 1
+
 inherit autotools native
 
 PATCHTOOL = patch
diff --git a/recipes/quilt/quilt_0.48.bb b/recipes/quilt/quilt_0.48.bb
index 0a066df..99dc2a2 100644
--- a/recipes/quilt/quilt_0.48.bb
+++ b/recipes/quilt/quilt_0.48.bb
@@ -1,6 +1,6 @@
 require quilt-package.inc
 
-PR=r1
+PR=r2
 
 SRC_URI[md5sum] = f77adda60039ffa753f3c584a286f12b
 SRC_URI[sha256sum] = 
73fd760d3b5cbf06417576591dc37d67380d189392db9000c21b7cbebee49ffc
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] esc-gst: added revision 6

2010-08-17 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/esc/esc-gst_6.bb |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 recipes/esc/esc-gst_6.bb

diff --git a/recipes/esc/esc-gst_6.bb b/recipes/esc/esc-gst_6.bb
new file mode 100644
index 000..88840db
--- /dev/null
+++ b/recipes/esc/esc-gst_6.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = Gstreamer scripts for Embedded Systems Conference workshop
+LICENSE = Various
+
+SRC_URI = 
http://hivelocity.dl.sourceforge.net/project/showoff/esc_gst_scripts.tar.gz \
+
+SRC_URI[md5sum] = 944f4ea58e81c3a32b947322ac8f9e1d
+SRC_URI[sha256sum] = 
589c3b611406f255204e1993e470d0d69ac8f12ff479febf4d5dc92915f982da
+
+S = ${WORKDIR}/esc-gst
+
+do_install() {
+ESC_FILES=a1 a2 a3 a4 a5 a6 d1 d2 d3 d4 d5 d6 g1 g2 g3 g4 g5 g6 g7 g8 g9
+ESC_FILES=${ESC_FILES} n1 n2 n3 n4 p1 s v1 v2 v3 v4
+install -d ${D}${datadir}/esc-gst
+for F in ${ESC_FILES} ; do
+install -m 0755 ${S}/${F} ${D}${datadir}/esc-gst
+done
+install -m 0644 ${S}/README ${D}${datadir}/esc-gst
+install -d ${D}${datadir}/applications
+install -m 0644 ${S}/GStreamer_Class.desktop ${D}${datadir}/applications/
+}
+
+FILES_${PN} += ${datadir}/esc-gst
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] beagleboard-olddemo-image: saved off beagleboard-demo-image

2010-08-17 Thread Jason Kridner
On Tue, Aug 17, 2010 at 5:01 PM, Frans Meulenbroeks
fransmeulenbro...@gmail.com wrote:
 2010/8/17 Jason Kridner jkrid...@beagleboard.org:
 On Tue, Aug 17, 2010 at 3:54 PM, Frans Meulenbroeks
 fransmeulenbro...@gmail.com wrote:
 2010/8/17 Jason Kridner jkrid...@beagleboard.org:
 I want to use the name beagleboard-demo-image for what actually ships
 with the xM boards.

 Signed-off-by: Jason Kridner jkrid...@beagleboard.org
 ---
  recipes/images/beagleboard-olddemo-image.bb |   30 
 +++
  1 files changed, 30 insertions(+), 0 deletions(-)
  create mode 100644 recipes/images/beagleboard-olddemo-image.bb

 diff --git a/recipes/images/beagleboard-olddemo-image.bb 
 b/recipes/images/beagleboard-olddemo-image.bb
 new file mode 100644
 index 000..d83281c
 --- /dev/null
 +++ b/recipes/images/beagleboard-olddemo-image.bb
 @@ -0,0 +1,30 @@
 +# Demo image for beagleboard
 +
 +IMAGE_LINGUAS = de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in
 +
 +XSERVER ?= xserver-xorg \
 +           xf86-input-evdev \
 +           xf86-input-mouse \
 +           xf86-video-fbdev \
 +           xf86-input-keyboard \
 +
 +
 +ANGSTROM_EXTRA_INSTALL ?= 
 +SPLASH = exquisite exquisite-themes exquisite-theme-angstrom
 +
 +export IMAGE_BASENAME = Beagleboard-demo-image
 +
 +DEPENDS = task-base
 +IMAGE_INSTALL = \
 +    ${XSERVER} \
 +    ${ANGSTROM_EXTRA_INSTALL} \
 +    task-beagleboard-demo \
 +    ${SPLASH} \
 +    
 +
 +IMAGE_PREPROCESS_COMMAND = create_etc_timestamp
 +
 +#zap root password for release images
 +ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; 
 $...@base_conditional(DISTRO_TYPE, release, zap_root_password; , 
 ,d)}'
 +
 +inherit image
 --

 What about a better name? E.g. XM-demo-iimage?

 I don't know why we need two demo images.  This should run on Rev Cx as well.

 Actually XM-demo-image was just a proposal
 For me beagleboard-olddemo-image indicates that it is not really an up
 to date version.
 I think I would prefer a name that better indicates the purpose. Maybe
 add stable in the name?
 Another option would be to have the image delivered with the XM as
 e.g. beagleboard-demo-image_1.0 and the newer versions e.g. 1.1 etc
 (or 2.0 or whatever)

Koen wanted to keep the old one around--I'm not sure for what purpose.



 And to widen the question: do we want to maintain customer/supplier
 specific images in the oe repo?
 The company I work for also has some images, but for now we opted to
 keep them in a private overlay.

 I want this to be public and part of the mainline to make it easy for
 people to reproduce.  It is for a relatively broad target.  Is there a
 reason it shouldn't be there?


 Ok, I understand that (and I have not really a problem with that). It
 is just the name that didn't make me too happy.

 Frans

 ___
 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] [PATCH] esc-media: updated revision

2010-08-17 Thread Jason Kridner
Added startup.wav (missed it the first time).

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/esc/esc-media_5.bb |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 recipes/esc/esc-media_5.bb

diff --git a/recipes/esc/esc-media_5.bb b/recipes/esc/esc-media_5.bb
new file mode 100644
index 000..6572cf6
--- /dev/null
+++ b/recipes/esc/esc-media_5.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = Media files to include on the Embedded Systems Conference 
workshop
+LICENSE=Various
+
+SRC_URI = 
http://hivelocity.dl.sourceforge.net/project/showoff/esc_media_files.tar.gz;
+SRC_URI[md5sum] = 54b69a8568cc99b836eb7ce40c9bd2a2
+SRC_URI[sha256sum] = 
f4c43ba2b7cfb3e3c6d3ce87dc63194c76fbe1a905a9cebc0102a615165bed59
+
+S=${WORKDIR}/esc_media_files
+
+do_install() {
+ESC_MEDIA=2009-obama-congress-speech.avi AlphaAnimal.license \
+   AlphaAnimal.m4a BigBuckBunny_640x360.m4v bbb.flac \
+   bbb.mp3 bbb.ogg davincieffect.aac gstreamer-logo.svg \
+   sprc720.flv startup.wav
+
+install -d ${D}${datadir}/esc-media
+for F in ${ESC_MEDIA} ; do
+install -m 0644 ${S}/${F} ${D}${datadir}/esc-media
+done
+}
+
+FILES_${PN} += ${datadir}/esc-media
+
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] x11vnc: replace definition of pointer

2010-08-17 Thread Jason Kridner
Avoids conflict with Xdefs.h definition of 'pointer'.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 ...0001-replaced-pointer-with-x11vnc_pointer.patch |  237 
 recipes/vnc/x11vnc_0.9.11.bb   |6 +-
 2 files changed, 242 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/vnc/files/0001-replaced-pointer-with-x11vnc_pointer.patch

diff --git a/recipes/vnc/files/0001-replaced-pointer-with-x11vnc_pointer.patch 
b/recipes/vnc/files/0001-replaced-pointer-with-x11vnc_pointer.patch
new file mode 100644
index 000..1212299
--- /dev/null
+++ b/recipes/vnc/files/0001-replaced-pointer-with-x11vnc_pointer.patch
@@ -0,0 +1,237 @@
+From e1b41de977fef61a957ab871ed1f23c05cc2fd75 Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Wed, 18 Aug 2010 00:15:24 -0500
+Subject: [PATCH] replaced pointer() with x11vnc_pointer()
+
+Avoids conflict with pointer definition in /usr/include/X11/Xdefs.h.
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ x11vnc/connections.c |2 +-
+ x11vnc/keyboard.c|4 ++--
+ x11vnc/pointer.c |   16 
+ x11vnc/pointer.h |2 +-
+ x11vnc/remote.c  |6 +++---
+ x11vnc/scan.c|4 ++--
+ x11vnc/screen.c  |2 +-
+ x11vnc/userinput.c   |8 
+ 8 files changed, 22 insertions(+), 22 deletions(-)
+
+diff --git a/x11vnc/connections.c b/x11vnc/connections.c
+index 7c549ec..71a2bd1 100644
+--- a/x11vnc/connections.c
 b/x11vnc/connections.c
+@@ -3145,7 +3145,7 @@ static void pmove(int x, int y) {
+   return;
+   }
+   rfbLog(pmove: x y: %d %d\n, x, y);
+-  pointer(0, x, y, NULL);
++  x11vnc_pointer(0, x, y, NULL);
+   X_LOCK;
+   XFlush_wr(dpy);
+   X_UNLOCK;
+diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c
+index 58e866d..613b8ab 100644
+--- a/x11vnc/keyboard.c
 b/x11vnc/keyboard.c
+@@ -2898,9 +2898,9 @@ static void pipe_keyboard(rfbBool down, rfbKeySym 
keysym, rfbClientPtr client) {
+   t[1] = '\0';
+   if (sscanf(t, %d, butt) == 1) {
+   mask = 1(butt-1);
+-  pointer(mask, x, y, client);
++  x11vnc_pointer(mask, x, y, client);
+   mask = 0;
+-  pointer(mask, x, y, client);
++  x11vnc_pointer(mask, x, y, client);
+   }
+   b++;
+   }
+diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c
+index 5e11ed4..45cf47e 100644
+--- a/x11vnc/pointer.c
 b/x11vnc/pointer.c
+@@ -54,7 +54,7 @@ int pointer_queued_sent = 0;
+ 
+ void initialize_pointer_map(char *pointer_remap);
+ void do_button_mask_change(int mask, int button);
+-void pointer(int mask, int x, int y, rfbClientPtr client);
++void x11vnc_pointer(int mask, int x, int y, rfbClientPtr client);
+ void initialize_pipeinput(void);
+ int check_pipeinput(void);
+ void update_x11_pointer_position(int x, int y);
+@@ -408,7 +408,7 @@ void do_button_mask_change(int mask, int button) {
+   continue;
+   }
+   if (debug_pointer) {
+-  rfbLog(pointer(): sending button %d
++  rfbLog(x11vnc_pointer(): sending button %d
+%s (event %d)\n, mb, bmask
+   ? down : up, k+1);
+   }
+@@ -427,7 +427,7 @@ void do_button_mask_change(int mask, int button) {
+   if (debug_pointer  dpy) {
+   char *str = XKeysymToString(XKeycodeToKeysym(
+ dpy, key, 0));
+-  rfbLog(pointer(): sending button %d 
++  rfbLog(x11vnc_pointer(): sending button %d 
+   down as keycode 0x%x (event %d)\n,
+   i+1, key, k+1);
+   rfbLog(   down=%d up=%d keysym: 
+@@ -560,7 +560,7 @@ if (debug_scroll  1) fprintf(stderr, internal scrollbar: 
%dx%d\n, w, h);
+   for (i=0; i  MAX_BUTTONS; i++) {
+   if ( (button_mask  (1i)) != (mask  (1i)) ) {
+   if (debug_pointer) {
+-  rfbLog(pointer(): mask change: mask: 0x%x - 
++  rfbLog(x11vnc_pointer(): mask change: mask: 0x%x - 
+   0x%x button: %d\n, button_mask, mask,i+1);
+   }
+   do_button_mask_change(mask, i+1);   /* button # is i+1 */
+@@ -659,7 +659,7 @@ static void pipe_pointer(int mask, int x, int y, 
rfbClientPtr client) {
+  * This may queue pointer events rather than sending them immediately
+  * to the X server. (see update_x11_pointer*())
+  */
+-void pointer(int mask, int x, int y, rfbClientPtr client) {
++void x11vnc_pointer(int

[oe] [PATCH] libidl-native: add dependency on bison-native

2010-08-18 Thread Jason Kridner
bison-native now depends on flex-native, so we should be good there.

The error that would show up without bison:
checking for bison... no
checking for byacc... no
checking for yacc... no
configure: error: yacc is not usable as yacc - consider using bison

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/libidl/libidl-native_0.8.13.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/libidl/libidl-native_0.8.13.bb 
b/recipes/libidl/libidl-native_0.8.13.bb
index 49860a0..834f4af 100644
--- a/recipes/libidl/libidl-native_0.8.13.bb
+++ b/recipes/libidl/libidl-native_0.8.13.bb
@@ -2,7 +2,9 @@ SECTION = libs
 require libidl_${PV}.bb
 inherit native
 
-DEPENDS = flex-native glib-2.0-native
+PR = r1
+
+DEPENDS = bison-native glib-2.0-native
 
 SRC_URI[md5sum] = b43b289a859eb38a710f70622c46e571
 SRC_URI[sha256sum] = 
bccc7e10dae979518ff012f8464e47ec4b3558a5456a94c8679653aa0b262b71
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] OE stable, testing, dev (was Re: What to do about the poor bitbake Quality Control?)

2010-08-18 Thread Jason Kridner
On Wed, Aug 18, 2010 at 11:07 AM, Cliff Brake cliff.br...@gmail.com wrote:
 On Wed, Aug 18, 2010 at 4:30 AM, Martyn Welch martyn.we...@ge.com wrote:
 On 17/08/10 16:02, Cliff Brake wrote:

 I think it would be very useful to have a stable branch that is only
 synchronised with dev when X number of targets build from a clean
 build.  It seems like this would be high value, with little effort.
 Of course there will be corner things that break, but at least a new
 beagleboard user can check out something and have reasonable
 confidence that it will build images.

 Does anyone have suggestions for the branch name and a reasonable
 subset of machines and build targets?  Perhaps someone is already
 running these clean builds?  At one point we had a machine at OSUOSL
 dedicated to this purpose, but no one ever set it up.


 So something like Debian's stable, testing and unstable[1]?

 That sounds good to me -- so how about org.openembedded.dev and
 org.openembedded.testing branches?

 I'll plan to start doing a clean build of dev every Monday for the
 Beagleboard, and then merge to testing once it builds.  Initial
 targets:

 Angstrom Distro
 beagleboard/beagleboard-linuxtag2010-demo-image
 x86/minimal-image

 My workstation runs a 64-bit OS, so that is probably worst case
 (compared to i686).

 Getting started
 (http://wiki.openembedded.net/index.php/Getting_started) points to a
 tarball for bitbake 1.8.18.  Is this still the recommended
 version/mechanism for new users?  I much prefer simply pulling bitbake
 from git.

Koen pointed me to
http://gitorious.org/angstrom/angstrom-setup-scripts/blobs/master/oebb.sh
for setting up my environment.  I also prefer pulling bitbake from
git.  Koen seems to be pulling bitbake 1.10, instead of 1.8.18.


 Thanks,
 Cliff

 --
 =
 http://bec-systems.com

 ___
 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] gnome-utils and gnome-applets configuring without scrollkeeper

2010-08-18 Thread Jason Kridner
From what I've seen, EXTRA_OECONF = --disable-scrollkeeper does not
eliminate the dependency on scrollkeeper.

Taking a read of configure's command-line help:
--disable-scrollkeeper  do not make updates to the scrollkeeper
database

I don't think that means that there isn't a dependency on
scrollkeeper, only that the database isn't updated.  I can tell you
that configure won't complete until I run 'bitbake
scrollkeeper-native'.

Has anyone really been able to build these without scrollkeeper?  Can
anyone suggest how to proceed to create a patch?

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] tofrodos-native: created

2010-08-19 Thread Jason Kridner
Created from the same version used for non-native.

Had to replace S, since PN doesn't reflect the tar directory (tofrodos).

Updated patch to include creation of new directories.  This needed to be
done in the Makefile to cover both do_install and do_populate_sysroot.

Added patch to use environment variables, rather than passed in paths.

This could probably be done by enabling native builds in the main
recipe, but I couldn't figure out how to do that with some of the extra
stuff in it.  I'd suggest accepting this patch until there is one to
replace it.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 .../tofrodos-native/0001-Make-OE-friendly.patch|   71 +
 ...e-enviroment-rather-than-hard-coded-paths.patch |   83 
 recipes/tofrodos/tofrodos-native_1.7.8.bb  |   14 
 3 files changed, 168 insertions(+), 0 deletions(-)
 create mode 100644 recipes/tofrodos/tofrodos-native/0001-Make-OE-friendly.patch
 create mode 100644 
recipes/tofrodos/tofrodos-native/0001-Use-enviroment-rather-than-hard-coded-paths.patch
 create mode 100644 recipes/tofrodos/tofrodos-native_1.7.8.bb

diff --git a/recipes/tofrodos/tofrodos-native/0001-Make-OE-friendly.patch 
b/recipes/tofrodos/tofrodos-native/0001-Make-OE-friendly.patch
new file mode 100644
index 000..1dd8281
--- /dev/null
+++ b/recipes/tofrodos/tofrodos-native/0001-Make-OE-friendly.patch
@@ -0,0 +1,71 @@
+From 7ae01e1346c9645e27d49427679b2fd521534588 Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Thu, 19 Aug 2010 08:17:17 -0500
+Subject: [PATCH] Make OE friendly
+
+Pulled changes from OE's cross.patch, but added portions to create
+directories on install.
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ src/Makefile |   16 
+ 1 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index db9c2a4..f82afcf 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -23,13 +23,11 @@ VERSTR = 0.0
+ endif
+ 
+ # programs
+-CC = gcc
+ CD = cd
+ CP = cp
+ GZIP = gzip
+ INSTALL = install
+ LN = ln
+-LD = gcc
+ MAKE = make
+ MKDIR = mkdir
+ MV = mv
+@@ -38,7 +36,7 @@ TAR = tar
+ ZIP = zip
+ 
+ # flags
+-CFLAGS = $(DEFINES) $(TFLAG) $(CDEBUG) -c -Wall
++CCFLAGS = $(DEFINES) $(TFLAG) $(CDEBUG) -c -Wall
+ GZIPFLAGS = -9
+ INSTALLBINFLAGS = -m 755
+ INSTALLDATAFLAGS = -m 644
+@@ -96,7 +94,7 @@ OBJS =   emsg.o \
+ 
+ # implicit rules
+ .c.o:
+-  $(CC) $(CFLAGS) $
++  $(CC) $(CCFLAGS) $(CFLAGS) $
+ 
+ # user visible rules
+ all: $(FROMDOS) $(TODOS)
+@@ -119,12 +117,14 @@ distclean: clobber
+   $(RM) $(RMRECURFLAGS) $(DISTDIR)
+ 
+ install: installman
+-  $(INSTALL) $(INSTALLBINFLAGS) $(FROMDOS) $(BINDIR)
+-  ($(CD) $(BINDIR) ; $(LN) $(LNFLAGS) fromdos todos)
++  $(INSTALL) -d $(DESTDIR)$(BINDIR)
++  $(INSTALL) $(INSTALLBINFLAGS) $(FROMDOS) $(DESTDIR)$(BINDIR)
++  ($(CD) $(DESTDIR)$(BINDIR) ; $(LN) $(LNFLAGS) fromdos todos)
+ 
+ installman: $(FROMDOSMAN)
+-  $(INSTALL) $(INSTALLDATAFLAGS) $(FROMDOSMAN) $(MANDIR)
+-  ($(CD) $(MANDIR) ; $(LN) $(LNFLAGS) fromdos.1 todos.1)
++  $(INSTALL) -d $(DESTDIR)$(MANDIR)
++  $(INSTALL) $(INSTALLDATAFLAGS) $(FROMDOSMAN) $(DESTDIR)$(MANDIR)
++  ($(CD) $(DESTDIR)$(MANDIR) ; $(LN) $(LNFLAGS) fromdos.1 todos.1)
+ 
+ save:
+   $(ZIP) $(ZIPSRCFLAGS) $(ZIPSRCNAME) *
+-- 
+1.5.6.4
+
diff --git 
a/recipes/tofrodos/tofrodos-native/0001-Use-enviroment-rather-than-hard-coded-paths.patch
 
b/recipes/tofrodos/tofrodos-native/0001-Use-enviroment-rather-than-hard-coded-paths.patch
new file mode 100644
index 000..cc70e6b
--- /dev/null
+++ 
b/recipes/tofrodos/tofrodos-native/0001-Use-enviroment-rather-than-hard-coded-paths.patch
@@ -0,0 +1,83 @@
+From e170432a8c2b9d86f4bcd90399c9e4649ac57b7e Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Thu, 19 Aug 2010 09:45:00 -0500
+Subject: [PATCH] Use enviroment, rather than hard coded paths
+
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ src/Makefile |   28 +++-
+ 1 files changed, 15 insertions(+), 13 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index f82afcf..c87ab30 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -23,11 +23,13 @@ VERSTR = 0.0
+ endif
+ 
+ # programs
++CC := gcc
+ CD = cd
+ CP = cp
+ GZIP = gzip
+ INSTALL = install
+ LN = ln
++LD := ld
+ MAKE = make
+ MKDIR = mkdir
+ MV = mv
+@@ -47,11 +49,11 @@ TARFLAGS = cvf
+ ZIPSRCFLAGS = -r -9
+ 
+ # directories
+-BINDIR = /usr/bin
++bindir := /usr/bin
+ DISTDIR = tofrodos-$(VERSTR)
+-LIBDIR = lib
++libdir := lib
+ LIBDISTDIR = $(DISTDIR)/lib
+-MANDIR = /usr/man/man1
++mandir := /usr/man/man1
+ 
+ # filenames
+ FROMDOS = fromdos
+@@ -83,10 +85,10 @@ DISTFILES = config.h \
+   utility.h \
+   version.h \
+   $(FROMDOSMAN)
+-LIBDISTFILES = $(LIBDIR)/getopt.c \
+-  $(LIBDIR)/getopt.h \
+-  $(LIBDIR)/mktemp.c \
+-  $(LIBDIR)/mktemp.h
++LIBDISTFILES

[oe] [PATCH] ti-msp430-chronos: replaced dos2unix with fromdos

2010-08-19 Thread Jason Kridner
* Added dependency on tofrodos-native
* Ran oe-stylize.pl
* Corrected spelling of LICENSE

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/ti/ti-msp430-chronos_1.05.00.00.bb |   33 +++
 1 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/recipes/ti/ti-msp430-chronos_1.05.00.00.bb 
b/recipes/ti/ti-msp430-chronos_1.05.00.00.bb
index 3455697..8faf351 100644
--- a/recipes/ti/ti-msp430-chronos_1.05.00.00.bb
+++ b/recipes/ti/ti-msp430-chronos_1.05.00.00.bb
@@ -1,46 +1,41 @@
 DESCRIPTION = eZ430 Chronos Tools - MSP430 Development Kit/Watch
 HOMEPAGE = http://processors.wiki.ti.com/index.php/EZ430-Chronos;
-LICENCE = unknown
 SECTION = multimedia
-
+LICENSE = unknown
+DEPENDS = tofrodos-native
+RDEPENDS_ti-msp430-chronos-apps +=  tcl tk xdotool
 PV = 1_05_00_00
-PR = 2
+PR = 3
 
 SRC_URI = http://focus.ti.com/lit/sw/slac388/slac388.zip;name=slac388zip;
-
 SRC_URI[slac388zip.md5sum] = 22d4104a07af584222828fb377793796
 SRC_URI[slac388zip.sha256sum] = 
1c9cd1e36015e8db3b36c98be41907628144b76002b3f76b27fd310f4bd35ad7
 
-require ti-paths.inc
-require ti-staging.inc
-require ti-eula-unpack.inc
-
 S = ${WORKDIR}/ti/eZ430-Chronos
 
-BINFILE=Chronos-Setup
-TI_BIN_UNPK_CMDS=Y:workdir:
-
 do_unpack_append() {
 os.system('mv Texas Instruments ti')
 }
-
 do_compile() {
 echo Do Nothing for Now
 }
-
 do_install() {
-
 install -d ${D}/${installdir}/ti-msp430-chronos-apps
 cp -pPrf ${S}/Control Center/* 
${D}/${installdir}/ti-msp430-chronos-apps
-
 # Remove dos formatting
-dos2unix ${D}/${installdir}/ti-msp430-chronos-apps/Chronos Data Logger/*
-dos2unix ${D}/${installdir}/ti-msp430-chronos-apps/Chronos Control 
Center/*
-
+fromdos ${D}/${installdir}/ti-msp430-chronos-apps/Chronos Data Logger/*
+fromdos ${D}/${installdir}/ti-msp430-chronos-apps/Chronos Control 
Center/*
 # Should probably also remove hardcoded script reference to tcl8.5
 }
 
 PACKAGES += ti-msp430-chronos-apps
+
 FILES_ti-msp430-chronos-apps = ${installdir}/ti-msp430-chronos-apps/*
 
-RDEPENDS_ti-msp430-chronos-apps +=  tcl tk xdotool
+require ti-paths.inc
+require ti-staging.inc
+require ti-eula-unpack.inc
+
+BINFILE = Chronos-Setup
+
+TI_BIN_UNPK_CMDS = Y:workdir:
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] esc-media: updated revision

2010-08-19 Thread Jason Kridner
Added startup.wav (missed it the first time).  Corrected the MD5SUM.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/esc/esc-media_5.bb |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 recipes/esc/esc-media_5.bb

diff --git a/recipes/esc/esc-media_5.bb b/recipes/esc/esc-media_5.bb
new file mode 100644
index 000..725de19
--- /dev/null
+++ b/recipes/esc/esc-media_5.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = Media files to include on the Embedded Systems Conference 
workshop
+LICENSE=Various
+
+SRC_URI = 
http://hivelocity.dl.sourceforge.net/project/showoff/esc_media_files.tar.gz;
+SRC_URI[md5sum] = b75cbc0ce0dfcbd85de12e7fe9ecab8b
+SRC_URI[sha256sum] = 
364f474a6356326c113d964885207d90741f2e95770b079d96fffc4295e62739
+
+S=${WORKDIR}/esc_media_files
+
+do_install() {
+ESC_MEDIA=2009-obama-congress-speech.avi AlphaAnimal.license \
+   AlphaAnimal.m4a BigBuckBunny_640x360.m4v bbb.flac \
+   bbb.mp3 bbb.ogg davincieffect.aac gstreamer-logo.svg \
+   sprc720.flv startup.wav
+
+install -d ${D}${datadir}/esc-media
+for F in ${ESC_MEDIA} ; do
+install -m 0644 ${S}/${F} ${D}${datadir}/esc-media
+done
+}
+
+FILES_${PN} += ${datadir}/esc-media
+
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard.conf: use qt4-x11-free-gles

2010-08-19 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 conf/machine/beagleboard.conf |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
index ce48019..579bcc6 100644
--- a/conf/machine/beagleboard.conf
+++ b/conf/machine/beagleboard.conf
@@ -16,6 +16,7 @@ GUI_MACHINE_CLASS = bigscreen
 require conf/machine/include/omap3.inc
 
 PREFERRED_PROVIDER_virtual/kernel = linux-omap-psp
+PREFERRED_PROVIDER_qt4-x11-free = qt4-x11-free-gles
 
 IMAGE_FSTYPES += tar.bz2 ubi
 EXTRA_IMAGECMD_jffs2 = -lnp 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] base-files: beagleboard: profile: use nano

2010-08-19 Thread Jason Kridner
If nano is available and EDITOR isn't otherwise set, then use it.
Advanced users who would prefer vi will know how to set EDITOR anyway.
I can clearly see myself being frustrated typing 'export EDITOR=vi'
every time I start a BeagleBoard test ramdisk image, but better me have
that than to try to explain to someone fresh how to use vi.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/base-files/base-files/beagleboard/profile |   41 +
 1 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 recipes/base-files/base-files/beagleboard/profile

diff --git a/recipes/base-files/base-files/beagleboard/profile 
b/recipes/base-files/base-files/beagleboard/profile
new file mode 100644
index 000..7b1cf52
--- /dev/null
+++ b/recipes/base-files/base-files/beagleboard/profile
@@ -0,0 +1,41 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+PATH=/usr/local/bin:/usr/bin:/bin
+# EDITOR needed for packages like cron
+if [ $EDITOR ]; then
+   if [ -x /usr/bin/nano ]; then
+   EDITOR=/usr/bin/nano
+   else
+   EDITOR=/bin/vi
+   fi
+fi
+test -z $TERM  TERM=vt100# Basic terminal capab. For screen etc.
+
+if [ ! -e /etc/localtime -a ! -e /etc/TZ ]; then
+   TZ=UTC# Time Zone. Look at 
http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html 
+   # for an explanation of how to set this to your 
local timezone.
+   export TZ
+fi
+
+if [ `id -u` -eq 0 ]; then
+   PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
+fi
+if [ $PS1 ]; then
+# works for bash and ash (no other shells known to be in use here)
+   PS1='\...@\h:\w\$ '
+fi
+
+if [ -d /etc/profile.d ]; then
+  for i in /etc/profile.d/*.sh; do
+if [ -r $i ]; then
+  . $i
+fi
+  done
+  unset i
+fi
+
+export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
+
+umask 022
+
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] base-files: beagleboard: profile: use nano

2010-08-19 Thread Jason Kridner
If nano is available and EDITOR isn't otherwise set, then use it.
Advanced users who would prefer vi will know how to set EDITOR anyway.
I can clearly see myself being frustrated typing 'export EDITOR=vi'
every time I start a BeagleBoard test ramdisk image, but better me have
that than to try to explain to someone fresh how to use vi.

Updated with feedback from Gary Thomas to avoid overwriting anyone
else's preference.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/base-files/base-files/beagleboard/profile |   41 +
 recipes/base-files/base-files_3.0.14.bb   |2 +-
 2 files changed, 42 insertions(+), 1 deletions(-)
 create mode 100644 recipes/base-files/base-files/beagleboard/profile

diff --git a/recipes/base-files/base-files/beagleboard/profile 
b/recipes/base-files/base-files/beagleboard/profile
new file mode 100644
index 000..301fc93
--- /dev/null
+++ b/recipes/base-files/base-files/beagleboard/profile
@@ -0,0 +1,41 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+PATH=/usr/local/bin:/usr/bin:/bin
+# EDITOR needed for packages like cron
+if [ -z $EDITOR ]; then
+   if [ -x /usr/bin/nano ]; then
+   EDITOR=/usr/bin/nano
+   else
+   EDITOR=/bin/vi
+   fi
+fi
+test -z $TERM  TERM=vt100# Basic terminal capab. For screen etc.
+
+if [ ! -e /etc/localtime -a ! -e /etc/TZ ]; then
+   TZ=UTC# Time Zone. Look at 
http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html 
+   # for an explanation of how to set this to your 
local timezone.
+   export TZ
+fi
+
+if [ `id -u` -eq 0 ]; then
+   PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
+fi
+if [ $PS1 ]; then
+# works for bash and ash (no other shells known to be in use here)
+   PS1='\...@\h:\w\$ '
+fi
+
+if [ -d /etc/profile.d ]; then
+  for i in /etc/profile.d/*.sh; do
+if [ -r $i ]; then
+  . $i
+fi
+  done
+  unset i
+fi
+
+export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
+
+umask 022
+
diff --git a/recipes/base-files/base-files_3.0.14.bb 
b/recipes/base-files/base-files_3.0.14.bb
index f8d0778..ab554bb 100644
--- a/recipes/base-files/base-files_3.0.14.bb
+++ b/recipes/base-files/base-files_3.0.14.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = Miscellaneous files for the base system.
 SECTION = base
 PRIORITY = required
-PR = r97
+PR = r98
 LICENSE = GPL
 
 SRC_URI =  \
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] esc-node-demo: add missing index.html file

2010-08-20 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/esc/esc-node-demo_git.bb |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/esc/esc-node-demo_git.bb b/recipes/esc/esc-node-demo_git.bb
index 814771b..06933e0 100644
--- a/recipes/esc/esc-node-demo_git.bb
+++ b/recipes/esc/esc-node-demo_git.bb
@@ -4,7 +4,7 @@ SECTION = devel
 PRIORITY = optional
 
 PV = 0
-PR = r3
+PR = r4
 
 SRC_URI = git://gist.github.com/397547.git;protocol=git \
 
@@ -15,6 +15,7 @@ S = ${WORKDIR}/git
 DEMO_FILES =  \
 matrix_command_shell.js \
 hello_world.js \
+index.html \
 
 
 do_install() {
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-demo-image: update for xM demo shipped with board

2010-08-22 Thread Jason Kridner
* add packages used at ESC
* nodejs and linuxtag-ics don't seem to have cross-compiling recipes to create 
them
* esc-node-demo requries nodejs, so removed
* add ti-xgxperf-qt-x11
* removed e-wm
* removed Qt embedded toolchain
* added some qt4-x11 toolchain
* fixed dependency from jalimo-beagleboard-demo-image
* qt4-tools-sdk and task-sdk-host don't produce target installs
* removed gpe, because it conflicted with gtk

* added some more packages

* remove qmake2 and qt4-tools since they aren't building

* don't waste time building UBIFS or ext2.gz

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-demo-image.bb|   30 -
 recipes/images/beagleboard-demo-image_0.bb  |   30 +
 recipes/images/beagleboard-demo-image_1.bb  |   39 +++
 recipes/images/jalimo-beagleboard-demo-image.bb |2 +-
 recipes/tasks/task-beagleboard-demo.bb  |   54 -
 recipes/tasks/task-beagleboard-demo_0.bb|   54 +
 recipes/tasks/task-beagleboard-demo_1.bb|  139 +++
 7 files changed, 263 insertions(+), 85 deletions(-)
 delete mode 100644 recipes/images/beagleboard-demo-image.bb
 create mode 100644 recipes/images/beagleboard-demo-image_0.bb
 create mode 100644 recipes/images/beagleboard-demo-image_1.bb
 delete mode 100644 recipes/tasks/task-beagleboard-demo.bb
 create mode 100644 recipes/tasks/task-beagleboard-demo_0.bb
 create mode 100644 recipes/tasks/task-beagleboard-demo_1.bb

diff --git a/recipes/images/beagleboard-demo-image.bb 
b/recipes/images/beagleboard-demo-image.bb
deleted file mode 100644
index d83281c..000
--- a/recipes/images/beagleboard-demo-image.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-# Demo image for beagleboard
-
-IMAGE_LINGUAS = de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in
-
-XSERVER ?= xserver-xorg \
-   xf86-input-evdev \
-   xf86-input-mouse \
-   xf86-video-fbdev \
-   xf86-input-keyboard \
-
-
-ANGSTROM_EXTRA_INSTALL ?= 
-SPLASH = exquisite exquisite-themes exquisite-theme-angstrom
-
-export IMAGE_BASENAME = Beagleboard-demo-image
-
-DEPENDS = task-base
-IMAGE_INSTALL = \
-${XSERVER} \
-${ANGSTROM_EXTRA_INSTALL} \
-task-beagleboard-demo \
-${SPLASH} \
-
-
-IMAGE_PREPROCESS_COMMAND = create_etc_timestamp
-
-#zap root password for release images
-ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; 
$...@base_conditional(DISTRO_TYPE, release, zap_root_password; , ,d)}'
-
-inherit image
diff --git a/recipes/images/beagleboard-demo-image_0.bb 
b/recipes/images/beagleboard-demo-image_0.bb
new file mode 100644
index 000..d83281c
--- /dev/null
+++ b/recipes/images/beagleboard-demo-image_0.bb
@@ -0,0 +1,30 @@
+# Demo image for beagleboard
+
+IMAGE_LINGUAS = de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in
+
+XSERVER ?= xserver-xorg \
+   xf86-input-evdev \
+   xf86-input-mouse \
+   xf86-video-fbdev \
+   xf86-input-keyboard \
+
+
+ANGSTROM_EXTRA_INSTALL ?= 
+SPLASH = exquisite exquisite-themes exquisite-theme-angstrom
+
+export IMAGE_BASENAME = Beagleboard-demo-image
+
+DEPENDS = task-base
+IMAGE_INSTALL = \
+${XSERVER} \
+${ANGSTROM_EXTRA_INSTALL} \
+task-beagleboard-demo \
+${SPLASH} \
+
+
+IMAGE_PREPROCESS_COMMAND = create_etc_timestamp
+
+#zap root password for release images
+ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; 
$...@base_conditional(DISTRO_TYPE, release, zap_root_password; , ,d)}'
+
+inherit image
diff --git a/recipes/images/beagleboard-demo-image_1.bb 
b/recipes/images/beagleboard-demo-image_1.bb
new file mode 100644
index 000..8277eb6
--- /dev/null
+++ b/recipes/images/beagleboard-demo-image_1.bb
@@ -0,0 +1,39 @@
+# Demo image for beagleboard
+DESCRIPTION = Image used for shipping with the BeagleBoard-xM as a demo
+
+IMAGE_LINGUAS = de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in
+
+XSERVER ?= xserver-xorg \
+   xf86-input-evdev \
+   xf86-input-mouse \
+   xf86-video-fbdev \
+   xf86-video-sisusb \
+   xf86-input-keyboard \
+
+
+ANGSTROM_EXTRA_INSTALL ?= 
+
+export IMAGE_BASENAME = Beagleboard-demo-image
+
+DEPENDS = task-base
+IMAGE_INSTALL = \
+  task-base-extended \
+  task-beagleboard-demo \
+  angstrom-task-gnome \
+  ${XSERVER} \
+  ${ANGSTROM_EXTRA_INSTALL} \
+  ${IMAGE_SPLASH} \
+  
+
+IMAGE_PREPROCESS_COMMAND = create_etc_timestamp
+
+IMAGE_LOGIN_MANAGER = shadow
+IMAGE_SPLASH = psplash-angstrom
+
+EXTRA_IMAGEDEPENDS += x-load u-boot virtual/kernel
+IMAGE_FSTYPES = tar.bz2
+
+#zap root password for release images
+ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; 
$...@base_conditional(DISTRO_TYPE, release, zap_root_password; , ,d)}'
+
+inherit image
diff --git a/recipes/images/jalimo-beagleboard-demo-image.bb 
b/recipes/images/jalimo-beagleboard-demo-image.bb
index c1f9e19..a7ef04a 100644
--- a/recipes/images/jalimo-beagleboard-demo-image.bb
+++ b/recipes/images/jalimo-beagleboard-demo-image.bb
@@ -1,6 +1,6

[oe] [PATCH] u-boot: beagleboard: improve env var setting

2010-08-22 Thread Jason Kridner
I was running out of room for all the arguments.  This should help.

Conflicts:

recipes/u-boot/u-boot_git.bb

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 ...beagleboard-improved-boot-env-var-setting.patch |   63 
 recipes/u-boot/u-boot_git.bb   |3 +-
 2 files changed, 65 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-improved-boot-env-var-setting.patch

diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-improved-boot-env-var-setting.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-improved-boot-env-var-setting.patch
new file mode 100644
index 000..2e0afdf
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-improved-boot-env-var-setting.patch
@@ -0,0 +1,63 @@
+From 4d44d40658a2f0a499aa2d90e58167838efccfa4 Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Wed, 18 Aug 2010 16:38:24 -0500
+Subject: [PATCH] beagleboard: improved boot env var setting
+
+* Enabled evaluation of expressions with 'setexpr'
+* Made room for a 64MB ramdisk by moving from 0x8160 to 0x8100
+* Removed expression from 'ramroot' that wouldn't be evaluated
+* Doubled console I/O buffer size from 256 to 512
+* Doubled maximum command arguments size from 16 to 32
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ include/configs/omap3_beagle.h |9 +
+ 1 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
+index 4f5c1d4..6bc992c 100644
+--- a/include/configs/omap3_beagle.h
 b/include/configs/omap3_beagle.h
+@@ -152,6 +152,7 @@
+ #define CONFIG_CMD_NAND   /* NAND support */
+ #define CONFIG_CMD_LED/* LED support  */
+ #define CONFIG_VIDEO_OMAP3/* DSS Support  */
++#define CONFIG_CMD_SETEXPR/* Evaluate expressions */
+ 
+ #undef CONFIG_CMD_FLASH   /* flinfo, erase, protect   */
+ #undef CONFIG_CMD_FPGA/* FPGA configuration Support   */
+@@ -201,7 +202,7 @@
+ 
+ #define CONFIG_EXTRA_ENV_SETTINGS \
+   loadaddr=0x8020\0 \
+-  rdaddr=0x8160\0 \
++  rdaddr=0x8100\0 \
+   usbtty=cdc_acm\0 \
+   console=ttyS2,115200n8\0 \
+   optargs=\0 \
+@@ -217,7 +218,7 @@
+   mmcrootfstype=ext3 rootwait\0 \
+   nandroot=/dev/mtdblock4 rw\0 \
+   nandrootfstype=jffs2\0 \
+-  ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0 \
++  ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x8100,64M\0 \
+   ramrootfstype=ext2\0 \
+   mmcargs=setenv bootargs console=${console}  \
+   ${optargs}  \
+@@ -301,11 +302,11 @@
+ #define CONFIG_SYS_HUSH_PARSER/* use hush command parser */
+ #define CONFIG_SYS_PROMPT_HUSH_PS2 
+ #define CONFIG_SYS_PROMPT OMAP3 beagleboard.org # 
+-#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
++#define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
+ /* Print Buffer Size */
+ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
+   sizeof(CONFIG_SYS_PROMPT) + 16)
+-#define CONFIG_SYS_MAXARGS16  /* max number of command args */
++#define CONFIG_SYS_MAXARGS32  /* max number of command args */
+ /* Boot Argument Buffer Size */
+ #define CONFIG_SYS_BARGSIZE   (CONFIG_SYS_CBSIZE)
+ 
+-- 
+1.5.6.4
+
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index f82f570..ae47ee5 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
 require u-boot.inc
-PR =r64
+PR =r67
 
 FILESPATHPKG =. u-boot-git:
 
@@ -72,6 +72,7 @@ SRC_URI_beagleboard = 
git://www.denx.de/git/u-boot.git;protocol=git \
file://0045-BeagleBoard-Enable-pullups-on-i2c2.patch \

file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \
   file://0001-BeagleBoard-move-ramdisk-parameters.patch \
+  
file://0001-beagleboard-improved-boot-env-var-setting.patch \
file://fw_env.config \
 
 SRCREV_beagleboard = ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot: beagleboard: use user.scr when no boot.scr

2010-08-22 Thread Jason Kridner
Even if the USER button isn't pressed.  Still don't default to ramdisk
unless the USER button is pressed.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 ...rd-try-user.scr-even-if-USER-isn-t-presse.patch |   63 
 recipes/u-boot/u-boot_git.bb   |3 +-
 2 files changed, 65 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-try-user.scr-even-if-USER-isn-t-presse.patch

diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-try-user.scr-even-if-USER-isn-t-presse.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-try-user.scr-even-if-USER-isn-t-presse.patch
new file mode 100644
index 000..ebc1831
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-try-user.scr-even-if-USER-isn-t-presse.patch
@@ -0,0 +1,63 @@
+From dcbcbcded81e92a30081663371e2bd458ecccaba Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Fri, 20 Aug 2010 15:40:33 -0500
+Subject: [PATCH] beagleboard: try user.scr, even if USER isn't pressed
+
+But only do so after looking for boot.scr.
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ include/configs/omap3_beagle.h |   33 -
+ 1 files changed, 16 insertions(+), 17 deletions(-)
+
+diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
+index 6bc992c..978b41a 100644
+--- a/include/configs/omap3_beagle.h
 b/include/configs/omap3_beagle.h
+@@ -272,27 +272,26 @@
+   setenv bootscr user.scr; \
+   if run loadbootscript; then  \
+   run bootscript;  \
+-  else  \
+-  if run loaduimage; then  \
+-  if run loadramdisk; then  \
+-  run ramboot;  \
+-  else  \
+-  run mmcboot;  \
+-  fi;  \
+-  fi;  \
+   fi;  \
+-  else  \
+-  setenv bootscr boot.scr;  \
+-  if run loadbootscript; then  \
+-  run bootscript;  \
+-  else  \
+-  if run loaduimage; then  \
+-  run mmcboot;  \
+-  else run nandboot;  \
++  if run loaduimage; then  \
++  if run loadramdisk; then  \
++  run ramboot;  \
+   fi;  \
++  run mmcboot;  \
+   fi;  \
+   fi;  \
+-  else run nandboot; fi
++  if run loadbootscript; then  \
++  run bootscript;  \
++  fi;  \
++  setenv bootscr user.scr; \
++  if run loadbootscript; then  \
++  run bootscript;  \
++  fi;  \
++  if run loaduimage; then  \
++  run mmcboot;  \
++  fi;  \
++  fi;  \
++  run nandboot;
+ 
+ #define CONFIG_AUTO_COMPLETE  1
+ /*
+-- 
+1.5.6.4
+
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index ae47ee5..90978f8 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
 require u-boot.inc
-PR =r67
+PR =r68
 
 FILESPATHPKG =. u-boot-git:
 
@@ -73,6 +73,7 @@ SRC_URI_beagleboard = 
git://www.denx.de/git/u-boot.git;protocol=git \

file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \
   file://0001-BeagleBoard-move-ramdisk-parameters.patch \
   
file://0001-beagleboard-improved-boot-env-var-setting.patch \
+  
file://0001-beagleboard-try-user.scr-even-if-USER-isn-t-presse.patch \
file://fw_env.config \
 
 SRCREV_beagleboard = ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: add sox dependencies

2010-08-22 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index 71cbbab..e6c2c7e 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -23,6 +23,8 @@ IMAGE_INSTALL +=  \
   kernel-module-g-ether \
   u-boot-mkimage \
   sox \
+  libsndfile1 \
+  libsamplerate0 \
   devmem2 \
   ti-dsplink-examples \
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] angstrom-uboot-scripts: beagleboard: use XGA and toggle LEDs

2010-08-22 Thread Jason Kridner
* set dvimode to 1024x768
* add tty0 to console=
* toggle LEDs
** led 0 and 1 are on by default in u-boot
** turn led 1 off at start
** turn led 0 off at end of ramdisk load
** turn led 1 on again just before boot

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/angstrom/angstrom-uboot-scripts.bb |2 +-
 .../beagleboard-validation-user.cmd|6 ++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb 
b/recipes/angstrom/angstrom-uboot-scripts.bb
index 020a7af..497bd79 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = Various uboot scripts
 
-PR = r10
+PR = r11
 
 DEPENDS = u-boot-mkimage-native
 
diff --git 
a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd 
b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
index 971b96e..7a7939a 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/beagleboard-validation-user.cmd
@@ -1,4 +1,8 @@
+led 1 off
 mmc init
+setenv dvimode 1024x768mr...@60
+setenv vram 16M omapfb.vram=0:8M,1:4M,2:4M
+setenv console tty0 console=ttyS2,115200n8
 if test ${beaglerev} = AxBx; then
 setenv rdaddr 0x8100
 setenv optargs mem=...@0x8000 musb_hdrc.fifomode=5
@@ -12,6 +16,8 @@ setenv ramroot /dev/ram0 rw ramdisk_size=131072 
initrd=${rdaddr},128M
 setenv optargs mem=...@0x8000 mem=3...@0x8800
 fi
 run loadramdisk
+led 0 off
 run loaduimage
+led 1 on
 run ramboot
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard.conf: get a console prompt on the monitor

2010-08-22 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 conf/machine/beagleboard.conf |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
index 579bcc6..91c4129 100644
--- a/conf/machine/beagleboard.conf
+++ b/conf/machine/beagleboard.conf
@@ -24,6 +24,9 @@ EXTRA_IMAGECMD_jffs2 = -lnp 
 # Guesswork
 SERIAL_CONSOLE = 115200 ttyS2
 
+USE_VT = 1
+SYSVINIT_ENABLED_GETTYS = 0
+
 UBOOT_MACHINE = omap3_beagle_config
 
 # do ubiattach /dev/ubi_ctrl -m 4
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] beagleboard-test-image: eliminate splash screen

2010-08-22 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/images/beagleboard-test-image.bb |   16 ++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/recipes/images/beagleboard-test-image.bb 
b/recipes/images/beagleboard-test-image.bb
index e6c2c7e..c5a300c 100644
--- a/recipes/images/beagleboard-test-image.bb
+++ b/recipes/images/beagleboard-test-image.bb
@@ -1,9 +1,18 @@
 # this image was created for use with the BeagleBoard for diagnostics
 # for creating a small ramdisk image
 
-require minimal-image.bb
+ANGSTROM_EXTRA_INSTALL ?= 
+DISTRO_SSH_DAEMON ?= dropbear
+
+IMAGE_PREPROCESS_COMMAND = create_etc_timestamp
 
 IMAGE_INSTALL +=  \
+  task-boot \
+  ${DISTRO_SSH_DAEMON} \
+  ${ANGSTROM_EXTRA_INSTALL} \
+  angstrom-version \
+  util-linux-ng-mount \
+  util-linux-ng-umount \
   dosfstools \
   e2fsprogs \
   e2fsprogs-mke2fs \
@@ -30,9 +39,12 @@ IMAGE_INSTALL +=  \
 
 
 export IMAGE_BASENAME = beagleboard-test-image
+IMAGE_LINGUAS = 
+
+inherit image
 
 EXTRA_IMAGEDEPENDS += x-load u-boot virtual/kernel
-IMAGE_FSTYPES += ext2.gz cpio.gz.u-boot
+IMAGE_FSTYPES = ext2.gz
 IMAGE_ROOTFS_SIZE_ext2 = 131072
 EXTRA_IMAGECMD_ext2.gz += -i 8192
 
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] beagleboard-demo-image: update for xM demo shipped with board

2010-08-23 Thread Jason Kridner
On Mon, Aug 23, 2010 at 4:48 AM, Koen Kooi k.k...@student.utwente.nl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 22-08-10 21:28, Jason Kridner wrote:

 * removed e-wm

 please don't do that.

What is the right way to build an image that can switch window managers?



 * qt4-tools-sdk and task-sdk-host don't produce target installs

 Duh, those have 'sdk' in their name so they are for the sdk

If you want to write a manual on how OE is organized and respond RTFM,
then I'd accept the duh.  'sdk' to me did not necessarily imply
cross-tools.  Excuse me for putting in notes about things that I
learned.


 * removed gpe, because it conflicted with gtk

 That makes no sense, gpe is based on gtk

I'll put it back to pull up the error, but there was a gpe-X package
and a gtk-X package that conflicted.


 * remove qmake2 and qt4-tools since they aren't building

 Builds fine over here.

I'll put them back and fight through the build issues.


 So: NAK
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Darwin)

 iD8DBQFMcjXSMkyGM64RGpERAmOIAKCLtz0ff7UpLJggQ3ooFThaZmpwbwCfQYSy
 A4xbapvXK3Q2j0hs+0y8lmk=
 =cNh4
 -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] [PATCH] base-files: beagleboard: profile: use nano

2010-08-23 Thread Jason Kridner
On Mon, Aug 23, 2010 at 4:43 AM, Koen Kooi k.k...@student.utwente.nl wrote:
 On 20-08-10 00:17, Jason Kridner wrote:
 If nano is available and EDITOR isn't otherwise set, then use it.
 Advanced users who would prefer vi will know how to set EDITOR anyway.
 I can clearly see myself being frustrated typing 'export EDITOR=vi'
 every time I start a BeagleBoard test ramdisk image, but better me have
 that than to try to explain to someone fresh how to use vi.

 Updated with feedback from Gary Thomas to avoid overwriting anyone
 else's preference.


 NAK, this is a distro setting, not a machine setting.

Would this be accepted if it were a patch to Angstrom?

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH v2] beagleboard.conf: get a console prompt on the monitor

2010-08-23 Thread Jason Kridner
Bump sysvinit PR and enable the right GETTYS for BeagleBoard.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---

 conf/machine/beagleboard.conf |3 +++
 recipes/sysvinit/sysvinit_2.86.bb |2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/conf/machine/beagleboard.conf b/conf/machine/beagleboard.conf
index ce48019..0e35e04 100644
--- a/conf/machine/beagleboard.conf
+++ b/conf/machine/beagleboard.conf
@@ -23,6 +23,9 @@ EXTRA_IMAGECMD_jffs2 = -lnp 
 # Guesswork
 SERIAL_CONSOLE = 115200 ttyS2
 
+USE_VT = 1
+SYSVINIT_ENABLED_GETTYS = 0
+
 UBOOT_MACHINE = omap3_beagle_config
 
 # do ubiattach /dev/ubi_ctrl -m 4
diff --git a/recipes/sysvinit/sysvinit_2.86.bb 
b/recipes/sysvinit/sysvinit_2.86.bb
index 40c642a..51f229f 100644
--- a/recipes/sysvinit/sysvinit_2.86.bb
+++ b/recipes/sysvinit/sysvinit_2.86.bb
@@ -2,7 +2,7 @@ DESCRIPTION = System-V like init.
 SECTION = base
 LICENSE = GPLv2+
 HOMEPAGE = http://freshmeat.net/projects/sysvinit/;
-PR = r58
+PR = r59
 
 # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
 # Set PACKAGE_ARCH appropriately.
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] u-boot: BeagleBoard: add rev xM-C detection

2011-04-01 Thread Jason Kridner

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 ...0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch |   68 
 recipes/u-boot/u-boot_git.bb   |3 +-
 2 files changed, 70 insertions(+), 1 deletions(-)
 create mode 100644 
recipes/u-boot/u-boot-git/beagleboard/0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch

diff --git 
a/recipes/u-boot/u-boot-git/beagleboard/0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch
 
b/recipes/u-boot/u-boot-git/beagleboard/0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch
new file mode 100644
index 000..1125c88
--- /dev/null
+++ 
b/recipes/u-boot/u-boot-git/beagleboard/0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch
@@ -0,0 +1,68 @@
+From fd6e8e5ca04fea310ff4f03faa7747d061217cba Mon Sep 17 00:00:00 2001
+From: Jason Kridner jkrid...@beagleboard.org
+Date: Wed, 30 Mar 2011 10:44:17 -0500
+Subject: [PATCH] BeagleBoard: add xM rev C to ID table
+Cc: Sandeep Paulraj s-paul...@ti.com
+
+A simple addition to the revision IDs.
+
+This patch depends upon http://patchwork.ozlabs.org/patch/85303/.
+
+Signed-off-by: Jason Kridner jkrid...@beagleboard.org
+---
+ board/ti/beagle/beagle.c |   12 
+ board/ti/beagle/beagle.h |1 +
+ 2 files changed, 13 insertions(+), 0 deletions(-)
+
+diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
+index 905b151..0596443 100644
+--- a/board/ti/beagle/beagle.c
 b/board/ti/beagle/beagle.c
+@@ -168,6 +168,7 @@ void display_init(void)
+   break;
+   case REVISION_XM_A:
+   case REVISION_XM_B:
++  case REVISION_XM_C:
+   default:
+   omap3_dss_panel_config(dvid_cfg_xm);
+   break;
+@@ -227,6 +228,16 @@ int misc_init_r(void)
+   TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
+   TWL4030_PM_RECEIVER_DEV_GRP_P1);
+   break;
++  case REVISION_XM_C:
++  printf(Beagle xM Rev C\n);
++  setenv(beaglerev, xMC);
++  MUX_BEAGLE_XM();
++  /* Set VAUX2 to 1.8V for EHCI PHY */
++  twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX2_DEDICATED,
++  TWL4030_PM_RECEIVER_VAUX2_VSEL_18,
++  TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
++  TWL4030_PM_RECEIVER_DEV_GRP_P1);
++  break;
+   default:
+   printf(Beagle unknown 0x%02x\n, get_board_revision());
+   MUX_BEAGLE_XM();
+@@ -372,6 +383,7 @@ int do_userbutton (cmd_tbl_t *cmdtp, int flag, int argc, 
char *argv[])
+   break;
+   case REVISION_XM_A:
+   case REVISION_XM_B:
++  case REVISION_XM_C:
+   default:
+   gpio = 4;
+   break;
+diff --git a/board/ti/beagle/beagle.h b/board/ti/beagle/beagle.h
+index bdf2a6f..f31ce31 100644
+--- a/board/ti/beagle/beagle.h
 b/board/ti/beagle/beagle.h
+@@ -41,6 +41,7 @@ const omap3_sysinfo sysinfo = {
+ #define REVISION_C4   0x5
+ #define REVISION_XM_A 0x0
+ #define REVISION_XM_B 0x1
++#define REVISION_XM_C 0x2
+ 
+ /*
+  * IEN  - Input Enable
+-- 
+1.5.6.4
+
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index b99e650..9c5fa13 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
 require u-boot.inc
-PR = r74
+PR = r75
 
 FILESPATHPKG =. u-boot-git:
 
@@ -42,6 +42,7 @@ SRC_URI_beagleboard = 
git://www.denx.de/git/u-boot.git;protocol=git \

file://0014-Corrected-LED-name-match-finding-avoiding-extraneous.patch \

file://0015-omap3_beagle-Switch-default-console-from-ttyS2-to-tt.patch \

file://0016-BeagleBoard-Load-kernel-via-MMC-ext2-not-fat.patch \
+  file://0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch \
file://fw_env.config \
 
 SRCREV_beagleboard = c7977858dcf1f656cbe91ea0dc3cb9139c6a8cc8
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] avrgal: add recipe for avrgal-1.0

2011-04-03 Thread Jason Kridner
Avrgal is a hacked light version of avrdude intended to make it easier
to cross compile and use for uploading programs to the Arduino
boootloader.

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
---
 recipes/avrgal/avrgal_1.0.bb |   20 
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 recipes/avrgal/avrgal_1.0.bb

diff --git a/recipes/avrgal/avrgal_1.0.bb b/recipes/avrgal/avrgal_1.0.bb
new file mode 100644
index 000..f6f6f37
--- /dev/null
+++ b/recipes/avrgal/avrgal_1.0.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = AVRGAL is a hacked light version of AVRDUDE intended to make it 
easier to cross compile and use for uploading programs to the Arduino 
boootloader
+HOMEPAGE = http://elinux.org/Avrgal;
+SECTION = console
+LICENSE = GPLv2
+
+DEPENDS = virtual/libusb0 ncurses
+
+SRC_URI = http://elinux.org/images/8/8a/Avrgal.tar.gz;
+
+inherit autotools
+
+TARGET_CC_ARCH += ${LDFLAGS}
+
+do_install() {
+   mkdir -p ${D}${bindir}
+   install -m 0755 ${S}/avrgal ${D}${bindir}
+}
+
+SRC_URI[md5sum] = 7af51d301edf8548314d28d6d2cc1bc0
+SRC_URI[sha256sum] = 
43bc8442ea9c0df2a5e172cea8630969c541025587eb8c81f0eb703ac6a2d709
-- 
1.5.6.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel