[Angstrom-devel] Denys Dmytriyenko : preferred-versions: update mesa version to 7. 11 to match oe-core

2011-10-19 Thread Angstrom Git Repos
Module: meta-angstrom
Branch: master
Commit: a4114a7f15a015659ca39ead299fb297269e90bd

Author: Denys Dmytriyenko de...@ti.com
Date:   Tue Oct 18 15:26:48 2011 -0400

preferred-versions: update mesa version to 7.11 to match oe-core

Signed-off-by: Denys Dmytriyenko de...@ti.com
Signed-off-by: Koen Kooi k...@dominion.thruhere.net

---

 .../include/angstrom-2010-preferred-versions.inc   |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/distro/include/angstrom-2010-preferred-versions.inc 
b/conf/distro/include/angstrom-2010-preferred-versions.inc
index d169563..7651cea 100644
--- a/conf/distro/include/angstrom-2010-preferred-versions.inc
+++ b/conf/distro/include/angstrom-2010-preferred-versions.inc
@@ -1,4 +1,4 @@
-ANGSTROM_MESA_VERSION = 7.10.2
+ANGSTROM_MESA_VERSION = 7.11
 ANGSTROM_QT_VERSION ?= 4.7.4
 ANGSTROM_LIBTOOL_VERSION = 2.4
 # Use new sysroot feature


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


[Angstrom-devel] Denys Dmytriyenko : preferred-versions: update tiff version to 3.9. 5 to match oe-core

2011-10-19 Thread Angstrom Git Repos
Module: meta-angstrom
Branch: master
Commit: 3dc02ecc7ee7d9e03b03025ddf4436f9ee8029fb

Author: Denys Dmytriyenko de...@ti.com
Date:   Tue Oct 18 15:32:55 2011 -0400

preferred-versions: update tiff version to 3.9.5 to match oe-core

Signed-off-by: Denys Dmytriyenko de...@ti.com
Signed-off-by: Koen Kooi k...@dominion.thruhere.net

---

 .../include/angstrom-2010-preferred-versions.inc   |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/distro/include/angstrom-2010-preferred-versions.inc 
b/conf/distro/include/angstrom-2010-preferred-versions.inc
index 7651cea..7caa67b 100644
--- a/conf/distro/include/angstrom-2010-preferred-versions.inc
+++ b/conf/distro/include/angstrom-2010-preferred-versions.inc
@@ -58,7 +58,7 @@ PREFERRED_VERSION_qt4-x11-free = ${ANGSTROM_QT_VERSION}
 PREFERRED_VERSION_qt4-x11-free-gles = ${ANGSTROM_QT_VERSION}
 
 PREFERRED_VERSION_samba= 3.5.6
-PREFERRED_VERSION_tiff = 3.8.2
+PREFERRED_VERSION_tiff = 3.9.5
 
 UDEV_GE_141 = 1
 


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


Re: [Angstrom-devel] Easy way to remove x11 from DISTRO_FEATURES?

2011-10-19 Thread Koen Kooi
Applied, thanks!

Op 19 okt. 2011, om 02:41 heeft Denys Dmytriyenko het volgende geschreven:

 On Tue, Oct 18, 2011 at 04:15:38PM -0600, Gary Thomas wrote:
 On 2011-10-18 16:08, Khem Raj wrote:
 On (18/10/11 21:04), Daniel Lazzari wrote:
 Hey everyone,
 
 We are trying to build something of a custom distro on top of 
 Angstrom-core and need to remove x11 from the DISTRO_FEATURES as it 
 breaks dbus (since we aren't shipping x11). I can just comment it out in 
 angstrom.inc, but that requires editing files in meta-angstrom, which is 
 not our layer. Anyone know of a good way of removing this by only using 
 files in our own layer?
 
 If you are using layer based angstrom(using oe-core and other layers) then 
 its easier where you can
 specify your layer with highest layer priority and ahead of other layers 
 for
 BBPATH then it will pick your layer first when it searches for recipes.
 
 in conf/distro/include/angstrom.inc we have
 
 DISTRO_FEATURES += x11
 
 you could comment that out.
 
 
 I think the point was to not have to modify the common/public layer.
 n.b. I'm interested in the same thing for my own distro.
 
 I use the following code a lot in Arago[1] for different list manipulations:
 
 DISTRO_FEATURES := ${@oe_filter_out('x11', bb.data.getVar('DISTRO_FEATURES', 
 d, 1), d)}
 
 Just be careful as oe_filter_out() seems to match the substring, unless you 
 specify it as regex, so all values beginning with x11* will be filtered out.
 
 [1] 
 http://arago-project.org/git/?p=arago.git;a=blob;f=recipes/qt4/qt4-embedded-4.7.2/amend.inc;h=5c053a76dc1607646782d7604145b4120c93770b;hb=refs/heads/next
 
 -- 
 Denys
 
 ___
 Angstrom-distro-devel mailing list
 Angstrom-distro-devel@linuxtogo.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


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


Re: [Angstrom-devel] Koen Kooi : update-rc.d 0.7: don't let update-rc. d start initscripts when systemd is present

2011-10-19 Thread Steffen Sledz
On 18.10.2011 14:24, Angstrom Git Repos wrote:
 Module: meta-angstrom
 Branch: master
 Commit: 36a550b314ebb0c30d1c0e565ded197a8682c025
 
 Author: Koen Kooi k...@dominion.thruhere.net
 Date:   Tue Oct 18 13:47:58 2011 +0200
 
 update-rc.d 0.7: don't let update-rc.d start initscripts when systemd is 
 present
 
 This should cleanup the error messages shown at first boot a lot

It is possible to install systemd package into an existing installation. Right?

If yes you need to disable starting of all relevant initscripts within the 
systemd postinst too.

Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sl...@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058

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


Re: [Angstrom-devel] Koen Kooi : update-rc.d 0.7: don't let update-rc. d start initscripts when systemd is present

2011-10-19 Thread Koen Kooi

Op 19 okt. 2011, om 09:54 heeft Steffen Sledz het volgende geschreven:

 On 18.10.2011 14:24, Angstrom Git Repos wrote:
 Module: meta-angstrom
 Branch: master
 Commit: 36a550b314ebb0c30d1c0e565ded197a8682c025
 
 Author: Koen Kooi k...@dominion.thruhere.net
 Date:   Tue Oct 18 13:47:58 2011 +0200
 
 update-rc.d 0.7: don't let update-rc.d start initscripts when systemd is 
 present
 
 This should cleanup the error messages shown at first boot a lot
 
 It is possible to install systemd package into an existing installation. 
 Right?
 
 If yes you need to disable starting of all relevant initscripts within the 
 systemd postinst too.

Systemd itself already takes care of that since it's /sbin/init after 
installation :)
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] task-base(-extended) missing in systemd-image based images?

2011-10-19 Thread Andreas Müller
just finished a build of xfce-nm-image.bb and was surprised of small size.
I checked and found that all the recipes included in my machine conf by

MACHINE_EXTRA_RRECOMMENDS = ..

are missing in the image ( in my case kernel-modules! ). These are included
by task-base.bb. Is it possible that this is missing in  systemd-image based 
images?

Andreas


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


[Angstrom-devel] [PATCH meta-ti] linux-ti33x-psp 3.1rc8: Add pin mux and init for beaglebone specific devices

2011-10-19 Thread Joel A Fernandes
Currently added for following:
  * User LEDs (added by Koen Kooi k-k...@ti.com)
  * BeagleBone tester

Build and run time tested.

Signed-off-by: Joel A Fernandes joelag...@ti.com
---
 ...pin-mux-and-init-for-beaglebone-specific-.patch |  109 
 ...5x-evm-hack-in-LED-support-for-beaglebone.patch |  109 
 recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb  |4 +-
 3 files changed, 111 insertions(+), 111 deletions(-)
 create mode 100644 
recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
 delete mode 100644 
recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-evm-hack-in-LED-support-for-beaglebone.patch

diff --git 
a/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
 
b/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
new file mode 100644
index 000..b043ce9
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
@@ -0,0 +1,109 @@
+From f658d7975f2e7232786190002ddd24d6b92ba965 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko de...@ti.com
+Date: Mon, 17 Oct 2011 02:00:39 -0400
+Subject: [PATCH] am335x-evm: hack in LED support for beaglebone
+
+Signed-off-by: Koen Kooi k...@dominion.thruhere.net
+Signed-off-by: Denys Dmytriyenko de...@ti.com
+---
+ arch/arm/mach-omap2/board-am335xevm.c |   63 +
+ 1 files changed, 63 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c 
b/arch/arm/mach-omap2/board-am335xevm.c
+index 87eec7b..3a3c55b 100644
+--- a/arch/arm/mach-omap2/board-am335xevm.c
 b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -17,6 +17,7 @@
+ #include linux/i2c.h
+ #include linux/i2c/at24.h
+ #include linux/gpio.h
++#include linux/leds.h
+ #include linux/spi/spi.h
+ #include linux/spi/flash.h
+ #include linux/mtd/mtd.h
+@@ -588,6 +589,58 @@ static struct pinmux_config usb1_pin_mux[] = {
+   {NULL, 0},
+ };
+ 
++/* LEDS - gpio1_21 - gpio1_24 */
++
++#define BEAGLEBONE_USR1_LED  GPIO_TO_PIN(1, 21)
++#define BEAGLEBONE_USR2_LED  GPIO_TO_PIN(1, 22)
++#define BEAGLEBONE_USR3_LED  GPIO_TO_PIN(1, 23)
++#define BEAGLEBONE_USR4_LED  GPIO_TO_PIN(1, 24)
++
++static struct gpio_led gpio_leds[] = {
++  {
++  .name   = beaglebone::usr0,
++  .default_trigger= heartbeat,
++  .gpio   = BEAGLEBONE_USR1_LED,
++  },
++  {
++  .name   = beaglebone::usr1,
++  .default_trigger= mmc0,
++  .gpio   = BEAGLEBONE_USR2_LED,
++  },
++  {
++  .name   = beaglebone::usr2,
++  .gpio   = BEAGLEBONE_USR3_LED,
++  },
++  {
++  .name   = beaglebone::usr3,
++  .gpio   = BEAGLEBONE_USR4_LED,
++  },
++};
++
++static struct gpio_led_platform_data gpio_led_info = {
++  .leds   = gpio_leds,
++  .num_leds   = ARRAY_SIZE(gpio_leds),
++};
++
++static struct platform_device leds_gpio = {
++  .name   = leds-gpio,
++  .id = -1,
++  .dev= {
++  .platform_data  = gpio_led_info,
++  },
++};
++
++static struct platform_device *bone_devices[] __initdata = {
++  leds_gpio,
++};
++
++static struct pinmux_config boneled_pin_mux[] = {
++{gpmc_a5.rgmii2_td0, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, // gpio 21
++{gpmc_a6.rgmii2_tclk, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, // gpio22
++{gpmc_a7.rgmii2_rclk, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, // gpio23
++{gpmc_a8.rgmii2_rd3, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT}, // gpio 24
++};
++
+ /* Module pin mux for eCAP0 */
+ static struct pinmux_config ecap0_pin_mux[] = {
+   {ecap0_in_pwm0_out.gpio0_7, AM33XX_PIN_OUTPUT},
+@@ -696,6 +749,15 @@ static void tsc_init(int evm_id, int profile)
+   pr_err(failed to register touchscreen device\n);
+ }
+ 
++static void bone_leds_init(int evm_id, int profil )
++{
++  int err;
++  setup_pin_mux(boneled_pin_mux);
++  err = platform_add_devices(bone_devices, ARRAY_SIZE(bone_devices));
++  if (err)
++  pr_err(failed to register LEDS\n);
++}
++
+ static void rgmii1_init(int evm_id, int profile)
+ {
+   setup_pin_mux(rgmii1_pin_mux);
+@@ -1101,6 +1163,7 @@ static struct evm_dev_cfg beaglebone_dev_cfg[] = {
+   {usb0_init, DEV_ON_BASEBOARD, PROFILE_NONE},
+   {usb1_init, DEV_ON_BASEBOARD, PROFILE_NONE},
+   {mmc0_init, DEV_ON_BASEBOARD, PROFILE_NONE},
++  {bone_leds_init,  DEV_ON_BASEBOARD, PROFILE_ALL},
+   {NULL, 0, 0},
+ };
+ 
+-- 
+1.7.0.4
+
diff --git 
a/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-evm-hack-in-LED-support-for-beaglebone.patch
 

[Angstrom-devel] [PATCH v2 meta-ti] linux-ti33x-psp 3.1rc8: Add pin mux and init for beaglebone specific devices

2011-10-19 Thread Joel A Fernandes
Currently added for following:
  * User LEDs (added by Koen Kooi k-k...@ti.com)
  * BeagleBone tester

Build and run time tested.

Signed-off-by: Joel A Fernandes joelag...@ti.com
---
v2 changes:
Replaced correct patch

 ...pin-mux-and-init-for-beaglebone-specific-.patch |  132 
 ...5x-evm-hack-in-LED-support-for-beaglebone.patch |  109 
 recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb  |4 +-
 3 files changed, 134 insertions(+), 111 deletions(-)
 create mode 100644 
recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
 delete mode 100644 
recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-evm-hack-in-LED-support-for-beaglebone.patch

diff --git 
a/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
 
b/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
new file mode 100644
index 000..a501c8a
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch
@@ -0,0 +1,132 @@
+From 5be793dc9de7e694d9256396aecfdc136c8e2cf6 Mon Sep 17 00:00:00 2001
+From: Joel A Fernandes joelag...@ti.com
+Date: Mon, 17 Oct 2011 02:00:39 -0400
+Subject: [PATCH] am335x: Add pin mux and init for beaglebone specific devices
+
+Currently added for following:
+  * User LEDs (added by Koen Kooi k-k...@ti.com)
+  * BeagleBone tester
+
+Signed-off-by: Joel A Fernandes joelag...@ti.com
+---
+ arch/arm/mach-omap2/board-am335xevm.c |   69 +
+ arch/arm/mach-omap2/mux33xx.c |2 +-
+ 2 files changed, 70 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c 
b/arch/arm/mach-omap2/board-am335xevm.c
+index f625510..6beaa23 100644
+--- a/arch/arm/mach-omap2/board-am335xevm.c
 b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -17,6 +17,7 @@
+ #include linux/i2c.h
+ #include linux/i2c/at24.h
+ #include linux/gpio.h
++#include linux/leds.h
+ #include linux/spi/spi.h
+ #include linux/spi/flash.h
+ #include linux/mtd/mtd.h
+@@ -590,6 +591,61 @@ static struct pinmux_config usb1_pin_mux[] = {
+   {NULL, 0},
+ };
+ 
++/* LEDS - gpio1_21 - gpio1_24 */
++
++#define BEAGLEBONE_USR1_LED  GPIO_TO_PIN(1, 21)
++#define BEAGLEBONE_USR2_LED  GPIO_TO_PIN(1, 22)
++#define BEAGLEBONE_USR3_LED  GPIO_TO_PIN(1, 23)
++#define BEAGLEBONE_USR4_LED  GPIO_TO_PIN(1, 24)
++
++static struct gpio_led gpio_leds[] = {
++  {
++  .name   = beaglebone::usr0,
++  .default_trigger= heartbeat,
++  .gpio   = BEAGLEBONE_USR1_LED,
++  },
++  {
++  .name   = beaglebone::usr1,
++  .default_trigger= mmc0,
++  .gpio   = BEAGLEBONE_USR2_LED,
++  },
++  {
++  .name   = beaglebone::usr2,
++  .gpio   = BEAGLEBONE_USR3_LED,
++  },
++  {
++  .name   = beaglebone::usr3,
++  .gpio   = BEAGLEBONE_USR4_LED,
++  },
++};
++
++static struct gpio_led_platform_data gpio_led_info = {
++  .leds   = gpio_leds,
++  .num_leds   = ARRAY_SIZE(gpio_leds),
++};
++
++static struct platform_device leds_gpio = {
++  .name   = leds-gpio,
++  .id = -1,
++  .dev= {
++  .platform_data  = gpio_led_info,
++  },
++};
++
++static struct platform_device *bone_devices[] __initdata = {
++  leds_gpio,
++};
++
++static struct pinmux_config bone_pin_mux[] = {
++  /* User LED gpios (gpio1_21 to gpio1_24) */
++{gpmc_a5.rgmii2_td0, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
++{gpmc_a6.rgmii2_tclk, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
++{gpmc_a7.rgmii2_rclk, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
++{gpmc_a8.rgmii2_rd3, OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
++/* Grounding gpio1_6 (pin 3 Conn A) signals bone tester to start diag 
tests */
++{gpmc_ad6.gpio1_6, OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP},
++};
++
+ /* Module pin mux for eCAP0 */
+ static struct pinmux_config ecap0_pin_mux[] = {
+   {ecap0_in_pwm0_out.gpio0_7, AM33XX_PIN_OUTPUT},
+@@ -698,6 +754,18 @@ static void tsc_init(int evm_id, int profile)
+   pr_err(failed to register touchscreen device\n);
+ }
+ 
++/*
++ * Initialization of BeagleBone specific devices
++ */
++static void bone_init(int evm_id, int profil )
++{
++  int err;
++  setup_pin_mux(bone_pin_mux);
++  err = platform_add_devices(bone_devices, ARRAY_SIZE(bone_devices));
++  if (err)
++  pr_err(failed to register LEDS\n);
++}
++
+ static void rgmii1_init(int evm_id, int profile)
+ {
+   setup_pin_mux(rgmii1_pin_mux);
+@@ -1103,6 +1171,7 @@ static struct evm_dev_cfg beaglebone_dev_cfg[] = {
+   {usb0_init, DEV_ON_BASEBOARD, 

[Angstrom-devel] [PATCH meta-ti] sdcard_image: Copy user.txt/uEnv.txt if it exists in /boot

2011-10-19 Thread Joel A Fernandes
Pick up uEnv.txt/user.txt U-boot environment files installed in /boot

Signed-off-by: Joel A Fernandes joelag...@ti.com
---
 classes/sdcard_image.bbclass |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass
index ed9d779..c535ad2 100644
--- a/classes/sdcard_image.bbclass
+++ b/classes/sdcard_image.bbclass
@@ -86,8 +86,10 @@ IMAGE_CMD_sdimg () {
suffix=bin
fi
 
+   cp -v ${IMAGE_ROOTFS}/boot/{user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot 
|| true
+
if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
-   cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix,user.txt,uEnv.txt} 
${WORKDIR}/tmp-mnt-boot || true
+   cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} 
${WORKDIR}/tmp-mnt-boot || true
else
cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix 
${WORKDIR}/tmp-mnt-boot/u-boot.$suffix 
fi
-- 
1.7.0.4


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


Re: [Angstrom-devel] task-base(-extended) missing in systemd-image based images?

2011-10-19 Thread Koen Kooi

Op 20 okt. 2011, om 00:09 heeft Andreas Müller het volgende geschreven:

 just finished a build of xfce-nm-image.bb and was surprised of small size.
 I checked and found that all the recipes included in my machine conf by
 
 MACHINE_EXTRA_RRECOMMENDS = ..
 
 are missing in the image ( in my case kernel-modules! ). These are included
 by task-base.bb. Is it possible that this is missing in  systemd-image based 
 images?

Task-basic is all the rage now :) This should fix it for you:

http://cgit.openembedded.org/meta-openembedded/commit/?id=959d90a32409231e3e121277c64ff7839f1d815e

regards,

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


Re: [Angstrom-devel] [PATCH meta-ti] sdcard_image: Copy user.txt/uEnv.txt if it exists in /boot

2011-10-19 Thread Koen Kooi
[added meta-ti list]

Op 20 okt. 2011, om 05:52 heeft Joel A Fernandes het volgende geschreven:

 Pick up uEnv.txt/user.txt U-boot environment files installed in /boot

This doesn't match what the patch does :/

 
 Signed-off-by: Joel A Fernandes joelag...@ti.com
 ---
 classes/sdcard_image.bbclass |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
 
 diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass
 index ed9d779..c535ad2 100644
 --- a/classes/sdcard_image.bbclass
 +++ b/classes/sdcard_image.bbclass
 @@ -86,8 +86,10 @@ IMAGE_CMD_sdimg () {
   suffix=bin
   fi
 
 + cp -v ${IMAGE_ROOTFS}/boot/{user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot 
 || true
 +
   if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
 - cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix,user.txt,uEnv.txt} 
 ${WORKDIR}/tmp-mnt-boot || true
 + cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} 
 ${WORKDIR}/tmp-mnt-boot || true

Your patch is effectively a noop, I don't see the value in applying it.

regards,

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