Re: [Angstrom-devel] Bitbake build failure of Angstrom

2011-07-18 Thread Koen Kooi

Op 18 jul 2011, om 07:16 heeft Joel A Fernandes het volgende geschreven:

 Hi,
 
 I am attempting to manually rebuild the BeagleBoard validation image
 using bitbake.
 
 For this, I used the revision found in /etc/angstrom-version of an
 image I built with Narcissus. The OE revision I used referring to the
 above version file is: a1f31c757d2514e946737d60789c6f9f05ce38eb (Which
 happens to be my fix for GPIO)
 
 Now, when I run a bitbake beagleboard-validation-gnome-image -k 

Why are you using -k ?

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


Re: [Angstrom-devel] Bitbake build failure of Angstrom

2011-07-18 Thread Joel A Fernandes
Hi Koen,

Nice to hear from you.

On Mon, Jul 18, 2011 at 2:00 AM, Koen Kooi k...@dominion.thruhere.net wrote:

 Op 18 jul 2011, om 07:16 heeft Joel A Fernandes het volgende geschreven:

 Hi,

 I am attempting to manually rebuild the BeagleBoard validation image
 using bitbake.

 For this, I used the revision found in /etc/angstrom-version of an
 image I built with Narcissus. The OE revision I used referring to the
 above version file is: a1f31c757d2514e946737d60789c6f9f05ce38eb (Which
 happens to be my fix for GPIO)

 Now, when I run a bitbake beagleboard-validation-gnome-image -k 

 Why are you using -k ?

Not sure if it matters? Even if I don't pass -k, the errors still show up.

Thanks,
Joel

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


[Angstrom-devel] Roger Monk : narcissus: Add gdm autologin

2011-07-18 Thread Angstrom Git Repos
Module: narcissus
Branch: master
Commit: dc4d99ababccf969b5f09043c5e8d0b70aa1

Author: Roger Monk r-m...@ti.com
Date:   Mon Jul 18 15:48:32 2011 +0100

narcissus: Add gdm autologin

Signed-off-by: Roger Monk r-m...@ti.com
Signed-off-by: Koen Kooi k...@dominion.thruhere.net

---

 index.html |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/index.html b/index.html
index faf4233..f45e12c 100644
--- a/index.html
+++ b/index.html
@@ -162,6 +162,7 @@
input type=checkbox name=x11_packages 
value=fldigiFLDigibr/
input type=checkbox name=x11_packages 
value=gimpGimpbr/
input type=checkbox name=x11_packages 
value=task-gnome-appsGNOME Applicationsbr/
+   input type=checkbox name=x11_packages 
value=angstrom-gdm-autologin-hackGNOME Display Manager (gdm) Auto-Loginbr/
input type=checkbox name=x11_packages 
value=gnome-gamesGNOME Gamesbr/
input type=checkbox name=x11_packages 
value=geditGNOME geditbr/
input type=checkbox name=x11_packages 
value=gnome-mplayerGNOME MPlayerbr/ 


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


[Angstrom-devel] [PATCH 1/2] assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button)

2011-07-18 Thread Joel A Fernandes
* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the 
boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, 
user.txt is used
  for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
 scripts/assemble-image.sh |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index 6043bde..d34b1c8 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Using uImage from narcissus, no uImage found in 
rootfs
fi
 
+   if [ -e ${TARGET_DIR}/boot/user.txt ]; then
+   cp -v ${TARGET_DIR}/boot/user.txt 
/mnt/narcissus/sd_image1/
+   fi
+
+   if [ -e ${TARGET_DIR}/boot/uEnv.txt ]; then
+   cp -v ${TARGET_DIR}/boot/uEnv.txt 
/mnt/narcissus/sd_image1/
+   fi
+
echo Remounting ${LOOP_DEV}
umount ${LOOP_DEV}
mount ${LOOP_DEV}
-- 
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


[Angstrom-devel] [PATCH 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Joel A Fernandes
* For SD Card image builds, also make a ubi image and copy it to /boot in the 
root filesystem
  This is used by the flashing script to ubiformat the NAND

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
 scripts/assemble-image.sh |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index d34b1c8..d0760b9 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -145,8 +145,11 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Copying file system:
echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
-C /mnt/narcissus/sd_image2
tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
/mnt/narcissus/sd_image2
-   touch  /mnt/narcissus/sd_image2/narcissus-was-here
 
+   echo Copying UBIFS image to file system:
+   mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
/mnt/narcissus/sd_image2/boot/fs.ubi
+
+   touch  /mnt/narcissus/sd_image2/narcissus-was-here
echo Remounting ${LOOP_DEV_FS}
umount ${LOOP_DEV_FS}
mount ${LOOP_DEV_FS}
@@ -426,6 +429,7 @@ case ${IMAGETYPE} in
do_ext2;;
sdimg)
do_tar
+   do_ubifs
do_sdimg;;
*)
do_tar;;
-- 
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] [PATCH 1/2] assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button)

2011-07-18 Thread Koen Kooi

Op 18 jul 2011, om 17:50 heeft Joel A Fernandes het volgende geschreven:

 * Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the 
 boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, 
 user.txt is used
  for flashing while uEnv.txt is for a regular boot
 
 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 scripts/assemble-image.sh |8 
 1 files changed, 8 insertions(+), 0 deletions(-)
 
 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index 6043bde..d34b1c8 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
   echo Using uImage from narcissus, no uImage found in 
 rootfs
   fi
 
 + if [ -e ${TARGET_DIR}/boot/user.txt ]; then

needs space between ] and ;

 + cp -v ${TARGET_DIR}/boot/user.txt 
 /mnt/narcissus/sd_image1/
 + fi
 +
 + if [ -e ${TARGET_DIR}/boot/uEnv.txt ]; then

needs space between ] and ;



___
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 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Koen Kooi

Op 18 jul 2011, om 17:51 heeft Joel A Fernandes het volgende geschreven:

 * For SD Card image builds, also make a ubi image and copy it to /boot in the 
 root filesystem
  This is used by the flashing script to ubiformat the NAND
 
 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 scripts/assemble-image.sh |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)
 
 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index d34b1c8..d0760b9 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -145,8 +145,11 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
   echo Copying file system:
   echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
 -C /mnt/narcissus/sd_image2
   tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
 - touch  /mnt/narcissus/sd_image2/narcissus-was-here
 + echo Copying UBIFS image to file system:
 + mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
 /mnt/narcissus/sd_image2/boot/fs.ubi
 +
 + touch  /mnt/narcissus/sd_image2/narcissus-was-here
   echo Remounting ${LOOP_DEV_FS}
   umount ${LOOP_DEV_FS}
   mount ${LOOP_DEV_FS}
 @@ -426,6 +429,7 @@ case ${IMAGETYPE} in
   do_ext2;;
   sdimg)
   do_tar
 + do_ubifs
   do_sdimg;;

The ubifs addition needs to be opt-in, not forcefully enabled for all builds
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] [PATCH v2 1/2] assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button)

2011-07-18 Thread Joel A Fernandes
* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the 
boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, 
user.txt is used
  for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---

Changes since v1:
- Added spaces after if condition as requested

 scripts/assemble-image.sh |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index 6043bde..f54296d 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Using uImage from narcissus, no uImage found in 
rootfs
fi
 
+   if [ -e ${TARGET_DIR}/boot/user.txt ] ;then
+   cp -v ${TARGET_DIR}/boot/user.txt 
/mnt/narcissus/sd_image1/
+   fi
+
+   if [ -e ${TARGET_DIR}/boot/uEnv.txt ] ;then
+   cp -v ${TARGET_DIR}/boot/uEnv.txt 
/mnt/narcissus/sd_image1/
+   fi
+
echo Remounting ${LOOP_DEV}
umount ${LOOP_DEV}
mount ${LOOP_DEV}
-- 
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


[Angstrom-devel] [PATCH v3 1/2] assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button)

2011-07-18 Thread Joel A Fernandes
* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the 
boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, 
user.txt is used
  for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
Changes since v2:
- Fixed spacing in if condition

 scripts/assemble-image.sh |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index 6043bde..f2a595a 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Using uImage from narcissus, no uImage found in 
rootfs
fi
 
+   if [ -e ${TARGET_DIR}/boot/user.txt ] ; then
+   cp -v ${TARGET_DIR}/boot/user.txt 
/mnt/narcissus/sd_image1/
+   fi
+
+   if [ -e ${TARGET_DIR}/boot/uEnv.txt ] ; then
+   cp -v ${TARGET_DIR}/boot/uEnv.txt 
/mnt/narcissus/sd_image1/
+   fi
+
echo Remounting ${LOOP_DEV}
umount ${LOOP_DEV}
mount ${LOOP_DEV}
-- 
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


[Angstrom-devel] [PATCH v3 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Joel A Fernandes
* For SD Card image builds, also make a ubi image and copy it to /boot in the 
root filesystem
  This is used by the flashing script to ubiformat the NAND

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
Changes since v2:
- Fixed spacing in if condition

 scripts/assemble-image.sh |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index f2a595a..2940d9a 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Copying file system:
echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
-C /mnt/narcissus/sd_image2
tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
/mnt/narcissus/sd_image2
-   touch  /mnt/narcissus/sd_image2/narcissus-was-here
 
+   if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
+   echo Copying UBIFS image to file system:
+   mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
/mnt/narcissus/sd_image2/boot/fs.ubi
+   fi
+
+   touch  /mnt/narcissus/sd_image2/narcissus-was-here
echo Remounting ${LOOP_DEV_FS}
umount ${LOOP_DEV_FS}
mount ${LOOP_DEV_FS}
@@ -427,6 +432,10 @@ case ${IMAGETYPE} in
sdimg)
do_tar
do_sdimg;;
+   sdimg-ubi)
+   do_tar
+   do_ubifs
+   do_sdimg;;
*)
do_tar;;
 esac
-- 
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


[Angstrom-devel] [PATCH] narcissus: Add sdimg-ubi selection to imagetype

2011-07-18 Thread Jason Kridner
With a patch to assemble-image.sh[1], this change to the user interface
enables a copy of the root file system to be built into a UBIFS image
and stored on the SD card for use in flashing systems with the same root
file system.

It is possible to make this a checkbox that would show up when sdimg is
selected, but that would complicate the logic quite a bit.  There seems
to be a reasonable amount of space on the line, so the simpler logic
seemed like the better trade-off.

[1] 
http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/2011-July/004778.html

Signed-off-by: Jason Kridner jkrid...@beagleboard.org
Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
Cc: Koen Kooi k...@dominion.thruhere.net
---
 index.html |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/index.html b/index.html
index f45e12c..a7813ba 100644
--- a/index.html
+++ b/index.html
@@ -80,6 +80,7 @@
 Select the type of image you want.br/font size=-2The 
'tar.gz' option is the most versatile choice since it can be easily converted 
to other formats later on. The practicality of the other formats depends too 
much on the device in question to give meaningfull advice here, so we leave 
that up to you :)/fontbr/br/
input name=imagetype type=radio 
checked=checked value=tgztar.gz
input name=imagetype type=radio 
value=sdimgOMAP SD image
+   input name=imagetype type=radio 
value=sdimg-ubiOMAP SD+UBI image
input name=imagetype type=radio 
value=ext2ext2
input name=imagetype type=radio 
value=ubifsubifs
input name=imagetype type=radio 
value=jffs2jffs2
-- 
1.5.6.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] [PATCH v3 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Koen Kooi

Op 18 jul 2011, om 19:54 heeft Joel A Fernandes het volgende geschreven:

 * For SD Card image builds, also make a ubi image and copy it to /boot in the 
 root filesystem
  This is used by the flashing script to ubiformat the NAND
 
 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 Changes since v2:
 - Fixed spacing in if condition
 
 scripts/assemble-image.sh |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)
 
 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index f2a595a..2940d9a 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
   echo Copying file system:
   echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
 -C /mnt/narcissus/sd_image2
   tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
 - touch  /mnt/narcissus/sd_image2/narcissus-was-here
 
 + if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
 + echo Copying UBIFS image to file system:
 + mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
 /mnt/narcissus/sd_image2/boot/fs.ubi
 + fi
 +
 + touch  /mnt/narcissus/sd_image2/narcissus-was-here
   echo Remounting ${LOOP_DEV_FS}
   umount ${LOOP_DEV_FS}
   mount ${LOOP_DEV_FS}
 @@ -427,6 +432,10 @@ case ${IMAGETYPE} in
   sdimg)
   do_tar
   do_sdimg;;
 + sdimg-ubi)
 + do_tar
 + do_ubifs
 + do_sdimg;;

How does sdimg-ubi get called?
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] [PATCH] Set imagesuffix to .tar.gz when imagetype is sdimg-ubi

2011-07-18 Thread Joel A Fernandes
Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
 backend.php |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/backend.php b/backend.php
index f35d096..d9c9edb 100644
--- a/backend.php
+++ b/backend.php
@@ -99,6 +99,9 @@ switch($imagetype) {
case sdimg:
$imagesuffix = tar.gz;
break;
+   case sdimg-ubi:
+   $imagesuffix = tar.gz;
+   break;
case ubifs:
$imagesuffix = ubi;
break;
-- 
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] [PATCH v3 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Joel A Fernandes
On Mon, Jul 18, 2011 at 1:35 PM, Koen Kooi k...@dominion.thruhere.net wrote:

 Op 18 jul 2011, om 19:54 heeft Joel A Fernandes het volgende geschreven:

 * For SD Card image builds, also make a ubi image and copy it to /boot in 
 the root filesystem
  This is used by the flashing script to ubiformat the NAND

 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 Changes since v2:
 - Fixed spacing in if condition

 scripts/assemble-image.sh |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)

 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index f2a595a..2940d9a 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
               echo Copying file system:
               echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
 -C /mnt/narcissus/sd_image2
               tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
 -             touch  /mnt/narcissus/sd_image2/narcissus-was-here

 +             if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
 +                     echo Copying UBIFS image to file system:
 +                     mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
 /mnt/narcissus/sd_image2/boot/fs.ubi
 +             fi
 +
 +             touch  /mnt/narcissus/sd_image2/narcissus-was-here
               echo Remounting ${LOOP_DEV_FS}
               umount ${LOOP_DEV_FS}
               mount ${LOOP_DEV_FS}
 @@ -427,6 +432,10 @@ case ${IMAGETYPE} in
       sdimg)
               do_tar
               do_sdimg;;
 +     sdimg-ubi)
 +             do_tar
 +             do_ubifs
 +             do_sdimg;;

 How does sdimg-ubi get called?

Jason's patch passes it in the radio button element imagetype.

Thanks,
Joel

___
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 v3 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Koen Kooi

Op 18 jul 2011, om 21:18 heeft Joel A Fernandes het volgende geschreven:

 On Mon, Jul 18, 2011 at 1:35 PM, Koen Kooi k...@dominion.thruhere.net wrote:
 
 Op 18 jul 2011, om 19:54 heeft Joel A Fernandes het volgende geschreven:
 
 * For SD Card image builds, also make a ubi image and copy it to /boot in 
 the root filesystem
  This is used by the flashing script to ubiformat the NAND
 
 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 Changes since v2:
 - Fixed spacing in if condition
 
 scripts/assemble-image.sh |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)
 
 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index f2a595a..2940d9a 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
   echo Copying file system:
   echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
 -C /mnt/narcissus/sd_image2
   tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
 - touch  /mnt/narcissus/sd_image2/narcissus-was-here
 
 + if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
 + echo Copying UBIFS image to file system:
 + mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
 /mnt/narcissus/sd_image2/boot/fs.ubi
 + fi
 +
 + touch  /mnt/narcissus/sd_image2/narcissus-was-here
   echo Remounting ${LOOP_DEV_FS}
   umount ${LOOP_DEV_FS}
   mount ${LOOP_DEV_FS}
 @@ -427,6 +432,10 @@ case ${IMAGETYPE} in
   sdimg)
   do_tar
   do_sdimg;;
 + sdimg-ubi)
 + do_tar
 + do_ubifs
 + do_sdimg;;
 
 How does sdimg-ubi get called?
 
 Jason's patch passes it in the radio button element imagetype.

Can you please send all the related patches as a series please? I've lost track 
which version those what and which extra patches are needed.
___
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 v3 2/2] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Joel A Fernandes
On Mon, Jul 18, 2011 at 2:19 PM, Koen Kooi k...@dominion.thruhere.net wrote:

 Op 18 jul 2011, om 21:18 heeft Joel A Fernandes het volgende geschreven:

 On Mon, Jul 18, 2011 at 1:35 PM, Koen Kooi k...@dominion.thruhere.net 
 wrote:

 Op 18 jul 2011, om 19:54 heeft Joel A Fernandes het volgende geschreven:

 * For SD Card image builds, also make a ubi image and copy it to /boot in 
 the root filesystem
  This is used by the flashing script to ubiformat the NAND

 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 ---
 Changes since v2:
 - Fixed spacing in if condition

 scripts/assemble-image.sh |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)

 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index f2a595a..2940d9a 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
               echo Copying file system:
               echo tar xzf 
 ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
               tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
 -             touch  /mnt/narcissus/sd_image2/narcissus-was-here

 +             if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
 +                     echo Copying UBIFS image to file system:
 +                     mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
 /mnt/narcissus/sd_image2/boot/fs.ubi
 +             fi
 +
 +             touch  /mnt/narcissus/sd_image2/narcissus-was-here
               echo Remounting ${LOOP_DEV_FS}
               umount ${LOOP_DEV_FS}
               mount ${LOOP_DEV_FS}
 @@ -427,6 +432,10 @@ case ${IMAGETYPE} in
       sdimg)
               do_tar
               do_sdimg;;
 +     sdimg-ubi)
 +             do_tar
 +             do_ubifs
 +             do_sdimg;;

 How does sdimg-ubi get called?

 Jason's patch passes it in the radio button element imagetype.

 Can you please send all the related patches as a series please? I've lost 
 track which version those what and which extra patches are needed.

Sure

Thanks,
Joel

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


[Angstrom-devel] [PATCH 2/4] assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button)

2011-07-18 Thread Joel A Fernandes
* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the 
boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, 
user.txt is used
  for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
 scripts/assemble-image.sh |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index 6043bde..f2a595a 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Using uImage from narcissus, no uImage found in 
rootfs
fi
 
+   if [ -e ${TARGET_DIR}/boot/user.txt ] ; then
+   cp -v ${TARGET_DIR}/boot/user.txt 
/mnt/narcissus/sd_image1/
+   fi
+
+   if [ -e ${TARGET_DIR}/boot/uEnv.txt ] ; then
+   cp -v ${TARGET_DIR}/boot/uEnv.txt 
/mnt/narcissus/sd_image1/
+   fi
+
echo Remounting ${LOOP_DEV}
umount ${LOOP_DEV}
mount ${LOOP_DEV}
-- 
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


[Angstrom-devel] [PATCH 1/4] Added sdimg-ubi selection to imagetypes

2011-07-18 Thread Joel A Fernandes
From: Jason Kridner jkrid...@beagleboard.org

With a patch to assemble-image.sh[1], this change to the user interface
enables a copy of the root file system to be built into a UBIFS image
and stored on the SD card for use in flashing systems with the same root
file system.

It is possible to make this a checkbox that would show up when sdimg is
selected, but that would complicate the logic quite a bit.  There seems
to be a reasonable amount of space on the line, so the simpler logic
seemed like the better trade-off.

[1] 
http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/2011-July/004778.html
---
 index.html |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/index.html b/index.html
index f45e12c..a7813ba 100644
--- a/index.html
+++ b/index.html
@@ -80,6 +80,7 @@
 Select the type of image you want.br/font size=-2The 
'tar.gz' option is the most versatile choice since it can be easily converted 
to other formats later on. The practicality of the other formats depends too 
much on the device in question to give meaningfull advice here, so we leave 
that up to you :)/fontbr/br/
input name=imagetype type=radio 
checked=checked value=tgztar.gz
input name=imagetype type=radio 
value=sdimgOMAP SD image
+   input name=imagetype type=radio 
value=sdimg-ubiOMAP SD+UBI image
input name=imagetype type=radio 
value=ext2ext2
input name=imagetype type=radio 
value=ubifsubifs
input name=imagetype type=radio 
value=jffs2jffs2
-- 
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


[Angstrom-devel] [PATCH 3/4] assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Joel A Fernandes
* For SD Card image builds, also make a ubi image and copy it to /boot in the 
root filesystem
  This is used by the flashing script to ubiformat the NAND

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
 scripts/assemble-image.sh |   11 ++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index f2a595a..2940d9a 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Copying file system:
echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
-C /mnt/narcissus/sd_image2
tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
/mnt/narcissus/sd_image2
-   touch  /mnt/narcissus/sd_image2/narcissus-was-here
 
+   if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
+   echo Copying UBIFS image to file system:
+   mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
/mnt/narcissus/sd_image2/boot/fs.ubi
+   fi
+
+   touch  /mnt/narcissus/sd_image2/narcissus-was-here
echo Remounting ${LOOP_DEV_FS}
umount ${LOOP_DEV_FS}
mount ${LOOP_DEV_FS}
@@ -427,6 +432,10 @@ case ${IMAGETYPE} in
sdimg)
do_tar
do_sdimg;;
+   sdimg-ubi)
+   do_tar
+   do_ubifs
+   do_sdimg;;
*)
do_tar;;
 esac
-- 
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


[Angstrom-devel] Joel A Fernandes : assemble_image: Copy U-boot environment files for flashing NAND (controlled by user button )

2011-07-18 Thread Angstrom Git Repos
Module: narcissus
Branch: master
Commit: 9d677727beb9ab6dd1b5ab6abbcd30ce6380cab2

Author: Joel A Fernandes agnel.j...@gmail.com
Date:   Mon Jul 18 14:27:16 2011 -0500

assemble_image: Copy U-boot environment files for flashing NAND (controlled by 
user button)

* Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the 
boot partition,
  When the user button is pressed, U-boot chooses between these 2 files, 
user.txt is used
  for flashing while uEnv.txt is for a regular boot

Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
Signed-off-by: Koen Kooi k...@dominion.thruhere.net

---

 scripts/assemble-image.sh |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
index 6043bde..f2a595a 100755
--- a/scripts/assemble-image.sh
+++ b/scripts/assemble-image.sh
@@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
echo Using uImage from narcissus, no uImage found in 
rootfs
fi
 
+   if [ -e ${TARGET_DIR}/boot/user.txt ] ; then
+   cp -v ${TARGET_DIR}/boot/user.txt 
/mnt/narcissus/sd_image1/
+   fi
+
+   if [ -e ${TARGET_DIR}/boot/uEnv.txt ] ; then
+   cp -v ${TARGET_DIR}/boot/uEnv.txt 
/mnt/narcissus/sd_image1/
+   fi
+
echo Remounting ${LOOP_DEV}
umount ${LOOP_DEV}
mount ${LOOP_DEV}


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


Re: [Angstrom-devel] Joel A Fernandes : assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

2011-07-18 Thread Joel A Fernandes
On Mon, Jul 18, 2011 at 3:29 PM, Angstrom Git Repos
ang-...@xora.vm.bytemark.co.uk wrote:
 Module: narcissus
 Branch: master
 Commit: 912be148348a796f2613ebf97ee11f2a0e96530e

 Author: Joel A Fernandes agnel.j...@gmail.com
 Date:   Mon Jul 18 14:27:17 2011 -0500

 assemble_image: Copy a UBIFS image to the filesystem for SD Card image builds

 * For SD Card image builds, also make a ubi image and copy it to /boot in the 
 root filesystem
  This is used by the flashing script to ubiformat the NAND

 Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
 Signed-off-by: Koen Kooi k...@dominion.thruhere.net

 ---

  scripts/assemble-image.sh |   11 ++-
  1 files changed, 10 insertions(+), 1 deletions(-)

 diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh
 index f2a595a..2940d9a 100755
 --- a/scripts/assemble-image.sh
 +++ b/scripts/assemble-image.sh
 @@ -145,8 +145,13 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then
                echo Copying file system:
                echo tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz 
 -C /mnt/narcissus/sd_image2
                tar xzf ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.tar.gz -C 
 /mnt/narcissus/sd_image2
 -               touch  /mnt/narcissus/sd_image2/narcissus-was-here

 +               if [ -e ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi ] ; then
 +                       echo Copying UBIFS image to file system:
 +                       mv ${TARGET_DIR}/../${IMAGENAME}-${MACHINE}.ubi 
 /mnt/narcissus/sd_image2/boot/fs.ubi

There is a problem with my patch that causes the UBIFS to not be
copied for a 4GB SDCard image, because it was already moved for a 1GB
image.

Changing the mv above to cp fixes it, but leaves the .ubi floating in
the work directory after the build.

What's the right way to fix this? Can we mkdir a tmp directory in
work, keep the ubi there and delete the directory like we do to other
temporary directories when we're done copying it for all images?

Also, the UI doesn't show download links to SD Card images after a
successful build ) I do see the images built and copied to
conf/beagleboard/sd/). Is this a known issue?

Thanks,
Joel

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


[Angstrom-devel] OE Changelog for 2011-07-11 to 2011-07-18

2011-07-18 Thread cliff . brake
Changelog for 2011-07-11 to 2011-07-18.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://git.angstrom-distribution.org/meta-angstrom
meta-yocto: git://git.yoctoproject.org/poky
meta-texasinstruments: git://git.angstrom-distribution.org/meta-texasinstruments
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-micro: git://git.openembedded.org/meta-micro
meta-slugos: git://github.com/kraj/meta-slugos
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-intel: git://git.yoctoproject.org/meta-intel
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:

Joshua Lock (2):
  ui/crumbs/tasklistmodel: update brought in by column when possible
  ui/crumbs/tasklistmodel: fix automatic removal of orphaned items

Yu Ke (1):
  fetcher2: retry mirror if upstream checksum mismatch


Changelog for openembedded-core:

Andrea Adami (2):
  image_types.bbclass: add support for tar.xz, cpio.xz, cpio.lzma
  kernel.bbclass: handle embedding of initramfs images

Chris Elston (1):
  Add support for BAD_RECOMMENDATIONS to rootfs_ipk

Darren Hart (1):
  bb-matrix: initial scripts to record TIME(1) metrics for BB and PM combinati

Joshua Lock (1):
  classes/image_types: add a variable to list available IMAGE_FSTYPE's

Koen Kooi (7):
  pulseaudio: try harder to disable HAL
  pulseaudio 0.9.15: delete, but keep 0.9.22 and 0.9.23
  webkit-gtk: update SRCREV
  pulseaudio: make it work out of the box
  ofono: fix packaging and clean up custom do_install
  connman-gnome: run oe-stylize over recipe
  pulseaudio: enable bluetooth support

Nitin A Kamble (5):
  kernel.bbclass: fix the broken lines
  glibc: fix false failure
  binutils: package unpackaged files
  eglibc: fix installed but not packaged files
  eglibc: fix runtime assertion failure

Otavio Salvador (2):
  libarchive: remove undistributable copyright content from source
  cmake: update to 2.8.5 release

Paul Eggleton (2):
  busybox: fix missing features due to lack of variable expansion
  insane.bbclass: skip rdepends QA checks for kernel / modules

Phil Blundell (3):
  kernel.bbclass, task-base: remove references to obsolete bluez-dtl1-workarou
  bluez-dtl1-workaround: deleted
  eglibc: ensure that NSS libs go into the right package when ${base_libdir} a

Richard Purdie (4):
  sysklogd: Drop ONLINE_PACKAGE_MANAGEMENT as per mailing list discussion
  update-rc.d: Switch from a tag to a sepcific revision
  sstate: Improve performance by moving files rather than using copy and delet
  python: Fix libdir usage which broke python packaging

Saul Wold (2):
  gcc: Fix packaging correctly
  Patches: Fix Upstream-Status info

Scott Garman (1):
  distro-tracking: add RECIPE_MANUAL_CHECK_DATE for various recipes

Yu Ke (11):
  native.bbclass: generate libdir from libdir_native
  openssl: fix for non /usr/lib libdir case
  python: fix for libdir=/usr/lib64 case
  python-native: fix for non /usr/lib libdir case
  perl: fix for non /usr/lib libdir case
  libcap: fix for non /usr/lib libdir case
  rpm: fix for non /usr/lib libdir case
  sato-sdk: add clutter for sato-sdk image
  xserver-kdrive: add patch upstream status info
  sat-solver: fix for non /usr/lib libdir case
  libzypp: fix for non /usr/lib libdir case


Changelog for meta-openembedded:

Khem Raj (2):
  icon-naming-utils: inherit allarch
  icon-naming-utils: Inherit perlnative

Koen Kooi (10):
  mm-common: add 0.9.5
  libsigc++: add 2.2.9
  glibmm: add 2.28.2
  cairo: update to 1.10.2
  cairomm: add 1.10.0
  pangomm: add 2.28.2
  gtkmm: add 2.20.0
  pavucontrol: add 0.9.10+git
  jack 0.121.0: import from OE.dev
  midori 0.3.6: fix source checksums

Tom Rini (1):
  icon-naming-utils-native: Fix long path to perl in icon-name-mapping


Changelog for meta-angstrom:

Khem Raj (3):
  angstrom-bleeding: Pin eglibc-locale version
  angstrom-uclibc: Use tclibc-uclibc defaults from oe-core
  angstrom-eglibc: Use tclibc-eglibc defaults from oe-core

Koen Kooi (2):
  angstrom: prefer cairo 1.10.2
  angstrom-zeroconf-audio: move to tasks and clean up


Changelog for meta-yocto:

Andrea Adami (3):
  image_types.bbclass: add support for tar.xz, cpio.xz, cpio.lzma
  kernel.bbclass: handle embedding of initramfs images
  kernel.bbclass: remove unintended change of INITRAMFS_TASK

Chris Elston (1):
  Add support for BAD_RECOMMENDATIONS to rootfs_ipk

Darren Hart (2):
  bb-matrix: initial scripts to record TIME(1) metrics for BB and PM combinati
  bb-matrix: correct BB and PM number canonicalization

Joshua Lock (4):
  ui/crumbs/tasklistmodel: update brought in by column when