[Angstrom-devel] Koen Kooi : angstrom: filter out 'all' in overrides

2011-06-15 Thread Angstrom Git Repos
Module: meta-angstrom
Branch: master
Commit: eb6bb656ac1619ab37e243d20630b407992e331a

Author: Koen Kooi k...@dominion.thruhere.net
Date:   Wed Jun 15 11:25:09 2011 +0200

angstrom: filter out 'all' in overrides

This fixes build and parse errors where tasks had '_all' as substring

Signed-off-by: Koen Kooi k...@dominion.thruhere.net

---

 conf/distro/include/angstrom.inc |   21 +++--
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc
index 532e4bb..fd3c7b8 100644
--- a/conf/distro/include/angstrom.inc
+++ b/conf/distro/include/angstrom.inc
@@ -17,8 +17,17 @@ SOC_FAMILY ?= Unknown
 # Yocto work around for missing ONLINE_PACKAGE_MANAGEMENT support
 ONLINE_PACKAGE_MANAGEMENT = full
 
-# Add FEED_ARCH and SOC_FAMILY to machine overrides
-MACHINEOVERRIDES .= :${FEED_ARCH}:${SOC_FAMILY}
+#Set the right arch for the feeds
+#Alphabetically sorted
+
+FEED_ARCH ?= ${BASE_PACKAGE_ARCH}
+
+#blackfin machines
+FEED_ARCH_bfin  = blackfin
+
+# Add FEED_ARCH and SOC_FAMILY to machine overrides so we get access to e.g. 
'armv7a' and 'omap3'
+# Hopefully we'll never see a machine or arch with 'all' as substring
+MACHINEOVERRIDES .= :${@bb.data.getVar('FEED_ARCH', 
d,1).replace('all','noarch')}:${SOC_FAMILY}
 
 # Put links to sources in deploy/sources to make it easier for people to be 
GPL compliant
 #INHERIT += src_distribute_local
@@ -156,14 +165,6 @@ INHERIT += image-prelink
 TARGET_CC_ARCH_pn-webkit-gtk_armv5te = -march=armv4t
 TARGET_CC_ARCH_pn-cairo_armv5te = -march=armv4t
 
-#Set the right arch for the feeds
-#Alphabetically sorted
-
-FEED_ARCH ?= ${BASE_PACKAGE_ARCH}
-
-#blackfin machines
-FEED_ARCH_bfin  = blackfin
-
 #Name the generated images in a sane way
 IMAGE_NAME = 
${DISTRO_NAME}-${IMAGE_BASENAME}-${TCLIBC}-${ANGSTROM_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}
 DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE}


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Problem efl-nodm-image with angstrom and oe-core branch

2011-06-15 Thread Koen Kooi

Op 14 jun 2011, om 17:12 heeft Nicolas Aguirre het volgende geschreven:

 2011/6/14 Koen Kooi k...@dominion.thruhere.net:
 
 Op 14 jun 2011, om 14:58 heeft Nicolas Aguirre het volgende geschreven:
 
 Hi,
 i'm trying to build the efl-nodm-image of the oe-core branch, but i'm
 facing some problems.
 
 E17 won't start and fails with error : *** glibc detected ***
 /usr/bin/enlightenment: munmap_chunk(): invali pointer: 0x00d5f740 ***
 This image uses EFL 1.0 and related SVN revision of e17 and modules. I
 tried to change and use the angstrom's svn version of EFL and e17 ,
 but the problem is the same.
 I made another test by changing the SVN revision number to a recent
 version (i used 60100 as revision number) but error is still here.
 This revision is working pretty well for me on x86 ubuntu desktop.
 
 For me it starts up, but gives me the I segfaulted screen after the first 
 run wizard.
 
 Next step is to execute enlightenment with gdb to find where the
 problem is. But i have not idea how to integrate it on my image. I
 built it successfully on my build machine and add it in IMAGE_INSTALL
 var of my efl-no-dm image. But there is maybe a better solution ?
 
 Add gdb and ewm-dbg to IMAGE_INSTALL to get the symbols as well
 
 I tryed to opkg install gdb on the target, but it's not found in 
 repositories.
 I would like to have your advices on this :)
 
 I'll try uploading gdb and friends to the feeds later today.

gdb is in now.
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] Koen Kooi : systemd-gnome-image: convert to angstrom-task-gnome

2011-06-15 Thread Angstrom Git Repos
Module: meta-angstrom
Branch: master
Commit: d20270c2082cd57e2ac93e3008c5a3fd5d90d8ff

Author: Koen Kooi k...@dominion.thruhere.net
Date:   Wed Jun 15 19:53:17 2011 +0200

systemd-gnome-image: convert to angstrom-task-gnome

Signed-off-by: Koen Kooi k...@dominion.thruhere.net

---

 recipes-angstrom/images/systemd-gnome-image.bb |   29 +---
 1 files changed, 6 insertions(+), 23 deletions(-)

diff --git a/recipes-angstrom/images/systemd-gnome-image.bb 
b/recipes-angstrom/images/systemd-gnome-image.bb
index 5efbcc8..f5493da 100644
--- a/recipes-angstrom/images/systemd-gnome-image.bb
+++ b/recipes-angstrom/images/systemd-gnome-image.bb
@@ -1,29 +1,12 @@
 require systemd-image.bb
 
-XSERVER ?= xserver-xorg \
-   xf86-input-evdev \
-   xf86-input-mouse \
-   xf86-video-fbdev \
-   xf86-input-keyboard \
-
-
 IMAGE_INSTALL +=  \
-   gnome-settings-daemon gnome-control-center \
-   gdm-systemd angstrom-gdm-autologin-hack \
-   connman-gnome connman-plugin-ntpd \
-   gnome-panel \
-   gnome-icon-theme angstrom-gnome-icon-theme-enable \
-   gtk-engine-clearlooks gtk-theme-clearlooks \
-   gnome-themes \
-   upower udisks \
-   gnome-disk-utility \
-   nautilus \
-   matchbox-terminal \
-   gpe-scap \
-   ${XSERVER} \
-   xset xhost xauth xrdb \
-   x11vnc \
-   bash \
+   task-gnome \
+   task-gnome-apps \
+   task-gnome-themes \
+   task-gnome-xserver-base \
+   task-gnome-xserver \
+   task-gnome-fonts \
 
 
 export IMAGE_BASENAME = systemd-GNOME-image


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] USB trouble with Beagleboard C4 and 2Gb 2010.3 image

2011-06-15 Thread Koen Kooi
the ehci is USB 2.0 only, so for keyboards you'll need a hub

Op 15 jun. 2011 om 20:31 heeft Darren Hart dvh...@linux.intel.com het 
volgende geschreven:

 I'm trying to verify if my Beagleboard C4 may have a hardware problem. I 
 haven't
 been able to get the EHCI USB hub to recognize any devices on a linux-omap
 2.6.37 based kernel. I thought I should see if things worked with Angstrom.
 Using the image from:
 http://www.angstrom-distribution.org/demo/beagleboard/sd-images/2gb/Angstrom-Beagleboard-demo-image-glibc-ipk-2010.3-beagleboard.sd-image-2GiB.img.bz2
 
 I see the following after inserting a USB RF tranceiver for a wireless
 keyboard/mouse. I see the same with a simple wired USB optical mouse.
 
 root@beagleboard:~# lsusb
 [  408.834106] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
 [  411.912139] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
 [  414.990509] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
 [  418.068481] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
 [  418.075531] hub 1-0:1.0: unable to enumerate USB device on port 2
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
 I was able to insert a USB key and see the partitions appear in
 /proc/partitions, which is more than I got with my 2.6.37 kernel. However, the
 keyboard is not recognized and the warnings above concern me. This device 
 works
 fine in an xM. I wasn't able to test with Angstrom on the xM as this same 
 image
 fails to boot there - perhaps there is a newer one available somewhere?
 
 Given the above, should I pursue the possibility of faulty hardware on my C4?
 
 I am powering the board with a 5v 2.5A AC/DC adapter. The same behavior 
 results
 powering over musb with a wall plug source.
 
 -- 
 Darren Hart
 Intel Open Source Technology Center
 Yocto Project - Linux Kernel

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] USB trouble with Beagleboard C4 and 2Gb 2010.3 image

2011-06-15 Thread Jason Kridner
On Wed, Jun 15, 2011 at 3:38 PM, Darren Hart dvh...@linux.intel.com wrote:

 On 06/15/2011 12:07 PM, Koen Kooi wrote:
  the ehci is USB 2.0 only, so for keyboards you'll need a hub

 I just tried plugging in an external powered hub and plugged the mouse
 and the RF tranceiver into it.

 After having tried the devices in the onboard port there seems to be no
 response from the external hub at all. The USB key no longer works
 either. Something seems wedged:

 # lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 After a full power cycle I connected the mouse, the transceiver, and the
 usb key all to the external hub, then connected the hub to the onboard
 ehci port. It recognized them all, and X picked up the mouse. So the
 onboard port still seems to be able to get wedged after trying 1.0
 peripherals in it, but it does work using an external hub after a clean
 boot.


Thanks for the confirmation and issue report.  Just for the record, I don't
think we'll put any energy into trying to recover from connecting a
non-high-speed device on a pre-xM, but I welcome encouragement to fix the
issue if someone thinks it is a significant problem.

Aside: it seems people are really reluctant to Cc:
beaglebo...@googlegroups.com.  I see this issue on the MeeGo and Linaro
lists all the time.  I don't want to just jump that list in on the middle of
the discussion, but it seems this sort of information would be handy in the
archives of that list--even though it is a FAQ.



 Thanks!

 --
 Darren Hart
 Intel Open Source Technology Center
 Yocto Project - Linux Kernel

 
  Op 15 jun. 2011 om 20:31 heeft Darren Hart dvh...@linux.intel.com het
 volgende geschreven:
 
  I'm trying to verify if my Beagleboard C4 may have a hardware problem. I
 haven't
  been able to get the EHCI USB hub to recognize any devices on a
 linux-omap
  2.6.37 based kernel. I thought I should see if things worked with
 Angstrom.
  Using the image from:
 
 http://www.angstrom-distribution.org/demo/beagleboard/sd-images/2gb/Angstrom-Beagleboard-demo-image-glibc-ipk-2010.3-beagleboard.sd-image-2GiB.img.bz2
 
  I see the following after inserting a USB RF tranceiver for a wireless
  keyboard/mouse. I see the same with a simple wired USB optical mouse.
 
  root@beagleboard:~# lsusb
  [  408.834106] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable
 is bad?
  [  411.912139] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable
 is bad?
  [  414.990509] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable
 is bad?
  [  418.068481] hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable
 is bad?
  [  418.075531] hub 1-0:1.0: unable to enumerate USB device on port 2
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
  I was able to insert a USB key and see the partitions appear in
  /proc/partitions, which is more than I got with my 2.6.37 kernel.
 However, the
  keyboard is not recognized and the warnings above concern me. This
 device works
  fine in an xM. I wasn't able to test with Angstrom on the xM as this
 same image
  fails to boot there - perhaps there is a newer one available somewhere?
 
  Given the above, should I pursue the possibility of faulty hardware on
 my C4?
 
  I am powering the board with a 5v 2.5A AC/DC adapter. The same behavior
 results
  powering over musb with a wall plug source.
 
  --
  Darren Hart
  Intel Open Source Technology Center
  Yocto Project - Linux Kernel



___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel