armadeus-commitlog Mailing List for armadeus (Page 63)
Brought to you by:
sszy
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(43) |
Feb
(8) |
Mar
(7) |
Apr
(8) |
May
(14) |
Jun
(6) |
Jul
(4) |
Aug
(17) |
Sep
(18) |
Oct
(19) |
Nov
(52) |
Dec
(30) |
| 2008 |
Jan
(6) |
Feb
(6) |
Mar
(15) |
Apr
(22) |
May
(13) |
Jun
(11) |
Jul
(41) |
Aug
(10) |
Sep
(14) |
Oct
(21) |
Nov
(4) |
Dec
(66) |
| 2009 |
Jan
(67) |
Feb
(57) |
Mar
(90) |
Apr
(54) |
May
(64) |
Jun
(76) |
Jul
(14) |
Aug
(18) |
Sep
(18) |
Oct
(20) |
Nov
(15) |
Dec
(36) |
| 2010 |
Jan
(28) |
Feb
(25) |
Mar
(32) |
Apr
(23) |
May
(22) |
Jun
(62) |
Jul
(36) |
Aug
(16) |
Sep
(12) |
Oct
(20) |
Nov
(44) |
Dec
(25) |
| 2011 |
Jan
(36) |
Feb
(49) |
Mar
(28) |
Apr
(38) |
May
(26) |
Jun
(52) |
Jul
(33) |
Aug
(32) |
Sep
(19) |
Oct
(26) |
Nov
(13) |
Dec
(32) |
| 2012 |
Jan
(38) |
Feb
(34) |
Mar
(91) |
Apr
(35) |
May
(31) |
Jun
(72) |
Jul
(23) |
Aug
(13) |
Sep
(33) |
Oct
(47) |
Nov
(18) |
Dec
(22) |
| 2013 |
Jan
(31) |
Feb
(22) |
Mar
(26) |
Apr
(11) |
May
(38) |
Jun
(15) |
Jul
(37) |
Aug
(68) |
Sep
(34) |
Oct
(11) |
Nov
(26) |
Dec
(31) |
| 2014 |
Jan
(60) |
Feb
(55) |
Mar
(21) |
Apr
(31) |
May
(17) |
Jun
(35) |
Jul
(24) |
Aug
(17) |
Sep
(11) |
Oct
(23) |
Nov
(10) |
Dec
(23) |
| 2015 |
Jan
(15) |
Feb
(34) |
Mar
(46) |
Apr
(23) |
May
(12) |
Jun
(14) |
Jul
(18) |
Aug
(22) |
Sep
(6) |
Oct
(2) |
Nov
(1) |
Dec
(6) |
| 2016 |
Jan
(5) |
Feb
(7) |
Mar
(10) |
Apr
(10) |
May
(17) |
Jun
(6) |
Jul
(4) |
Aug
(6) |
Sep
(22) |
Oct
(8) |
Nov
(9) |
Dec
(5) |
| 2017 |
Jan
(11) |
Feb
(12) |
Mar
(27) |
Apr
(9) |
May
(1) |
Jun
(5) |
Jul
(11) |
Aug
(10) |
Sep
(6) |
Oct
(10) |
Nov
(4) |
Dec
(6) |
| 2018 |
Jan
(6) |
Feb
(13) |
Mar
(9) |
Apr
(7) |
May
(10) |
Jun
(9) |
Jul
(21) |
Aug
(13) |
Sep
(10) |
Oct
(4) |
Nov
(6) |
Dec
(1) |
| 2019 |
Jan
(6) |
Feb
(2) |
Mar
(5) |
Apr
(6) |
May
(19) |
Jun
(14) |
Jul
(18) |
Aug
(3) |
Sep
(5) |
Oct
(7) |
Nov
(8) |
Dec
(4) |
| 2020 |
Jan
(10) |
Feb
(3) |
Mar
(9) |
Apr
(7) |
May
(2) |
Jun
(18) |
Jul
(3) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
(1) |
| 2021 |
Jan
(9) |
Feb
(6) |
Mar
(4) |
Apr
(11) |
May
(7) |
Jun
(5) |
Jul
(2) |
Aug
(4) |
Sep
(10) |
Oct
(9) |
Nov
(5) |
Dec
|
| 2022 |
Jan
(2) |
Feb
(12) |
Mar
(3) |
Apr
(5) |
May
(1) |
Jun
(3) |
Jul
(2) |
Aug
(1) |
Sep
(4) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
| 2023 |
Jan
(5) |
Feb
(3) |
Mar
(3) |
Apr
(2) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2024 |
Jan
(2) |
Feb
(3) |
Mar
(8) |
Apr
(4) |
May
(1) |
Jun
(13) |
Jul
(7) |
Aug
(1) |
Sep
(6) |
Oct
(5) |
Nov
(11) |
Dec
(7) |
| 2025 |
Jan
(3) |
Feb
(1) |
Mar
(6) |
Apr
(4) |
May
(4) |
Jun
(1) |
Jul
(1) |
Aug
(7) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(1) |
| 2026 |
Jan
(3) |
Feb
(7) |
Mar
(3) |
Apr
(1) |
May
(6) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Julien B a. A. <ar...@us...> - 2013-04-19 20:49:48
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 9ddf377bceb513f575c0b6f2cd44d0bc0d006ab2 (commit)
from 108bf417b34f2057a61aa9d156fc94f066f8cb77 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9ddf377bceb513f575c0b6f2cd44d0bc0d006ab2
Author: Julien Boibessot <jul...@ar...>
Date: Fri Apr 19 22:48:48 2013 +0200
[TEST] Improve media_perf.sh to be called by non-root user and generate a report file
-----------------------------------------------------------------------
Summary of changes:
target/test/mmc/media_perf.sh | 123 ++++++++++++++++++++++++++++++++++-------
1 files changed, 102 insertions(+), 21 deletions(-)
diff --git a/target/test/mmc/media_perf.sh b/target/test/mmc/media_perf.sh
index bc80b65..6d88acb 100755
--- a/target/test/mmc/media_perf.sh
+++ b/target/test/mmc/media_perf.sh
@@ -3,7 +3,7 @@
#
# Script to test Armadeus boards performances to handle removable storage media
#
-# Copyright (C) 2007 The Armadeus Project
+# Copyright (C) 2007-2013 The Armadeus Project
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,7 +20,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-source ./test_helpers.sh
+if [ -f ./test_helpers.sh ]; then
+ source ./test_helpers.sh
+else
+ source /usr/bin/testsuite/test_helpers.sh
+fi
# Script parameters
BOARD=`cat /etc/machine`
@@ -38,10 +42,12 @@ USB_MOUNT_DIR="/media/usbdisk"
TEMP_DIR="/tmp/perf_mmc/"
TEMP_FILE="/tmp/data.bin"
WRITE_BENCH="/tmp/test_mmc.sh"
+REPORT_FILE="/tmp/media_perf.report"
WTIME=0
RTIME=0
#DEBUG=True
+UID=`id -u`
debug()
{
@@ -72,6 +78,38 @@ get_time_in_ms_from_file()
fi
}
+clean_report()
+{
+ echo "# Report" > $REPORT_FILE
+}
+
+log_report()
+{
+ echo "$1" >> $REPORT_FILE
+}
+
+remount()
+{
+ if [ "$UID" == "0" ]; then # root
+ umount $MOUNT_DIR && mount $REM_DEVICE $MOUNT_DIR
+ else
+ # /etc/fstab & /etc/sudoers should have been configured
+ sudo /bin/umount $MOUNT_DIR && mount $REM_DEVICE
+ fi
+}
+
+special_umount()
+{
+ if [ "$WAS_MOUNTED" != "1" ]; then
+ if [ "$UID" == "0" ]; then # root
+ umount $MOUNT_DIR
+ else
+ # /etc/fstab & /etc/sudoers should have been configured
+ sudo /bin/umount $MOUNT_DIR
+ fi
+ fi
+}
+
test_speed()
{
# Create temp bench file
@@ -83,10 +121,10 @@ test_speed()
echo "exit 0" >> $WRITE_BENCH
for it in `seq $NB_ITER`; do
- echo "--- Test iteration n°$it ---"
+ echo "--- Test iteration No$it ---"
echo " Writing"
time sh $WRITE_BENCH 2>/tmp/writetime
- umount $MOUNT_DIR && mount $REM_DEVICE $MOUNT_DIR
+ remount
echo " Reading"
time mv $MOUNT_DIR/data.bin /tmp/ 2>/tmp/readtime
# Update writing mean time
@@ -112,13 +150,21 @@ test_speed()
WSPEED=`expr $TEMP_FILE_SIZE \* 1000 / $WTOTIME`
RSPEED=`expr $TEMP_FILE_SIZE \* 1000 / $RTOTIME`
echo "--- Test result (mean values): read -> $RSPEED kBytes/sec write -> $WSPEED kBytes/sec"
- umount $MOUNT_DIR
+ log_report "RESULT=OK"
+ log_report "READ_SPEED=$RSPEED"
+ log_report "WRITE_SPEED=$WSPEED"
+ special_umount
}
usage()
{
- echo -e "\n Usage: $0 <speed|integrity> [device]\n"
- echo "device: default to $MMC_DEVICE"
+ echo -e "\n Usage: $0 options\n"
+ echo "-m|--mode=<speed|integrity> : mandatory, test mode to use"
+ echo "-d|--mode=<device> : device to use for test (default to $MMC_DEVICE)"
+ echo "-n|--nb=<iteration> : number of test iterations (default to $NB_ITER)"
+ echo "-h|--help: this help"
+# echo "-q|--quiet: don't output anything on stdout"
+
exit 1
}
@@ -129,15 +175,44 @@ usage()
# Process parameters
if [ "$#" == 0 ]; then
usage
-elif [ "$1" != "speed" ] && [ "$1" != "integrity" ]; then
+fi
+GETOPT=`getopt -o hm:n:d:q --long help,mode:,nb:,device:,quiet -- "$@"`
+if [ $? != 0 ] ; then
usage
fi
+eval set -- "$GETOPT"
+while true ; do
+ case $1 in
+ -q|--quiet)
+ QUIET=1
+ shift ;;
+ -h|--help)
+ usage ;;
+ -m|--mode)
+ [ "$2" == "" ] && usage
+ MODE="$2"
+ shift 2 ;;
+ -n|--nb)
+ [ "$2" == "" ] && usage
+ NB_ITER="$2"
+ shift 2 ;;
+ -d|--device)
+ [ "$2" == "" ] && usage
+ MMC_DEVICE="$2"
+ shift 2 ;;
+ --)
+ shift ; break ;;
+ *)
+ usage ;;
+ esac
+done
-if [ "$2" != "" ]; then
- MMC_DEVICE="$2"
+if [ "$MODE" != "speed" ] && [ "$MODE" != "integrity" ]; then
+ usage
fi
show_test_banner "Storage medium performances"
+clean_report
if [ ! -b $MMC_DEVICE ] && [ ! -b $USB_DEVICE ]; then
echo -n "Please insert your storage device: MMC/SD/microSD or USB key"
@@ -175,9 +250,14 @@ if [ ! -d $MOUNT_DIR ]; then
fi
# If not mounted, mount it:
-IS_MOUNTED=`mount | grep -c $MOUNT_DIR`
-if [ "$IS_MOUNTED" != "1" ]; then
- mount $REM_DEVICE $MOUNT_DIR
+WAS_MOUNTED=`mount | grep -c $MOUNT_DIR`
+if [ "$WAS_MOUNTED" != "1" ]; then
+ if [ "$UID" == "0" ]; then # root
+ mount $REM_DEVICE $MOUNT_DIR
+ else
+ # /etc/fstab should have been configured
+ mount $REM_DEVICE
+ fi
if [ "$?" != 0 ]; then
echo "Failed to mount device $REM_DEVICE"
exit 1
@@ -185,16 +265,18 @@ if [ "$IS_MOUNTED" != "1" ]; then
fi
# Here we go:
-if [ "$1" == "speed" ]; then
+MEDIUM_SIZE=`df -h | grep mmc | awk '{ print $2 }'`
+echo "Medium size: $MEDIUM_SIZE"
+log_report "SIZE=$MEDIUM_SIZE"
+
+if [ "$MODE" == "speed" ]; then
test_speed
exit 0
fi
# or integrity test:
-SIZE=`df -hm | grep /media/mmc | awk '{$1=$1;print}' | cut -d " " -f 4`
-
-SIZE=40
+if [ "$NB_ITER" == "" ]; then NB_ITER=40; fi
it=0
mkdir -p $TEMP_DIR
@@ -204,7 +286,7 @@ MD5=$TEMP_DIR/test.rnd.md5
dd if=/dev/urandom of=$FILE bs=1024 count=1024 2>/dev/null
md5sum $FILE > $MD5
-while [ $it -le $SIZE ]; do
+while [ $it -le $NB_ITER ]; do
FILEMMC=$MOUNT_DIR/test_$it.rnd
# MD5=$TEMP_DIR/test_$it.rnd.md5
echo -en "\r Copying: $FILEMMC"
@@ -215,8 +297,7 @@ done
echo ""
-umount $MOUNT_DIR
-mount $REM_DEVICE $MOUNT_DIR
+remount
date
FILES=`ls $MOUNT_DIR/*.rnd`
@@ -236,6 +317,6 @@ echo "Integrity test successful !"
rm -rf $TEMP_DIR
rm $MOUNT_DIR/*.rnd
-umount $MOUNT_DIR
+special_umount
exit 0
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-04-15 13:42:59
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 108bf417b34f2057a61aa9d156fc94f066f8cb77 (commit)
from e8bd09f664b1afa253a2941fe2bf62e979cf1886 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 108bf417b34f2057a61aa9d156fc94f066f8cb77
Author: Julien Boibessot <jul...@ar...>
Date: Mon Apr 15 15:42:32 2013 +0200
[BUILDROOT] 2012.02: Add opkg package manager (BR mainline backport)
-----------------------------------------------------------------------
Summary of changes:
.../204-armadeus-add_opkg_package_backport.patch | 191 ++++++++++++++++++++
patches/buildroot/2012.02/cleanup_buildroot.sh | 1 +
2 files changed, 192 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2012.02/204-armadeus-add_opkg_package_backport.patch
diff --git a/patches/buildroot/2012.02/204-armadeus-add_opkg_package_backport.patch b/patches/buildroot/2012.02/204-armadeus-add_opkg_package_backport.patch
new file mode 100644
index 0000000..1c8c640
--- /dev/null
+++ b/patches/buildroot/2012.02/204-armadeus-add_opkg_package_backport.patch
@@ -0,0 +1,191 @@
+Backport from Buildroot mainline, to have opkg until we move to 2013.xx
+
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in 2013-04-15 15:30:55.000000000 +0200
++++ buildroot/package/Config.in 2013-04-15 15:31:52.000000000 +0200
+@@ -574,6 +574,7 @@
+
+ menu "Package managers"
+ source "package/ipkg/Config.in"
++source "package/opkg/Config.in"
+ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+ source "package/rpm/Config.in"
+ endif
+Index: buildroot/package/opkg/Config.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/opkg/Config.in 2013-04-15 15:32:34.000000000 +0200
+@@ -0,0 +1,13 @@
++config BR2_PACKAGE_OPKG
++ bool "opkg"
++ help
++ Opkg is a lightweight package management system, based on ipkg. It is
++ written in C and resembles apt/dpkg in operation. It is intended for
++ use on embedded Linux devices.
++ Opkg is maintained, stable, robust and conservative in its memory
++ usage, despite its buggy ipkg ancestry. As best it can, opkg
++ maintains backwards compatibility with ipkg and conforms to a subset
++ of debian's policy manual regarding control files.
++
++ http://code.google.com/p/opkg/
++
+Index: buildroot/package/opkg/opkg.mk
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/opkg/opkg.mk 2013-04-15 15:40:19.000000000 +0200
+@@ -0,0 +1,22 @@
++#############################################################
++#
++# opkg
++#
++#############################################################
++
++OPKG_VERSION = 635
++OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz
++OPKG_SITE = http://opkg.googlecode.com/svn/trunk/
++OPKG_SITE_METHOD = svn
++OPKG_INSTALL_STAGING = YES
++OPKG_CONF_OPT = --disable-curl --disable-gpg
++OPKG_AUTORECONF = YES
++
++# Ensure directory for lockfile exists
++define OPKG_CREATE_LOCKDIR
++ mkdir -p $(TARGET_DIR)/usr/lib/opkg
++endef
++
++OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
++
++$(eval $(call AUTOTARGETS))
+Index: buildroot/package/opkg/opkg-build
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/opkg/opkg-build 2013-04-15 15:33:13.000000000 +0200
+@@ -0,0 +1,127 @@
++#!/bin/sh
++
++# opkg-build -- construct a .opk from a directory
++# Carl Worth <cw...@ea...>
++# based on a script by Steve Redler IV, st...@sr... 5-21-2001
++set -e
++
++opkg_extract_value() {
++ sed -e "s/^[^:]*:[[:space:]]*//"
++}
++
++required_field() {
++ field=$1
++
++ value=`grep "^$field:" < $CONTROL/control | opkg_extract_value`
++ if [ -z "$value" ]; then
++ echo "opkg-build: Error: $CONTROL/control is missing field $field" ;
++ PKG_ERROR=1
++ fi
++ echo $value
++}
++
++pkg_appears_sane() {
++ local pkg_dir=$1
++
++ local owd=`pwd`
++ cd $pkg_dir
++
++ PKG_ERROR=0
++ if [ ! -f "$CONTROL/control" ]; then
++ echo "opkg-build: Error: Control file $pkg_dir/$CONTROL/control not found."
++ cd $owd
++ return 1
++ fi
++
++ pkg=`required_field Package`
++ version=`required_field Version`
++ arch=`required_field Architecture`
++ required_field Maintainer >/dev/null
++ required_field Description >/dev/null
++
++ if echo $pkg | grep '[^a-z0-9.+-]'; then
++ echo "opkg-build: Error: Package name $name contains illegal characters, (other than [a-z0-9.+-])"
++ PKG_ERROR=1;
++ fi
++
++ local bad_fields=`sed -ne 's/^\([^[:space:]][^:[:space:]]\+[[:space:]]\+\)[^:].*/\1/p' < $CONTROL/control | sed -e 's/\\n//'`
++ if [ -n "$bad_fields" ]; then
++ bad_fields=`echo $bad_fields`
++ echo "opkg-build: Error: The following fields in $CONTROL/control are missing a ':'"
++ echo " $bad_fields"
++ echo "opkg-build: This may be due to a missing initial space for a multi-line field value"
++ PKG_ERROR=1
++ fi
++
++ for script in $CONTROL/preinst $CONTROL/postinst $CONTROL/prerm $CONTROL/postrm; do
++ if [ -f $script -a ! -x $script ]; then
++ echo "opkg-build: Error: package script $script is not executable"
++ PKG_ERROR=1
++ fi
++ done
++
++ if [ -f $CONTROL/conffiles ]; then
++ for cf in `cat $CONTROL/conffiles`; do
++ if [ ! -f ./$cf ]; then
++ echo "opkg-build: Error: $CONTROL/conffiles mentions conffile $cf which does not exist"
++ PKG_ERROR=1
++ fi
++ done
++ fi
++
++ cd $owd
++ return $PKG_ERROR
++}
++
++###
++# opkg-build "main"
++###
++
++case $# in
++1)
++ dest_dir=.
++ ;;
++2)
++ dest_dir=$2
++ ;;
++*)
++ echo "Usage: opkg-build <pkg_directory> [<destination_directory>]" ;
++ exit 1
++ ;;
++esac
++
++pkg_dir=$1
++
++if [ ! -d $pkg_dir ]; then
++ echo "opkg-build: Error: Directory $pkg_dir does not exist"
++ exit 1
++fi
++
++# CONTROL is second so that it takes precedence
++CONTROL=
++[ -d $pkg_dir/DEBIAN ] && CONTROL=DEBIAN
++[ -d $pkg_dir/CONTROL ] && CONTROL=CONTROL
++if [ -z "$CONTROL" ]; then
++ echo "opkg-build: Error: Directory $pkg_dir has no CONTROL subdirectory."
++ exit 1
++fi
++
++if ! pkg_appears_sane $pkg_dir; then
++ echo "Please fix the above errors and try again."
++ exit 1
++fi
++
++tmp_dir=$dest_dir/OPKG_BUILD.$$
++mkdir $tmp_dir
++
++tar -C $pkg_dir -czf $tmp_dir/data.tar.gz . --exclude=$CONTROL
++tar -C $pkg_dir/$CONTROL -czf $tmp_dir/control.tar.gz .
++
++echo "2.0" > $tmp_dir/debian-binary
++
++pkg_file=$dest_dir/${pkg}_${version}_${arch}.opk
++tar -C $tmp_dir -czf $pkg_file debian-binary data.tar.gz control.tar.gz
++rm $tmp_dir/debian-binary $tmp_dir/data.tar.gz $tmp_dir/control.tar.gz
++rmdir $tmp_dir
++
++echo "Packaged contents of $pkg_dir into $pkg_file"
diff --git a/patches/buildroot/2012.02/cleanup_buildroot.sh b/patches/buildroot/2012.02/cleanup_buildroot.sh
index 2bb7241..614ce35 100755
--- a/patches/buildroot/2012.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2012.02/cleanup_buildroot.sh
@@ -84,3 +84,4 @@ rm -f buildroot/package/qt/qt-4.7.4-map_keyboard_keys_metas_and_menu.patch
rm -rf buildroot/package/gnokii/
rm -f buildroot/linux/linux.mk
rm -rf buildroot/package/smstools3/
+rm -rf buildroot/package/opkg/
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-04-13 16:19:59
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via e8bd09f664b1afa253a2941fe2bf62e979cf1886 (commit)
via 979a73835db4bd5d76a3bad3c1cfe919c51bf293 (commit)
via 787c59e7653f7f5ae012dfa2dbed9db12a6f9779 (commit)
from 6015e2bb86eaf11008a0b99b1acbb3ce50719205 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e8bd09f664b1afa253a2941fe2bf62e979cf1886
Author: Julien Boibessot <jul...@ar...>
Date: Sat Apr 13 18:19:21 2013 +0200
[BUILDROOT] 2013.02: fixes gnokii package
commit 979a73835db4bd5d76a3bad3c1cfe919c51bf293
Author: Julien Boibessot <jul...@ar...>
Date: Sat Apr 13 18:16:15 2013 +0200
[BUILDROOT] 2012.02: Add (preliminary) support for smstools3
commit 787c59e7653f7f5ae012dfa2dbed9db12a6f9779
Author: Julien Boibessot <jul...@ar...>
Date: Thu Apr 11 22:56:34 2013 +0200
[SCRIPTS] Small fix in quiltify.sh
-----------------------------------------------------------------------
Summary of changes:
...3-armadeus-add_sms_server_tools_3_package.patch | 112 ++++++++++++++++++++
patches/buildroot/2012.02/cleanup_buildroot.sh | 1 +
.../2013.02/201-armadeus-add_gnokii.patch | 2 +-
scripts/quiltify.sh | 2 +-
4 files changed, 115 insertions(+), 2 deletions(-)
create mode 100644 patches/buildroot/2012.02/203-armadeus-add_sms_server_tools_3_package.patch
diff --git a/patches/buildroot/2012.02/203-armadeus-add_sms_server_tools_3_package.patch b/patches/buildroot/2012.02/203-armadeus-add_sms_server_tools_3_package.patch
new file mode 100644
index 0000000..6dd837b
--- /dev/null
+++ b/patches/buildroot/2012.02/203-armadeus-add_sms_server_tools_3_package.patch
@@ -0,0 +1,112 @@
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in 2013-04-11 22:32:52.000000000 +0200
++++ buildroot/package/Config.in 2013-04-11 22:33:41.000000000 +0200
+@@ -542,6 +542,7 @@
+ source "package/rsync/Config.in"
+ source "package/samba/Config.in"
+ source "package/ser2net/Config.in"
++source "package/smstools3/Config.in"
+ source "package/socat/Config.in"
+ source "package/spawn-fcgi/Config.in"
+ source "package/squid/Config.in"
+Index: buildroot/package/smstools3/Config.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/smstools3/Config.in 2013-04-11 22:32:00.000000000 +0200
+@@ -0,0 +1,13 @@
++config BR2_PACKAGE_SMSTOOLS3
++ bool "smstools3"
++ help
++ The SMS Server Tools 3 is a SMS Gateway software which can send and
++ receive short messages through GSM modems and mobile phones.
++
++ http://smstools3.kekekasvi.com/
++
++
++config BR2_PACKAGE_SMSTOOLS3_NB_MODEMS
++ depends on BR2_PACKAGE_SMSTOOLS3
++ string "Number of modems to support"
++ default 1
+Index: buildroot/package/smstools3/smstools3.mk
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/smstools3/smstools3.mk 2013-04-11 22:52:28.000000000 +0200
+@@ -0,0 +1,32 @@
++#############################################################
++#
++# SMS Server Tools 3
++#
++#############################################################
++
++SMSTOOLS3_VERSION = 3.1.15
++SMSTOOLS3_SITE = http://smstools3.kekekasvi.com/packages/
++
++SMSTOOLS3_NB_MODEMS = $(call qstrip,$(BR2_PACKAGE_SMSTOOLS3_NB_MODEMS))
++
++SMSTOOLS3_CFLAGS = $(TARGET_CFLAGS)
++SMSTOOLS3_CFLAGS += -D NUMBER_OF_MODEMS=$(SMSTOOLS3_NB_MODEMS)
++SMSTOOLS3_CFLAGS += -D NOSTATS
++
++define SMSTOOLS3_BUILD_CMDS
++ $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(SMSTOOLS3_CFLAGS)" -C $(@D)
++endef
++
++define SMSTOOLS3_INSTALL_TARGET_CMDS
++ mkdir -p $(TARGET_DIR)/usr/local/bin
++ cp $(@D)/src/smsd $(TARGET_DIR)/usr/local/bin
++ cp $(@D)/scripts/sendsms $(TARGET_DIR)/usr/local/bin
++ cp $(@D)/examples/smsd.conf.easy $(TARGET_DIR)/etc/smsd.conf
++ $(INSTALL) -m 0755 -D package/smstools3/S50smsd $(TARGET_DIR)/etc/init.d/S50smsd
++endef
++
++define SMSTOOLS3_CLEAN_CMDS
++ $(MAKE) -C $(@D) clean
++endef
++
++$(eval $(call GENTARGETS))
+Index: buildroot/package/smstools3/S50smsd
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/smstools3/S50smsd 2013-04-11 22:49:28.000000000 +0200
+@@ -0,0 +1,38 @@
++#!/bin/sh
++#
++# Starts the SMS Server Tools 3
++#
++
++NAME=smsd
++DAEMON=/usr//local/bin/$NAME
++PIDFILE=/var/run/$NAME.pid
++
++start()
++{
++ echo -n "Starting $NAME: "
++ start-stop-daemon -S -q -p $PIDFILE --exec $DAEMON -- -P $PIDFILE $DEVICES && echo "OK" || echo "Failed"
++}
++
++stop()
++{
++ echo -n "Stopping $NAME: "
++ start-stop-daemon -K -q -p $PIDFILE && echo "OK" || echo "Failed"
++ rm -f $PIDFILE
++}
++
++case "$1" in
++ start)
++ start
++ ;;
++ stop)
++ stop
++ ;;
++ restart|reload)
++ restart
++ ;;
++ *)
++ echo $"Usage: $0 {start|stop|restart}"
++ exit 1
++esac
++
++exit $?
diff --git a/patches/buildroot/2012.02/cleanup_buildroot.sh b/patches/buildroot/2012.02/cleanup_buildroot.sh
index 0fbb714..2bb7241 100755
--- a/patches/buildroot/2012.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2012.02/cleanup_buildroot.sh
@@ -83,3 +83,4 @@ rm -rf buildroot/package/compat-wireless/
rm -f buildroot/package/qt/qt-4.7.4-map_keyboard_keys_metas_and_menu.patch
rm -rf buildroot/package/gnokii/
rm -f buildroot/linux/linux.mk
+rm -rf buildroot/package/smstools3/
diff --git a/patches/buildroot/2013.02/201-armadeus-add_gnokii.patch b/patches/buildroot/2013.02/201-armadeus-add_gnokii.patch
index 652dac0..83d99bf 100644
--- a/patches/buildroot/2013.02/201-armadeus-add_gnokii.patch
+++ b/patches/buildroot/2013.02/201-armadeus-add_gnokii.patch
@@ -53,5 +53,5 @@ Index: buildroot/package/gnokii/gnokii.mk
+GNOKII_PRE_CONFIGURE_HOOKS += GNOKII_INTLTOOLIZE
+
+GNOKII_DEPENDENCIES = libglib2 host-intltool
-+$(eval $(call AUTOTARGETS))
++$(eval $(autotools-package))
+
diff --git a/scripts/quiltify.sh b/scripts/quiltify.sh
index 77e2e6b..59c210c 100755
--- a/scripts/quiltify.sh
+++ b/scripts/quiltify.sh
@@ -107,7 +107,7 @@ if [ "$1" == "export" ]; then
else
echo "No VCS found"
fi
- echo -e "\n--- If you worked on Buildroot patches don't forget to eventually update patches/buildroot/201x.xx/cleanup.sh !\n"
+ echo -e "\n--- If you worked on Buildroot patches don't forget to eventually update patches/buildroot/$ARMADEUS_BUILDROOT_VERSION/cleanup_buildroot.sh !\n"
exit 0
fi
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-04-11 12:04:47
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 6015e2bb86eaf11008a0b99b1acbb3ce50719205 (commit)
via c0ebd0e1516783af8b8cdda8b5ccfd90e05579f1 (commit)
via 11a9855f076b147726e0982aefd6fdc66577f6b4 (commit)
from bff3ea864e4ebc229e1e0577ac108fcc8b301fd2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6015e2bb86eaf11008a0b99b1acbb3ce50719205
Author: Julien Boibessot <jul...@ar...>
Date: Thu Apr 11 14:00:55 2013 +0200
[LINUX] 3.8: allows i.MX28 RTC to wakeup the system if powered with battery
commit c0ebd0e1516783af8b8cdda8b5ccfd90e05579f1
Author: Julien Boibessot <jul...@ar...>
Date: Thu Apr 11 11:58:47 2013 +0200
[LINUX] Fixes some FPGA drivers build with 3.8+ kernels
commit 11a9855f076b147726e0982aefd6fdc66577f6b4
Author: Julien Boibessot <jul...@ar...>
Date: Thu Apr 11 10:40:48 2013 +0200
[LINUX] 3.8: move to 3.8.6
-----------------------------------------------------------------------
Summary of changes:
...linux-3.8.4.config => apf27-linux-3.8.6.config} | 0
...linux-3.8.4.config => apf28-linux-3.8.6.config} | 0
...linux-3.8.4.config => apf51-linux-3.8.6.config} | 0
...nux-3.8.4.config => apf9328-linux-3.8.6.config} | 0
patches/linux/{3.8.4 => 3.8.6} | 0
...low_to_use_the_wakeupalarm_functionnality.patch | 22 ++++++++++++++++++++
.../fpga/virtual_components/button/gbutton.c | 16 +++++++++++--
.../fpga/virtual_components/irq_mngr/main.c | 6 +++++
.../modules/fpga/virtual_components/led/g_led.c | 16 +++++++++++--
9 files changed, 54 insertions(+), 6 deletions(-)
rename buildroot/target/device/armadeus/apf27/{apf27-linux-3.8.4.config => apf27-linux-3.8.6.config} (100%)
rename buildroot/target/device/armadeus/apf28/{apf28-linux-3.8.4.config => apf28-linux-3.8.6.config} (100%)
rename buildroot/target/device/armadeus/apf51/{apf51-linux-3.8.4.config => apf51-linux-3.8.6.config} (100%)
rename buildroot/target/device/armadeus/apf9328/{apf9328-linux-3.8.4.config => apf9328-linux-3.8.6.config} (100%)
rename patches/linux/{3.8.4 => 3.8.6} (100%)
create mode 100644 patches/linux/3.8/0442-armadeus-rtc-mxs-allow_to_use_the_wakeupalarm_functionnality.patch
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.4.config b/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.6.config
similarity index 100%
rename from buildroot/target/device/armadeus/apf27/apf27-linux-3.8.4.config
rename to buildroot/target/device/armadeus/apf27/apf27-linux-3.8.6.config
diff --git a/buildroot/target/device/armadeus/apf28/apf28-linux-3.8.4.config b/buildroot/target/device/armadeus/apf28/apf28-linux-3.8.6.config
similarity index 100%
rename from buildroot/target/device/armadeus/apf28/apf28-linux-3.8.4.config
rename to buildroot/target/device/armadeus/apf28/apf28-linux-3.8.6.config
diff --git a/buildroot/target/device/armadeus/apf51/apf51-linux-3.8.4.config b/buildroot/target/device/armadeus/apf51/apf51-linux-3.8.6.config
similarity index 100%
rename from buildroot/target/device/armadeus/apf51/apf51-linux-3.8.4.config
rename to buildroot/target/device/armadeus/apf51/apf51-linux-3.8.6.config
diff --git a/buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.4.config b/buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.6.config
similarity index 100%
rename from buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.4.config
rename to buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.6.config
diff --git a/patches/linux/3.8.4 b/patches/linux/3.8.6
similarity index 100%
rename from patches/linux/3.8.4
rename to patches/linux/3.8.6
diff --git a/patches/linux/3.8/0442-armadeus-rtc-mxs-allow_to_use_the_wakeupalarm_functionnality.patch b/patches/linux/3.8/0442-armadeus-rtc-mxs-allow_to_use_the_wakeupalarm_functionnality.patch
new file mode 100644
index 0000000..c5fde4e
--- /dev/null
+++ b/patches/linux/3.8/0442-armadeus-rtc-mxs-allow_to_use_the_wakeupalarm_functionnality.patch
@@ -0,0 +1,22 @@
+Without this fix /sys RTC interface can't be used to program a wakeup alarm,
+for example:
+ echo enabled > /sys/class/rtc/rtc0/device/power/wakeup
+ sec=`date '+%s'`
+ let "sec=$sec+30"
+ echo $sec > /sys/class/rtc/rtc0/wakealarm
+ poweroff
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: linux-3.4.37/drivers/rtc/rtc-stmp3xxx.c
+===================================================================
+--- linux-3.4.37.orig/drivers/rtc/rtc-stmp3xxx.c 2013-04-10 11:16:54.000000000 +0200
++++ linux-3.4.37/drivers/rtc/rtc-stmp3xxx.c 2013-04-10 12:16:21.000000000 +0200
+@@ -217,6 +217,7 @@
+ STMP3XXX_RTC_CTRL_ALARM_IRQ_EN,
+ rtc_data->io + STMP3XXX_RTC_CTRL_CLR);
+
++ device_set_wakeup_capable(&pdev->dev, 1);
+ rtc_data->rtc = rtc_device_register(pdev->name, &pdev->dev,
+ &stmp3xxx_rtc_ops, THIS_MODULE);
+ if (IS_ERR(rtc_data->rtc)) {
diff --git a/target/linux/modules/fpga/virtual_components/button/gbutton.c b/target/linux/modules/fpga/virtual_components/button/gbutton.c
index 9b78ae4..c6c18a8 100644
--- a/target/linux/modules/fpga/virtual_components/button/gbutton.c
+++ b/target/linux/modules/fpga/virtual_components/button/gbutton.c
@@ -265,6 +265,16 @@ out_release_mem:
return ret;
}
+#if LINUX_VERSION_CODE > KERNEL_VERSION(3,8,0)
+/* __dev* stuff is removed from Linux since 30/11/2012 */
+#define __devexit
+#if defined(MODULE) || defined(CONFIG_HOTPLUG)
+# define __devexit_p(x) x
+# else
+# define __devexit_p(x) NULL
+# endif
+#endif
+
static int __devexit button_remove(struct platform_device *pdev)
{
struct plat_button_port *pdata = pdev->dev.platform_data;
@@ -291,9 +301,9 @@ static struct platform_driver plat_button_driver = {
.probe = button_probe,
.remove = __devexit_p(button_remove),
.driver = {
- .name = "button",
- .owner = THIS_MODULE,
- },
+ .name = "button",
+ .owner = THIS_MODULE,
+ },
};
static int __init button_init(void)
diff --git a/target/linux/modules/fpga/virtual_components/irq_mngr/main.c b/target/linux/modules/fpga/virtual_components/irq_mngr/main.c
index 1be5fb3..2d86bbd 100644
--- a/target/linux/modules/fpga/virtual_components/irq_mngr/main.c
+++ b/target/linux/modules/fpga/virtual_components/irq_mngr/main.c
@@ -207,6 +207,12 @@ static int ocore_irq_mng_resume(struct platform_device *pdev)
# define ocore_irq_mng_resume NULL
#endif /* CONFIG_PM */
+#if LINUX_VERSION_CODE > KERNEL_VERSION(3,8,0)
+/* __dev* stuff is removed from Linux since 30/11/2012 */
+#define __devinit
+#define __devexit
+#endif
+
static int __devinit ocore_irq_mng_probe(struct platform_device *pdev)
{
struct ocore_irq_mng_pdata *pdata = pdev->dev.platform_data;
diff --git a/target/linux/modules/fpga/virtual_components/led/g_led.c b/target/linux/modules/fpga/virtual_components/led/g_led.c
index 3011a2d..b54b72b 100644
--- a/target/linux/modules/fpga/virtual_components/led/g_led.c
+++ b/target/linux/modules/fpga/virtual_components/led/g_led.c
@@ -266,6 +266,16 @@ out_release_mem:
return ret;
}
+#if LINUX_VERSION_CODE > KERNEL_VERSION(3,8,0)
+/* __dev* stuff is removed from Linux since 30/11/2012 */
+#define __devexit
+#if defined(MODULE) || defined(CONFIG_HOTPLUG)
+# define __devexit_p(x) x
+# else
+# define __devexit_p(x) NULL
+# endif
+#endif
+
static int __devexit led_remove(struct platform_device *pdev)
{
struct plat_led_port *dev = pdev->dev.platform_data;
@@ -286,9 +296,9 @@ static int __devexit led_remove(struct platform_device *pdev)
}
static struct platform_driver plat_led_driver = {
- .probe = led_probe,
- .remove = __devexit_p(led_remove),
- .driver = {
+ .probe = led_probe,
+ .remove = __devexit_p(led_remove),
+ .driver = {
.name = "led",
.owner = THIS_MODULE,
},
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-04-05 19:57:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via bff3ea864e4ebc229e1e0577ac108fcc8b301fd2 (commit)
via e4db1d3cd9b9385779bda47930c69d9155440f6c (commit)
from af3841d004046113044d7c16e5c279c510b94925 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bff3ea864e4ebc229e1e0577ac108fcc8b301fd2
Author: Julien Boibessot <jul...@ar...>
Date: Fri Apr 5 21:56:23 2013 +0200
[BUILDROOT] 2012.02: add a fix to allow kernel+initrd image generation
commit e4db1d3cd9b9385779bda47930c69d9155440f6c
Author: Julien Boibessot <jul...@ar...>
Date: Fri Apr 5 21:20:08 2013 +0200
[BUILDROOT] Fixes 2012.02 build due to gnokii package recent adding and makes this package also available for 2013.02
-----------------------------------------------------------------------
Summary of changes:
.../2012.02/201-armadeus-add_gnokii.patch | 2 +-
...initrd_generation_with_armadeus_platforms.patch | 31 ++++++++++++++++++++
patches/buildroot/2012.02/cleanup_buildroot.sh | 8 +++--
.../201-armadeus-add_gnokii.patch | 2 +-
patches/buildroot/2013.02/cleanup_buildroot.sh | 1 +
5 files changed, 39 insertions(+), 5 deletions(-)
create mode 100644 patches/buildroot/2012.02/202-armadeus-fixes_initrd_generation_with_armadeus_platforms.patch
copy patches/buildroot/{2012.02 => 2013.02}/201-armadeus-add_gnokii.patch (96%)
diff --git a/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch b/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
index a0aa128..652dac0 100644
--- a/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
+++ b/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
@@ -1,6 +1,6 @@
Gnokii: add sms management program gnokii
-signed-off-by Fabien Marteau <fab...@ar...>
+Signed-off-by: Fabien Marteau <fab...@ar...>
---
Index: buildroot/package/Config.in
diff --git a/patches/buildroot/2012.02/202-armadeus-fixes_initrd_generation_with_armadeus_platforms.patch b/patches/buildroot/2012.02/202-armadeus-fixes_initrd_generation_with_armadeus_platforms.patch
new file mode 100644
index 0000000..3e35009
--- /dev/null
+++ b/patches/buildroot/2012.02/202-armadeus-fixes_initrd_generation_with_armadeus_platforms.patch
@@ -0,0 +1,31 @@
+No more needed on recent BR as image names can be renamed with BR2_ROOTFS_POST_IMAGE_SCRIPT.
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/linux/linux.mk
+===================================================================
+--- buildroot.orig/linux/linux.mk 2013-04-05 21:21:26.000000000 +0200
++++ buildroot/linux/linux.mk 2013-04-05 21:44:52.000000000 +0200
+@@ -152,9 +152,9 @@
+ # replaced later by the real cpio archive, and the kernel will be
+ # rebuilt using the linux26-rebuild-with-initramfs target.
+ $(if $(BR2_TARGET_ROOTFS_INITRAMFS),
+- touch $(BINARIES_DIR)/rootfs.cpio
++ touch $(BINARIES_DIR)/$(BOARD_NAME)-rootfs.cpio
+ $(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_INITRD,$(@D)/.config)
+- $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,\"$(BINARIES_DIR)/rootfs.cpio\",$(@D)/.config)
++ $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,\"$(BINARIES_DIR)/$(BOARD_NAME)-rootfs.cpio\",$(@D)/.config)
+ $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_UID,0,$(@D)/.config)
+ $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0,$(@D)/.config)
+ $(call KCONFIG_DISABLE_OPT,CONFIG_INITRAMFS_COMPRESSION_NONE,$(@D)/.config)
+@@ -225,8 +225,8 @@
+ endif
+
+ # Support for rebuilding the kernel after the cpio archive has
+-# been generated in $(BINARIES_DIR)/rootfs.cpio.
+-$(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.cpio
++# been generated in $(BINARIES_DIR)/$(BOARD_NAME)-rootfs.cpio.
++$(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/$(BOARD_NAME)-rootfs.cpio
+ @$(call MESSAGE,"Rebuilding kernel with initramfs")
+ # Build the kernel.
+ $(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_IMAGE_NAME)
diff --git a/patches/buildroot/2012.02/cleanup_buildroot.sh b/patches/buildroot/2012.02/cleanup_buildroot.sh
index bd98625..0fbb714 100755
--- a/patches/buildroot/2012.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2012.02/cleanup_buildroot.sh
@@ -75,9 +75,11 @@ rm -rf buildroot/package/linux-firmware/
rm -rf buildroot/package/uboot-tools/
rm -rf buildroot/package/qtcreator/
rm -rf buildroot/package/marble/
-rm -rf buildroot/package/m4/m4-1.4.16-no-gets.patch
-rm -rf buildroot/package/tar/tar-1.26-no-gets.patch
+rm -f buildroot/package/m4/m4-1.4.16-no-gets.patch
+rm -f buildroot/package/tar/tar-1.26-no-gets.patch
rm -rf buildroot/package/cunit/
rm -rf buildroot/package/qextserialport/
rm -rf buildroot/package/compat-wireless/
-rm -rf buildroot/package/qt/qt-4.7.4-map_keyboard_keys_metas_and_menu.patch
+rm -f buildroot/package/qt/qt-4.7.4-map_keyboard_keys_metas_and_menu.patch
+rm -rf buildroot/package/gnokii/
+rm -f buildroot/linux/linux.mk
diff --git a/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch b/patches/buildroot/2013.02/201-armadeus-add_gnokii.patch
similarity index 96%
copy from patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
copy to patches/buildroot/2013.02/201-armadeus-add_gnokii.patch
index a0aa128..652dac0 100644
--- a/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
+++ b/patches/buildroot/2013.02/201-armadeus-add_gnokii.patch
@@ -1,6 +1,6 @@
Gnokii: add sms management program gnokii
-signed-off-by Fabien Marteau <fab...@ar...>
+Signed-off-by: Fabien Marteau <fab...@ar...>
---
Index: buildroot/package/Config.in
diff --git a/patches/buildroot/2013.02/cleanup_buildroot.sh b/patches/buildroot/2013.02/cleanup_buildroot.sh
index 0d11337..b2cbd46 100755
--- a/patches/buildroot/2013.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2013.02/cleanup_buildroot.sh
@@ -70,3 +70,4 @@ rm -rf buildroot/package/uboot-tools/
rm -rf buildroot/package/qtcreator/
rm -rf buildroot/package/marble/
rm -rf buildroot/package/cunit/
+rm -rf buildroot/package/gnokii/
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2013-04-04 09:02:31
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via af3841d004046113044d7c16e5c279c510b94925 (commit)
from 682af324d6274db84b7a4b8bb6c96dc25bcc7100 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit af3841d004046113044d7c16e5c279c510b94925
Author: Fabien Marteau <fab...@ar...>
Date: Thu Apr 4 11:01:51 2013 +0200
[buildroot] Gnokii: add sms management program gnokii
-----------------------------------------------------------------------
Summary of changes:
.../2012.02/201-armadeus-add_gnokii.patch | 57 ++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
diff --git a/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch b/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
new file mode 100644
index 0000000..a0aa128
--- /dev/null
+++ b/patches/buildroot/2012.02/201-armadeus-add_gnokii.patch
@@ -0,0 +1,57 @@
+Gnokii: add sms management program gnokii
+
+signed-off-by Fabien Marteau <fab...@ar...>
+---
+
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in 2013-04-03 15:46:12.000000000 +0200
++++ buildroot/package/Config.in 2013-04-03 15:46:12.000000000 +0200
+@@ -200,6 +200,7 @@
+ source "package/gdisk/Config.in"
+ source "package/genext2fs/Config.in"
+ source "package/genromfs/Config.in"
++source "package/gnokii/Config.in"
+ source "package/gpm/Config.in"
+ source "package/gpsd/Config.in"
+ source "package/gsmmux/Config.in"
+Index: buildroot/package/gnokii/Config.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/gnokii/Config.in 2013-04-03 15:53:44.000000000 +0200
+@@ -0,0 +1,7 @@
++config BR2_PACKAGE_GNOKII
++ bool "gnokii program"
++ help
++ gnokii provides tools and a user space driver for use with mobile phone
++
++ http://gnokii.org/
++
+Index: buildroot/package/gnokii/gnokii.mk
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/gnokii/gnokii.mk 2013-04-04 10:55:18.000000000 +0200
+@@ -0,0 +1,23 @@
++#############################################################
++#
++# GNOKII
++#
++#############################################################
++
++GNOKII_VERSION=24395006a399bc9a5aa90708c6c9b817032b5345
++GNOKII_SITE=git://git.savannah.nongnu.org/gnokii.git
++GNOKII_SITE_METHOD=git
++GNOKII_AUTORECONF=YES
++GNOKII_CONF_OPT=--without-x --disable-xdebug --disable-rlpdebug --disable-nls
++
++GNOKII_AC_LOCAL_FLAGS=-I m4/
++
++define GNOKII_INTLTOOLIZE
++ cd $(@D) && $(HOST_DIR)/usr/bin/intltoolize --force --copy --automake
++endef
++
++GNOKII_PRE_CONFIGURE_HOOKS += GNOKII_INTLTOOLIZE
++
++GNOKII_DEPENDENCIES = libglib2 host-intltool
++$(eval $(call AUTOTARGETS))
++
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-04-01 16:44:18
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 682af324d6274db84b7a4b8bb6c96dc25bcc7100 (commit)
from b0082e5ebb26d5f478dd1238930e5f5d20648598 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 682af324d6274db84b7a4b8bb6c96dc25bcc7100
Author: Philippe Reynes <tr...@ya...>
Date: Sat Mar 30 19:14:10 2013 +0100
apf27: update linux config to 3.9-rc4
-----------------------------------------------------------------------
Summary of changes:
...x-3.9-rc2.config => apf27-linux-3.9-rc4.config} | 0
.../device/armadeus/apf27/apf27-linux-3.9.config | 18 +++++++++++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
rename buildroot/target/device/armadeus/apf27/{apf27-linux-3.9-rc2.config => apf27-linux-3.9-rc4.config} (100%)
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc2.config b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc4.config
similarity index 100%
rename from buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc2.config
rename to buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc4.config
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config
index ccd755b..bc08620 100644
--- a/buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config
+++ b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config
@@ -1,3 +1,4 @@
+CONFIG_EXPERIMENTAL=y
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
@@ -18,8 +19,8 @@ CONFIG_MODULE_UNLOAD=y
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_MXC=y
CONFIG_MXC_IRQ_PRIOR=y
-CONFIG_MXC_DEBUG_BOARD=y
CONFIG_MACH_IMX27_DT=y
+CONFIG_MACH_APF27=y
CONFIG_PREEMPT=y
CONFIG_AEABI=y
CONFIG_ZBOOT_ROM_TEXT=0x0
@@ -41,6 +42,8 @@ CONFIG_IP_PNP_DHCP=y
# CONFIG_INET_DIAG is not set
CONFIG_IPV6=y
CONFIG_CAN=m
+CONFIG_CAN_RAW=m
+CONFIG_CAN_BCM=m
CONFIG_CAN_VCAN=m
CONFIG_CAN_MCP251X=m
CONFIG_BT=m
@@ -98,6 +101,7 @@ CONFIG_RT2X00=m
CONFIG_RT2500USB=m
CONFIG_RT73USB=m
CONFIG_RT2800USB=m
+CONFIG_RTL8192CU=m
CONFIG_ZD1211RW=m
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y
@@ -106,6 +110,7 @@ CONFIG_KEYBOARD_IMX=m
# CONFIG_INPUT_MOUSE is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_TSC2102=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
@@ -120,8 +125,8 @@ CONFIG_GPIO_SYSFS=y
CONFIG_W1=y
CONFIG_W1_MASTER_MXC=y
CONFIG_W1_SLAVE_THERM=y
-CONFIG_HWMON=m
CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_MEDIA_SUPPORT=m
@@ -131,12 +136,13 @@ CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_PWC=m
CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_SOC_CAMERA=m
+CONFIG_VIDEO_MX2=m
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
# CONFIG_DVB_AU8522_V4L is not set
# CONFIG_DVB_TUNER_DIB0070 is not set
# CONFIG_DVB_TUNER_DIB0090 is not set
CONFIG_FB=y
-# CONFIG_FB_MX3 is not set
+CONFIG_FB_IMX=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
CONFIG_LCD_L4F00242T03=y
@@ -195,6 +201,12 @@ CONFIG_IMX_SDMA=y
CONFIG_IMX_DMA=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_IIO=m
+CONFIG_ARMADEUS_DRIVERS=y
+CONFIG_ARMADEUS_FPGA_DRIVERS=y
+CONFIG_ARMADEUS_FPGA_LOADER_DRIVER=m
+CONFIG_ARMADEUS_FPGA_VIRTUAL_COMPONENTS_IRQ_MNGR=m
+CONFIG_ARMADEUS_FPGA_VIRTUAL_COMPONENTS_BUTTON=m
+CONFIG_ARMADEUS_FPGA_VIRTUAL_COMPONENTS_LED=m
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_POSIX_ACL=y
hooks/post-receive
--
armadeus
|
|
From: SebR <se...@us...> - 2013-03-28 18:19:46
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via b0082e5ebb26d5f478dd1238930e5f5d20648598 (commit)
from 2d500d401ef64a8f713ab561e6bee3800e9c4c0d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b0082e5ebb26d5f478dd1238930e5f5d20648598
Author: Sebastien Royen <seb...@ar...>
Date: Thu Mar 28 19:18:41 2013 +0100
[as_devices] add basic power_supply interface (limited)
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/Makefile | 1 +
target/packages/as_devices/c/as_power_supply.c | 153 ++++++++++++++++++++++++
target/packages/as_devices/c/as_power_supply.h | 90 ++++++++++++++
3 files changed, 244 insertions(+), 0 deletions(-)
create mode 100644 target/packages/as_devices/c/as_power_supply.c
create mode 100644 target/packages/as_devices/c/as_power_supply.h
diff --git a/target/packages/as_devices/c/Makefile b/target/packages/as_devices/c/Makefile
index b4cd6c0..53ba79a 100644
--- a/target/packages/as_devices/c/Makefile
+++ b/target/packages/as_devices/c/Makefile
@@ -26,6 +26,7 @@ OBJ += as_max5821.o
OBJ += as_backlight.o
OBJ += as_i2c_eeprom.o
OBJ += as_helpers.o
+OBJ += as_power_supply.o
LIBRARY=as_devices
LIB_VERS=1
diff --git a/target/packages/as_devices/c/as_power_supply.c b/target/packages/as_devices/c/as_power_supply.c
new file mode 100644
index 0000000..4f0083c
--- /dev/null
+++ b/target/packages/as_devices/c/as_power_supply.c
@@ -0,0 +1,153 @@
+/*
+ ** C wrapper for GPIOs usage.
+ **
+ ** Copyright (C) 2013 The Armadeus Project - ARMadeus Systems
+ ** Sébastien Royen <seb...@ar...>
+ **
+ ** This library is free software; you can redistribute it and/or
+ ** modify it under the terms of the GNU Lesser General Public
+ ** License as published by the Free Software Foundation; either
+ ** version 2.1 of the License, or (at your option) any later version.
+ **
+ ** This library is distributed in the hope that it will be useful,
+ ** but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ** Lesser General Public License for more details.
+ **
+ ** You should have received a copy of the GNU Lesser General Public
+ ** License along with this library; if not, write to the Free Software
+ ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <unistd.h> /* for close() */
+#include <errno.h>
+
+#define DEBUG
+#include "as_helpers.h"
+#include "as_power_supply.h"
+
+#define SYS_CLASS_POWER_SUPPLY_PATH "/sys/class/power_supply"
+
+/*------------------------------------------------------------------------------*/
+
+struct as_power_supply_device *as_power_supply_open(char *a_power_supply_name)
+{
+ struct as_power_supply_device *dev;
+ char buf[128];
+ char *fake_root;
+
+ fake_root = as_helpers_get_root();
+
+ dev = malloc(sizeof(struct as_power_supply_device));
+ if (dev == NULL) {
+ ERROR("Can't allocate as_power_supply_device structure\n");
+ } else {
+ snprintf(dev->power_supply_name, sizeof(dev->power_supply_name), "%s", a_power_supply_name);
+
+ snprintf(buf, sizeof(buf), "%s"SYS_CLASS_POWER_SUPPLY_PATH"/%s/online",
+ fake_root, dev->power_supply_name);
+ dev->file_online = open(buf, O_RDONLY);
+ if (dev->file_online < 0) {
+ ERROR("Can't open %s\n", buf);
+ }
+
+ snprintf(buf, sizeof(buf), "%s"SYS_CLASS_POWER_SUPPLY_PATH"/%s/status",
+ fake_root, dev->power_supply_name);
+ dev->file_status = open(buf, O_RDONLY);
+ if (dev->file_status < 0) {
+ ERROR("Can't open %s\n", buf);
+ }
+
+ snprintf(buf, sizeof(buf), "%s"SYS_CLASS_POWER_SUPPLY_PATH"/%s/capacity",
+ fake_root, dev->power_supply_name);
+ dev->file_capacity = open(buf, O_RDONLY);
+ if (dev->file_capacity < 0) {
+ ERROR("Can't open %s\n", buf);
+ }
+ }
+ return dev;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_power_supply_close(struct as_power_supply_device *a_power_supply_dev)
+{
+ if(a_power_supply_dev == NULL){
+ ERROR("device is NULL\n");
+ return -1;
+ }
+ if (a_power_supply_dev->file_online >= 0)
+ close(a_power_supply_dev->file_online);
+ if (a_power_supply_dev->file_status >= 0)
+ close(a_power_supply_dev->file_status);
+ if (a_power_supply_dev->file_capacity >= 0)
+ close(a_power_supply_dev->file_capacity);
+ free(a_power_supply_dev);
+ return 0;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_power_supply_is_online(struct as_power_supply_device *a_power_supply_dev)
+{
+ int32_t value;
+ int32_t ret;
+
+ value = -1;
+ if (a_power_supply_dev->file_online != -1) {
+ ret = as_read_int(a_power_supply_dev->file_online, &value);
+ if (ret < 0) {
+ ERROR("Can't read input file\n");
+ value = -1;
+ }
+ }
+
+ return value;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_power_supply_get_status(struct as_power_supply_device *a_power_supply_dev,
+ char *a_buffer, uint32_t a_length)
+{
+ int32_t ret;
+
+ ret = -1;
+ if (a_power_supply_dev->file_status != -1) {
+ ret = as_read_buffer(a_power_supply_dev->file_status, a_buffer, a_length);
+ if (ret < 0) {
+ ERROR("Can't read input file\n");
+ } else {
+ if (ret < a_length)
+ a_buffer[ret] = 0;
+ else
+ a_buffer[a_length - 1] = 0;
+ }
+ }
+
+ return ret;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_power_supply_get_capacity(struct as_power_supply_device *a_power_supply_dev)
+{
+ int32_t value;
+ int32_t ret;
+
+ value = -1;
+ if (a_power_supply_dev->file_capacity != -1) {
+ ret = as_read_int(a_power_supply_dev->file_capacity, &value);
+ if (ret < 0) {
+ ERROR("Can't read input file\n");
+ value = -1;
+ }
+ }
+
+ return value;
+}
+
+/*------------------------------------------------------------------------------*/
diff --git a/target/packages/as_devices/c/as_power_supply.h b/target/packages/as_devices/c/as_power_supply.h
new file mode 100644
index 0000000..394452c
--- /dev/null
+++ b/target/packages/as_devices/c/as_power_supply.h
@@ -0,0 +1,90 @@
+/*
+** The ARMadeus Project
+**
+** Copyright (C) 2013 The armadeus systems team
+** Sébastien Royen <seb...@ar...>
+**
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Lesser General Public
+** License as published by the Free Software Foundation; either
+** version 2.1 of the License, or (at your option) any later version.
+**
+** This library is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** Lesser General Public License for more details.
+**
+** You should have received a copy of the GNU Lesser General Public
+** License along with this library; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+#ifndef __ASPOWERSUPPLY_H__
+#define __ASPOWERSUPPLY_H__
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
+/**
+ * Store power supplier parameters
+ */
+struct as_power_supply_device {
+ char power_supply_name[32];
+ int file_online;
+ int file_capacity;
+ int file_status;
+};
+
+
+/** @brief Initialize power supply access
+ *
+ * @param a_power_supply_name char* name of the power supplier
+ *
+ * @return NULL on error
+ */
+struct as_power_supply_device *as_power_supply_open(char *a_power_supply_name);
+
+/** @brief Close power supply access
+ *
+ * @param a_power_supply_dev as_power_supply_device pointer structure
+ *
+ * @return error if negative
+ */
+int32_t as_power_supply_close(struct as_power_supply_device *a_led_dev);
+
+/** @brief Get online state
+ *
+ * @param a_power_supply_dev as_power_supply_device pointer structure
+ *
+ * @return 1 if power supply active, 0 otherwise
+ */
+int32_t as_power_supply_is_online(struct as_power_supply_device *a_power_supply_dev);
+
+/** @brief Get online state
+ *
+ * @param a_power_supply_dev as_power_supply_device pointer structure
+ * @param a_buffer char pointer to receive status as text
+ * @param a_length uint32_t buffer size
+ *
+ * @return -1 on error, 0 on success
+ */
+int32_t as_power_supply_get_status(struct as_power_supply_device *a_power_supply_dev,
+ char *a_buffer, uint32_t a_length);
+
+/** @brief Get capacity
+ *
+ * @param a_power_supply_dev as_power_supply_device pointer structure
+ *
+ * @return charge level in percent
+ */
+int32_t as_power_supply_get_capacity(struct as_power_supply_device *a_power_supply_dev);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __ASPOWERSUPPLY_H__ */
hooks/post-receive
--
armadeus
|
|
From: SebR <se...@us...> - 2013-03-28 18:15:15
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 2d500d401ef64a8f713ab561e6bee3800e9c4c0d (commit)
from 1bf49e9a0ee2a8c5fc2be75ec028db21814c827a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2d500d401ef64a8f713ab561e6bee3800e9c4c0d
Author: Sebastien Royen <seb...@ar...>
Date: Thu Mar 28 18:48:43 2013 +0100
[as_devices] add fake_root via AS_DEVICES_ROOT env variable (use to
simulate sysfs during test)
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/as_backlight.c | 33 +++++++++++++++-----------
target/packages/as_devices/c/as_helpers.c | 9 +++++++
target/packages/as_devices/c/as_helpers.h | 9 +++++++
target/packages/as_devices/c/as_led.c | 17 +++++++++-----
4 files changed, 48 insertions(+), 20 deletions(-)
diff --git a/target/packages/as_devices/c/as_backlight.c b/target/packages/as_devices/c/as_backlight.c
index 70808fb..3eaf036 100644
--- a/target/packages/as_devices/c/as_backlight.c
+++ b/target/packages/as_devices/c/as_backlight.c
@@ -24,8 +24,9 @@
#include <stdlib.h>
#include <fcntl.h> /* for open() */
#include <unistd.h> /* for write() */
+#include <limits.h>
-/* #define DEBUG */
+#define DEBUG
#include "as_helpers.h"
#include "as_backlight.h"
@@ -36,14 +37,15 @@
#define MAX_BRIGHTNESS_PATH "max_brightness"
#define BRIGHTNESS_PATH "brightness"
-#define SIZE_OF_BUFF 128
-
/*------------------------------------------------------------------------------*/
struct as_backlight_device *as_backlight_open2(char *aBacklightName)
{
- char buffer[SIZE_OF_BUFF];
+ char buffer[PATH_MAX];
struct as_backlight_device *dev;
+ char *fake_root;
+
+ fake_root = as_helpers_get_root();
if (aBacklightName == NULL) {
aBacklightName = BACKLIGHT_DEFAULT;
@@ -56,19 +58,22 @@ struct as_backlight_device *as_backlight_open2(char *aBacklightName)
}
/* open backlight management files */
- snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, ACTUAL_BRIGHTNESS_PATH);
+ snprintf(buffer, sizeof(buffer), "%s%s/%s/%s", fake_root, BACKLIGHT_SYS_PATH,
+ aBacklightName, ACTUAL_BRIGHTNESS_PATH);
if ((dev->fileActualBrightness = open(buffer, O_RDONLY)) < 0) {
- ERROR("Can't open actual brightness file");
+ ERROR("Can't open %s file\n", buffer);
return NULL;
}
- snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, MAX_BRIGHTNESS_PATH);
+ snprintf(buffer, sizeof(buffer), "%s%s/%s/%s", fake_root, BACKLIGHT_SYS_PATH,
+ aBacklightName, MAX_BRIGHTNESS_PATH);
if ((dev->fileMaxBrightness = open(buffer, O_RDONLY)) < 0) {
- ERROR("Can't open max brightness file");
+ ERROR("Can't open %s file\n", buffer);
return NULL;
}
- snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, BRIGHTNESS_PATH);
+ snprintf(buffer, sizeof(buffer), "%s%s/%s/%s", fake_root, BACKLIGHT_SYS_PATH,
+ aBacklightName, BRIGHTNESS_PATH);
if((dev->fileBrightness = open(buffer, O_RDWR)) < 0) {
- ERROR("Can't open brightness file");
+ ERROR("Can't open %s file\n", buffer);
return NULL;
}
@@ -84,7 +89,7 @@ struct as_backlight_device *as_backlight_open()
int32_t as_backlight_get_actual_brightness(struct as_backlight_device *aDev)
{
- char buffer[SIZE_OF_BUFF];
+ char buffer[32];
int ret;
if (aDev == NULL) {
@@ -92,7 +97,7 @@ int32_t as_backlight_get_actual_brightness(struct as_backlight_device *aDev)
return -1;
}
- ret = as_read_buffer(aDev->fileActualBrightness, buffer, SIZE_OF_BUFF);
+ ret = as_read_buffer(aDev->fileActualBrightness, buffer, sizeof(buffer));
if (ret < 0) {
ERROR("Can't read actual brightness");
return ret;
@@ -105,7 +110,7 @@ int32_t as_backlight_get_actual_brightness(struct as_backlight_device *aDev)
int32_t as_backlight_get_max_brightness(struct as_backlight_device *aDev)
{
- char buffer[SIZE_OF_BUFF];
+ char buffer[32];
int ret;
if (aDev == NULL) {
@@ -113,7 +118,7 @@ int32_t as_backlight_get_max_brightness(struct as_backlight_device *aDev)
return -1;
}
- ret = as_read_buffer(aDev->fileMaxBrightness, buffer, SIZE_OF_BUFF);
+ ret = as_read_buffer(aDev->fileMaxBrightness, buffer, sizeof(buffer));
if (ret < 0) {
ERROR("Can't read max brightness");
return ret;
diff --git a/target/packages/as_devices/c/as_helpers.c b/target/packages/as_devices/c/as_helpers.c
index 7fe7d6d..9ae0b9e 100644
--- a/target/packages/as_devices/c/as_helpers.c
+++ b/target/packages/as_devices/c/as_helpers.c
@@ -135,3 +135,12 @@ int as_helpers_get_platform(void)
return APF_UNKNOWN;
}
+
+char *as_helpers_get_root()
+{
+ char * root;
+ root = getenv("AS_DEVICES_ROOT");
+ if (root)
+ return root;
+ return "";
+}
diff --git a/target/packages/as_devices/c/as_helpers.h b/target/packages/as_devices/c/as_helpers.h
index 535dba2..c558db3 100644
--- a/target/packages/as_devices/c/as_helpers.h
+++ b/target/packages/as_devices/c/as_helpers.h
@@ -74,6 +74,15 @@ int as_read_int(int fd, int *value_res);
*/
int as_helpers_get_platform(void);
+/** @brief return a prefix to use for /sys files
+ *
+ * Read the content of environment variable AS_DEVICES_ROOT
+ * Can be use to fake as_devices on PC (for tests)
+ *
+ * @return getenv("AS_DEVICES_ROOT") or ""
+ */
+char *as_helpers_get_root();
+
enum {
APF_UNKNOWN,
APF9328,
diff --git a/target/packages/as_devices/c/as_led.c b/target/packages/as_devices/c/as_led.c
index 85721b9..e854fda 100644
--- a/target/packages/as_devices/c/as_led.c
+++ b/target/packages/as_devices/c/as_led.c
@@ -24,6 +24,7 @@
#include <fcntl.h>
#include <unistd.h> /* for close() */
#include <errno.h>
+#include <limits.h>
#include "as_helpers.h"
#include "as_led.h"
@@ -38,12 +39,13 @@
static int32_t led_echo(struct as_led_device *a_led_dev, char *a_filename,
char *a_content, int32_t a_length)
{
- char buf[64];
+ char buf[PATH_MAX];
int32_t result = -1;
int fd;
+ char *fake_root = as_helpers_get_root();
- snprintf(buf, sizeof(buf), SYS_CLASS_LEDS_PATH"/%s/%s",
- a_led_dev->led_name, a_filename);
+ snprintf(buf, sizeof(buf), "%s"SYS_CLASS_LEDS_PATH"/%s/%s",
+ fake_root, a_led_dev->led_name, a_filename);
fd = open(buf, O_WRONLY);
if (fd < 0) {
ERROR("Can't open %s\n", buf);
@@ -63,19 +65,22 @@ static int32_t led_echo(struct as_led_device *a_led_dev, char *a_filename,
struct as_led_device *as_led_open(char *a_led_name)
{
struct as_led_device *dev;
- char buf[64];
+ char buf[PATH_MAX];
+ char *fake_root = as_helpers_get_root();
dev = malloc(sizeof(struct as_led_device));
if (dev == NULL) {
ERROR("Can't allocate as_led_device structure\n");
} else {
snprintf(dev->led_name, sizeof(dev->led_name), "%s", a_led_name);
- snprintf(buf, sizeof(buf), SYS_CLASS_LEDS_PATH"/%s/brightness", dev->led_name);
+ snprintf(buf, sizeof(buf), "%s"SYS_CLASS_LEDS_PATH"/%s/brightness",
+ fake_root, dev->led_name);
dev->file_brightness = open(buf, O_RDWR);
if (dev->file_brightness < 0) {
ERROR("Can't open %s\n", buf);
} else {
- snprintf(buf, sizeof(buf), SYS_CLASS_LEDS_PATH"/%s/max_brightness", dev->led_name);
+ snprintf(buf, sizeof(buf), "%s"SYS_CLASS_LEDS_PATH"/%s/max_brightness",
+ fake_root, dev->led_name);
dev->file_max_brightness = open(buf, O_RDONLY);
if (dev->file_max_brightness < 0) {
ERROR("Can't open %s\n", buf);
hooks/post-receive
--
armadeus
|
|
From: SebR <se...@us...> - 2013-03-26 15:22:23
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 1bf49e9a0ee2a8c5fc2be75ec028db21814c827a (commit)
from 2175806fcc229eb4a1167e20053b629a4a116919 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1bf49e9a0ee2a8c5fc2be75ec028db21814c827a
Author: seb <seb...@ar...>
Date: Tue Mar 26 16:17:04 2013 +0100
[as_devices] fix as_backlight sys access
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/as_backlight.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/packages/as_devices/c/as_backlight.c b/target/packages/as_devices/c/as_backlight.c
index 0e3a4fe..70808fb 100644
--- a/target/packages/as_devices/c/as_backlight.c
+++ b/target/packages/as_devices/c/as_backlight.c
@@ -36,7 +36,7 @@
#define MAX_BRIGHTNESS_PATH "max_brightness"
#define BRIGHTNESS_PATH "brightness"
-#define SIZE_OF_BUFF 50
+#define SIZE_OF_BUFF 128
/*------------------------------------------------------------------------------*/
@@ -57,12 +57,12 @@ struct as_backlight_device *as_backlight_open2(char *aBacklightName)
/* open backlight management files */
snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, ACTUAL_BRIGHTNESS_PATH);
- if ((dev->fileActualBrightness = open(buffer, O_RDWR)) < 0) {
+ if ((dev->fileActualBrightness = open(buffer, O_RDONLY)) < 0) {
ERROR("Can't open actual brightness file");
return NULL;
}
snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, MAX_BRIGHTNESS_PATH);
- if ((dev->fileMaxBrightness = open(buffer, O_RDWR)) < 0) {
+ if ((dev->fileMaxBrightness = open(buffer, O_RDONLY)) < 0) {
ERROR("Can't open max brightness file");
return NULL;
}
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-03-23 22:15:35
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 2175806fcc229eb4a1167e20053b629a4a116919 (commit)
via bd2c24c8fb19e07fe3d26c842b1b85b6f2961238 (commit)
from 8f519b38a274a2c0a4f64edf5c62438a61ab22a6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2175806fcc229eb4a1167e20053b629a4a116919
Author: Julien Boibessot <jul...@ar...>
Date: Sat Mar 23 23:15:01 2013 +0100
[LINUX] 3.8: all boards: add possibility to use 3.8.4 kernel
commit bd2c24c8fb19e07fe3d26c842b1b85b6f2961238
Author: Philippe Reynes <tr...@ya...>
Date: Sun Mar 17 14:16:25 2013 +0100
apf27: add configuration for linux 3.9-rc2
-----------------------------------------------------------------------
Summary of changes:
.../device/armadeus/apf27/apf27-linux-3.8.4.config | 1 +
.../armadeus/apf27/apf27-linux-3.9-rc2.config | 1 +
...f27-linux-3.8.config => apf27-linux-3.9.config} | 18 +++---------------
.../device/armadeus/apf28/apf28-linux-3.8.4.config | 1 +
.../device/armadeus/apf51/apf51-linux-3.8.4.config | 1 +
.../armadeus/apf9328/apf9328-linux-3.8.4.config | 1 +
patches/linux/3.8.4 | 1 +
7 files changed, 9 insertions(+), 15 deletions(-)
create mode 120000 buildroot/target/device/armadeus/apf27/apf27-linux-3.8.4.config
create mode 120000 buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc2.config
copy buildroot/target/device/armadeus/apf27/{apf27-linux-3.8.config => apf27-linux-3.9.config} (92%)
create mode 120000 buildroot/target/device/armadeus/apf28/apf28-linux-3.8.4.config
create mode 120000 buildroot/target/device/armadeus/apf51/apf51-linux-3.8.4.config
create mode 120000 buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.4.config
create mode 120000 patches/linux/3.8.4
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.4.config b/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.4.config
new file mode 120000
index 0000000..f72e685
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.4.config
@@ -0,0 +1 @@
+apf27-linux-3.8.config
\ No newline at end of file
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc2.config b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc2.config
new file mode 120000
index 0000000..9e93e0d
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9-rc2.config
@@ -0,0 +1 @@
+apf27-linux-3.9.config
\ No newline at end of file
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.config b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config
similarity index 92%
copy from buildroot/target/device/armadeus/apf27/apf27-linux-3.8.config
copy to buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config
index bc08620..ccd755b 100644
--- a/buildroot/target/device/armadeus/apf27/apf27-linux-3.8.config
+++ b/buildroot/target/device/armadeus/apf27/apf27-linux-3.9.config
@@ -1,4 +1,3 @@
-CONFIG_EXPERIMENTAL=y
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
@@ -19,8 +18,8 @@ CONFIG_MODULE_UNLOAD=y
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_MXC=y
CONFIG_MXC_IRQ_PRIOR=y
+CONFIG_MXC_DEBUG_BOARD=y
CONFIG_MACH_IMX27_DT=y
-CONFIG_MACH_APF27=y
CONFIG_PREEMPT=y
CONFIG_AEABI=y
CONFIG_ZBOOT_ROM_TEXT=0x0
@@ -42,8 +41,6 @@ CONFIG_IP_PNP_DHCP=y
# CONFIG_INET_DIAG is not set
CONFIG_IPV6=y
CONFIG_CAN=m
-CONFIG_CAN_RAW=m
-CONFIG_CAN_BCM=m
CONFIG_CAN_VCAN=m
CONFIG_CAN_MCP251X=m
CONFIG_BT=m
@@ -101,7 +98,6 @@ CONFIG_RT2X00=m
CONFIG_RT2500USB=m
CONFIG_RT73USB=m
CONFIG_RT2800USB=m
-CONFIG_RTL8192CU=m
CONFIG_ZD1211RW=m
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y
@@ -110,7 +106,6 @@ CONFIG_KEYBOARD_IMX=m
# CONFIG_INPUT_MOUSE is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_INPUT_TOUCHSCREEN=y
-CONFIG_TOUCHSCREEN_TSC2102=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
@@ -125,8 +120,8 @@ CONFIG_GPIO_SYSFS=y
CONFIG_W1=y
CONFIG_W1_MASTER_MXC=y
CONFIG_W1_SLAVE_THERM=y
+CONFIG_HWMON=m
CONFIG_WATCHDOG=y
-CONFIG_IMX2_WDT=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_MEDIA_SUPPORT=m
@@ -136,13 +131,12 @@ CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_PWC=m
CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_SOC_CAMERA=m
-CONFIG_VIDEO_MX2=m
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
# CONFIG_DVB_AU8522_V4L is not set
# CONFIG_DVB_TUNER_DIB0070 is not set
# CONFIG_DVB_TUNER_DIB0090 is not set
CONFIG_FB=y
-CONFIG_FB_IMX=y
+# CONFIG_FB_MX3 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
CONFIG_LCD_L4F00242T03=y
@@ -201,12 +195,6 @@ CONFIG_IMX_SDMA=y
CONFIG_IMX_DMA=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_IIO=m
-CONFIG_ARMADEUS_DRIVERS=y
-CONFIG_ARMADEUS_FPGA_DRIVERS=y
-CONFIG_ARMADEUS_FPGA_LOADER_DRIVER=m
-CONFIG_ARMADEUS_FPGA_VIRTUAL_COMPONENTS_IRQ_MNGR=m
-CONFIG_ARMADEUS_FPGA_VIRTUAL_COMPONENTS_BUTTON=m
-CONFIG_ARMADEUS_FPGA_VIRTUAL_COMPONENTS_LED=m
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_POSIX_ACL=y
diff --git a/buildroot/target/device/armadeus/apf28/apf28-linux-3.8.4.config b/buildroot/target/device/armadeus/apf28/apf28-linux-3.8.4.config
new file mode 120000
index 0000000..9893aa9
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf28/apf28-linux-3.8.4.config
@@ -0,0 +1 @@
+apf28-linux-3.8.config
\ No newline at end of file
diff --git a/buildroot/target/device/armadeus/apf51/apf51-linux-3.8.4.config b/buildroot/target/device/armadeus/apf51/apf51-linux-3.8.4.config
new file mode 120000
index 0000000..08e79a8
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf51/apf51-linux-3.8.4.config
@@ -0,0 +1 @@
+apf51-linux-3.8.config
\ No newline at end of file
diff --git a/buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.4.config b/buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.4.config
new file mode 120000
index 0000000..7c15277
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf9328/apf9328-linux-3.8.4.config
@@ -0,0 +1 @@
+apf9328-linux-3.8.config
\ No newline at end of file
diff --git a/patches/linux/3.8.4 b/patches/linux/3.8.4
new file mode 120000
index 0000000..98fccd6
--- /dev/null
+++ b/patches/linux/3.8.4
@@ -0,0 +1 @@
+3.8
\ No newline at end of file
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-03-22 14:35:14
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 8f519b38a274a2c0a4f64edf5c62438a61ab22a6 (commit)
from cb4cdd98a0378de1f03944e3364b9fe5362474e9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8f519b38a274a2c0a4f64edf5c62438a61ab22a6
Author: Nicolas Colombain <nic...@ar...>
Date: Fri Mar 22 15:33:44 2013 +0100
[DEBUG] imxregs: Add i.MX28 RTC registers
-----------------------------------------------------------------------
Summary of changes:
target/linux/debug/imxregs/imx28regs.h | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/target/linux/debug/imxregs/imx28regs.h b/target/linux/debug/imxregs/imx28regs.h
index 00bc95c..5728ed7 100644
--- a/target/linux/debug/imxregs/imx28regs.h
+++ b/target/linux/debug/imxregs/imx28regs.h
@@ -138,6 +138,21 @@ static struct reg_info regs[] =
{ "HW_LRADC_THRESHOLD0", 0x80050150, 0, 0xffffffff, 'x', "LRADC Theshold0 Register" },
{ "HW_LRADC_THRESHOLD1", 0x80050160, 0, 0xffffffff, 'x', "LRADC Theshold1 Register" },
{ "HW_LRADC_VERSION", 0x80050170, 0, 0xffffffff, 'x', "LRADC Version Register" },
+/* RTC */
+{ "HW_RTC_CTL", 0x80056000, 0, 0xffffffff, 'x', "Real Time Clock Control Register" },
+{ "HW_RTC_STAT", 0x80056010, 0, 0xffffffff, 'x', "Real Time Clock Status Register" },
+{ "HW_RTC_MILLISECONDS", 0x80056020, 0, 0xffffffff, 'x', "Real Time Clock Milliseconds Counter" },
+{ "HW_RTC_SECONDS", 0x80056030, 0, 0xffffffff, 'x', "Real Time Clock Seconds Counter" },
+{ "HW_RTC_ALARM", 0x80056040, 0, 0xffffffff, 'x', "Real Time Clock Alarm Register" },
+{ "HW_RTC_WATCHDOG", 0x80056050, 0, 0xffffffff, 'x', "Watchdog Timer Register" },
+{ "HW_RTC_PERSISTENT0", 0x80056060, 0, 0xffffffff, 'x', "Persistent State Register 0" },
+{ "HW_RTC_PERSISTENT1", 0x80056070, 0, 0xffffffff, 'x', "Persistent State Register 1" },
+{ "HW_RTC_PERSISTENT2", 0x80056080, 0, 0xffffffff, 'x', "Persistent State Register 2" },
+{ "HW_RTC_PERSISTENT3", 0x80056090, 0, 0xffffffff, 'x', "Persistent State Register 3" },
+{ "HW_RTC_PERSISTENT4", 0x800560a0, 0, 0xffffffff, 'x', "Persistent State Register 4" },
+{ "HW_RTC_PERSISTENT5", 0x800560b0, 0, 0xffffffff, 'x', "Persistent State Register 5" },
+{ "HW_RTC_DEBUG", 0x800560c0, 0, 0xffffffff, 'x', "Real Time Clock Debug Register" },
+{ "HW_RTC_VERSION", 0x800560d0, 0, 0xffffffff, 'x', "Real Time Clock Version Register" },
/* PWM */
{ "HW_PWM_CTRL", 0x80064000, 0, 0xffffffff, 'x', "PWM Control and Status Register" },
{ "HW_PWM_ACTIVE0", 0x80064010, 0, 0xffffffff, 'x', "PWM Channel 0 Active Register" },
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-03-20 16:29:40
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via cb4cdd98a0378de1f03944e3364b9fe5362474e9 (commit)
via 89109bc622e5341a4d8aa43d3d5cce72b829e909 (commit)
from c793e66a8af2499531aa268ed4febe534fde0070 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cb4cdd98a0378de1f03944e3364b9fe5362474e9
Author: Julien Boibessot <jul...@ar...>
Date: Wed Mar 20 17:28:42 2013 +0100
[DEBUG] imx28regs: add PWM registers
commit 89109bc622e5341a4d8aa43d3d5cce72b829e909
Author: Julien Boibessot <jul...@ar...>
Date: Wed Mar 20 17:27:34 2013 +0100
[TESTS] Makes test_backlight usable on custom APF platforms
-----------------------------------------------------------------------
Summary of changes:
target/linux/debug/imxregs/imx28regs.h | 19 +++++++++++++++++++
target/test/test_backlight.sh | 16 ++++++++++------
2 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/target/linux/debug/imxregs/imx28regs.h b/target/linux/debug/imxregs/imx28regs.h
index 77d8e6f..00bc95c 100644
--- a/target/linux/debug/imxregs/imx28regs.h
+++ b/target/linux/debug/imxregs/imx28regs.h
@@ -138,6 +138,25 @@ static struct reg_info regs[] =
{ "HW_LRADC_THRESHOLD0", 0x80050150, 0, 0xffffffff, 'x', "LRADC Theshold0 Register" },
{ "HW_LRADC_THRESHOLD1", 0x80050160, 0, 0xffffffff, 'x', "LRADC Theshold1 Register" },
{ "HW_LRADC_VERSION", 0x80050170, 0, 0xffffffff, 'x', "LRADC Version Register" },
+/* PWM */
+{ "HW_PWM_CTRL", 0x80064000, 0, 0xffffffff, 'x', "PWM Control and Status Register" },
+{ "HW_PWM_ACTIVE0", 0x80064010, 0, 0xffffffff, 'x', "PWM Channel 0 Active Register" },
+{ "HW_PWM_PERIOD0", 0x80064020, 0, 0xffffffff, 'x', "PWM Channel 0 Period Register" },
+{ "HW_PWM_ACTIVE1", 0x80064030, 0, 0xffffffff, 'x', "PWM Channel 1 Active Register" },
+{ "HW_PWM_PERIOD1", 0x80064040, 0, 0xffffffff, 'x', "PWM Channel 1 Period Register" },
+{ "HW_PWM_ACTIVE2", 0x80064050, 0, 0xffffffff, 'x', "PWM Channel 2 Active Register" },
+{ "HW_PWM_PERIOD2", 0x80064060, 0, 0xffffffff, 'x', "PWM Channel 2 Period Register" },
+{ "HW_PWM_ACTIVE3", 0x80064070, 0, 0xffffffff, 'x', "PWM Channel 3 Active Register" },
+{ "HW_PWM_PERIOD3", 0x80064080, 0, 0xffffffff, 'x', "PWM Channel 3 Period Register" },
+{ "HW_PWM_ACTIVE4", 0x80064090, 0, 0xffffffff, 'x', "PWM Channel 4 Active Register" },
+{ "HW_PWM_PERIOD4", 0x800640a0, 0, 0xffffffff, 'x', "PWM Channel 4 Period Register" },
+{ "HW_PWM_ACTIVE5", 0x800640b0, 0, 0xffffffff, 'x', "PWM Channel 5 Active Register" },
+{ "HW_PWM_PERIOD5", 0x800640c0, 0, 0xffffffff, 'x', "PWM Channel 5 Period Register" },
+{ "HW_PWM_ACTIVE6", 0x800640d0, 0, 0xffffffff, 'x', "PWM Channel 6 Active Register" },
+{ "HW_PWM_PERIOD6", 0x800640e0, 0, 0xffffffff, 'x', "PWM Channel 6 Period Register" },
+{ "HW_PWM_ACTIVE7", 0x800640f0, 0, 0xffffffff, 'x', "PWM Channel 7 Active Register" },
+{ "HW_PWM_PERIOD7", 0x80064100, 0, 0xffffffff, 'x', "PWM Channel 7 Period Register" },
+{ "HW_PWM_VERSION", 0x80064110, 0, 0xffffffff, 'x', "PWM Version Register" },
/* USBCTRL0 */
{ "HW_USBCTRL0_ID", 0x80080000, 0, 0xffffffff, 'x', "USBCTRL0 Host ID" },
{ "HW_USBCTRL0_HWGENERAL", 0x80080004, 0, 0xffffffff, 'x', "USBCTRL0 Host General" },
diff --git a/target/test/test_backlight.sh b/target/test/test_backlight.sh
index 1c145f6..a94c856 100755
--- a/target/test/test_backlight.sh
+++ b/target/test/test_backlight.sh
@@ -3,7 +3,7 @@
#
# Script to test Armadeus Software release
#
-# Copyright (C) 2008-20123 The Armadeus Project - Armadeus Systems
+# Copyright (C) 2008-2013 The Armadeus Project - Armadeus Systems
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -43,10 +43,14 @@ test_backlight()
clear > /dev/tty1
cat /dev/zero | tr '\0' '\377' | dd of=/dev/fb0 bs=1K count=750 2>/dev/null
- execute_for_target load_driver
- if [ "$?" != 0 ]; then
- echo "module not found"
- exit_failed
+ if [ "$1" != "" ]; then
+ SYS_DIR=/sys/class/backlight/$1
+ else
+ execute_for_target load_driver
+ if [ "$?" != 0 ]; then
+ echo "module not found"
+ exit_failed
+ fi
fi
current=`cat $SYS_DIR/actual_brightness`
max_bright=`cat $SYS_DIR/max_brightness`
@@ -77,5 +81,5 @@ test_backlight()
exit_failed
}
-test_backlight
+test_backlight $1
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2013-03-20 01:59:20
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via c793e66a8af2499531aa268ed4febe534fde0070 (commit)
from a1560785a08259f89bd5d883f96d5e0bcaedd228 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c793e66a8af2499531aa268ed4febe534fde0070
Author: Eric Jarrige <eri...@ar...>
Date: Wed Mar 20 03:03:40 2013 +0100
[BUILDROOT] 2013.02: cleanup and fix armadeus patch hunk and fuzz
-----------------------------------------------------------------------
Summary of changes:
.../2013.02/001-add_armadeus_device.patch | 8 +-
.../002-add_armadeus_specific_packages.patch | 4 +-
patches/buildroot/2013.02/006-lcd4linux.patch | 4 +-
patches/buildroot/2013.02/018-allegro.patch | 2 +-
.../buildroot/2013.02/021-sdl-water-config.patch | 2 +-
patches/buildroot/2013.02/034-slideshow.patch | 2 +-
patches/buildroot/2013.02/040-linux-makefile.patch | 14 ++--
.../buildroot/2013.02/043-mesa-add_packages.patch | 2 +-
...support-for-Safe-Boot-file-format-this-fo.patch | 6 +-
...d_possibility_to_choose_board_header_file.patch | 8 +-
...x_in_a_standalone_way_after_configuration.patch | 2 +-
...-linux-change_board_specific_patches_name.patch | 2 +-
.../buildroot/2013.02/072-xenomai-package.patch | 14 ++--
.../buildroot/2013.02/085-adds_gpm_package.patch | 4 +-
.../buildroot/2013.02/110-bluez3-add_package.patch | 6 +-
.../2013.02/116-openobex-add_package.patch | 2 +-
.../2013.02/117-ussp-push-add_package.patch | 2 +-
.../buildroot/2013.02/119-fbtest-add_package.patch | 2 +-
.../buildroot/2013.02/120-cwiid-add_package.patch | 2 +-
.../2013.02/121-target-arm926t_is_arm926ej-s.patch | 4 +-
.../buildroot/2013.02/122-urg-add_package.patch | 2 +-
.../2013.02/123-pywebradio-add_package.patch | 4 +-
.../buildroot/2013.02/124-e-uae-add_package.patch | 2 +-
...-qt-full_integration_with_cross_compiling.patch | 4 +-
.../135-linux-add_linux26-clean_target.patch | 2 +-
...-disable_ip_busybox_if_iproute2_buildroot.patch | 7 +-
...fix_installation_bug_on_some_host_systems.patch | 2 +-
...lection_even_when_custom_rootfs_is_chosen.patch | 10 +-
.../2013.02/168-libcanfestival-add_package.patch | 2 +-
.../buildroot/2013.02/172-gsmmux-add_package.patch | 6 +-
.../2013.02/176-imx-test-add_package.patch | 2 +-
.../178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch | 10 +-
.../2013.02/181-qtcreator-add_package.patch | 2 +-
.../2013.02/185-gst-fsl-plugin-add_package.patch | 97 --------------------
.../2013.02/189-dbus-fix_installation.patch | 2 +-
.../2013.02/191-madplay-requires_libintl.patch | 2 +-
.../2013.02/196-python-crc16-add_package.patch | 2 +-
.../buildroot/2013.02/197-cunit-add_package.patch | 2 +-
patches/buildroot/2013.02/cleanup_buildroot.sh | 1 -
39 files changed, 78 insertions(+), 175 deletions(-)
delete mode 100644 patches/buildroot/2013.02/185-gst-fsl-plugin-add_package.patch
diff --git a/patches/buildroot/2013.02/001-add_armadeus_device.patch b/patches/buildroot/2013.02/001-add_armadeus_device.patch
index 7e4f5c8..66c7914 100644
--- a/patches/buildroot/2013.02/001-add_armadeus_device.patch
+++ b/patches/buildroot/2013.02/001-add_armadeus_device.patch
@@ -4,7 +4,7 @@ Index: buildroot/Makefile
===================================================================
--- buildroot/Makefile
+++ buildroot/Makefile
-@@ -336,6 +336,7 @@ endif
+@@ -334,6 +334,7 @@ endif
include boot/common.mk
include linux/linux.mk
include system/system.mk
@@ -16,9 +16,9 @@ Index: buildroot/system/Config.in
===================================================================
--- buildroot/system/Config.in
+++ buildroot/system/Config.in
-@@ -183,4 +183,5 @@ config BR2_ROOTFS_POST_BUILD_SCRIPT
- only argument. Make sure the exit code of those scripts are 0,
- otherwise make will stop after calling them.
+@@ -294,4 +294,5 @@ config BR2_ROOTFS_POST_BUILD_SCRIPT
+ first and only argument. The script is executed from the
+ main Buildroot source directory as the current directory.
+source "target/device/armadeus/Config.in"
endmenu
diff --git a/patches/buildroot/2013.02/002-add_armadeus_specific_packages.patch b/patches/buildroot/2013.02/002-add_armadeus_specific_packages.patch
index bd5703d..a5ae028 100644
--- a/patches/buildroot/2013.02/002-add_armadeus_specific_packages.patch
+++ b/patches/buildroot/2013.02/002-add_armadeus_specific_packages.patch
@@ -4,9 +4,9 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-02-21 16:43:29.000000000 +0100
+++ buildroot/package/Config.in 2012-02-21 16:43:56.000000000 +0100
-@@ -3,6 +3,9 @@
+@@ -2,6 +2,9 @@
+
source "package/busybox/Config.in"
- source "package/customize/Config.in"
+# Armadeus specific
+source "package/armadeus/Config.in"
diff --git a/patches/buildroot/2013.02/006-lcd4linux.patch b/patches/buildroot/2013.02/006-lcd4linux.patch
index aa1c584..097e12c 100644
--- a/patches/buildroot/2013.02/006-lcd4linux.patch
+++ b/patches/buildroot/2013.02/006-lcd4linux.patch
@@ -6,14 +6,14 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot/package/Config.in
+++ buildroot/package/Config.in
-@@ -230,6 +230,7 @@
+@@ -248,6 +248,7 @@
source "package/iostat/Config.in"
source "package/irda-utils/Config.in"
source "package/kbd/Config.in"
+source "package/lcd4linux/Config.in"
source "package/lcdproc/Config.in"
- source "package/linux-firmware/Config.in"
source "package/lm-sensors/Config.in"
+ source "package/lshw/Config.in"
Index: buildroot/package/lcd4linux/Config.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
diff --git a/patches/buildroot/2013.02/018-allegro.patch b/patches/buildroot/2013.02/018-allegro.patch
index 81da7f8..43a542b 100644
--- a/patches/buildroot/2013.02/018-allegro.patch
+++ b/patches/buildroot/2013.02/018-allegro.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot/package/Config.in
+++ buildroot/package/Config.in
-@@ -112,6 +112,7 @@
+@@ -115,6 +115,7 @@
source "package/rrdtool/Config.in"
comment "graphic libraries"
diff --git a/patches/buildroot/2013.02/021-sdl-water-config.patch b/patches/buildroot/2013.02/021-sdl-water-config.patch
index 4596ff1..d14eea7 100644
--- a/patches/buildroot/2013.02/021-sdl-water-config.patch
+++ b/patches/buildroot/2013.02/021-sdl-water-config.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot/package/Config.in
+++ buildroot/package/Config.in
-@@ -135,6 +135,8 @@
+@@ -139,6 +139,8 @@
source "package/sdl_net/Config.in"
source "package/sdl_ttf/Config.in"
source "package/sdl_gfx/Config.in"
diff --git a/patches/buildroot/2013.02/034-slideshow.patch b/patches/buildroot/2013.02/034-slideshow.patch
index 408838f..41acbce 100644
--- a/patches/buildroot/2013.02/034-slideshow.patch
+++ b/patches/buildroot/2013.02/034-slideshow.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot/package/Config.in
+++ buildroot/package/Config.in
-@@ -135,6 +135,7 @@
+@@ -139,6 +139,7 @@
source "package/sdl_net/Config.in"
source "package/sdl_ttf/Config.in"
source "package/sdl_gfx/Config.in"
diff --git a/patches/buildroot/2013.02/040-linux-makefile.patch b/patches/buildroot/2013.02/040-linux-makefile.patch
index 49e96a9..727b82c 100644
--- a/patches/buildroot/2013.02/040-linux-makefile.patch
+++ b/patches/buildroot/2013.02/040-linux-makefile.patch
@@ -2,7 +2,7 @@ Index: buildroot/linux/linux.mk
===================================================================
--- buildroot.orig/linux/linux.mk 2012-02-12 23:22:29.000000000 +0100
+++ buildroot/linux/linux.mk 2012-02-21 20:57:38.000000000 +0100
-@@ -44,7 +44,8 @@
+@@ -50,7 +50,8 @@
# Get the real Linux version, which tells us where kernel modules are
# going to be installed in the target filesystem.
@@ -10,9 +10,9 @@ Index: buildroot/linux/linux.mk
+LINUX_VERSION_PROBED = $(LINUX_VERSION)
+#LINUX_VERSION_PROBED = $(shell $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease)
- ifeq ($(BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM),y)
- LINUX_IMAGE_NAME=$(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_TARGET_NAME))
-@@ -124,7 +125,14 @@
+ ifeq ($(BR2_LINUX_KERNEL_USE_INTREE_DTS),y)
+ KERNEL_DTS_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_INTREE_DTS_NAME))
+@@ -155,7 +156,14 @@
KERNEL_SOURCE_CONFIG = $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)
endif
@@ -27,8 +27,8 @@ Index: buildroot/linux/linux.mk
cp $(KERNEL_SOURCE_CONFIG) $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig
$(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) buildroot_defconfig
rm $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig
-@@ -168,7 +176,7 @@
- endif
+@@ -255,7 +253,7 @@
+
define LINUX_INSTALL_IMAGES_CMDS
- cp $(LINUX_IMAGE_PATH) $(BINARIES_DIR)
@@ -36,7 +36,7 @@ Index: buildroot/linux/linux.mk
endef
define LINUX_INSTALL_TARGET_CMDS
-@@ -214,7 +222,7 @@
+@@ -305,7 +313,7 @@
# Build the kernel.
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_IMAGE_NAME)
# Copy the kernel image to its final destination
diff --git a/patches/buildroot/2013.02/043-mesa-add_packages.patch b/patches/buildroot/2013.02/043-mesa-add_packages.patch
index bd52bb5..2854070 100644
--- a/patches/buildroot/2013.02/043-mesa-add_packages.patch
+++ b/patches/buildroot/2013.02/043-mesa-add_packages.patch
@@ -2,7 +2,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot/package/Config.in
+++ buildroot/package/Config.in
-@@ -403,6 +403,7 @@
+@@ -440,6 +440,7 @@
source "package/librsvg/Config.in"
source "package/libsvgtiny/Config.in"
source "package/libungif/Config.in"
diff --git a/patches/buildroot/2013.02/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch b/patches/buildroot/2013.02/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch
index 7d06140..e8bc5a5 100644
--- a/patches/buildroot/2013.02/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch
+++ b/patches/buildroot/2013.02/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch
@@ -16,7 +16,7 @@ diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index c8db9fb..5fd5258 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
-@@ -90,6 +90,9 @@ config BR2_TARGET_UBOOT_FORMAT_LDR
+@@ -115,6 +115,9 @@ config BR2_TARGET_UBOOT_FORMAT_LDR
depends on BR2_bfin
bool "u-boot.ldr"
@@ -25,12 +25,12 @@ index c8db9fb..5fd5258 100644
+
endchoice
- menuconfig BR2_TARGET_UBOOT_NETWORK
+ config BR2_TARGET_UBOOT_OMAP_IFT
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index db9de8d..1394400 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
-@@ -29,6 +29,10 @@ else ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y)
+@@ -37,6 +37,10 @@ else ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y)
UBOOT_BIN = u-boot-nand.bin
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y)
UBOOT_BIN = u-boot.img
diff --git a/patches/buildroot/2013.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch b/patches/buildroot/2013.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch
index cd8a50e..3ccdcff 100644
--- a/patches/buildroot/2013.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch
+++ b/patches/buildroot/2013.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch
@@ -9,9 +9,9 @@ Index: buildroot/boot/uboot/Config.in
===================================================================
--- buildroot.orig/boot/uboot/Config.in 2012-02-21 16:44:24.000000000 +0100
+++ buildroot/boot/uboot/Config.in 2012-02-21 16:44:26.000000000 +0100
-@@ -11,6 +11,14 @@
- One of U-Boot supported boards to be built.
- This will be suffixed with _config to meet U-Boot standard naming.
+@@ -12,6 +12,14 @@
+ See boards.cfg in U-Boot source code for the list of available
+ configurations.
+config BR2_TARGET_UBOOT_CONFIG_HEADER_FILE
+ string "U-Boot header file"
@@ -23,4 +23,4 @@ Index: buildroot/boot/uboot/Config.in
+
choice
prompt "U-Boot Version"
- default BR2_TARGET_UBOOT_2011_12
+ default BR2_TARGET_UBOOT_2013_01
diff --git a/patches/buildroot/2013.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch b/patches/buildroot/2013.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch
index 4d24469..6a0630d 100644
--- a/patches/buildroot/2013.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch
+++ b/patches/buildroot/2013.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch
@@ -2,7 +2,7 @@ Index: buildroot/linux/linux.mk
===================================================================
--- buildroot.orig/linux/linux.mk 2012-02-21 20:57:58.000000000 +0100
+++ buildroot/linux/linux.mk 2012-02-21 20:59:44.000000000 +0100
-@@ -129,6 +129,8 @@
+@@ -158,6 +158,8 @@
ifeq ($(strip $(BR2_TARGET_ARMADEUS)),y)
define ARMADEUS_LINUX_CONFIG_HACKS
diff --git a/patches/buildroot/2013.02/071-linux-change_board_specific_patches_name.patch b/patches/buildroot/2013.02/071-linux-change_board_specific_patches_name.patch
index a660a72..d3337e0 100644
--- a/patches/buildroot/2013.02/071-linux-change_board_specific_patches_name.patch
+++ b/patches/buildroot/2013.02/071-linux-change_board_specific_patches_name.patch
@@ -2,7 +2,7 @@ Index: buildroot/linux/linux.mk
===================================================================
--- buildroot.orig/linux/linux.mk 2012-02-21 16:44:32.000000000 +0100
+++ buildroot/linux/linux.mk 2012-02-21 16:44:34.000000000 +0100
-@@ -109,7 +109,7 @@
+@@ -140,7 +140,7 @@
if echo $$p | grep -q -E "^ftp://|^http://" ; then \
support/scripts/apply-patches.sh $(@D) $(DL_DIR) `basename $$p` ; \
elif test -d $$p ; then \
diff --git a/patches/buildroot/2013.02/072-xenomai-package.patch b/patches/buildroot/2013.02/072-xenomai-package.patch
index 0a14d40..15258cf 100644
--- a/patches/buildroot/2013.02/072-xenomai-package.patch
+++ b/patches/buildroot/2013.02/072-xenomai-package.patch
@@ -28,8 +28,8 @@ Index: buildroot/linux/Config.ext.in
- Download it at http://download.gna.org/adeos/patches/v2.6/$(ARCH)/
- and verify that your kernel version in buildroot matches.
- # RTAI
- config BR2_LINUX_KERNEL_EXT_RTAI
+ # ocf-linux
+ config BR2_LINUX_KERNEL_EXT_OCF_LINUX
Index: buildroot/linux/linux-ext-xenomai.mk
===================================================================
--- buildroot.orig/linux/linux-ext-xenomai.mk
@@ -57,7 +57,7 @@ Index: buildroot/linux/linux.mk
===================================================================
--- buildroot.orig/linux/linux.mk
+++ buildroot/linux/linux.mk
-@@ -133,6 +133,12 @@ define ARMADEUS_LINUX_CONFIG_HACKS
+@@ -164,6 +164,12 @@ define ARMADEUS_LINUX_CONFIG_HACKS
endef
endif
@@ -70,14 +70,14 @@ Index: buildroot/linux/linux.mk
define LINUX_CONFIGURE_CMDS
$(ARMADEUS_LINUX_CONFIG_HACKS)
cp $(KERNEL_SOURCE_CONFIG) $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig
-@@ -159,6 +165,7 @@ define LINUX_CONFIGURE_CMDS
- $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
- $(call KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config))
+@@ -194,6 +200,7 @@ define LINUX_CONFIGURE_CMDS
+ $(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
+ $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config))
yes '' | $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) oldconfig
+ $(KERNEL_EXT_XENOMAI_CONFIG_HACKS)
endef
- # Compilation. We make sure the kernel gets rebuilt when the
+ ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y)
Index: buildroot/package/xenomai/adeos-00-compatibility_with_armadeus.patch
===================================================================
--- /dev/null
diff --git a/patches/buildroot/2013.02/085-adds_gpm_package.patch b/patches/buildroot/2013.02/085-adds_gpm_package.patch
index f21fd4b..f6eeb19 100644
--- a/patches/buildroot/2013.02/085-adds_gpm_package.patch
+++ b/patches/buildroot/2013.02/085-adds_gpm_package.patch
@@ -123,8 +123,8 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot/package/Config.in
+++ buildroot/package/Config.in
-@@ -193,6 +193,7 @@
- source "package/e2fsprogs/Config.in"
+@@ -201,6 +201,7 @@
+ source "package/flashbench/Config.in"
source "package/genext2fs/Config.in"
source "package/genromfs/Config.in"
+source "package/gpm/Config.in"
diff --git a/patches/buildroot/2013.02/110-bluez3-add_package.patch b/patches/buildroot/2013.02/110-bluez3-add_package.patch
index 85ea6b1..5b967e7 100644
--- a/patches/buildroot/2013.02/110-bluez3-add_package.patch
+++ b/patches/buildroot/2013.02/110-bluez3-add_package.patch
@@ -6,15 +6,15 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-02-21 16:44:52.000000000 +0100
+++ buildroot/package/Config.in 2012-02-21 16:44:54.000000000 +0100
-@@ -445,6 +445,8 @@
+@@ -631,6 +631,8 @@
+ source "package/bluez_utils/Config.in"
source "package/boa/Config.in"
- endif
source "package/bind/Config.in"
+source "package/bluez3-libs/Config.in"
+source "package/bluez3-utils/Config.in"
source "package/bmon/Config.in"
source "package/bridge-utils/Config.in"
- source "package/bwm-ng/Config.in"
+ source "package/can-utils/Config.in"
Index: buildroot/package/bluez3-libs/Config.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
diff --git a/patches/buildroot/2013.02/116-openobex-add_package.patch b/patches/buildroot/2013.02/116-openobex-add_package.patch
index 1d6a492..ab635aa 100644
--- a/patches/buildroot/2013.02/116-openobex-add_package.patch
+++ b/patches/buildroot/2013.02/116-openobex-add_package.patch
@@ -21,7 +21,7 @@ diff --git a/package/Config.in b/package/Config.in
index 74e439e..0855684 100644
--- a/package/Config.in
+++ b/package/Config.in
-@@ -632,6 +632,7 @@ source "package/ntp/Config.in"
+@@ -696,6 +696,7 @@ source "package/ntp/Config.in"
source "package/nuttcp/Config.in"
source "package/olsr/Config.in"
source "package/openntpd/Config.in"
diff --git a/patches/buildroot/2013.02/117-ussp-push-add_package.patch b/patches/buildroot/2013.02/117-ussp-push-add_package.patch
index dbce7f3..84b8229 100644
--- a/patches/buildroot/2013.02/117-ussp-push-add_package.patch
+++ b/patches/buildroot/2013.02/117-ussp-push-add_package.patch
@@ -17,7 +17,7 @@ diff --git a/package/Config.in b/package/Config.in
index 0855684..c530305 100644
--- a/package/Config.in
+++ b/package/Config.in
-@@ -668,6 +668,7 @@ source "package/ttcp/Config.in"
+@@ -736,6 +736,7 @@ source "package/ttcp/Config.in"
source "package/udpcast/Config.in"
source "package/ulogd/Config.in"
source "package/ushare/Config.in"
diff --git a/patches/buildroot/2013.02/119-fbtest-add_package.patch b/patches/buildroot/2013.02/119-fbtest-add_package.patch
index 0184cda..017870d 100644
--- a/patches/buildroot/2013.02/119-fbtest-add_package.patch
+++ b/patches/buildroot/2013.02/119-fbtest-add_package.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-07-30 10:43:47.000000000 +0200
+++ buildroot/package/Config.in 2012-07-30 10:59:43.000000000 +0200
-@@ -116,6 +116,7 @@
+@@ -129,6 +129,7 @@
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/fbset/Config.in"
endif
diff --git a/patches/buildroot/2013.02/120-cwiid-add_package.patch b/patches/buildroot/2013.02/120-cwiid-add_package.patch
index 66ed7cf..f4911cc 100644
--- a/patches/buildroot/2013.02/120-cwiid-add_package.patch
+++ b/patches/buildroot/2013.02/120-cwiid-add_package.patch
@@ -7,7 +7,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-02-21 16:45:15.000000000 +0100
+++ buildroot/package/Config.in 2012-02-21 16:45:30.000000000 +0100
-@@ -174,6 +174,7 @@
+@@ -198,6 +198,7 @@
menu "Filesystem and flash utilities"
source "package/cifs-utils/Config.in"
source "package/cramfs/Config.in"
diff --git a/patches/buildroot/2013.02/121-target-arm926t_is_arm926ej-s.patch b/patches/buildroot/2013.02/121-target-arm926t_is_arm926ej-s.patch
index 67fb9e1..6de791e 100644
--- a/patches/buildroot/2013.02/121-target-arm926t_is_arm926ej-s.patch
+++ b/patches/buildroot/2013.02/121-target-arm926t_is_arm926ej-s.patch
@@ -7,7 +7,7 @@ Index: buildroot/target/Config.in.arch
===================================================================
--- buildroot/arch/Config.in.arm
+++ buildroot/arch/Config.in.arm
-@@ -20,7 +20,7 @@ config BR2_arm920t
+@@ -28,7 +28,7 @@ config BR2_arm920t
config BR2_arm922t
bool "arm922t"
config BR2_arm926t
@@ -15,4 +15,4 @@ Index: buildroot/target/Config.in.arch
+ bool "arm926ej-s (arm926t)"
config BR2_arm10t
bool "arm10t"
- config BR2_arm1136jf_s
+ config BR2_arm1136jf_s_r0
diff --git a/patches/buildroot/2013.02/122-urg-add_package.patch b/patches/buildroot/2013.02/122-urg-add_package.patch
index 7012fc7..1f73f92 100644
--- a/patches/buildroot/2013.02/122-urg-add_package.patch
+++ b/patches/buildroot/2013.02/122-urg-add_package.patch
@@ -15,7 +15,7 @@ diff --git a/package/Config.in b/package/Config.in
index c530305..45ccbcf 100644
--- a/package/Config.in
+++ b/package/Config.in
-@@ -426,6 +426,7 @@ source "package/libv4l/Config.in"
+@@ -476,6 +476,7 @@ source "package/libv4l/Config.in"
source "package/mtdev/Config.in"
source "package/neardal/Config.in"
source "package/pcsc-lite/Config.in"
diff --git a/patches/buildroot/2013.02/123-pywebradio-add_package.patch b/patches/buildroot/2013.02/123-pywebradio-add_package.patch
index f51fbbd..cc145d2 100644
--- a/patches/buildroot/2013.02/123-pywebradio-add_package.patch
+++ b/patches/buildroot/2013.02/123-pywebradio-add_package.patch
@@ -2,13 +2,13 @@ Index: buildroot/package/multimedia/Config.in
===================================================================
--- buildroot.orig/package/multimedia/Config.in 2012-02-21 16:44:45.000000000 +0100
+++ buildroot/package/multimedia/Config.in 2012-02-21 16:45:43.000000000 +0100
-@@ -38,6 +38,7 @@
+@@ -20,6 +20,7 @@
source "package/multimedia/mpd/Config.in"
source "package/multimedia/mpg123/Config.in"
source "package/multimedia/mplayer/Config.in"
+source "package/pywebradio/Config.in"
source "package/multimedia/musepack/Config.in"
- source "package/multimedia/portaudio/Config.in"
+ source "package/opus-tools/Config.in"
source "package/multimedia/pulseaudio/Config.in"
Index: buildroot/package/pywebradio/Config.in
===================================================================
diff --git a/patches/buildroot/2013.02/124-e-uae-add_package.patch b/patches/buildroot/2013.02/124-e-uae-add_package.patch
index eb6d995..8bca49f 100644
--- a/patches/buildroot/2013.02/124-e-uae-add_package.patch
+++ b/patches/buildroot/2013.02/124-e-uae-add_package.patch
@@ -2,7 +2,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-02-21 16:45:33.000000000 +0100
+++ buildroot/package/Config.in 2012-02-21 16:45:45.000000000 +0100
-@@ -91,6 +91,7 @@
+@@ -103,6 +103,7 @@
endmenu
menu "Games"
diff --git a/patches/buildroot/2013.02/132-qt-full_integration_with_cross_compiling.patch b/patches/buildroot/2013.02/132-qt-full_integration_with_cross_compiling.patch
index 49d5ad2..e5a554a 100644
--- a/patches/buildroot/2013.02/132-qt-full_integration_with_cross_compiling.patch
+++ b/patches/buildroot/2013.02/132-qt-full_integration_with_cross_compiling.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/qt/Config.in
===================================================================
--- buildroot.orig/package/qt/Config.in 2012-02-29 23:19:47.000000000 +0100
+++ buildroot/package/qt/Config.in 2012-09-05 15:29:54.000000000 +0200
-@@ -17,7 +17,13 @@
+@@ -18,7 +18,13 @@
If unsure, say N.
config BR2_PACKAGE_QT_DEMOS
@@ -25,7 +25,7 @@ Index: buildroot/package/qt/qt.mk
===================================================================
--- buildroot.orig/package/qt/qt.mk 2012-02-29 23:19:47.000000000 +0100
+++ buildroot/package/qt/qt.mk 2012-09-05 15:24:44.000000000 +0200
-@@ -52,9 +52,14 @@
+@@ -51,9 +51,14 @@
endif
ifeq ($(BR2_PACKAGE_QT_DEMOS),y)
diff --git a/patches/buildroot/2013.02/135-linux-add_linux26-clean_target.patch b/patches/buildroot/2013.02/135-linux-add_linux26-clean_target.patch
index 7291c1b..61e32ee 100644
--- a/patches/buildroot/2013.02/135-linux-add_linux26-clean_target.patch
+++ b/patches/buildroot/2013.02/135-linux-add_linux26-clean_target.patch
@@ -2,7 +2,7 @@ Index: buildroot/linux/linux.mk
===================================================================
--- buildroot.orig/linux/linux.mk 2012-02-21 16:44:34.000000000 +0100
+++ buildroot/linux/linux.mk 2012-02-21 16:45:55.000000000 +0100
-@@ -244,3 +244,6 @@
+@@ -346,3 +346,6 @@
endif
endif
diff --git a/patches/buildroot/2013.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch b/patches/buildroot/2013.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
index a277de9..ab9957c 100644
--- a/patches/buildroot/2013.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
+++ b/patches/buildroot/2013.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
@@ -10,7 +10,7 @@ Index: buildroot/package/busybox/busybox.mk
===================================================================
--- buildroot.orig/package/busybox/busybox.mk 2012-02-21 16:43:24.000000000 +0100
+++ buildroot/package/busybox/busybox.mk 2012-02-21 16:45:57.000000000 +0100
-@@ -114,6 +114,15 @@
+@@ -126,6 +126,15 @@
endef
endif
@@ -26,11 +26,12 @@ Index: buildroot/package/busybox/busybox.mk
define BUSYBOX_COPY_CONFIG
cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_BUILD_CONFIG)
endef
-@@ -153,6 +162,7 @@
+@@ -183,6 +192,7 @@
$(BUSYBOX_SET_MDEV)
$(BUSYBOX_NETKITBASE)
$(BUSYBOX_NETKITTELNET)
+ $(BUSYBOX_IPROUTE2)
$(BUSYBOX_INTERNAL_SHADOW_PASSWORDS)
$(BUSYBOX_DISABLE_MMU_APPLETS)
- @yes "" | $(MAKE) ARCH=$(KERNEL_ARCH) CROSS_COMPILE="$(TARGET_CROSS)" \
+ $(BUSYBOX_SET_INIT)
+
diff --git a/patches/buildroot/2013.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch b/patches/buildroot/2013.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
index 1c661a3..bb02ec8 100644
--- a/patches/buildroot/2013.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
+++ b/patches/buildroot/2013.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
@@ -8,7 +8,7 @@ Index: buildroot/package/multimedia/alsa-utils/alsa-utils.mk
===================================================================
--- buildroot.orig/package/multimedia/alsa-utils/alsa-utils.mk 2012-02-21 16:43:24.000000000 +0100
+++ buildroot/package/multimedia/alsa-utils/alsa-utils.mk 2012-02-21 16:45:59.000000000 +0100
-@@ -49,7 +49,7 @@
+@@ -52,7 +52,7 @@
if [ -x "$(TARGET_DIR)/usr/sbin/alsactl" ]; then \
mkdir -p $(TARGET_DIR)/usr/share/; \
rm -rf $(TARGET_DIR)/usr/share/alsa/; \
diff --git a/patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch b/patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
index e845980..6708295 100644
--- a/patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
+++ b/patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
@@ -9,7 +9,7 @@ Index: buildroot/system/Config.in
===================================================================
--- buildroot/system/Config.in
+++ buildroot/system/Config.in
-@@ -117,8 +117,6 @@ config BR2_ROOTFS_SKELETON_CUSTOM_PATH
+@@ -171,8 +171,6 @@ config BR2_ROOTFS_SKELETON_CUSTOM_PATH
Path custom target skeleton.
endif
@@ -17,8 +17,8 @@ Index: buildroot/system/Config.in
-
config BR2_TARGET_GENERIC_ROOT_PASSWD
string "Root password"
-
-@@ -165,8 +163,6 @@ config BR2_TARGET_GENERIC_REMOUNT_ROOTFS
+ default ""
+@@ -247,8 +245,6 @@ config BR2_TARGET_GENERIC_REMOUNT_ROOTFS
read-only.
If unsure, say Y.
@@ -31,7 +31,7 @@ Index: buildroot/system/system.mk
===================================================================
--- buildroot/system/system.mk
+++ buildroot/system/system.mk
-@@ -39,7 +39,6 @@ ifneq ($(TARGET_GENERIC_ISSUE),)
+@@ -48,7 +48,6 @@ ifneq ($(TARGET_GENERIC_ISSUE),)
TARGETS += target-generic-issue
endif
@@ -39,7 +39,7 @@ Index: buildroot/system/system.mk
TARGETS += target-root-passwd
ifneq ($(TARGET_GENERIC_GETTY),)
-@@ -50,4 +49,3 @@ TARGETS += target-generic-do-remount-rw
+@@ -60,4 +59,3 @@ TARGETS += target-generic-do-remount-rw
else
TARGETS += target-generic-dont-remount-rw
endif
diff --git a/patches/buildroot/2013.02/168-libcanfestival-add_package.patch b/patches/buildroot/2013.02/168-libcanfestival-add_package.patch
index 75f5da2..6304f70 100644
--- a/patches/buildroot/2013.02/168-libcanfestival-add_package.patch
+++ b/patches/buildroot/2013.02/168-libcanfestival-add_package.patch
@@ -14,7 +14,7 @@ diff --git a/package/Config.in b/package/Config.in
index 88849d3..ce78f79 100644
--- a/package/Config.in
+++ b/package/Config.in
-@@ -455,6 +455,7 @@ endmenu
+@@ -511,6 +511,7 @@ endmenu
menu "Networking"
source "package/glib-networking/Config.in"
diff --git a/patches/buildroot/2013.02/172-gsmmux-add_package.patch b/patches/buildroot/2013.02/172-gsmmux-add_package.patch
index 4d01640..677a0dc 100644
--- a/patches/buildroot/2013.02/172-gsmmux-add_package.patch
+++ b/patches/buildroot/2013.02/172-gsmmux-add_package.patch
@@ -48,9 +48,9 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-02-21 16:46:12.000000000 +0100
+++ buildroot/package/Config.in 2012-02-21 16:46:16.000000000 +0100
-@@ -199,6 +199,7 @@
- source "package/genromfs/Config.in"
- source "package/gpm/Config.in"
+@@ -252,6 +252,7 @@
+ source "package/gadgetfs-test/Config.in"
+ source "package/gdisk/Config.in"
source "package/gpsd/Config.in"
+source "package/gsmmux/Config.in"
source "package/gvfs/Config.in"
diff --git a/patches/buildroot/2013.02/176-imx-test-add_package.patch b/patches/buildroot/2013.02/176-imx-test-add_package.patch
index de457be..9302e86 100644
--- a/patches/buildroot/2013.02/176-imx-test-add_package.patch
+++ b/patches/buildroot/2013.02/176-imx-test-add_package.patch
@@ -138,7 +138,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-03-08 18:19:14.000000000 +0100
+++ buildroot/package/Config.in 2012-03-08 18:22:31.000000000 +0100
-@@ -206,6 +206,7 @@
+@@ -259,6 +259,7 @@
endif
source "package/hwdata/Config.in"
source "package/i2c-tools/Config.in"
diff --git a/patches/buildroot/2013.02/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch b/patches/buildroot/2013.02/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch
index 77bee64..77af7ec 100644
--- a/patches/buildroot/2013.02/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch
+++ b/patches/buildroot/2013.02/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch
@@ -9,8 +9,8 @@ diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index db9de8d..0a0f762 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
-@@ -90,6 +90,14 @@ define UBOOT_INSTALL_IMAGES_CMDS
- cp -dpf $(@D)/$(UBOOT_BIN) $(BINARIES_DIR)/
+@@ -110,6 +110,14 @@ define UBOOT_INSTALL_IMAGES_CMDS
+ cp -dpf $(@D)/$(BR2_TARGET_UBOOT_SPL_NAME) $(BINARIES_DIR)/)
endef
+define UBOOT_CLEAN_CMDS
@@ -21,9 +21,9 @@ index db9de8d..0a0f762 100644
+
+endef
+
- ifeq ($(BR2_TARGET_UBOOT_OMAP_IFT),y)
- # we NEED a config file unless we're at make source
- ifeq ($(filter source,$(MAKECMDGOALS)),)
+ define UBOOT_INSTALL_OMAP_IFT_IMAGE
+ cp -dpf $(@D)/$(UBOOT_BIN_IFT) $(BINARIES_DIR)/
+ endef
--
1.7.0.4
diff --git a/patches/buildroot/2013.02/181-qtcreator-add_package.patch b/patches/buildroot/2013.02/181-qtcreator-add_package.patch
index 042d428..3b8b80d 100644
--- a/patches/buildroot/2013.02/181-qtcreator-add_package.patch
+++ b/patches/buildroot/2013.02/181-qtcreator-add_package.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/Config.in.host
===================================================================
--- buildroot.orig/package/Config.in.host 2012-02-29 23:19:47.000000000 +0100
+++ buildroot/package/Config.in.host 2012-03-26 16:21:47.000000000 +0200
-@@ -3,5 +3,6 @@
+@@ -6,5 +6,6 @@
source "package/openocd/Config.in.host"
source "package/sam-ba/Config.in.host"
source "package/uboot-tools/Config.in.host"
diff --git a/patches/buildroot/2013.02/185-gst-fsl-plugin-add_package.patch b/patches/buildroot/2013.02/185-gst-fsl-plugin-add_package.patch
deleted file mode 100644
index e4a275c..0000000
--- a/patches/buildroot/2013.02/185-gst-fsl-plugin-add_package.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-Signed-off-by: Julien Boibessot <jul...@ar...>
-
-Index: buildroot/package/multimedia/gst-fsl-plugin/gst-fsl-plugin.mk
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/multimedia/gst-fsl-plugin/gst-fsl-plugin.mk 2012-04-05 12:37:49.000000000 +0200
-@@ -0,0 +1,41 @@
-+#############################################################
-+#
-+# gst-fsl-plugin (Freescale's gstreamer custom plugins)
-+#
-+#############################################################
-+GST_FSL_PLUGIN_VERSION = 2.0.3
-+GST_FSL_PLUGIN_SITE = ftp://ftp2.armadeus.com/_downloads
-+GST_FSL_PLUGIN_INSTALL_STAGING = YES
-+
-+# if gst-fsl-plugin was better configurable, fsl-mm-codeclib dep could be wiped out
-+GST_FSL_PLUGIN_DEPENDENCIES = linux gst-plugins-base imx-lib fsl-mm-codeclib
-+
-+GST_FSL_PLUGIN_CONF_ENV = CPPFLAGS=-I$(LINUX_DIR)/include
-+
-+ifeq ($(BR2_CPU_NAME),"imx27")
-+GST_FSL_PLUGIN_CONF_OPT = PLATFORM=MX27
-+else
-+GST_FSL_PLUGIN_CONF_OPT = PLATFORM=MX51
-+endif
-+GST_FSL_PLUGIN_CONF_OPT += --disable-aac_dec \
-+ --disable-aacp_dec \
-+ --disable-bsac_dec \
-+ --disable-mp3_dec \
-+ --disable-mp3_enc \
-+ --disable-vorbis_dec \
-+ --disable-wma10_dec \
-+ --disable-downmix \
-+ --disable-wma8_enc \
-+ --disable-ac3_dec \
-+ --disable-h264_dec \
-+ --disable-mpeg4_dec \
-+ --disable-mpeg2_dec \
-+ --disable-wmv9mp_dec \
-+ --disable-wmv78_dec \
-+
-+define GST_FSL_PLUGIN_NO_IPU_HOOK
-+ $(SED) 's/$$(IPUDIRS)//' $(@D)/Makefile
-+endef
-+#GST_FSL_PLUGIN_POST_CONFIGURE_HOOKS += GST_FSL_PLUGIN_NO_IPU_HOOK
-+
-+$(eval $(autotools-package))
-Index: buildroot/package/multimedia/gst-fsl-plugin/gst-fsl-plugin-gst_snapshot_stdio.patch
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/multimedia/gst-fsl-plugin/gst-fsl-plugin-gst_snapshot_stdio.patch 2012-04-05 12:36:53.000000000 +0200
-@@ -0,0 +1,19 @@
-+Otherwise build fails with:
-+
-+gst_snapshot.c: In function 'gst_save_bmp':
-+gst_snapshot.c:241:2: error: 'FILE' undeclared (first use in this function)
-+gst_snapshot.c:241:2: note: each undeclared identifier is reported only once for each function it appears in
-+gst_snapshot.c:241:9: error: 'fp' undeclared (first use in this function)
-+gst_snapshot.c:269:2: warning: incompatible implicit declaration of built-in function 'fwrite'
-+
-+diff -urN -X linux-2.6.38.8/Documentation/dontdiff gst-fsl-plugin-2.0.3/tools/gplay/gst_snapshot.c gst-fsl-plugin-2.0.3.mod/tools/gplay/gst_snapshot.c
-+--- gst-fsl-plugin-2.0.3/tools/gplay/gst_snapshot.c 2011-12-02 07:31:40.000000000 +0100
-++++ gst-fsl-plugin-2.0.3.mod/tools/gplay/gst_snapshot.c 2012-04-03 17:29:35.000000000 +0200
-+@@ -21,6 +21,7 @@
-+ */
-+
-+ #include <gst/gst.h>
-++#include <stdio.h>
-+ #include <string.h>
-+ #include "gst_snapshot.h"
-+
-Index: buildroot/package/multimedia/gst-fsl-plugin/Config.in
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/multimedia/gst-fsl-plugin/Config.in 2012-04-05 12:36:53.000000000 +0200
-@@ -0,0 +1,8 @@
-+config BR2_PACKAGE_GST_FSL_PLUGIN
-+ bool "gst-fsl-plugin"
-+ depends on BR2_PACKAGE_GSTREAMER
-+ select BR2_PACKAGE_FSL_MM_CODECLIB
-+ select BR2_PACKAGE_GST_PLUGINS_BASE
-+ select BR2_PACKAGE_IMX_LIB
-+ help
-+ Freescale's i.MX specific gstreamer plugins.
-Index: buildroot/package/multimedia/Config.in
-===================================================================
---- buildroot.orig/package/multimedia/Config.in 2012-04-05 12:36:28.000000000 +0200
-+++ buildroot/package/multimedia/Config.in 2012-04-05 12:36:53.000000000 +0200
-@@ -8,6 +8,7 @@
- source "package/multimedia/ffmpeg/Config.in"
- source "package/multimedia/gstreamer/Config.in"
- source "package/multimedia/gst-ffmpeg/Config.in"
-+source "package/multimedia/gst-fsl-plugin/Config.in"
- source "package/multimedia/gst-dsp/Config.in"
- source "package/multimedia/gst-omapfb/Config.in"
- source "package/multimedia/gst-plugins-base/Config.in"
diff --git a/patches/buildroot/2013.02/189-dbus-fix_installation.patch b/patches/buildroot/2013.02/189-dbus-fix_installation.patch
index 690be34..61b107e 100644
--- a/patches/buildroot/2013.02/189-dbus-fix_installation.patch
+++ b/patches/buildroot/2013.02/189-dbus-fix_installation.patch
@@ -15,7 +15,7 @@ Index: buildroot/package/dbus/dbus.mk
===================================================================
--- buildroot/package/dbus/dbus.mk
+++ buildroot/package/dbus/dbus.mk
-@@ -58,7 +58,9 @@ DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_R
+@@ -63,7 +63,9 @@ DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_R
endif
define DBUS_INSTALL_TARGET_FIXUP
diff --git a/patches/buildroot/2013.02/191-madplay-requires_libintl.patch b/patches/buildroot/2013.02/191-madplay-requires_libintl.patch
index b9a309c..39835e7 100644
--- a/patches/buildroot/2013.02/191-madplay-requires_libintl.patch
+++ b/patches/buildroot/2013.02/191-madplay-requires_libintl.patch
@@ -18,7 +18,7 @@ Index: buildroot/package/multimedia/madplay/madplay.mk
===================================================================
--- buildroot.orig/package/multimedia/madplay/madplay.mk 2012-08-08 10:04:31.000000000 +0200
+++ buildroot/package/multimedia/madplay/madplay.mk 2012-08-08 10:04:51.000000000 +0200
-@@ -7,7 +7,7 @@
+@@ -8,7 +8,7 @@
MADPLAY_SOURCE = madplay-$(MADPLAY_VERSION).tar.gz
MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
MADPLAY_LIBTOOL_PATCH = NO
diff --git a/patches/buildroot/2013.02/196-python-crc16-add_package.patch b/patches/buildroot/2013.02/196-python-crc16-add_package.patch
index c147fd5..aaa1eee 100644
--- a/patches/buildroot/2013.02/196-python-crc16-add_package.patch
+++ b/patches/buildroot/2013.02/196-python-crc16-add_package.patch
@@ -6,7 +6,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-10-16 13:51:37.000000000 +0200
+++ buildroot/package/Config.in 2012-10-16 13:52:57.000000000 +0200
-@@ -273,6 +273,7 @@
+@@ -342,6 +342,7 @@
if BR2_PACKAGE_PYTHON
menu "external python modules"
source "package/python-bottle/Config.in"
diff --git a/patches/buildroot/2013.02/197-cunit-add_package.patch b/patches/buildroot/2013.02/197-cunit-add_package.patch
index 76bc152..aef27f0 100644
--- a/patches/buildroot/2013.02/197-cunit-add_package.patch
+++ b/patches/buildroot/2013.02/197-cunit-add_package.patch
@@ -39,7 +39,7 @@ Index: buildroot/package/Config.in
===================================================================
--- buildroot.orig/package/Config.in 2012-10-11 11:23:28.000000000 +0200
+++ buildroot/package/Config.in 2012-10-11 14:20:32.000000000 +0200
-@@ -351,6 +351,7 @@
+@@ -591,6 +591,7 @@
source "package/schifra/Config.in"
source "package/startup-notification/Config.in"
source "package/liblog4c-localtime/Config.in"
diff --git a/patches/buildroot/2013.02/cleanup_buildroot.sh b/patches/buildroot/2013.02/cleanup_buildroot.sh
index 80933e2..0d11337 100755
--- a/patches/buildroot/2013.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2013.02/cleanup_buildroot.sh
@@ -64,7 +64,6 @@ rm -rf buildroot/package/imx-lib/
rm -rf buildroot/package/imx-test/
rm -rf buildroot/package/e2fsprogs/
rm -rf buildroot/package/firmware-imx/
-rm -rf buildroot/package/multimedia/gst-fsl-plugin/
rm -rf buildroot/package/multimedia/fsl-mm-codeclib/
rm -rf buildroot/package/linux-firmware/
rm -rf buildroot/package/uboot-tools/
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-03-13 21:28:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via a1560785a08259f89bd5d883f96d5e0bcaedd228 (commit)
from 8f31f7e2dcd81631c0467f0b1c5b9ce0c22c8c91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a1560785a08259f89bd5d883f96d5e0bcaedd228
Author: Thomas Chardin <cha...@gm...>
Date: Wed Mar 13 22:27:57 2013 +0100
[BUILDROOT] Fixes freescale-tools build
-----------------------------------------------------------------------
Summary of changes:
.../package/armadeus/freescale-tools/tools.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildroot/package/armadeus/freescale-tools/tools.mk b/buildroot/package/armadeus/freescale-tools/tools.mk
index 98a1fae..f7c4f8e 100644
--- a/buildroot/package/armadeus/freescale-tools/tools.mk
+++ b/buildroot/package/armadeus/freescale-tools/tools.mk
@@ -28,8 +28,8 @@ freescale-tools-source: $(DL_DIR)/$(FREESCALE_TOOLS_SOURCE) $(DL_DIR)/$(FREESCAL
$(FREESCALE_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(FREESCALE_TOOLS_SOURCE) $(DL_DIR)/$(FREESCALE_TOOLS_PATCH_SOURCE)
$(FREESCALE_TOOLS_CAT) $(DL_DIR)/$(FREESCALE_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
mv $(BUILD_DIR)/misc $(FREESCALE_TOOLS_DIR)
- toolchain/patch-kernel.sh $(FREESCALE_TOOLS_DIR) $(DL_DIR) misc-\*.patch
- toolchain/patch-kernel.sh $(FREESCALE_TOOLS_DIR) package/armadeus/freescale-tools \*misc-$(FREESCALE_TOOLS_VERSION)\*.patch
+ support/scripts/apply-patches.sh $(FREESCALE_TOOLS_DIR) $(DL_DIR) misc-\*.patch
+ support/scripts/apply-patches.sh $(FREESCALE_TOOLS_DIR) package/armadeus/freescale-tools \*misc-$(FREESCALE_TOOLS_VERSION)\*.patch
touch $@
$(FREESCALE_TOOLS_TARGET_DIR)/$(FREESCALE_TOOLS_BIN): $(FREESCALE_TOOLS_DIR)/.unpacked
hooks/post-receive
--
armadeus
|
|
From: SebR <se...@us...> - 2013-03-13 13:44:42
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 8f31f7e2dcd81631c0467f0b1c5b9ce0c22c8c91 (commit)
from 94cfc443553a9cd96949b2ce097991e17bab5e36 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8f31f7e2dcd81631c0467f0b1c5b9ce0c22c8c91
Author: seb <seb...@ar...>
Date: Wed Mar 13 14:43:39 2013 +0100
[as_devices] add iio bus for adc + backlight not limited to imx-bl
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/Makefile | 1 +
target/packages/as_devices/c/as_adc.c | 33 +++--
target/packages/as_devices/c/as_adc.h | 5 +-
target/packages/as_devices/c/as_adc_iio.c | 142 ++++++++++++++++++++
.../as_devices/c/{as_max1027.h => as_adc_iio.h} | 29 +---
target/packages/as_devices/c/as_as1531.c | 2 +-
target/packages/as_devices/c/as_backlight.c | 24 +++-
target/packages/as_devices/c/as_backlight.h | 16 ++-
target/packages/as_devices/c/as_max1027.c | 2 +-
target/packages/as_devices/cpp/as_backlight.cpp | 7 +-
target/packages/as_devices/cpp/as_backlight.hpp | 3 +-
11 files changed, 214 insertions(+), 50 deletions(-)
create mode 100644 target/packages/as_devices/c/as_adc_iio.c
copy target/packages/as_devices/c/{as_max1027.h => as_adc_iio.h} (57%)
diff --git a/target/packages/as_devices/c/Makefile b/target/packages/as_devices/c/Makefile
index 41bc090..b4cd6c0 100644
--- a/target/packages/as_devices/c/Makefile
+++ b/target/packages/as_devices/c/Makefile
@@ -17,6 +17,7 @@ endif
OBJ += as_dac.o
OBJ += as_adc.o
+OBJ += as_adc_iio.o
OBJ += as_93lcxx.o
OBJ += as_spi.o
OBJ += as_as1531.o
diff --git a/target/packages/as_devices/c/as_adc.c b/target/packages/as_devices/c/as_adc.c
index 2ca2be4..c8755bb 100644
--- a/target/packages/as_devices/c/as_adc.c
+++ b/target/packages/as_devices/c/as_adc.c
@@ -34,10 +34,15 @@
#include "as_max1027.h"
#include "as_as1531.h"
+#include "as_adc_iio.h"
#undef ERROR
#define ERROR(fmt, ...) printf(fmt, ##__VA_ARGS__)
+const char AS_MAX1027_NAME[] = "max1027";
+const char AS_AS1531_NAME[] = "as1531";
+const char AS_IIO_NAME[] = "iio";
+
struct as_adc_device *as_adc_open(const char *aAdcType,
int aDeviceNum,
int aVRef) {
@@ -49,6 +54,10 @@ struct as_adc_device *as_adc_open(const char *aAdcType,
aAdcType,
strlen(AS_AS1531_NAME)) == 0)
return as_adc_open_as1531(aDeviceNum, aVRef);
+ if (strncmp(AS_IIO_NAME,
+ aAdcType,
+ strlen(AS_IIO_NAME)) == 0)
+ return as_adc_open_iio(aDeviceNum, aVRef);
ERROR("Undefined ADC type '%s'\n",aAdcType);
return NULL;
@@ -61,15 +70,12 @@ int32_t as_adc_get_value_in_millivolts(struct as_adc_device *aDev,
return -1;
}
- if (strncmp(AS_MAX1027_NAME,
- aDev->device_type,
- strlen(AS_MAX1027_NAME)) == 0)
+ if (aDev->device_type == AS_MAX1027_NAME)
return as_adc_get_value_in_millivolts_max1027(aDev, aChannel);
-
- if (strncmp(AS_AS1531_NAME,
- aDev->device_type,
- strlen(AS_AS1531_NAME)) == 0)
+ if (aDev->device_type == AS_AS1531_NAME)
return as_adc_get_value_in_millivolts_as1531(aDev, aChannel);
+ if (aDev->device_type == AS_IIO_NAME)
+ return as_adc_get_value_in_millivolts_iio(aDev, aChannel);
ERROR("Undefined ADC type '%s'\n", aDev->device_type);
return -1;
@@ -83,20 +89,21 @@ int32_t as_adc_close(struct as_adc_device *aDev) {
return -1;
}
- if (strncmp(AS_MAX1027_NAME,
- aDev->device_type,
- strlen(AS_MAX1027_NAME)) == 0) {
+ if (aDev->device_type == AS_MAX1027_NAME) {
ret = as_adc_close_max1027(aDev);
free(aDev);
return ret;
}
- if (strncmp(AS_AS1531_NAME,
- aDev->device_type,
- strlen(AS_AS1531_NAME)) == 0) {
+ if (aDev->device_type == AS_AS1531_NAME) {
ret = as_adc_close_as1531(aDev);
free(aDev);
return ret;
}
+ if (aDev->device_type == AS_IIO_NAME) {
+ ret = as_adc_close_iio(aDev);
+ free(aDev);
+ return ret;
+ }
ERROR("Undefined ADC type '%s'\n", aDev->device_type);
return -1;
diff --git a/target/packages/as_devices/c/as_adc.h b/target/packages/as_devices/c/as_adc.h
index 5c9b678..b3786da 100644
--- a/target/packages/as_devices/c/as_adc.h
+++ b/target/packages/as_devices/c/as_adc.h
@@ -28,8 +28,9 @@
extern "C" {
#endif /* __cplusplus */
-#define AS_MAX1027_NAME "max1027"
-#define AS_AS1531_NAME "as1531"
+extern const char AS_MAX1027_NAME[];
+extern const char AS_AS1531_NAME[];
+extern const char AS_IIO_NAME[];
/**
* Store adc parameters
diff --git a/target/packages/as_devices/c/as_adc_iio.c b/target/packages/as_devices/c/as_adc_iio.c
new file mode 100644
index 0000000..78966b3
--- /dev/null
+++ b/target/packages/as_devices/c/as_adc_iio.c
@@ -0,0 +1,142 @@
+/*
+ * This software is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ *
+ * Copyright (C) 2013 Sébastien Royen <seb...@ar...>
+ *
+ *
+ * TODO:
+ * - use type in /sys/bus/iio/devices/iio:device:X/scan_elements to format result
+ *
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <string.h>
+
+#include "as_adc_iio.h"
+#include "as_helpers.h"
+
+#undef ERROR
+#define ERROR(fmt, ...) printf(fmt, ##__VA_ARGS__)
+
+#define IIO_DEVICE_MAX_CHANNELS 32
+
+struct as_adc_iio_device {
+ int channelDesc[IIO_DEVICE_MAX_CHANNELS];
+};
+
+static int open_channels(struct as_adc_iio_device *aDev, int aDeviceNum)
+{
+ char buffer[128];
+ int i;
+ int count;
+
+ count = 0;
+ for (i=0; i<IIO_DEVICE_MAX_CHANNELS; i++) {
+ snprintf(buffer, sizeof(buffer),
+ "/sys/bus/iio/devices/iio:device%d/in_voltage%d_raw",
+ aDeviceNum, i);
+ aDev->channelDesc[i] = open(buffer, O_RDONLY);
+ if (aDev->channelDesc[i] >= 0) {
+ count++;
+ }
+ }
+ return count;
+}
+
+static void close_channels(struct as_adc_iio_device *aDev)
+{
+ int i;
+
+ for (i=0; i<IIO_DEVICE_MAX_CHANNELS; i++) {
+ if (aDev->channelDesc[i] >= 0) {
+ close(aDev->channelDesc[i]);
+ }
+ }
+}
+
+struct as_adc_device *as_adc_open_iio(int aDeviceNum, int aVRef)
+{
+ struct as_adc_device *adc_dev;
+ struct as_adc_iio_device *dev;
+
+ dev = (struct as_adc_iio_device *)malloc(sizeof(struct as_adc_iio_device));
+ if (dev == NULL) {
+ ERROR("Error during memory allocation\n");
+ return NULL;
+ }
+
+ if (open_channels(dev, aDeviceNum) == 0) {
+ ERROR("No in voltage channel found\n");
+ goto err;
+ }
+
+ adc_dev = (struct as_adc_device *)malloc(sizeof(struct as_adc_device));
+ if (dev == NULL) {
+ close_channels(dev);
+ ERROR("Error during memory allocation\n");
+ goto err;
+ }
+
+ adc_dev->chip_param = (void*)dev;
+ adc_dev->device_type = AS_IIO_NAME;
+ adc_dev->device_num = aDeviceNum;
+ adc_dev->vref = aVRef; /* NOT USED */
+
+ return adc_dev;
+
+err:
+ free(dev);
+ return NULL;
+}
+
+int32_t as_adc_get_value_in_millivolts_iio(struct as_adc_device *aDev, int aChannel) {
+ struct as_adc_iio_device *dev;
+ int32_t value;
+ int32_t ret;
+
+ dev = (struct as_adc_iio_device *)aDev->chip_param;
+
+ if ((aChannel >= IIO_DEVICE_MAX_CHANNELS) || (aChannel < 0)) {
+ ERROR("Wrong num channel\n");
+ return -1;
+ }
+
+ if (dev->channelDesc[aChannel] != -1) {
+ ret = as_read_int(dev->channelDesc[aChannel], &value);
+ if (ret < 0) {
+ ERROR("Can't read input file\n");
+ return -1;
+ }
+ }
+
+ return value;
+}
+
+int32_t as_adc_close_iio(struct as_adc_device *aDev) {
+ struct as_adc_iio_device *dev =
+ (struct as_adc_iio_device *)aDev->chip_param;
+
+ close_channels(dev);
+ free(dev);
+ return 0;
+}
+
diff --git a/target/packages/as_devices/c/as_max1027.h b/target/packages/as_devices/c/as_adc_iio.h
similarity index 57%
copy from target/packages/as_devices/c/as_max1027.h
copy to target/packages/as_devices/c/as_adc_iio.h
index edd071f..e15fc64 100644
--- a/target/packages/as_devices/c/as_max1027.h
+++ b/target/packages/as_devices/c/as_adc_iio.h
@@ -14,40 +14,27 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
- * Copyright (C) 2010 Fabien Marteau <fab...@ar...>
+ * Copyright (C) 2013 Sébastien Royen <seb...@ar...>
*
*/
-#ifndef AS_MAX1027_H_
-#define AS_MAX1027_H_
+#ifndef AS_ADC_IMX28_LRADC_H_
+#define AS_ADC_IMX28_LRADC_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "as_adc.h"
-#define NUMBER_OF_CHANNELS (7)
-#define PATH_SIZE (50)
-typedef enum {
- AS_MAX1027_FAST,
- AS_MAX1027_SLOW
-} AS_max1027_mode;
-
-struct as_max1027_device {
- AS_max1027_mode mode;
- uint8_t scan_mode;
- char path[PATH_SIZE];
-};
-
-struct as_adc_device *as_adc_open_max1027(int aDeviceNum, int aVRef);
-int32_t as_adc_get_value_in_millivolts_max1027(struct as_adc_device *aDev,
- int aChannel);
-int32_t as_adc_close_max1027(struct as_adc_device *aDev);
+struct as_adc_device *as_adc_open_iio(int aDeviceNum, int aVRef);
+int32_t as_adc_get_value_in_millivolts_iio(struct as_adc_device *aDev,
+ int aChannel);
+int32_t as_adc_close_iio(struct as_adc_device *aDev);
#ifdef __cplusplus
}
#endif /* __cplusplus */
-#endif /* AS_MAX1027_H_ */
+#endif /* AS_ADC_IMX28_LRADC_H_ */
diff --git a/target/packages/as_devices/c/as_as1531.c b/target/packages/as_devices/c/as_as1531.c
index 6924cb0..0a74262 100644
--- a/target/packages/as_devices/c/as_as1531.c
+++ b/target/packages/as_devices/c/as_as1531.c
@@ -45,7 +45,7 @@ struct as_adc_device *as_adc_open_as1531(int aDeviceNum, int aVRef) {
return NULL;
}
- dev->device_type = "as1531";
+ dev->device_type = AS_AS1531_NAME;
dev->device_num = aDeviceNum;
dev->vref = aVRef;
return dev;
diff --git a/target/packages/as_devices/c/as_backlight.c b/target/packages/as_devices/c/as_backlight.c
index 2fd7fad..0e3a4fe 100644
--- a/target/packages/as_devices/c/as_backlight.c
+++ b/target/packages/as_devices/c/as_backlight.c
@@ -2,7 +2,7 @@
** THE ARMadeus Systems
**
** Copyright (C) 2012 The armadeus systems team
-** Jérémie Scheer <jer...@ar...>
+** J�r�mie Scheer <jer...@ar...>
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
@@ -30,7 +30,8 @@
#include "as_backlight.h"
-#define BACKLIGHT_SYS_PATH "/sys/class/backlight/imx-bl"
+#define BACKLIGHT_SYS_PATH "/sys/class/backlight"
+#define BACKLIGHT_DEFAULT "imx-bl"
#define ACTUAL_BRIGHTNESS_PATH "actual_brightness"
#define MAX_BRIGHTNESS_PATH "max_brightness"
#define BRIGHTNESS_PATH "brightness"
@@ -39,11 +40,15 @@
/*------------------------------------------------------------------------------*/
-struct as_backlight_device *as_backlight_open()
+struct as_backlight_device *as_backlight_open2(char *aBacklightName)
{
char buffer[SIZE_OF_BUFF];
struct as_backlight_device *dev;
+ if (aBacklightName == NULL) {
+ aBacklightName = BACKLIGHT_DEFAULT;
+ }
+
dev = (struct as_backlight_device *)malloc(sizeof(struct as_backlight_device));
if (dev == NULL) {
ERROR("Can't allocate memory for backlight device structure\n");
@@ -51,17 +56,17 @@ struct as_backlight_device *as_backlight_open()
}
/* open backlight management files */
- snprintf(buffer, SIZE_OF_BUFF, "%s/%s", BACKLIGHT_SYS_PATH, ACTUAL_BRIGHTNESS_PATH);
+ snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, ACTUAL_BRIGHTNESS_PATH);
if ((dev->fileActualBrightness = open(buffer, O_RDWR)) < 0) {
ERROR("Can't open actual brightness file");
return NULL;
}
- snprintf(buffer, SIZE_OF_BUFF, "%s/%s", BACKLIGHT_SYS_PATH, MAX_BRIGHTNESS_PATH);
+ snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, MAX_BRIGHTNESS_PATH);
if ((dev->fileMaxBrightness = open(buffer, O_RDWR)) < 0) {
ERROR("Can't open max brightness file");
return NULL;
}
- snprintf(buffer, SIZE_OF_BUFF, "%s/%s", BACKLIGHT_SYS_PATH, BRIGHTNESS_PATH);
+ snprintf(buffer, SIZE_OF_BUFF, "%s/%s/%s", BACKLIGHT_SYS_PATH, aBacklightName, BRIGHTNESS_PATH);
if((dev->fileBrightness = open(buffer, O_RDWR)) < 0) {
ERROR("Can't open brightness file");
return NULL;
@@ -70,6 +75,11 @@ struct as_backlight_device *as_backlight_open()
return dev;
}
+struct as_backlight_device *as_backlight_open()
+{
+ return as_backlight_open2(NULL);
+}
+
/*------------------------------------------------------------------------------*/
int32_t as_backlight_get_actual_brightness(struct as_backlight_device *aDev)
@@ -152,5 +162,7 @@ int32_t as_backlight_close(struct as_backlight_device *aDev)
return ret;
}
+ free(aDev);
+
return ret;
}
diff --git a/target/packages/as_devices/c/as_backlight.h b/target/packages/as_devices/c/as_backlight.h
index 424fea5..06b70be 100644
--- a/target/packages/as_devices/c/as_backlight.h
+++ b/target/packages/as_devices/c/as_backlight.h
@@ -2,7 +2,7 @@
** THE ARMadeus Systems
**
** Copyright (C) 2012 The armadeus systems team
-** Jérémie Scheer <jer...@ar...>
+** J�r�mie Scheer <jer...@ar...>
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
@@ -29,15 +29,23 @@ extern "C" {
#include <stdint.h>
struct as_backlight_device {
- int fileActualBrightness;
- int fileMaxBrightness;
- int fileBrightness;
+ int fileActualBrightness;
+ int fileMaxBrightness;
+ int fileBrightness;
};
/** @brief Open Backlight device
*
+ * @param aBacklightName name of backlight to use (imx-bl if NULL)
+ *
* @return pointer to device structure, NULL if error
*/
+struct as_backlight_device *as_backlight_open2(char *aBacklightName);
+
+/** @brief Open Backlight device
+ *
+ * @return result of as_backlight_open2(NULL)
+ */
struct as_backlight_device *as_backlight_open();
/** @brief Get actual brightness
diff --git a/target/packages/as_devices/c/as_max1027.c b/target/packages/as_devices/c/as_max1027.c
index 3887701..207edfa 100644
--- a/target/packages/as_devices/c/as_max1027.c
+++ b/target/packages/as_devices/c/as_max1027.c
@@ -173,7 +173,7 @@ struct as_adc_device *as_adc_open_max1027(int aDeviceNum, int aVRef) {
dev->scan_mode = SCAN_MODE_11;
adc_dev->chip_param = (void *)dev;
- adc_dev->device_type = "max1027";
+ adc_dev->device_type = AS_MAX1027_NAME;
adc_dev->device_num = aDeviceNum;
adc_dev->vref = 2500; /* Voltage reference is always 2.5V */
diff --git a/target/packages/as_devices/cpp/as_backlight.cpp b/target/packages/as_devices/cpp/as_backlight.cpp
index 451bafa..dc5e9bf 100644
--- a/target/packages/as_devices/cpp/as_backlight.cpp
+++ b/target/packages/as_devices/cpp/as_backlight.cpp
@@ -2,7 +2,7 @@
** THE ARMadeus Systems
**
** Copyright (C) 2012 The armadeus systems team
-** Jérémie Scheer <jer...@ar...>
+** J�r�mie Scheer <jer...@ar...>
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
@@ -23,6 +23,11 @@
#include "as_backlight.hpp"
#include <iostream>
+AsBacklight::AsBacklight(char *aBacklightName)
+{
+ mDev = as_backlight_open2(aBacklightName);
+}
+
AsBacklight::AsBacklight()
{
mDev = as_backlight_open();
diff --git a/target/packages/as_devices/cpp/as_backlight.hpp b/target/packages/as_devices/cpp/as_backlight.hpp
index b30904b..79a4e43 100644
--- a/target/packages/as_devices/cpp/as_backlight.hpp
+++ b/target/packages/as_devices/cpp/as_backlight.hpp
@@ -2,7 +2,7 @@
** THE ARMadeus Systems
**
** Copyright (C) 2012 The armadeus systems team
-** Jérémie Scheer <jer...@ar...>
+** J�r�mie Scheer <jer...@ar...>
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
@@ -35,6 +35,7 @@ public:
* Constructor
*/
AsBacklight();
+ AsBacklight(char *aBacklightName);
virtual ~AsBacklight();
/** @brief Get actual brightness
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2013-03-12 16:50:10
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 94cfc443553a9cd96949b2ce097991e17bab5e36 (commit)
from be50ded1e9cb4b9da81a36972761b92f5a8475a3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 94cfc443553a9cd96949b2ce097991e17bab5e36
Author: Eric Jarrige <eri...@ar...>
Date: Tue Mar 12 20:12:06 2013 +0100
[BUILDROOT] Busybox 1.21.0: Fix busybox default configuration
-----------------------------------------------------------------------
Summary of changes:
.../target/device/armadeus/busybox-1.21.0.config | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/device/armadeus/busybox-1.21.0.config b/buildroot/target/device/armadeus/busybox-1.21.0.config
index 6da7fea..02e61fc 120000
--- a/buildroot/target/device/armadeus/busybox-1.21.0.config
+++ b/buildroot/target/device/armadeus/busybox-1.21.0.config
@@ -1 +1 @@
-/home/eric/arm/armabr2013/buildroot/target/device/armadeus/busybox-1.21.config
\ No newline at end of file
+busybox-1.21.config
\ No newline at end of file
hooks/post-receive
--
armadeus
|
|
From: SebR <se...@us...> - 2013-03-12 16:32:25
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via be50ded1e9cb4b9da81a36972761b92f5a8475a3 (commit)
via cb375466613a8e68b4b0d85922020549c3cc1014 (commit)
from bbcb713ce0a6a20fccb45ffc5d8988e6b90054e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit be50ded1e9cb4b9da81a36972761b92f5a8475a3
Merge: cb37546 bbcb713
Author: seb <seb...@ar...>
Date: Tue Mar 12 17:31:59 2013 +0100
Merge branch 'master' of ssh://git.code.sf.net/p/armadeus/code
commit cb375466613a8e68b4b0d85922020549c3cc1014
Author: seb <seb...@ar...>
Date: Tue Mar 12 17:29:56 2013 +0100
[as_devices] add as_led : basic support for leds
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/Makefile | 1 +
target/packages/as_devices/c/as_led.c | 171 +++++++++++++++++++++++++++++++++
target/packages/as_devices/c/as_led.h | 105 ++++++++++++++++++++
3 files changed, 277 insertions(+), 0 deletions(-)
create mode 100644 target/packages/as_devices/c/as_led.c
create mode 100644 target/packages/as_devices/c/as_led.h
diff --git a/target/packages/as_devices/c/Makefile b/target/packages/as_devices/c/Makefile
index 2aab51f..41bc090 100644
--- a/target/packages/as_devices/c/Makefile
+++ b/target/packages/as_devices/c/Makefile
@@ -12,6 +12,7 @@ ifeq ($(ARMADEUS_LINUX_VERSION),2.6.29.6)
OBJ += as_gpio_2_6_29.o
else
OBJ += as_gpio.o
+OBJ += as_led.o
endif
OBJ += as_dac.o
OBJ += as_adc.o
diff --git a/target/packages/as_devices/c/as_led.c b/target/packages/as_devices/c/as_led.c
new file mode 100644
index 0000000..85721b9
--- /dev/null
+++ b/target/packages/as_devices/c/as_led.c
@@ -0,0 +1,171 @@
+/*
+ ** C wrapper for GPIOs usage.
+ **
+ ** Copyright (C) 2013 The Armadeus Project - ARMadeus Systems
+ ** Sébastien Royen <seb...@ar...>
+ **
+ ** This library is free software; you can redistribute it and/or
+ ** modify it under the terms of the GNU Lesser General Public
+ ** License as published by the Free Software Foundation; either
+ ** version 2.1 of the License, or (at your option) any later version.
+ **
+ ** This library is distributed in the hope that it will be useful,
+ ** but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ** Lesser General Public License for more details.
+ **
+ ** You should have received a copy of the GNU Lesser General Public
+ ** License along with this library; if not, write to the Free Software
+ ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <unistd.h> /* for close() */
+#include <errno.h>
+
+#include "as_helpers.h"
+#include "as_led.h"
+
+#undef ERROR
+#define ERROR(fmt, ...) printf(fmt, ##__VA_ARGS__)
+
+#define SYS_CLASS_LEDS_PATH "/sys/class/leds"
+
+/*------------------------------------------------------------------------------*/
+
+static int32_t led_echo(struct as_led_device *a_led_dev, char *a_filename,
+ char *a_content, int32_t a_length)
+{
+ char buf[64];
+ int32_t result = -1;
+ int fd;
+
+ snprintf(buf, sizeof(buf), SYS_CLASS_LEDS_PATH"/%s/%s",
+ a_led_dev->led_name, a_filename);
+ fd = open(buf, O_WRONLY);
+ if (fd < 0) {
+ ERROR("Can't open %s\n", buf);
+ } else {
+ if (a_length != write(fd, a_content, a_length)) {
+ ERROR("Error when writing %s to %s\n", a_content, buf);
+ } else {
+ result = 0;
+ }
+ close(fd);
+ }
+ return result;
+}
+
+/*------------------------------------------------------------------------------*/
+
+struct as_led_device *as_led_open(char *a_led_name)
+{
+ struct as_led_device *dev;
+ char buf[64];
+
+ dev = malloc(sizeof(struct as_led_device));
+ if (dev == NULL) {
+ ERROR("Can't allocate as_led_device structure\n");
+ } else {
+ snprintf(dev->led_name, sizeof(dev->led_name), "%s", a_led_name);
+ snprintf(buf, sizeof(buf), SYS_CLASS_LEDS_PATH"/%s/brightness", dev->led_name);
+ dev->file_brightness = open(buf, O_RDWR);
+ if (dev->file_brightness < 0) {
+ ERROR("Can't open %s\n", buf);
+ } else {
+ snprintf(buf, sizeof(buf), SYS_CLASS_LEDS_PATH"/%s/max_brightness", dev->led_name);
+ dev->file_max_brightness = open(buf, O_RDONLY);
+ if (dev->file_max_brightness < 0) {
+ ERROR("Can't open %s\n", buf);
+ } else {
+ return dev;
+ }
+ close(dev->file_brightness);
+ }
+ free(dev);
+ dev = NULL;
+ }
+
+ return NULL;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_led_close(struct as_led_device *a_led_dev)
+{
+ if(a_led_dev == NULL){
+ ERROR("device is NULL\n");
+ return -1;
+ }
+ close(a_led_dev->file_max_brightness);
+ close(a_led_dev->file_brightness);
+ free(a_led_dev);
+ return 0;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_led_get_max_brightness(struct as_led_device *a_led_dev)
+{
+ int32_t result;
+
+ if (0 == as_read_int(a_led_dev->file_max_brightness, &result)) {
+ return result;
+ }
+ return -1;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_led_set_brightness(struct as_led_device *a_led_dev, uint32_t a_brightness)
+{
+ return as_write_buffer(a_led_dev->file_brightness, a_brightness);
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_led_get_brightness(struct as_led_device *a_led_dev)
+{
+ int32_t result;
+
+ if (0 == as_read_int(a_led_dev->file_brightness, &result)) {
+ return result;
+ }
+ return -1;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_led_start_blinking(struct as_led_device *a_led_dev,
+ int32_t a_delay_on, int32_t a_delay_off)
+{
+ char buf[64];
+ int32_t length;
+ int32_t result = -1;
+
+ if (led_echo(a_led_dev, "trigger", "timer\n", 6) == 0) {
+ length = snprintf(buf, sizeof(buf), "%d\n", a_delay_on);
+ if (length > 0
+ && led_echo(a_led_dev, "delay_on", buf, length) == 0) {
+ length = snprintf(buf, sizeof(buf), "%d\n", a_delay_off);
+ if (length > 0
+ && led_echo(a_led_dev, "delay_off", buf, length) == 0) {
+ result = 0;
+ }
+ }
+ }
+ return result;
+}
+
+/*------------------------------------------------------------------------------*/
+
+int32_t as_led_stop_blinking(struct as_led_device *a_led_dev)
+{
+ if (led_echo(a_led_dev, "trigger", "none\n", 5) == 0) {
+ return 0;
+ }
+ return -1;
+}
+
diff --git a/target/packages/as_devices/c/as_led.h b/target/packages/as_devices/c/as_led.h
new file mode 100644
index 0000000..b9ae389
--- /dev/null
+++ b/target/packages/as_devices/c/as_led.h
@@ -0,0 +1,105 @@
+/*
+** The ARMadeus Project
+**
+** Copyright (C) 2013 The armadeus systems team
+** Sébastien Royen <seb...@ar...>
+**
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Lesser General Public
+** License as published by the Free Software Foundation; either
+** version 2.1 of the License, or (at your option) any later version.
+**
+** This library is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** Lesser General Public License for more details.
+**
+** You should have received a copy of the GNU Lesser General Public
+** License along with this library; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+#ifndef __ASLED_H__
+#define __ASLED_H__
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
+/**
+ * Store led parameters
+ */
+struct as_led_device {
+ char led_name[32];
+ int file_brightness;
+ int file_max_brightness;
+};
+
+
+/** @brief Initialize led access
+ *
+ * @param a_led_name char* name of the led
+ *
+ * @return NULL on error
+ */
+struct as_led_device *as_led_open(char *a_led_name);
+
+/** @brief Close led access
+ *
+ * @param a_led_dev as_led_device pointer structure
+ *
+ * @return error if negative
+ */
+int32_t as_led_close(struct as_led_device *a_led_dev);
+
+/** @brief Get max brightness
+ *
+ * @param a_led_dev as_led_device pointer structure
+ *
+ * @return maximum allowed brightness, negative value on error
+ */
+int32_t as_led_get_max_brightness(struct as_led_device *a_led_dev);
+
+/** @brief Set brightness
+ *
+ * @param a_led_dev as_led_device pointer structure
+ * @param a_brightness uint32_t requested value for led brighthness
+ *
+ * @return current brightness, negative value on error
+ */
+int32_t as_led_set_brightness(struct as_led_device *a_led_dev, uint32_t a_brightness);
+
+/** @brief Get brightness
+ *
+ * @param a_led_dev as_led_device pointer structure
+ *
+ * @return current brightness, negative value on error
+ */
+int32_t as_led_get_brightness(struct as_led_device *a_led_dev);
+
+/** @brief Make a led blinking
+ *
+ * @param a_led_dev as_led_device pointer structure
+ * @param a_delay_on uint32_t value for led on time
+ * @param a_delay_off uint32_t value for led off time
+ *
+ * @return negative value on error
+ */
+int32_t as_led_start_blinking(struct as_led_device *a_led_dev, int32_t a_delay_on, int32_t a_delay_off);
+
+/** @brief Led stop blinking
+ *
+ * @param a_led_dev as_led_device pointer structure
+ *
+ * @return negative value on error
+ */
+int32_t as_led_stop_blinking(struct as_led_device *a_led_dev);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __ASLED_H__ */
hooks/post-receive
--
armadeus
|
|
From: jscheer <js...@us...> - 2013-03-12 09:37:35
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via bbcb713ce0a6a20fccb45ffc5d8988e6b90054e0 (commit)
via 2af8427351a7e75bf116efdec2776a2f41121c7e (commit)
from 8d2b394c9214b7a954afb759b911c1012cc51d04 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bbcb713ce0a6a20fccb45ffc5d8988e6b90054e0
Merge: 2af8427 8d2b394
Author: Jeremie Scheer <jer...@ar...>
Date: Tue Mar 12 10:37:17 2013 +0100
Merge branch 'master' of ssh://git.code.sf.net/p/armadeus/code
commit 2af8427351a7e75bf116efdec2776a2f41121c7e
Author: Jeremie Scheer <jer...@ar...>
Date: Tue Mar 12 10:36:39 2013 +0100
[BUILDROOT] Use generic kernel mirror in IW download URL (patch 200).
-----------------------------------------------------------------------
Summary of changes:
.../2012.02/200-iw-fix_download_url.patch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/patches/buildroot/2012.02/200-iw-fix_download_url.patch b/patches/buildroot/2012.02/200-iw-fix_download_url.patch
index 769d878..3b44b96 100644
--- a/patches/buildroot/2012.02/200-iw-fix_download_url.patch
+++ b/patches/buildroot/2012.02/200-iw-fix_download_url.patch
@@ -5,13 +5,13 @@ Signed-off-by: Jérémie Scheer <jer...@ar...>
Index: buildroot/package/iw/iw.mk
===================================================================
--- buildroot.orig/package/iw/iw.mk 2012-02-29 23:19:47.000000000 +0100
-+++ buildroot/package/iw/iw.mk 2013-03-11 15:45:40.000000000 +0100
++++ buildroot/package/iw/iw.mk 2013-03-12 10:33:46.000000000 +0100
@@ -6,7 +6,7 @@
IW_VERSION = 3.3
IW_SOURCE = iw-$(IW_VERSION).tar.bz2
-IW_SITE = http://wireless.kernel.org/download/iw
-+IW_SITE = https://www.kernel.org/pub/software/network/iw/
++IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw
IW_DEPENDENCIES = host-pkg-config libnl
IW_CONFIG = $(IW_DIR)/.config
IW_MAKE_ENV = PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2013-03-12 09:14:43
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 8d2b394c9214b7a954afb759b911c1012cc51d04 (commit)
from 471bfc29e1a9efa0f7028c0d54521e5c5eadebba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8d2b394c9214b7a954afb759b911c1012cc51d04
Author: Julien Boibessot <jul...@ar...>
Date: Tue Mar 12 10:13:40 2013 +0100
[LINUX] 2.6.38: fixes PMIC LEDs colour declaration on APF51Dev
-----------------------------------------------------------------------
Summary of changes:
.../2.6.38/400-armadeus-add_apf51_module.patch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/patches/linux/2.6.38/400-armadeus-add_apf51_module.patch b/patches/linux/2.6.38/400-armadeus-add_apf51_module.patch
index be43fda..5f2f67b 100644
--- a/patches/linux/2.6.38/400-armadeus-add_apf51_module.patch
+++ b/patches/linux/2.6.38/400-armadeus-add_apf51_module.patch
@@ -395,12 +395,12 @@ Index: linux-2.6.38.8/arch/arm/mach-mx5/board-apf51.c
+
+static struct wm831x_status_pdata apf51_wm8311_led1_pdata = {
+ .default_src = WM831X_STATUS_PRESERVE,
-+ .name = "LED1:red:",
++ .name = "LED1:yellow:",
+};
+
+static struct wm831x_status_pdata apf51_wm8311_led2_pdata = {
+ .default_src = WM831X_STATUS_PRESERVE,
-+ .name = "LED2:green:",
++ .name = "LED2:yellow:",
+};
+
+static struct wm831x_touch_pdata apf51_wm8311_touch_pdata = {
hooks/post-receive
--
armadeus
|
|
From: jscheer <js...@us...> - 2013-03-11 14:58:58
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 471bfc29e1a9efa0f7028c0d54521e5c5eadebba (commit)
from 3f2e3cbd9091c6e81894556c9c22522bc57bdc6b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 471bfc29e1a9efa0f7028c0d54521e5c5eadebba
Author: Jeremie Scheer <jer...@ar...>
Date: Mon Mar 11 15:58:30 2013 +0100
[BUILDROOT] Fix IW package download URL in patch 200.
-----------------------------------------------------------------------
Summary of changes:
.../2012.02/200-iw-fix_download_url.patch | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2012.02/200-iw-fix_download_url.patch
diff --git a/patches/buildroot/2012.02/200-iw-fix_download_url.patch b/patches/buildroot/2012.02/200-iw-fix_download_url.patch
new file mode 100644
index 0000000..769d878
--- /dev/null
+++ b/patches/buildroot/2012.02/200-iw-fix_download_url.patch
@@ -0,0 +1,17 @@
+Fix IW download URL.
+
+Signed-off-by: Jérémie Scheer <jer...@ar...>
+
+Index: buildroot/package/iw/iw.mk
+===================================================================
+--- buildroot.orig/package/iw/iw.mk 2012-02-29 23:19:47.000000000 +0100
++++ buildroot/package/iw/iw.mk 2013-03-11 15:45:40.000000000 +0100
+@@ -6,7 +6,7 @@
+
+ IW_VERSION = 3.3
+ IW_SOURCE = iw-$(IW_VERSION).tar.bz2
+-IW_SITE = http://wireless.kernel.org/download/iw
++IW_SITE = https://www.kernel.org/pub/software/network/iw/
+ IW_DEPENDENCIES = host-pkg-config libnl
+ IW_CONFIG = $(IW_DIR)/.config
+ IW_MAKE_ENV = PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2013-03-11 09:48:36
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 3f2e3cbd9091c6e81894556c9c22522bc57bdc6b (commit)
from 62009eb3023ff6aa7f070bffdcd258d4fba71284 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3f2e3cbd9091c6e81894556c9c22522bc57bdc6b
Author: Eric Jarrige <eri...@ar...>
Date: Mon Mar 11 10:52:40 2013 +0100
[BUILDROOT] 2013.02: initial support of BR 2013.02
-----------------------------------------------------------------------
Summary of changes:
.../target/device/armadeus/busybox-1.21.0.config | 1 +
.../{busybox-1.19.config => busybox-1.21.config} | 0
.../001-add_armadeus_device.patch | 8 ++--
.../002-add_armadeus_specific_packages.patch | 0
.../{2012.11.1 => 2013.02}/006-lcd4linux.patch | 0
.../{2012.11.1 => 2013.02}/018-allegro.patch | 2 +-
.../021-sdl-water-config.patch | 0
.../{2012.11.1 => 2013.02}/034-slideshow.patch | 0
.../040-linux-makefile.patch | 0
.../043-mesa-add_packages.patch | 0
.../045-openssh-add_passwd_expire.patch | 0
...support-for-Safe-Boot-file-format-this-fo.patch | 0
...d_possibility_to_choose_board_header_file.patch | 0
...x_in_a_standalone_way_after_configuration.patch | 0
...-linux-change_board_specific_patches_name.patch | 0
.../072-xenomai-package.patch | 0
.../081-adds_quake_package.patch | 0
.../083-pygame-armadeus_addons.patch | 0
.../085-adds_gpm_package.patch | 0
.../097-adds_flite_package.patch | 0
...for_pld_asm_instruction_on_non_armv5_arch.patch | 0
...r-add_patch_for_recent_alsa_compatibility.patch | 0
.../107-games-add_wolf4sdl.patch | 0
.../110-bluez3-add_package.patch | 0
.../{2012.11.1 => 2013.02}/111-bluez3-hacks.patch | 0
.../116-openobex-add_package.patch | 0
.../117-ussp-push-add_package.patch | 2 +-
.../118-snes9x-add_package.patch | 0
.../119-fbtest-add_package.patch | 0
.../120-cwiid-add_package.patch | 4 +-
.../121-target-arm926t_is_arm926ej-s.patch | 0
.../122-urg-add_package.patch | 0
.../123-pywebradio-add_package.patch | 0
.../124-e-uae-add_package.patch | 0
.../125-opentyrian-add_package.patch | 0
.../130-lbreakout-add_package.patch | 0
.../131-ltetris-add_package.patch | 0
...-qt-full_integration_with_cross_compiling.patch | 0
...ffs2-add_board_name_to_binary_rootfs_name.patch | 30 ++++++++++++++++++++
.../135-linux-add_linux26-clean_target.patch | 0
...42-ncurses-fix_compilation_with_old_hosts.patch | 0
...-disable_ip_busybox_if_iproute2_buildroot.patch | 0
...fix_installation_bug_on_some_host_systems.patch | 0
...lection_even_when_custom_rootfs_is_chosen.patch | 16 +++++-----
.../158-setserial-bump_version.patch | 0
.../168-libcanfestival-add_package.patch | 0
.../172-gsmmux-add_package.patch | 0
.../174-imx-lib-add_package.patch.TOUPDATE} | 0
.../176-imx-test-add_package.patch | 0
.../178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch | 0
...e4defrag_build_against_old_kernel_headers.patch | 0
.../181-qtcreator-add_package.patch | 0
.../182-uclibc-add_accept4_declaration_fix.patch | 0
.../184-fsl-mm-codeclib-add_package.patch | 0
.../185-gst-fsl-plugin-add_package.patch | 0
...nore-env_sectors-on-NOR-and-SPI-dataflash.patch | 27 ++++++++---------
.../188-marble-add_package.patch | 2 +-
.../189-dbus-fix_installation.patch | 0
.../191-madplay-requires_libintl.patch | 10 +++---
.../196-python-crc16-add_package.patch | 4 +-
.../197-cunit-add_package.patch | 0
.../{2012.11.1 => 2013.02}/cleanup_buildroot.sh | 0
62 files changed, 68 insertions(+), 38 deletions(-)
create mode 120000 buildroot/target/device/armadeus/busybox-1.21.0.config
copy buildroot/target/device/armadeus/{busybox-1.19.config => busybox-1.21.config} (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/001-add_armadeus_device.patch (89%)
copy patches/buildroot/{2012.02 => 2013.02}/002-add_armadeus_specific_packages.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/006-lcd4linux.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/018-allegro.patch (99%)
copy patches/buildroot/{2012.11.1 => 2013.02}/021-sdl-water-config.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/034-slideshow.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/040-linux-makefile.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/043-mesa-add_packages.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/045-openssh-add_passwd_expire.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/051d-u-boot-add_possibility_to_choose_board_header_file.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/071-linux-change_board_specific_patches_name.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/072-xenomai-package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/081-adds_quake_package.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/083-pygame-armadeus_addons.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/085-adds_gpm_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/097-adds_flite_package.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/101-mplayer-add_patch_for_recent_alsa_compatibility.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/107-games-add_wolf4sdl.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/110-bluez3-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/111-bluez3-hacks.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/116-openobex-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/117-ussp-push-add_package.patch (98%)
copy patches/buildroot/{2012.02 => 2013.02}/118-snes9x-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/119-fbtest-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/120-cwiid-add_package.patch (97%)
copy patches/buildroot/{2012.11.1 => 2013.02}/121-target-arm926t_is_arm926ej-s.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/122-urg-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/123-pywebradio-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/124-e-uae-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/125-opentyrian-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/130-lbreakout-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/131-ltetris-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/132-qt-full_integration_with_cross_compiling.patch (100%)
create mode 100644 patches/buildroot/2013.02/134-jffs2-add_board_name_to_binary_rootfs_name.patch
copy patches/buildroot/{2012.02 => 2013.02}/135-linux-add_linux26-clean_target.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/142-ncurses-fix_compilation_with_old_hosts.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch (78%)
copy patches/buildroot/{2012.02 => 2013.02}/158-setserial-bump_version.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/168-libcanfestival-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/172-gsmmux-add_package.patch (100%)
copy patches/buildroot/{2012.11.1/174-imx-lib-add_package.patch => 2013.02/174-imx-lib-add_package.patch.TOUPDATE} (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/176-imx-test-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/179-e2fsprog-allow_e4defrag_build_against_old_kernel_headers.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/181-qtcreator-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/182-uclibc-add_accept4_declaration_fix.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/184-fsl-mm-codeclib-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/185-gst-fsl-plugin-add_package.patch (100%)
copy patches/buildroot/{2012.02 => 2013.02}/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch (65%)
copy patches/buildroot/{2012.11.1 => 2013.02}/188-marble-add_package.patch (99%)
copy patches/buildroot/{2012.11.1 => 2013.02}/189-dbus-fix_installation.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/191-madplay-requires_libintl.patch (81%)
copy patches/buildroot/{2012.11.1 => 2013.02}/196-python-crc16-add_package.patch (95%)
copy patches/buildroot/{2012.11.1 => 2013.02}/197-cunit-add_package.patch (100%)
copy patches/buildroot/{2012.11.1 => 2013.02}/cleanup_buildroot.sh (100%)
diff --git a/buildroot/target/device/armadeus/busybox-1.21.0.config b/buildroot/target/device/armadeus/busybox-1.21.0.config
new file mode 120000
index 0000000..6da7fea
--- /dev/null
+++ b/buildroot/target/device/armadeus/busybox-1.21.0.config
@@ -0,0 +1 @@
+/home/eric/arm/armabr2013/buildroot/target/device/armadeus/busybox-1.21.config
\ No newline at end of file
diff --git a/buildroot/target/device/armadeus/busybox-1.19.config b/buildroot/target/device/armadeus/busybox-1.21.config
similarity index 100%
copy from buildroot/target/device/armadeus/busybox-1.19.config
copy to buildroot/target/device/armadeus/busybox-1.21.config
diff --git a/patches/buildroot/2012.11.1/001-add_armadeus_device.patch b/patches/buildroot/2013.02/001-add_armadeus_device.patch
similarity index 89%
copy from patches/buildroot/2012.11.1/001-add_armadeus_device.patch
copy to patches/buildroot/2013.02/001-add_armadeus_device.patch
index 0e8f71f..7e4f5c8 100644
--- a/patches/buildroot/2012.11.1/001-add_armadeus_device.patch
+++ b/patches/buildroot/2013.02/001-add_armadeus_device.patch
@@ -5,13 +5,13 @@ Index: buildroot/Makefile
--- buildroot/Makefile
+++ buildroot/Makefile
@@ -336,6 +336,7 @@ endif
- endif
-
+ include boot/common.mk
+ include linux/linux.mk
include system/system.mk
+include target/device/armadeus/Makefile.in
- include fs/common.mk
- TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
+ TARGETS+=target-finalize
+
Index: buildroot/system/Config.in
===================================================================
--- buildroot/system/Config.in
diff --git a/patches/buildroot/2012.02/002-add_armadeus_specific_packages.patch b/patches/buildroot/2013.02/002-add_armadeus_specific_packages.patch
similarity index 100%
copy from patches/buildroot/2012.02/002-add_armadeus_specific_packages.patch
copy to patches/buildroot/2013.02/002-add_armadeus_specific_packages.patch
diff --git a/patches/buildroot/2012.11.1/006-lcd4linux.patch b/patches/buildroot/2013.02/006-lcd4linux.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/006-lcd4linux.patch
copy to patches/buildroot/2013.02/006-lcd4linux.patch
diff --git a/patches/buildroot/2012.11.1/018-allegro.patch b/patches/buildroot/2013.02/018-allegro.patch
similarity index 99%
copy from patches/buildroot/2012.11.1/018-allegro.patch
copy to patches/buildroot/2013.02/018-allegro.patch
index 0f52fbb..81da7f8 100644
--- a/patches/buildroot/2012.11.1/018-allegro.patch
+++ b/patches/buildroot/2013.02/018-allegro.patch
@@ -11,9 +11,9 @@ Index: buildroot/package/Config.in
comment "graphic libraries"
+source "package/allegro/Config.in"
+ source "package/cegui06/Config.in"
source "package/directfb/Config.in"
source "package/directfb-examples/Config.in"
- source "package/divine/Config.in"
Index: buildroot/package/allegro/Config.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
diff --git a/patches/buildroot/2012.11.1/021-sdl-water-config.patch b/patches/buildroot/2013.02/021-sdl-water-config.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/021-sdl-water-config.patch
copy to patches/buildroot/2013.02/021-sdl-water-config.patch
diff --git a/patches/buildroot/2012.11.1/034-slideshow.patch b/patches/buildroot/2013.02/034-slideshow.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/034-slideshow.patch
copy to patches/buildroot/2013.02/034-slideshow.patch
diff --git a/patches/buildroot/2012.11.1/040-linux-makefile.patch b/patches/buildroot/2013.02/040-linux-makefile.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/040-linux-makefile.patch
copy to patches/buildroot/2013.02/040-linux-makefile.patch
diff --git a/patches/buildroot/2012.11.1/043-mesa-add_packages.patch b/patches/buildroot/2013.02/043-mesa-add_packages.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/043-mesa-add_packages.patch
copy to patches/buildroot/2013.02/043-mesa-add_packages.patch
diff --git a/patches/buildroot/2012.02/045-openssh-add_passwd_expire.patch b/patches/buildroot/2013.02/045-openssh-add_passwd_expire.patch
similarity index 100%
copy from patches/buildroot/2012.02/045-openssh-add_passwd_expire.patch
copy to patches/buildroot/2013.02/045-openssh-add_passwd_expire.patch
diff --git a/patches/buildroot/2012.11.1/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch b/patches/buildroot/2013.02/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch
copy to patches/buildroot/2013.02/051a-U-Boot-add-support-for-Safe-Boot-file-format-this-fo.patch
diff --git a/patches/buildroot/2012.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch b/patches/buildroot/2013.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch
similarity index 100%
copy from patches/buildroot/2012.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch
copy to patches/buildroot/2013.02/051d-u-boot-add_possibility_to_choose_board_header_file.patch
diff --git a/patches/buildroot/2012.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch b/patches/buildroot/2013.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch
similarity index 100%
copy from patches/buildroot/2012.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch
copy to patches/buildroot/2013.02/060-makes_possible_to_compile_linux_in_a_standalone_way_after_configuration.patch
diff --git a/patches/buildroot/2012.02/071-linux-change_board_specific_patches_name.patch b/patches/buildroot/2013.02/071-linux-change_board_specific_patches_name.patch
similarity index 100%
copy from patches/buildroot/2012.02/071-linux-change_board_specific_patches_name.patch
copy to patches/buildroot/2013.02/071-linux-change_board_specific_patches_name.patch
diff --git a/patches/buildroot/2012.11.1/072-xenomai-package.patch b/patches/buildroot/2013.02/072-xenomai-package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/072-xenomai-package.patch
copy to patches/buildroot/2013.02/072-xenomai-package.patch
diff --git a/patches/buildroot/2012.11.1/081-adds_quake_package.patch b/patches/buildroot/2013.02/081-adds_quake_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/081-adds_quake_package.patch
copy to patches/buildroot/2013.02/081-adds_quake_package.patch
diff --git a/patches/buildroot/2012.02/083-pygame-armadeus_addons.patch b/patches/buildroot/2013.02/083-pygame-armadeus_addons.patch
similarity index 100%
copy from patches/buildroot/2012.02/083-pygame-armadeus_addons.patch
copy to patches/buildroot/2013.02/083-pygame-armadeus_addons.patch
diff --git a/patches/buildroot/2012.11.1/085-adds_gpm_package.patch b/patches/buildroot/2013.02/085-adds_gpm_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/085-adds_gpm_package.patch
copy to patches/buildroot/2013.02/085-adds_gpm_package.patch
diff --git a/patches/buildroot/2012.11.1/097-adds_flite_package.patch b/patches/buildroot/2013.02/097-adds_flite_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/097-adds_flite_package.patch
copy to patches/buildroot/2013.02/097-adds_flite_package.patch
diff --git a/patches/buildroot/2012.02/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch b/patches/buildroot/2013.02/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch
similarity index 100%
copy from patches/buildroot/2012.02/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch
copy to patches/buildroot/2013.02/099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch
diff --git a/patches/buildroot/2012.02/101-mplayer-add_patch_for_recent_alsa_compatibility.patch b/patches/buildroot/2013.02/101-mplayer-add_patch_for_recent_alsa_compatibility.patch
similarity index 100%
copy from patches/buildroot/2012.02/101-mplayer-add_patch_for_recent_alsa_compatibility.patch
copy to patches/buildroot/2013.02/101-mplayer-add_patch_for_recent_alsa_compatibility.patch
diff --git a/patches/buildroot/2012.11.1/107-games-add_wolf4sdl.patch b/patches/buildroot/2013.02/107-games-add_wolf4sdl.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/107-games-add_wolf4sdl.patch
copy to patches/buildroot/2013.02/107-games-add_wolf4sdl.patch
diff --git a/patches/buildroot/2012.11.1/110-bluez3-add_package.patch b/patches/buildroot/2013.02/110-bluez3-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/110-bluez3-add_package.patch
copy to patches/buildroot/2013.02/110-bluez3-add_package.patch
diff --git a/patches/buildroot/2012.11.1/111-bluez3-hacks.patch b/patches/buildroot/2013.02/111-bluez3-hacks.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/111-bluez3-hacks.patch
copy to patches/buildroot/2013.02/111-bluez3-hacks.patch
diff --git a/patches/buildroot/2012.11.1/116-openobex-add_package.patch b/patches/buildroot/2013.02/116-openobex-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/116-openobex-add_package.patch
copy to patches/buildroot/2013.02/116-openobex-add_package.patch
diff --git a/patches/buildroot/2012.11.1/117-ussp-push-add_package.patch b/patches/buildroot/2013.02/117-ussp-push-add_package.patch
similarity index 98%
copy from patches/buildroot/2012.11.1/117-ussp-push-add_package.patch
copy to patches/buildroot/2013.02/117-ussp-push-add_package.patch
index 0b54f74..dbce7f3 100644
--- a/patches/buildroot/2012.11.1/117-ussp-push-add_package.patch
+++ b/patches/buildroot/2013.02/117-ussp-push-add_package.patch
@@ -22,9 +22,9 @@ index 0855684..c530305 100644
source "package/ulogd/Config.in"
source "package/ushare/Config.in"
+source "package/ussp-push/Config.in"
+ source "package/vde2/Config.in"
source "package/vpnc/Config.in"
source "package/vsftpd/Config.in"
- source "package/vtun/Config.in"
diff --git a/package/ussp-push/Config.in b/package/ussp-push/Config.in
new file mode 100644
index 0000000..324280f
diff --git a/patches/buildroot/2012.02/118-snes9x-add_package.patch b/patches/buildroot/2013.02/118-snes9x-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.02/118-snes9x-add_package.patch
copy to patches/buildroot/2013.02/118-snes9x-add_package.patch
diff --git a/patches/buildroot/2012.11.1/119-fbtest-add_package.patch b/patches/buildroot/2013.02/119-fbtest-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/119-fbtest-add_package.patch
copy to patches/buildroot/2013.02/119-fbtest-add_package.patch
diff --git a/patches/buildroot/2012.11.1/120-cwiid-add_package.patch b/patches/buildroot/2013.02/120-cwiid-add_package.patch
similarity index 97%
copy from patches/buildroot/2012.11.1/120-cwiid-add_package.patch
copy to patches/buildroot/2013.02/120-cwiid-add_package.patch
index 1eda8d0..66ed7cf 100644
--- a/patches/buildroot/2012.11.1/120-cwiid-add_package.patch
+++ b/patches/buildroot/2013.02/120-cwiid-add_package.patch
@@ -8,13 +8,13 @@ Index: buildroot/package/Config.in
--- buildroot.orig/package/Config.in 2012-02-21 16:45:15.000000000 +0100
+++ buildroot/package/Config.in 2012-02-21 16:45:30.000000000 +0100
@@ -174,6 +174,7 @@
- menu "Filesystem utilities"
+ menu "Filesystem and flash utilities"
source "package/cifs-utils/Config.in"
source "package/cramfs/Config.in"
+source "package/cwiid/Config.in"
+ source "package/curlftpfs/Config.in"
source "package/dosfstools/Config.in"
source "package/e2fsprogs/Config.in"
- source "package/genext2fs/Config.in"
Index: buildroot/package/cwiid/Config.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
diff --git a/patches/buildroot/2012.11.1/121-target-arm926t_is_arm926ej-s.patch b/patches/buildroot/2013.02/121-target-arm926t_is_arm926ej-s.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/121-target-arm926t_is_arm926ej-s.patch
copy to patches/buildroot/2013.02/121-target-arm926t_is_arm926ej-s.patch
diff --git a/patches/buildroot/2012.11.1/122-urg-add_package.patch b/patches/buildroot/2013.02/122-urg-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/122-urg-add_package.patch
copy to patches/buildroot/2013.02/122-urg-add_package.patch
diff --git a/patches/buildroot/2012.11.1/123-pywebradio-add_package.patch b/patches/buildroot/2013.02/123-pywebradio-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/123-pywebradio-add_package.patch
copy to patches/buildroot/2013.02/123-pywebradio-add_package.patch
diff --git a/patches/buildroot/2012.11.1/124-e-uae-add_package.patch b/patches/buildroot/2013.02/124-e-uae-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/124-e-uae-add_package.patch
copy to patches/buildroot/2013.02/124-e-uae-add_package.patch
diff --git a/patches/buildroot/2012.11.1/125-opentyrian-add_package.patch b/patches/buildroot/2013.02/125-opentyrian-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/125-opentyrian-add_package.patch
copy to patches/buildroot/2013.02/125-opentyrian-add_package.patch
diff --git a/patches/buildroot/2012.11.1/130-lbreakout-add_package.patch b/patches/buildroot/2013.02/130-lbreakout-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/130-lbreakout-add_package.patch
copy to patches/buildroot/2013.02/130-lbreakout-add_package.patch
diff --git a/patches/buildroot/2012.11.1/131-ltetris-add_package.patch b/patches/buildroot/2013.02/131-ltetris-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/131-ltetris-add_package.patch
copy to patches/buildroot/2013.02/131-ltetris-add_package.patch
diff --git a/patches/buildroot/2012.11.1/132-qt-full_integration_with_cross_compiling.patch b/patches/buildroot/2013.02/132-qt-full_integration_with_cross_compiling.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/132-qt-full_integration_with_cross_compiling.patch
copy to patches/buildroot/2013.02/132-qt-full_integration_with_cross_compiling.patch
diff --git a/patches/buildroot/2013.02/134-jffs2-add_board_name_to_binary_rootfs_name.patch b/patches/buildroot/2013.02/134-jffs2-add_board_name_to_binary_rootfs_name.patch
new file mode 100644
index 0000000..a05771e
--- /dev/null
+++ b/patches/buildroot/2013.02/134-jffs2-add_board_name_to_binary_rootfs_name.patch
@@ -0,0 +1,30 @@
+Add "BR2_BOARD_NAME" prefix to the rootfs binary filename.
+
+Specific for Armadeus.
+
+Signed-off-by: Jérémie Scheer <jer...@ar...>
+
+Index: buildroot/fs/common.mk
+===================================================================
+--- buildroot.orig/fs/common.mk 2012-02-21 16:43:25.000000000 +0100
++++ buildroot/fs/common.mk 2012-02-21 16:45:54.000000000 +0100
+@@ -41,8 +41,8 @@
+ # extra deps
+ ROOTFS_$(2)_DEPENDENCIES += host-fakeroot host-makedevs $$(if $$(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
+
+-$$(BINARIES_DIR)/rootfs.$(1): $$(ROOTFS_$(2)_DEPENDENCIES)
+- @$$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
++$$(BINARIES_DIR)/$(BR2_BOARD_NAME)-rootfs.$(1): $$(ROOTFS_$(2)_DEPENDENCIES)
++ @$$(call MESSAGE,"Generating root filesystem image $(BR2_BOARD_NAME)-rootfs.$(1)")
+ $$(foreach hook,$$(ROOTFS_$(2)_PRE_GEN_HOOKS),$$(call $$(hook))$$(sep))
+ rm -f $$(FAKEROOT_SCRIPT)
+ rm -f $$(TARGET_DIR_WARNING_FILE)
+@@ -74,7 +74,7 @@
+ rootfs-$(1)-show-depends:
+ @echo $$(ROOTFS_$(2)_DEPENDENCIES)
+
+-rootfs-$(1): $$(BINARIES_DIR)/rootfs.$(1) $$(ROOTFS_$(2)_POST_TARGETS)
++rootfs-$(1): $$(BINARIES_DIR)/$(BR2_BOARD_NAME)-rootfs.$(1) $$(ROOTFS_$(2)_POST_TARGETS)
+
+ ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
+ TARGETS += rootfs-$(1)
diff --git a/patches/buildroot/2012.02/135-linux-add_linux26-clean_target.patch b/patches/buildroot/2013.02/135-linux-add_linux26-clean_target.patch
similarity index 100%
copy from patches/buildroot/2012.02/135-linux-add_linux26-clean_target.patch
copy to patches/buildroot/2013.02/135-linux-add_linux26-clean_target.patch
diff --git a/patches/buildroot/2012.11.1/142-ncurses-fix_compilation_with_old_hosts.patch b/patches/buildroot/2013.02/142-ncurses-fix_compilation_with_old_hosts.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/142-ncurses-fix_compilation_with_old_hosts.patch
copy to patches/buildroot/2013.02/142-ncurses-fix_compilation_with_old_hosts.patch
diff --git a/patches/buildroot/2012.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch b/patches/buildroot/2013.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
similarity index 100%
copy from patches/buildroot/2012.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
copy to patches/buildroot/2013.02/146-busybox-disable_ip_busybox_if_iproute2_buildroot.patch
diff --git a/patches/buildroot/2012.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch b/patches/buildroot/2013.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
similarity index 100%
copy from patches/buildroot/2012.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
copy to patches/buildroot/2013.02/150-alsa-utils-fix_installation_bug_on_some_host_systems.patch
diff --git a/patches/buildroot/2012.11.1/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch b/patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
similarity index 78%
copy from patches/buildroot/2012.11.1/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
copy to patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
index d8ec54a..e845980 100644
--- a/patches/buildroot/2012.11.1/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
+++ b/patches/buildroot/2013.02/157-buildroot-allow_generic_device_selection_even_when_custom_rootfs_is_chosen.patch
@@ -15,17 +15,17 @@ Index: buildroot/system/Config.in
-if BR2_ROOTFS_SKELETON_DEFAULT
-
- config BR2_TARGET_GENERIC_GETTY_PORT
- string "Port to run a getty (login prompt) on"
- default "ttyS0"
+ config BR2_TARGET_GENERIC_ROOT_PASSWD
+ string "Root password"
+
@@ -165,8 +163,6 @@ config BR2_TARGET_GENERIC_REMOUNT_ROOTFS
read-only.
If unsure, say Y.
-endif # BR2_ROOTFS_SKELETON_DEFAULT
-
- config BR2_ROOTFS_POST_BUILD_SCRIPT
- string "Custom script to run before creating filesystem images"
+ config BR2_ROOTFS_OVERLAY
+ string "Root filesystem overlay directories"
default ""
Index: buildroot/system/system.mk
===================================================================
@@ -36,9 +36,9 @@ Index: buildroot/system/system.mk
endif
-ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
- ifeq ($(BR2_PACKAGE_SYSVINIT),y)
- TARGETS += target-generic-getty-sysvinit
- else
+ TARGETS += target-root-passwd
+
+ ifneq ($(TARGET_GENERIC_GETTY),)
@@ -50,4 +49,3 @@ TARGETS += target-generic-do-remount-rw
else
TARGETS += target-generic-dont-remount-rw
diff --git a/patches/buildroot/2012.02/158-setserial-bump_version.patch b/patches/buildroot/2013.02/158-setserial-bump_version.patch
similarity index 100%
copy from patches/buildroot/2012.02/158-setserial-bump_version.patch
copy to patches/buildroot/2013.02/158-setserial-bump_version.patch
diff --git a/patches/buildroot/2012.11.1/168-libcanfestival-add_package.patch b/patches/buildroot/2013.02/168-libcanfestival-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/168-libcanfestival-add_package.patch
copy to patches/buildroot/2013.02/168-libcanfestival-add_package.patch
diff --git a/patches/buildroot/2012.11.1/172-gsmmux-add_package.patch b/patches/buildroot/2013.02/172-gsmmux-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/172-gsmmux-add_package.patch
copy to patches/buildroot/2013.02/172-gsmmux-add_package.patch
diff --git a/patches/buildroot/2012.11.1/174-imx-lib-add_package.patch b/patches/buildroot/2013.02/174-imx-lib-add_package.patch.TOUPDATE
similarity index 100%
copy from patches/buildroot/2012.11.1/174-imx-lib-add_package.patch
copy to patches/buildroot/2013.02/174-imx-lib-add_package.patch.TOUPDATE
diff --git a/patches/buildroot/2012.11.1/176-imx-test-add_package.patch b/patches/buildroot/2013.02/176-imx-test-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/176-imx-test-add_package.patch
copy to patches/buildroot/2013.02/176-imx-test-add_package.patch
diff --git a/patches/buildroot/2012.11.1/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch b/patches/buildroot/2013.02/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch
copy to patches/buildroot/2013.02/178-uboot-add-missing-UBOOT_CLEAN_CMDS.patch
diff --git a/patches/buildroot/2012.02/179-e2fsprog-allow_e4defrag_build_against_old_kernel_headers.patch b/patches/buildroot/2013.02/179-e2fsprog-allow_e4defrag_build_against_old_kernel_headers.patch
similarity index 100%
copy from patches/buildroot/2012.02/179-e2fsprog-allow_e4defrag_build_against_old_kernel_headers.patch
copy to patches/buildroot/2013.02/179-e2fsprog-allow_e4defrag_build_against_old_kernel_headers.patch
diff --git a/patches/buildroot/2012.11.1/181-qtcreator-add_package.patch b/patches/buildroot/2013.02/181-qtcreator-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/181-qtcreator-add_package.patch
copy to patches/buildroot/2013.02/181-qtcreator-add_package.patch
diff --git a/patches/buildroot/2012.11.1/182-uclibc-add_accept4_declaration_fix.patch b/patches/buildroot/2013.02/182-uclibc-add_accept4_declaration_fix.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/182-uclibc-add_accept4_declaration_fix.patch
copy to patches/buildroot/2013.02/182-uclibc-add_accept4_declaration_fix.patch
diff --git a/patches/buildroot/2012.11.1/184-fsl-mm-codeclib-add_package.patch b/patches/buildroot/2013.02/184-fsl-mm-codeclib-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/184-fsl-mm-codeclib-add_package.patch
copy to patches/buildroot/2013.02/184-fsl-mm-codeclib-add_package.patch
diff --git a/patches/buildroot/2012.11.1/185-gst-fsl-plugin-add_package.patch b/patches/buildroot/2013.02/185-gst-fsl-plugin-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/185-gst-fsl-plugin-add_package.patch
copy to patches/buildroot/2013.02/185-gst-fsl-plugin-add_package.patch
diff --git a/patches/buildroot/2012.02/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch b/patches/buildroot/2013.02/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
similarity index 65%
copy from patches/buildroot/2012.02/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
copy to patches/buildroot/2013.02/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
index 02b47b9..d3b1c23 100644
--- a/patches/buildroot/2012.02/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
+++ b/patches/buildroot/2013.02/186-uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
@@ -7,11 +7,11 @@ all the Armadeus boards.
Signed-off-by: Eric Jarrige <eri...@ar...>
---
-Index: buildroot/package/uboot-tools/uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
+Index: buildroot/package/uboot-tools/uboot-tools-2013.01-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
===================================================================
---- buildroot/package/uboot-tools/uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
-+++ buildroot/package/uboot-tools/uboot-tools-2011.03-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
-@@ -0,0 +1,32 @@
+--- buildroot/package/uboot-tools/uboot-tools-2013.01-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
++++ buildroot/package/uboot-tools/uboot-tools-2013.01-Ignore-env_sectors-on-NOR-and-SPI-dataflash.patch
+@@ -0,0 +1,31 @@
+[PATCH] Ignore env_sectors on NOR and SPI-dataflash
+
+fw_env doc declare that 'the "Number of sectors" is ignored on NOR and
@@ -21,26 +21,25 @@ Index: buildroot/package/uboot-tools/uboot-tools-2011.03-Ignore-env_sectors-on-N
+
+Signed-off-by: Eric Jarrige <eri...@ar...>
+---
-+Index: u-boot-2011.03/tools/env/fw_env.c
++Index: u-boot-2013.01/tools/env/fw_env.c
+===================================================================
+--- uboot-tools-2011.03/tools/env/fw_env.c
++++ uboot-tools-2011.03/tools/env/fw_env.c
-+@@ -777,9 +777,15 @@ static int flash_write_buf (int dev, int
++@@ -777,8 +777,15 @@ static int flash_write_buf (int dev, int
+
+ blocklen = DEVESIZE (dev);
+
-+- /* Erase sector size is always a power of 2 */
-+- top_of_range = (DEVOFFSET (dev) & ~(blocklen - 1)) +
-+- ENVSECTORS (dev) * blocklen;
++- top_of_range = ((DEVOFFSET(dev) / blocklen) +
++- ENVSECTORS (dev)) * blocklen;
++ /* Ignored env_sectors on NOR and SPI-dataflash */
++ if (mtd_type == MTD_NANDFLASH) {
++ /* Erase sector size is always a power of 2 */
-++ top_of_range = (DEVOFFSET (dev) & ~(blocklen - 1)) +
-++ ENVSECTORS (dev) * blocklen;
+++ top_of_range = ((DEVOFFSET(dev) / blocklen) +
+++ ENVSECTORS (dev)) * blocklen;
++ } else {
-++ top_of_range = (DEVOFFSET (dev) & ~(blocklen - 1)) +
-++ blocklen;
+++ top_of_range = ((DEVOFFSET(dev) / blocklen) +
+++ 1) * blocklen;
++ }
+
-+ erase_offset = offset & ~(blocklen - 1);
++ erase_offset = (offset / blocklen) * blocklen;
+
diff --git a/patches/buildroot/2012.11.1/188-marble-add_package.patch b/patches/buildroot/2013.02/188-marble-add_package.patch
similarity index 99%
copy from patches/buildroot/2012.11.1/188-marble-add_package.patch
copy to patches/buildroot/2013.02/188-marble-add_package.patch
index 28a29ea..0114fad 100644
--- a/patches/buildroot/2012.11.1/188-marble-add_package.patch
+++ b/patches/buildroot/2013.02/188-marble-add_package.patch
@@ -7,9 +7,9 @@ Index: buildroot/package/Config.in
--- buildroot.orig/package/Config.in 2012-06-14 15:06:47.000000000 +0200
+++ buildroot/package/Config.in 2012-06-14 15:07:36.000000000 +0200
@@ -141,6 +141,7 @@
+ comment "other GUIs"
source "package/efl/Config.in"
source "package/qt/Config.in"
- source "package/qwt/Config.in"
+source "package/marble/Config.in"
if BR2_PACKAGE_QT
diff --git a/patches/buildroot/2012.11.1/189-dbus-fix_installation.patch b/patches/buildroot/2013.02/189-dbus-fix_installation.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/189-dbus-fix_installation.patch
copy to patches/buildroot/2013.02/189-dbus-fix_installation.patch
diff --git a/patches/buildroot/2012.11.1/191-madplay-requires_libintl.patch b/patches/buildroot/2013.02/191-madplay-requires_libintl.patch
similarity index 81%
copy from patches/buildroot/2012.11.1/191-madplay-requires_libintl.patch
copy to patches/buildroot/2013.02/191-madplay-requires_libintl.patch
index d98ec79..b9a309c 100644
--- a/patches/buildroot/2012.11.1/191-madplay-requires_libintl.patch
+++ b/patches/buildroot/2013.02/191-madplay-requires_libintl.patch
@@ -19,11 +19,11 @@ Index: buildroot/package/multimedia/madplay/madplay.mk
--- buildroot.orig/package/multimedia/madplay/madplay.mk 2012-08-08 10:04:31.000000000 +0200
+++ buildroot/package/multimedia/madplay/madplay.mk 2012-08-08 10:04:51.000000000 +0200
@@ -7,7 +7,7 @@
- MADPLAY_SOURCE:=madplay-$(MADPLAY_VERSION).tar.gz
- MADPLAY_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mad
- MADPLAY_LIBTOOL_PATCH=NO
--MADPLAY_DEPENDENCIES=libmad libid3tag
-+MADPLAY_DEPENDENCIES=libmad libid3tag libintl
+ MADPLAY_SOURCE = madplay-$(MADPLAY_VERSION).tar.gz
+ MADPLAY_SITE = http://downloads.sourceforge.net/project/mad/madplay/$(MADPLAY_VERSION)
+ MADPLAY_LIBTOOL_PATCH = NO
+-MADPLAY_DEPENDENCIES = libmad libid3tag
++MADPLAY_DEPENDENCIES = libmad libid3tag libintl
# Check if ALSA is built, then we should configure after alsa-lib so
# ./configure can find alsa-lib.
diff --git a/patches/buildroot/2012.11.1/196-python-crc16-add_package.patch b/patches/buildroot/2013.02/196-python-crc16-add_package.patch
similarity index 95%
copy from patches/buildroot/2012.11.1/196-python-crc16-add_package.patch
copy to patches/buildroot/2013.02/196-python-crc16-add_package.patch
index a6b844d..c147fd5 100644
--- a/patches/buildroot/2012.11.1/196-python-crc16-add_package.patch
+++ b/patches/buildroot/2013.02/196-python-crc16-add_package.patch
@@ -7,13 +7,13 @@ Index: buildroot/package/Config.in
--- buildroot.orig/package/Config.in 2012-10-16 13:51:37.000000000 +0200
+++ buildroot/package/Config.in 2012-10-16 13:52:57.000000000 +0200
@@ -273,6 +273,7 @@
- source "package/python/Config.in"
if BR2_PACKAGE_PYTHON
menu "external python modules"
+ source "package/python-bottle/Config.in"
+source "package/python-crc16/Config.in"
source "package/python-dpkt/Config.in"
+ source "package/python-id3/Config.in"
source "package/python-mad/Config.in"
- source "package/python-mysql/Config.in"
Index: buildroot/package/python-crc16/Config.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
diff --git a/patches/buildroot/2012.11.1/197-cunit-add_package.patch b/patches/buildroot/2013.02/197-cunit-add_package.patch
similarity index 100%
copy from patches/buildroot/2012.11.1/197-cunit-add_package.patch
copy to patches/buildroot/2013.02/197-cunit-add_package.patch
diff --git a/patches/buildroot/2012.11.1/cleanup_buildroot.sh b/patches/buildroot/2013.02/cleanup_buildroot.sh
similarity index 100%
copy from patches/buildroot/2012.11.1/cleanup_buildroot.sh
copy to patches/buildroot/2013.02/cleanup_buildroot.sh
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2013-03-09 16:13:06
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 62009eb3023ff6aa7f070bffdcd258d4fba71284 (commit)
from 4d8c097056f0ce71817d94c5fe7ca96bd05b85d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 62009eb3023ff6aa7f070bffdcd258d4fba71284
Author: Eric Jarrige <eri...@ar...>
Date: Sat Mar 9 17:16:29 2013 +0100
[BUILD] use BUILDROOT_DL_DIR (if defined) to avoid multiple download of Buildroot tool
-----------------------------------------------------------------------
Summary of changes:
Makefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index a8973f3..cb0ee13 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,11 @@ ARMADEUS_CONFIG_DIR:=$(BUILDROOT_DIR)/configs
BUILDROOT_SOURCE:=buildroot-$(BUILDROOT_VERSION).tar.bz2
#BUILDROOT_DIR is defined in ./Makefile.in
PATCH_DIR = patches
+ifeq ($(BUILDROOT_DL_DIR),)
BUILDROOT_FILE_PATH:=downloads
+else
+BUILDROOT_FILE_PATH:=$(BUILDROOT_DL_DIR)
+endif
TAR_OPTIONS=--exclude=.svn --exclude=.git --exclude=.gitignore --strip-component=1 -xf
BUILDROOT_PATCH_SCRIPT = $(BUILDROOT_DIR)/support/scripts/apply-patches.sh
ARMADEUS_ENV_FILE:=$(ARMADEUS_TOPDIR)/armadeus_env.sh
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2013-03-09 15:59:56
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 4d8c097056f0ce71817d94c5fe7ca96bd05b85d1 (commit)
via cfd15bcab5b5e681fd37cf2223db07d1d5b09598 (commit)
from af229de7a654de0506182b11f8937ac10abd3a7a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4d8c097056f0ce71817d94c5fe7ca96bd05b85d1
Merge: cfd15bc af229de
Author: Eric Jarrige <eri...@ar...>
Date: Sat Mar 9 17:03:53 2013 +0100
Merge branch 'master' of ssh://git.code.sf.net/p/armadeus/code
commit cfd15bcab5b5e681fd37cf2223db07d1d5b09598
Author: Eric Jarrige <eri...@ar...>
Date: Sat Mar 9 17:03:28 2013 +0100
[BUILD] use BUILDROOT_DL_DIR (if defined) to avoid multiple download of Buildroot tool
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
armadeus
|
|
From: SebR <se...@us...> - 2013-03-09 15:34:00
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via af229de7a654de0506182b11f8937ac10abd3a7a (commit)
via d6226d3ec1fd2073bb84fa4abcc8c97f1fbe9a5e (commit)
from 9469621400c9a743ae59d18add534290252e0ad3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit af229de7a654de0506182b11f8937ac10abd3a7a
Merge: d6226d3 9469621
Author: seb <seb...@ar...>
Date: Sat Mar 9 16:33:34 2013 +0100
Merge branch 'master' of ssh://git.code.sf.net/p/armadeus/code
commit d6226d3ec1fd2073bb84fa4abcc8c97f1fbe9a5e
Author: seb <seb...@ar...>
Date: Sat Mar 9 16:32:31 2013 +0100
[as_devices] complete i2c_eeprom capabilities
-----------------------------------------------------------------------
Summary of changes:
.../package/armadeus/as_devices/as_devices.mk | 2 +-
target/packages/as_devices/Makefile | 6 +-
target/packages/as_devices/c/as_i2c_eeprom.c | 99 ++++++++++++++++++-
target/packages/as_devices/c/as_i2c_eeprom.h | 29 ++++++-
target/packages/as_devices/cpp/as_i2c_eeprom.cpp | 27 ++++++
target/packages/as_devices/cpp/as_i2c_eeprom.hpp | 22 +++++
6 files changed, 173 insertions(+), 12 deletions(-)
diff --git a/buildroot/package/armadeus/as_devices/as_devices.mk b/buildroot/package/armadeus/as_devices/as_devices.mk
index 845d4ea..c0aaf5b 100644
--- a/buildroot/package/armadeus/as_devices/as_devices.mk
+++ b/buildroot/package/armadeus/as_devices/as_devices.mk
@@ -4,7 +4,7 @@
#
#############################################################
-AS_DEVICES_VERSION = 0.16
+AS_DEVICES_VERSION = 0.17
AS_DEVICES_SITE = $(TOPDIR)/../target/packages/as_devices
ifeq ($(generic-package), )
AS_DEVICES_SITE_METHOD = copy
diff --git a/target/packages/as_devices/Makefile b/target/packages/as_devices/Makefile
index 5137497..7c01bbc 100644
--- a/target/packages/as_devices/Makefile
+++ b/target/packages/as_devices/Makefile
@@ -39,13 +39,13 @@ $(CPP_BINARY): main.c test_cpp.h $(CPP_LIB) $(C_LIB)
$(CXX) $(CFLAGS) main.c $(C_LIB) $(CPP_LIB) -I$(C_INCLUDE) -I$(CPP_INCLUDE) -o $(CPP_BINARY) -D__cplusplus
$(CPP_LIB): $(C_LIB)
- make -C cpp/
+ +make -C cpp/
$(C_LIB):
- make -C c/
+ +make -C c/
$(P_WRAPPER): $(C_LIB)
- make -C python/ STAGING_DIR=$(ARMADEUS_STAGING_DIR)
+ +make -C python/ STAGING_DIR=$(ARMADEUS_STAGING_DIR)
touch $(P_WRAPPER)
install:
diff --git a/target/packages/as_devices/c/as_i2c_eeprom.c b/target/packages/as_devices/c/as_i2c_eeprom.c
index 3f5a165..b7a8376 100644
--- a/target/packages/as_devices/c/as_i2c_eeprom.c
+++ b/target/packages/as_devices/c/as_i2c_eeprom.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
+#include <arpa/inet.h>
#include "as_i2c_eeprom.h"
@@ -38,7 +39,7 @@ struct as_i2c_eeprom_device * as_i2c_eeprom_open(int aBusNumber,
uint32_t anEeprom_addr,
uint32_t anAddr_width,
uint32_t aPage_buffer_size,
- uint16_t aNumber_pages,
+ uint16_t aNumber_pages,
uint16_t aPage_size)
{
struct as_i2c_eeprom_device *dev;
@@ -60,7 +61,7 @@ struct as_i2c_eeprom_device * as_i2c_eeprom_open(int aBusNumber,
/* verify datas */
if (!((anAddr_width == 8) || (anAddr_width == 16)))
return NULL;
- if (!((aPage_buffer_size == 16) || (aPage_buffer_size == 32)))
+ if (!((aPage_buffer_size == 4) || (aPage_buffer_size == 16) || (aPage_buffer_size == 32)))
return NULL;
if (!((aNumber_pages == 1) || (aNumber_pages == 2) || (aNumber_pages == 4)))
return NULL;
@@ -81,7 +82,8 @@ struct as_i2c_eeprom_device * as_i2c_eeprom_open(int aBusNumber,
dev->page_buffer_size = aPage_buffer_size;
dev->number_pages = aNumber_pages;
dev->page_size = aPage_size;
-
+ dev->write_time_us = 3000; // compatibility value
+
return dev;
}
@@ -166,8 +168,8 @@ int32_t as_i2c_eeprom_write(struct as_i2c_eeprom_device *aDev, uint16_t aPage_nu
memcpy( buffer+1, aBuffer + current_pos, aDev->page_buffer_size );
msg_size = aDev->page_buffer_size+1;
} else { // 16
- buffer[0] = 0;
- buffer[1] = current_pos;
+ buffer[0] = (current_pos>>8) & 0xFF;
+ buffer[1] = current_pos & 0xFF;
memcpy( buffer+2, aBuffer + current_pos, aDev->page_buffer_size );
msg_size = aDev->page_buffer_size+2;
}
@@ -184,10 +186,95 @@ int32_t as_i2c_eeprom_write(struct as_i2c_eeprom_device *aDev, uint16_t aPage_nu
return -1;
}
- usleep(3000);
+ usleep(aDev->write_time_us);
current_pos += aDev->page_buffer_size;
}
return 0;
}
+
+int32_t as_i2c_eeprom_set_write_time(struct as_i2c_eeprom_device *aDev, uint32_t aWriteTime)
+{
+ aDev->write_time_us = aWriteTime;
+ return 0;
+}
+
+static int32_t as_i2c_eeprom_read_write_mid(struct as_i2c_eeprom_device *aDev, uint16_t aAddr, uint16_t aLen, uint8_t* aBuffer, uint32_t isWrite)
+{
+ static uint8_t buffer[8*1024 + 2];
+ int16_t addr_len = 0;
+ uint16_t fragment_len;
+ uint16_t current_addr = aAddr;
+ uint16_t current_page;
+
+ if (aAddr + aLen > aDev->number_pages * aDev->page_size) {
+ ERROR("Wrong address and length : %04x %d\n", aAddr, aLen);
+ return -1;
+ }
+
+ if (aDev->addr_width == 8) {
+ addr_len = 1;
+ } else { // 16
+ addr_len = 2;
+ }
+
+ while (aLen) {
+ // calculate page and offset
+ current_page = current_addr / aDev->page_size;
+ if (addr_len == 2) {
+ *((uint16_t*)buffer) = htons(current_addr % aDev->page_size);
+ } else {
+ *((uint8_t*)buffer) = (uint8_t)(current_addr % aDev->page_size);
+ }
+
+ // select page to read or write to
+ if (as_i2c_set_slave_addr(aDev->i2c_dev, aDev->eeprom_addr|current_page) < 0) {
+ ERROR("Can't set EEPROM address on I2C\n");
+ return -1;
+ }
+
+ // calculate len of fragment regarding page_buffer_size
+ fragment_len = aDev->page_buffer_size - (current_addr % aDev->page_buffer_size);
+ if (fragment_len > aLen) {
+ fragment_len = aLen;
+ }
+
+ if (isWrite) {
+ memcpy(buffer + 2, aBuffer, fragment_len);
+ // select offset address inside page
+ if (as_i2c_write(aDev->i2c_dev, buffer, addr_len + fragment_len) < 0) {
+ ERROR("Can't write on I2C EEPROM\n");
+ return -1;
+ }
+ usleep(aDev->write_time_us);
+ } else {
+ // select offset address inside page
+ if (as_i2c_write(aDev->i2c_dev, buffer, addr_len) < 0) {
+ ERROR("Can't write on I2C EEPROM\n");
+ return -1;
+ }
+ // read data
+ if (as_i2c_read(aDev->i2c_dev, aBuffer, fragment_len) < 0) {
+ ERROR("Can't read on I2C EEPROM\n");
+ return -1;
+ }
+ }
+
+ current_addr += fragment_len;
+ aBuffer += fragment_len;
+ aLen -= fragment_len;
+ }
+
+ return 0;
+}
+
+int32_t as_i2c_eeprom_read_mid(struct as_i2c_eeprom_device *aDev, uint16_t aAddr, uint16_t aLen, uint8_t* aBuffer)
+{
+ return as_i2c_eeprom_read_write_mid(aDev, aAddr, aLen, aBuffer, 0);
+}
+
+int32_t as_i2c_eeprom_write_mid(struct as_i2c_eeprom_device *aDev, uint16_t aAddr, uint16_t aLen, uint8_t* aBuffer)
+{
+ return as_i2c_eeprom_read_write_mid(aDev, aAddr, aLen, aBuffer, 1);
+}
diff --git a/target/packages/as_devices/c/as_i2c_eeprom.h b/target/packages/as_devices/c/as_i2c_eeprom.h
index 74d20db..773d3a5 100644
--- a/target/packages/as_devices/c/as_i2c_eeprom.h
+++ b/target/packages/as_devices/c/as_i2c_eeprom.h
@@ -50,6 +50,7 @@ struct as_i2c_eeprom_device {
uint32_t page_buffer_size;
uint16_t number_pages;
uint16_t page_size;
+ uint32_t write_time_us;
};
/** @brief open the device
@@ -65,7 +66,7 @@ struct as_i2c_eeprom_device * as_i2c_eeprom_open(int aBusNumber,
uint32_t anEeprom_addr,
uint32_t anAddr_width,
uint32_t aPage_buffer_size,
- uint16_t aNumber_pages,
+ uint16_t aNumber_pages,
uint16_t aPage_size);
/** @brief close the device
@@ -92,9 +93,33 @@ int32_t as_i2c_eeprom_read(struct as_i2c_eeprom_device *aDev, uint16_t aPage_num
*/
int32_t as_i2c_eeprom_write(struct as_i2c_eeprom_device *aDev, uint16_t aPage_number, uint8_t* aBuffer, uint16_t aBuffer_size);
+/** @brief Change write time delay
+ *
+ * @param aDev EEPROM structure
+ * @param aWriteTime delay between 2 write cmd in micro seconds
+ */
+int32_t as_i2c_eeprom_set_write_time(struct as_i2c_eeprom_device *aDev, uint32_t aWriteTime);
+
+/** @brief Write on an EEPROM non sequential
+ *
+ * @param aDev EEPROM structure
+ * @param aAddr address to start write
+ * @param aLen length of data to write
+ * @param aBuffer buffer containing data to write
+ */
+int32_t as_i2c_eeprom_write_mid(struct as_i2c_eeprom_device *aDev, uint16_t aAddr, uint16_t aLen, uint8_t* aBuffer);
+
+/** @brief Read from an EEPROM non sequential
+ *
+ * @param aDev EEPROM structure
+ * @param aAddr address to start read
+ * @param aLen length of data to read
+ * @param aBuffer buffer receiving data
+ */
+int32_t as_i2c_eeprom_read_mid(struct as_i2c_eeprom_device *aDev, uint16_t aAddr, uint16_t aLen, uint8_t* aBuffer);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* AS_I2C_EEPROM_H_ */
-
diff --git a/target/packages/as_devices/cpp/as_i2c_eeprom.cpp b/target/packages/as_devices/cpp/as_i2c_eeprom.cpp
index 7d8768c..f666486 100644
--- a/target/packages/as_devices/cpp/as_i2c_eeprom.cpp
+++ b/target/packages/as_devices/cpp/as_i2c_eeprom.cpp
@@ -66,3 +66,30 @@ long AsI2CEeprom::write(unsigned int aPageNumber, unsigned char* aBuffer, unsign
return -1;
}
}
+
+long AsI2CEeprom::set_write_time(unsigned int aWriteTime)
+{
+ if (mDev != NULL)
+ {
+ return as_i2c_eeprom_set_write_time(mDev, aWriteTime);
+ }
+ return -1;
+}
+
+long AsI2CEeprom::read_mid(unsigned int anAddress, unsigned int aLength, unsigned char* aBuffer)
+{
+ if (mDev != NULL)
+ {
+ return as_i2c_eeprom_read_mid(mDev, anAddress, aLength, aBuffer);
+ }
+ return -1;
+}
+
+long AsI2CEeprom::write_mid(unsigned int anAddress, unsigned int aLength, unsigned char* aBuffer)
+{
+ if (mDev != NULL)
+ {
+ return as_i2c_eeprom_write_mid(mDev, anAddress, aLength, aBuffer);
+ }
+ return -1;
+}
diff --git a/target/packages/as_devices/cpp/as_i2c_eeprom.hpp b/target/packages/as_devices/cpp/as_i2c_eeprom.hpp
index 0c90d2c..b47bb06 100644
--- a/target/packages/as_devices/cpp/as_i2c_eeprom.hpp
+++ b/target/packages/as_devices/cpp/as_i2c_eeprom.hpp
@@ -53,6 +53,28 @@ unsigned long aPageBufferSize, unsigned int aNumberPages, unsigned int aPageSize
*/
long write(unsigned int aPageNumber, unsigned char* aBuffer, unsigned int aBufferSize);
+ /** @brief Change write time delay
+ *
+ * @param aWriteTime delay between 2 write cmd in micro seconds
+ */
+ long set_write_time(unsigned int aWriteTime);
+
+ /** @brief Read from EEPROM non sequential
+ *
+ * @param anAddress address to start write
+ * @param aLength length of data to write
+ * @param aBuffer buffer containing data to write
+ */
+ long read_mid(unsigned int anAddress, unsigned int aLength, unsigned char* aBuffer);
+
+ /** @brief Write on an EEPROM non sequential
+ *
+ * @param aAddress address to start read
+ * @param aLength length of data to read
+ * @param aBuffer buffer receiving data
+ */
+ long write_mid(unsigned int anAddress, unsigned int aLength, unsigned char* aBuffer);
+
protected:
mutable struct as_i2c_eeprom_device *mDev;
};
hooks/post-receive
--
armadeus
|