armadeus-commitlog Mailing List for armadeus (Page 104)
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: Nicolas <th...@us...> - 2010-09-09 12:29:03
|
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 306d4143eb6709e72cbed335e594f7aaff02b022 (commit)
from 304ea80732f76f5813c07c37ee8137989c7ace73 (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 306d4143eb6709e72cbed335e594f7aaff02b022
Author: Nicolas Colombain <sal...@ar...-office>
Date: Thu Sep 9 14:23:15 2010 +0200
[U-BOOT] revert update_rootfs command to old version without nand option
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/apf27/apf27.h | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf27/apf27.h b/buildroot/target/device/armadeus/apf27/apf27.h
index 78a33c5..966f911 100644
--- a/buildroot/target/device/armadeus/apf27/apf27.h
+++ b/buildroot/target/device/armadeus/apf27/apf27.h
@@ -206,11 +206,7 @@
" ${serverpath}${board_name}-rootfs.arm.jffs2\0" \
"update_uboot=run download_uboot flash_uboot\0" \
"update_kernel=run download_kernel flash_kernel\0" \
- "update_rootfs=nand erase clean ${rootfs_offset} ${rootfs_len};" \
- "if tftpboot ${rootfs_offset} ${serverpath}${board_name}-rootfs.arm.jffs2 nand ;"\
- "then echo Flashing of rootfs succeed;" \
- "else echo Flashing of rootfs failed;" \
- "fi\0" \
+ "update_rootfs=run download_rootfs flash_rootfs\0" \
"update_all=run download_kernel flash_kernel download_rootfs " \
"flash_rootfs download_uboot flash_uboot\0" \
"unlock_regs=mw 10000008 0; mw 10020008 0\0" \
@@ -916,3 +912,16 @@
#define CFG_SDRAM_PRECHARGE_ALL_VAL (1<<10)
#endif /* __CONFIG_H */
+
+/* Add a wrapper around the values Buildroot sets. */
+#ifndef __BR2_ADDED_CONFIG_H
+#define __BR2_ADDED_CONFIG_H
+#ifdef CONFIG_HOSTNAME
+#undef CONFIG_HOSTNAME
+#endif
+#define CONFIG_HOSTNAME "apf27"
+#ifdef CONFIG_BOARD_NAME
+#undef CONFIG_BOARD_NAME
+#endif
+#define CONFIG_BOARD_NAME apf27
+#endif /* __BR2_ADDED_CONFIG_H */
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-09-08 13:31:05
|
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 304ea80732f76f5813c07c37ee8137989c7ace73 (commit)
via 447b6231f87c643e87385052dda5ff1dd9a7305b (commit)
from 9e9e9907ff8a9441dca76b353d5249cac6c9473d (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 304ea80732f76f5813c07c37ee8137989c7ace73
Author: Fabien Marteau <fab...@ar...>
Date: Wed Sep 8 15:30:36 2010 +0200
[package][mysql_client] Fix library link bug
commit 447b6231f87c643e87385052dda5ff1dd9a7305b
Author: Fabien Marteau <fab...@ar...>
Date: Wed Sep 8 14:05:32 2010 +0200
[package][mysql_client] Adding link to shared library under rootfs
-----------------------------------------------------------------------
Summary of changes:
...061-mysql_client-reduce_installation_size.patch | 21 ++++++++++++-------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/patches/buildroot/061-mysql_client-reduce_installation_size.patch b/patches/buildroot/061-mysql_client-reduce_installation_size.patch
index 113b695..8b2279b 100644
--- a/patches/buildroot/061-mysql_client-reduce_installation_size.patch
+++ b/patches/buildroot/061-mysql_client-reduce_installation_size.patch
@@ -3,9 +3,11 @@ unneeded stuff for most everyday use.
Signed-off-by: Fabien Marteau <fab...@ar...>
---- /home/fabien/virgin-armadeus/buildroot/package/database/mysql_client/Config.in 2008-12-15 13:18:29.000000000 +0100
-+++ buildroot/package/database/mysql_client/Config.in 2008-12-15 11:00:35.000000000 +0100
-@@ -2,3 +2,21 @@ config BR2_PACKAGE_MYSQL_CLIENT
+Index: buildroot/package/database/mysql_client/Config.in
+===================================================================
+--- buildroot.orig/package/database/mysql_client/Config.in 2008-11-03 09:15:31.000000000 +0100
++++ buildroot/package/database/mysql_client/Config.in 2010-09-08 14:05:00.000000000 +0200
+@@ -2,3 +2,21 @@
bool "MySQL 5.1 client"
help
MySQL client
@@ -27,15 +29,18 @@ Signed-off-by: Fabien Marteau <fab...@ar...>
+ usr/bin/myisamlog
+ usr/bin/my_print_defaults
+endif
---- /home/fabien/virgin-armadeus/buildroot/package/database/mysql_client/mysql_client.mk 2008-12-15 13:18:29.000000000 +0100
-+++ buildroot/package/database/mysql_client/mysql_client.mk 2008-12-15 11:05:57.000000000 +0100
-@@ -28,3 +28,19 @@ MYSQL_CLIENT_CONF_OPT = \
+Index: buildroot/package/database/mysql_client/mysql_client.mk
+===================================================================
+--- buildroot.orig/package/database/mysql_client/mysql_client.mk 2008-11-03 09:15:31.000000000 +0100
++++ buildroot/package/database/mysql_client/mysql_client.mk 2010-09-08 15:15:51.000000000 +0200
+@@ -28,3 +28,20 @@
$(ENABLE_DEBUG)
$(eval $(call AUTOTARGETS,package/database,mysql_client))
+
-+ifeq ($(BR2_PACKAGE_MYSQL_CLIENT_SHRINK),y)
+$(MYSQL_CLIENT_HOOK_POST_INSTALL):
++ cd $(TARGET_DIR)/usr/lib/;cp mysql/libmysqlclient.so.16.0.0 libmysqlclient.so.16
++ifeq ($(BR2_PACKAGE_MYSQL_CLIENT_SHRINK),y)
+ rm -rf $(TARGET_DIR)/usr/mysql-test/
+ rm -rf $(TARGET_DIR)/usr/sql-bench/
+ rm -rf $(TARGET_DIR)/usr/bin/mysql_client_test
@@ -47,5 +52,5 @@ Signed-off-by: Fabien Marteau <fab...@ar...>
+ rm -rf $(TARGET_DIR)/usr/bin/myisam_ftdump
+ rm -rf $(TARGET_DIR)/usr/bin/myisamlog
+ rm -rf $(TARGET_DIR)/usr/bin/my_print_defaults
-+ touch $@
+endif
++ touch $@
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-09-06 13:33:21
|
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 9e9e9907ff8a9441dca76b353d5249cac6c9473d (commit)
from 771beacd96bac813382b9c9c16f8ca3ce08d7790 (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 9e9e9907ff8a9441dca76b353d5249cac6c9473d
Author: Fabien Marteau <fab...@ar...>
Date: Mon Sep 6 15:30:58 2010 +0200
[AsDevices] AsGpio python wrapper functionnal
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/as_gpio.h | 4 +-
.../packages/as_devices/python/AsDevices/AsGpio.py | 120 +++++--
target/packages/as_devices/python/Makefile | 4 +-
.../packages/as_devices/python/src/AsGpio_wrap.c | 363 +++++++++++++-------
.../packages/as_devices/python/src/AsGpio_wrap.h | 3 +-
5 files changed, 339 insertions(+), 155 deletions(-)
diff --git a/target/packages/as_devices/c/as_gpio.h b/target/packages/as_devices/c/as_gpio.h
index dd2d504..1a077ce 100644
--- a/target/packages/as_devices/c/as_gpio.h
+++ b/target/packages/as_devices/c/as_gpio.h
@@ -143,7 +143,7 @@ int32_t as_gpio_get_irq_mode(struct as_gpio_device *aDev);
*
* @param aDev as_gpio_device pointer structure
*
- * @return pin mode value if positive or null, error if negative
+ * @return pin number, error if negative
*/
int32_t as_gpio_get_pin_num(struct as_gpio_device *aDev);
@@ -151,7 +151,7 @@ int32_t as_gpio_get_pin_num(struct as_gpio_device *aDev);
*
* @param aDev as_gpio_device pointer structure
*
- * @return pin mode value if positive or null, error if negative
+ * @return port letter, error if negative
*/
int32_t as_gpio_get_port_letter(struct as_gpio_device *aDev);
diff --git a/target/packages/as_devices/python/AsDevices/AsGpio.py b/target/packages/as_devices/python/AsDevices/AsGpio.py
index a0abe68..d589b7a 100644
--- a/target/packages/as_devices/python/AsDevices/AsGpio.py
+++ b/target/packages/as_devices/python/AsDevices/AsGpio.py
@@ -6,7 +6,7 @@
# Author: Fabien Marteau <fab...@ar...>
# Created: 23/03/2010
#-----------------------------------------------------------------------------
-# Copyright (2008) Armadeus Systems
+# Copyright (2010) Armadeus Systems
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
@@ -44,17 +44,16 @@ class AsGpio:
# Dictionary of gpio multiton classes
__gpio = {}
- ################################################################$
+ ################################################################
class __impl:
""" implementation
"""
- def __init__(self, port_letter):
- self.__port_letter = port_letter
+ def __init__(self, aPortLetter, aPinNum):
try:
- self.__device = wrapper.gpio_open(self.__port_letter)
+ self.__device = wrapper.gpio_open(aPortLetter, aPinNum)
except Exception, e:
- raise AsGpioError("Can't open GPIO "+str(self.__port_letter)+\
- ": "+str(e))
+ raise AsGpioError("Can't open GPIO port "+str(aPortLetter)+\
+ " pin "+str(aPinNum)+": "+str(e))
def __del__(self):
try:
@@ -62,33 +61,99 @@ class AsGpio:
except Exception, e:
pass
- def setPinDirection(self, aPinNum, aDirection):
+ def setPinDirection(self, aDirection):
""" Set period in us
- \param aPinNum pin number
\param aDirection pin direction 0:input 1:output
"""
try:
- wrapper.setPinDirection(self.__device, aPinNum, aDirection)
+ wrapper.setPinDirection(self.__device, aDirection)
except Exception, e:
raise AsGpioError(str(e))
- def setPinValue(self, aPinNum, aValue):
+ def setPinValue(self, aValue):
""" Set pin value
- \param aPinNum pin number
\param aValue value to write
"""
try:
- wrapper.setPinValue(self.__device, aPinNum, aValue)
+ wrapper.setPinValue(self.__device, aValue)
except Exception, e:
raise AsGpioError(str(e))
- def getPinValue(self, aPinNum):
+ def getPinValue(self):
""" Get pin value
- \param aPinNum pin number
- \return pin value
+ \param return pin value
+ """
+ try:
+ return wrapper.getPinValue(self.__device)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+ def blockingGetPinValue(self, aDelay_s, aDelay_us=0):
+ """ Get pin value (blocking mode)
+ \param return pin value
+ """
+ try:
+ return wrapper.blockingGetPinValue(self.__device,
+ aDelay_s,
+ aDelay_us)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+ def getPullupValue(self):
+ """ Get pullup value
+ \param return pin value
+ """
+ try:
+ return wrapper.getPullupValue(self.__device)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+ def setPullupValue(self, aValue):
+ """ Set pullup value
+ \param aValue value 0:no pullup 1:pullup
+ """
+ try:
+ return wrapper.setPullupValue(self.__device, aValue)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+ def setIrqMode(self, aMode):
+ """ Set irq Mode
+ \param aMode.
+ 1:MODE_NOINT
+ 2:MODE_RISING
+ 3:MODE_FALLING
+ 4:MODE_BOTH
+ """
+ try:
+ return wrapper.setIrqMode(self.__device, aMode)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+ def getIrqMode(self):
+ """ get irq mode
+ """
+ try:
+ return wrapper.getIrqMode(self.__device)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+
+ def getPinNumber(self):
+ """ Get pin number
+ \param return pin number
+ """
+ try:
+ return wrapper.getPinNumber(self.__device)
+ except Exception, e:
+ raise AsGpioError(str(e))
+
+ def getPortLetter(self):
+ """ Get pin letter
+ \param return pin letter
"""
try:
- return wrapper.getPinValue(self.__device, aPinNum)
+ return wrapper.getPortLetter(self.__device)
except Exception, e:
raise AsGpioError(str(e))
@@ -96,32 +161,33 @@ class AsGpio:
################################################################
@classmethod
- def getInstance(cls, aPort_letter):
+ def getInstance(cls, aPort_letter, aPinNumber):
if type(aPort_letter)!=str:
raise Exception("port letter must be a character")
if ((aPort_letter[0] < 'A') or (aPort_letter[0] > 'Z')):
raise Exception("Port letter must be an UPPER case letter")
+ if type(aPinNumber)!=int:
+ raise Exception("Pin number must be a int")
+ if aPinNumber < 0 or aPinNumber > 31:
+ raise Exception("Pin number must be between 0 and 31")
try:
- return AsGpio.__gpio[aPort_letter[0]]
+ return AsGpio.__gpio["%s%d"%(aPort_letter[0],aPinNumber)]
except KeyError:
- AsGpio.__gpio[aPort_letter[0]] = cls.__impl(aPort_letter[0])
+ AsGpio.__gpio["%s%d"%(aPort_letter[0],aPinNumber)] =\
+ cls.__impl(aPort_letter[0], aPinNumber)
- return AsGpio.__gpio[aPort_letter[0]]
+ return AsGpio.__gpio["%s%d"%(aPort_letter[0],aPinNumber)]
def __init__(self):
""" Initialize pwm
"""
- raise Exception("This constructor is private")
+ raise Exception("This constructor is private, to instanciate object do:"+\
+ "AsGpio.getInstance(port_letter, pin_number)")
if __name__ == "__main__":
import os
def pressEnterToContinue():
print "Press enter to continue"
raw_input()
- print "AsGpio class test\n"
- print AsGpio.__doc__
-
- portf = AsGpio.getInstance('F')
- print str(portf)
diff --git a/target/packages/as_devices/python/Makefile b/target/packages/as_devices/python/Makefile
index 07fc233..f6aa4cb 100644
--- a/target/packages/as_devices/python/Makefile
+++ b/target/packages/as_devices/python/Makefile
@@ -15,12 +15,12 @@ AS_LIB=../c/libas_devices.so
LIBNAME=AsDevices
-#WRAPPER_LIBS=AsGpio_wrap.so
+WRAPPER_LIBS=AsGpio_wrap.so
WRAPPER_DIR=src
PYTHON_VERS=2.4
PYTHON_SUBVERS=5
-PYINC=/usr/include/python2.4
+PYINC=$(STAGING_DIR)/usr/include/python2.4/
PYLIB=../../../../buildroot/project_build_armv5te/apf27/root/usr/lib/python$(PYTHON_VERS)
.PHONY: all
diff --git a/target/packages/as_devices/python/src/AsGpio_wrap.c b/target/packages/as_devices/python/src/AsGpio_wrap.c
index 510baf7..c454055 100644
--- a/target/packages/as_devices/python/src/AsGpio_wrap.c
+++ b/target/packages/as_devices/python/src/AsGpio_wrap.c
@@ -21,6 +21,7 @@
#include "AsGpio_wrap.h"
#include "as_gpio.h"
+
/* Methods definitions */
static PyMethodDef AsGpio_wrap_methods[] = {
{"gpio_open", gpio_open, METH_VARARGS, "Initialize gpio"},
@@ -32,6 +33,8 @@ static PyMethodDef AsGpio_wrap_methods[] = {
{"getPullupValue", getPullupValue, METH_VARARGS, "Get pull up value"},
{"getIrqMode", getIrqMode, METH_VARARGS, "Get IRQ Mode"},
{"setIrqMode", setIrqMode, METH_VARARGS, "Set IRQ Mode"},
+ {"getPortLetter", getPortLetter, METH_VARARGS, "Get port letter"},
+ {"getPinNumber", getPinNumber, METH_VARARGS, "Get pin number"},
{"gpio_close", gpio_close, METH_VARARGS, "Close gpio"},
{NULL, NULL, 0, NULL} /* Sentinel */
};
@@ -42,43 +45,46 @@ void initAsGpio_wrap() /* called on first import */
(void) Py_InitModule("AsGpio_wrap", AsGpio_wrap_methods); /* mod name, table ptr */
}
-/** @brief Initialize port access
+/** @brief Initialize pin port access
* @param aPortChar character port in UPPER case
+ * @param aPinNum pin number on port
* @return PyObject
*/
static PyObject * gpio_open(PyObject *self, PyObject *args)
{
/* parameters */
char aPortChar;
+ int aPinNum;
+
struct as_gpio_device *dev;
PyObject *ret;
-
+ char buff[300];
/* Get arguments */
- if (!PyArg_ParseTuple(args, "c", &aPortChar))
+ if (!PyArg_ParseTuple(args, "ci", &aPortChar, &aPinNum))
{
PyErr_SetString(PyExc_IOError,
"Wrong parameters.");
return NULL;
}
- dev = as_gpio_open(aPortChar);
+ dev = as_gpio_open(aPortChar, aPinNum);
if (dev == NULL)
{
- PyErr_SetString(PyExc_IOError,
- "Initialization error. Is kernel module loaded ?");
+ snprintf(buff, 300,
+ "Initialization error P%c%d. Is kernel module loaded ?",
+ aPortChar, aPinNum);
+ PyErr_SetString(PyExc_IOError,buff);
return NULL;
}
- ret = Py_BuildValue("((ci))",
- dev->port_letter,
- dev->fdev);
- free(dev);
+
+ ret = Py_BuildValue("l", (long)dev);
+
return ret;
}
/** @brief Set pin direction
*
- * @param ((ci)) -> (aPort_letter, aFdev) as_gpio_device structure_list
- * @param aPinNum pin number
+ * @param aFdev as_gpio_device structure pointer
* @param aDirection direction 0:input 1:output
*
* @return error if negative value
@@ -86,38 +92,22 @@ static PyObject * gpio_open(PyObject *self, PyObject *args)
static PyObject * setPinDirection(PyObject *self, PyObject *args)
{
/* parameters */
- char aPort_letter;
- int aFdev;
-
- int aPinNum;
+ struct as_gpio_device *aFdev;
int aDirection;
- struct as_gpio_device *dev;
int ret;
/* Get arguments */
- if (!PyArg_ParseTuple(args, "((ci))ii",
- &aPort_letter,
- &aFdev,
- &aPinNum,
+ if (!PyArg_ParseTuple(args, "li",
+ (long *)&aFdev,
&aDirection))
{
PyErr_SetString(PyExc_IOError,
"Wrong parameters.");
return NULL;
}
-
- dev = (struct as_gpio_device *)malloc(sizeof(struct as_gpio_device));
- if (dev == NULL)
- {
- PyErr_SetString(PyExc_IOError,
- "memory allocation:Â can't malloc fdev structure");
- return NULL;
- }
- dev->port_letter = aPort_letter;
- dev->fdev = aFdev;
- ret = as_gpio_set_pin_direction(dev, aPinNum, aDirection);
+ ret = as_gpio_set_pin_direction(aFdev, aDirection);
if (ret < 0)
{
PyErr_SetString(PyExc_IOError,
@@ -125,14 +115,12 @@ static PyObject * setPinDirection(PyObject *self, PyObject *args)
return NULL;
}
- free(dev);
return Py_BuildValue("i", ret);
}
/** @brief Set pin value
*
- * @param ((ci)) -> (aPort_letter, aFdev) as_gpio_device structure_list
- * @param aPinNum pin number
+ * @param aFdev as_gpio_device structure pointer
* @param aValue value of pin (1 or 0)
*
* @return error if negative
@@ -140,38 +128,20 @@ static PyObject * setPinDirection(PyObject *self, PyObject *args)
static PyObject * setPinValue(PyObject *self, PyObject *args)
{
/* parameters */
- char aPort_letter;
- int aFdev;
-
- int aPinNum;
+ struct as_gpio_device *aFdev;
int aValue;
- struct as_gpio_device *dev;
int ret;
/* Get arguments */
- if (!PyArg_ParseTuple(args, "((ci))ii",
- &aPort_letter,
- &aFdev,
- &aPinNum,
- &aValue))
+ if (!PyArg_ParseTuple(args, "li", (long *)&aFdev, &aValue))
{
PyErr_SetString(PyExc_IOError,
"Wrong parameters.");
return NULL;
}
- dev = (struct as_gpio_device *)malloc(sizeof(struct as_gpio_device));
- if (dev == NULL)
- {
- PyErr_SetString(PyExc_IOError,
- "memory allocation: can't malloc fdev structure");
- return NULL;
- }
- dev->port_letter = aPort_letter;
- dev->fdev = aFdev;
-
- ret = as_gpio_set_pin_value(dev, aPinNum, aValue);
+ ret = as_gpio_set_pin_value(aFdev, aValue);
if (ret < 0)
{
PyErr_SetString(PyExc_IOError,
@@ -179,14 +149,13 @@ static PyObject * setPinValue(PyObject *self, PyObject *args)
return NULL;
}
- free(dev);
return Py_BuildValue("i", ret);
}
/** @brief Get pin value
*
- * @param ((ci)) -> (aPort_letter, aFdev) as_gpio_device structure_list
+ * @param aFdev as_gpio_device structure pointer
* @param aPinNum pin number
*
* @return pin value if positive or null, error if negative
@@ -194,36 +163,63 @@ static PyObject * setPinValue(PyObject *self, PyObject *args)
static PyObject * getPinValue(PyObject *self, PyObject *args)
{
/* parameters */
- char aPort_letter;
- int aFdev;
+ struct as_gpio_device *aFdev;
- int aPinNum;
-
- struct as_gpio_device *dev;
int ret;
/* Get arguments */
- if (!PyArg_ParseTuple(args, "((ci))i",
- &aPort_letter,
- &aFdev,
- &aPinNum))
+ if (!PyArg_ParseTuple(args, "l", (long *)&aFdev))
{
PyErr_SetString(PyExc_IOError,
"Wrong parameters.");
return NULL;
}
- dev = (struct as_gpio_device *)malloc(sizeof(struct as_gpio_device));
- if (dev == NULL)
+ ret = as_gpio_get_pin_value(aFdev);
+ if (ret < 0)
{
PyErr_SetString(PyExc_IOError,
- "memory allocation:Â can't malloc fdev structure");
+ "Can't get pin value");
return NULL;
}
- dev->port_letter = aPort_letter;
- dev->fdev = aFdev;
- ret = as_gpio_get_pin_value(dev, aPinNum);
+ return Py_BuildValue("i", ret);
+}
+
+/** @brief Get pin value, blocking until interrupt occur
+ *
+ * @param aFdev as_gpio_device structure pointer
+ * @param aDelay_s seconds delay
+ * @param aDelay_us useconds delay
+ *
+ * @return pin value if positive or null, error if negative
+ */
+static PyObject * blockingGetPinValue(PyObject *self, PyObject *args)
+{
+ /* parameters */
+ struct as_gpio_device *aFdev;
+ int aDelay_s;
+ int aDelay_us;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "lii",
+ (long *)&aFdev,
+ &aDelay_s,
+ &aDelay_us))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_blocking_get_pin_value(aFdev, aDelay_s, aDelay_us);
+ if (ret == -10)
+ {
+ PyErr_SetString(PyExc_IOError, "TIMEOUT");
+ return NULL;
+ }
if (ret < 0)
{
PyErr_SetString(PyExc_IOError,
@@ -231,110 +227,231 @@ static PyObject * getPinValue(PyObject *self, PyObject *args)
return NULL;
}
- free(dev);
return Py_BuildValue("i", ret);
}
-/** @brief TODO
+/** @brief Get pin pull-up value
*
- * @param TODO
- * @param TODO
+ * @param aFdev as_gpio_device structure pointer
*
- * @return TODO
+ * @return pin value if positive or null, error if negative
*/
-static PyObject * blockingGetPinValue(PyObject *self, PyObject *args)
+static PyObject * getPullupValue(PyObject *self, PyObject *args)
{
- printf("TODO\n");
+ /* parameters */
+ struct as_gpio_device *aFdev;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "l", (long *)&aFdev))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_get_pullup_value(aFdev);
+ if (ret < 0)
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Can't get pin value");
+ return NULL;
+ }
+
+ return Py_BuildValue("i", ret);
}
-/** @brief TODO
+/** @brief Set pin pull-up value
*
- * @param TODO
- * @param TODO
+ * @param aFdev as_gpio_device structure pointer
+ * @param aValue pull-up value 0:off 1:on
*
- * @return TODO
+ * @return pin value if positive or null, error if negative
*/
-static PyObject * getPullupValue(PyObject *self, PyObject *args)
+static PyObject * setPullupValue(PyObject *self, PyObject *args)
{
- /* TODO */
- printf("TODO\n");
+ /* parameters */
+ struct as_gpio_device *aFdev;
+ int aValue;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "li", (long *)&aFdev, &aValue))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_set_pullup_value(aFdev, aValue);
+ if (ret < 0)
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Can't get pin value");
+ return NULL;
+ }
+
+ return Py_BuildValue("i", ret);
}
-/** @brief TODO
+/** @brief Set pin irq mode
*
- * @param TODO
- * @param TODO
+ * @param aFdev as_gpio_device structure pointer
+ * @param aMode irq mode
*
- * @return TODO
+ * @return error if negative
*/
-static PyObject * setPullupValue(PyObject *self, PyObject *args)
+static PyObject * setIrqMode(PyObject *self, PyObject *args)
{
- /* TODO */
- printf("TODO\n");
+ /* parameters */
+ struct as_gpio_device *aFdev;
+ int aMode;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "li", (long *)&aFdev, &aMode))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_set_irq_mode(aFdev, aMode);
+ if (ret < 0)
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Can't get pin value");
+ return NULL;
+ }
+
+ return Py_BuildValue("i", ret);
}
-/** @brief TODO
+/** @brief Get pin irq mode value
*
- * @param TODO
- * @param TODO
+ * @param aFDev as_gpio_device pointer structure
*
- * @return TODO
+ * @return pin mode value if positive or null, error if negative
*/
static PyObject * getIrqMode(PyObject *self, PyObject *args)
{
- /* TODO */
- printf("TODO\n");
+ /* parameters */
+ struct as_gpio_device *aFdev;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "l", (long *)&aFdev))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_get_irq_mode(aFdev);
+ if (ret < 0)
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Can't get pin value");
+ return NULL;
+ }
+
+ return Py_BuildValue("i", ret);
}
-/** @brief TODO
+/** @brief Get pin number value
*
- * @param TODO
- * @param TODO
+ * @param aDev as_gpio_device pointer structure
*
- * @return TODO
+ * @return pin number, error if negative
*/
-static PyObject * setIrqMode(PyObject *self, PyObject *args)
+static PyObject * getPinNumber(PyObject *self, PyObject *args)
{
- /* TODO */
- printf("TODO\n");
+ /* parameters */
+ struct as_gpio_device *aFdev;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "l", (long *)&aFdev))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_get_pin_num(aFdev);
+ if (ret < 0)
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Can't get pin value");
+ return NULL;
+ }
+
+ return Py_BuildValue("i", ret);
}
-/** @brief Close port access
+/** @brief Get port letter
*
- * @param ((ci)) -> (aPort_letter, aFdev) as_gpio_device structure_list
+ * @param aDev as_gpio_device pointer structure
*
- * @return pin value if positive or null, error if negative
+ * @return port letter, error if negative
*/
-static PyObject * gpio_close(PyObject *self, PyObject *args)
+static PyObject * getPortLetter(PyObject *self, PyObject *args)
{
/* parameters */
- char aPort_letter;
- int aFdev;
+ struct as_gpio_device *aFdev;
- struct as_gpio_device *dev;
+ char buf[2];
int ret;
/* Get arguments */
- if (!PyArg_ParseTuple(args, "((ci))",
- &aPort_letter,
- &aFdev))
+ if (!PyArg_ParseTuple(args, "l", (long *)&aFdev))
{
PyErr_SetString(PyExc_IOError,
"Wrong parameters.");
return NULL;
}
- dev = (struct as_gpio_device *)malloc(sizeof(struct as_gpio_device));
- if (dev == NULL)
+ ret = as_gpio_get_port_letter(aFdev);
+ if (ret < 0)
{
PyErr_SetString(PyExc_IOError,
- "memory allocation:Â can't malloc fdev structure");
+ "Can't get pin value");
return NULL;
}
- dev->port_letter = aPort_letter;
- dev->fdev = aFdev;
+ buf[0] = ret;
+ buf[1] = '\0';
+
+ return Py_BuildValue("s", buf);
- ret = as_gpio_close(dev);
+}
+
+/** @brief Close port access
+ *
+ * @param aFdev as_gpio_device structure pointer
+ *
+ * @return pin value if positive or null, error if negative
+ */
+static PyObject * gpio_close(PyObject *self, PyObject *args)
+{
+ /* parameters */
+ struct as_gpio_device *aFdev;
+
+ int ret;
+
+ /* Get arguments */
+ if (!PyArg_ParseTuple(args, "l", (long *)&aFdev))
+ {
+ PyErr_SetString(PyExc_IOError,
+ "Wrong parameters.");
+ return NULL;
+ }
+
+ ret = as_gpio_close(aFdev);
if (ret < 0)
{
PyErr_SetString(PyExc_IOError,
diff --git a/target/packages/as_devices/python/src/AsGpio_wrap.h b/target/packages/as_devices/python/src/AsGpio_wrap.h
index 10a910f..77c19c9 100644
--- a/target/packages/as_devices/python/src/AsGpio_wrap.h
+++ b/target/packages/as_devices/python/src/AsGpio_wrap.h
@@ -38,6 +38,7 @@ static PyObject * getPullupValue(PyObject *self, PyObject *args);
static PyObject * setPullupValue(PyObject *self, PyObject *args);
static PyObject * getIrqMode(PyObject *self, PyObject *args);
static PyObject * setIrqMode(PyObject *self, PyObject *args);
+static PyObject * getPinNumber(PyObject *self, PyObject *args);
+static PyObject * getPortLetter(PyObject *self, PyObject *args);
static PyObject * gpio_close(PyObject *self, PyObject *args);
-
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-08-26 12:33: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 771beacd96bac813382b9c9c16f8ca3ce08d7790 (commit)
from e3979878b7fee096a11d2326a7cc8becd8521148 (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 771beacd96bac813382b9c9c16f8ca3ce08d7790
Author: Julien Boibessot <jul...@ar...>
Date: Thu Aug 26 14:33:41 2010 +0200
[BUILDROOT] [2010.05] Updates apf default configs
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf27_defconfig | 8 +++++-
buildroot/configs/apf9328_defconfig | 52 +++++++++++++++++------------------
2 files changed, 32 insertions(+), 28 deletions(-)
diff --git a/buildroot/configs/apf27_defconfig b/buildroot/configs/apf27_defconfig
index 7adfbc6..7afbe81 100644
--- a/buildroot/configs/apf27_defconfig
+++ b/buildroot/configs/apf27_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Sun Jul 4 16:19:24 2010
+# Thu Aug 26 14:21:28 2010
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="2010.05"
@@ -340,6 +340,7 @@ BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
# BR2_PACKAGE_MADPLAY is not set
# BR2_PACKAGE_MPG123 is not set
# BR2_PACKAGE_MPLAYER is not set
+# BR2_PACKAGE_PYWEBRADIO is not set
# BR2_PACKAGE_SPEEX is not set
# BR2_PACKAGE_SWFDEC is not set
# BR2_PACKAGE_FESTIVAL is not set
@@ -394,7 +395,11 @@ BR2_PACKAGE_STRACE=y
#
# Games
#
+# BR2_PACKAGE_E_UAE is not set
# BR2_PACKAGE_GNUCHESS is not set
+# BR2_PACKAGE_LBREAKOUT2 is not set
+# BR2_PACKAGE_LTRIS is not set
+# BR2_PACKAGE_OPENTYRIAN is not set
# BR2_PACKAGE_PRBOOM is not set
# BR2_PACKAGE_SDLQUAKE is not set
# BR2_PACKAGE_SNES9X is not set
@@ -526,6 +531,7 @@ BR2_PACKAGE_MTD_UBIUPDATEVOL=y
# BR2_PACKAGE_SMARTMONTOOLS is not set
# BR2_PACKAGE_SQUASHFS is not set
# BR2_PACKAGE_SYSSTAT is not set
+# BR2_PACKAGE_URG is not set
# BR2_PACKAGE_USB_MODESWITCH is not set
# BR2_PACKAGE_USBMOUNT is not set
# BR2_PACKAGE_USBUTILS is not set
diff --git a/buildroot/configs/apf9328_defconfig b/buildroot/configs/apf9328_defconfig
index 11dd7a6..d55228a 100644
--- a/buildroot/configs/apf9328_defconfig
+++ b/buildroot/configs/apf9328_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Mon Jun 21 14:37:01 2010
+# Thu Aug 26 14:31:57 2010
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="2010.05"
@@ -268,6 +268,19 @@ BR2_PACKAGE_BUSYBOX_CONFIG="target/device/armadeus/busybox-$(BR2_BUSYBOX_VERSION
# BR2_PACKAGE_CUSTOMIZE is not set
#
+# Armadeus specific tools/utilities
+#
+# BR2_PACKAGE_AD9889CTRL is not set
+# BR2_PACKAGE_AS_DEVICES is not set
+BR2_PACKAGE_CH7024CTRL=y
+# BR2_PACKAGE_ARMADEUS_DEMOS is not set
+BR2_PACKAGE_FPGAREGS=y
+BR2_PACKAGE_IMXREGS=y
+# BR2_PACKAGE_IMXSSI is not set
+BR2_PACKAGE_MAX5821CTRL=y
+# BR2_PACKAGE_ARMADEUS_TESTSUITE is not set
+
+#
# Audio and video libraries and applications
#
BR2_PACKAGE_ALSA_LIB=y
@@ -323,6 +336,7 @@ BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
# BR2_PACKAGE_MADPLAY is not set
# BR2_PACKAGE_MPG123 is not set
# BR2_PACKAGE_MPLAYER is not set
+# BR2_PACKAGE_PYWEBRADIO is not set
# BR2_PACKAGE_SPEEX is not set
# BR2_PACKAGE_SWFDEC is not set
# BR2_PACKAGE_FESTIVAL is not set
@@ -377,7 +391,11 @@ BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
#
# Games
#
+# BR2_PACKAGE_E_UAE is not set
# BR2_PACKAGE_GNUCHESS is not set
+# BR2_PACKAGE_LBREAKOUT2 is not set
+# BR2_PACKAGE_LTRIS is not set
+# BR2_PACKAGE_OPENTYRIAN is not set
# BR2_PACKAGE_PRBOOM is not set
# BR2_PACKAGE_SDLQUAKE is not set
# BR2_PACKAGE_SNES9X is not set
@@ -509,6 +527,7 @@ BR2_PACKAGE_MTD_UBIUPDATEVOL=y
# BR2_PACKAGE_SMARTMONTOOLS is not set
# BR2_PACKAGE_SQUASHFS is not set
# BR2_PACKAGE_SYSSTAT is not set
+# BR2_PACKAGE_URG is not set
# BR2_PACKAGE_USB_MODESWITCH is not set
# BR2_PACKAGE_USBMOUNT is not set
# BR2_PACKAGE_USBUTILS is not set
@@ -660,6 +679,11 @@ BR2_PACKAGE_NCURSES_TARGET_MENU=y
# BR2_PACKAGE_AVAHI is not set
# BR2_PACKAGE_AXEL is not set
# BR2_PACKAGE_BIND is not set
+# BR2_PACKAGE_BLUEZ_LIBS is not set
+
+#
+# bluez-utils not available (need dbus)
+#
# BR2_PACKAGE_BMON is not set
# BR2_PACKAGE_BRIDGE is not set
# BR2_PACKAGE_CTORRENT is not set
@@ -755,32 +779,6 @@ BR2_PACKAGE_NANO=y
# BR2_PACKAGE_UEMACS is not set
#
-# Armadeus specific packages
-#
-# BR2_PACKAGE_UUCP is not set
-# BR2_PACKAGE_MESALIB is not set
-
-#
-# Armadeus specific tools/utilities
-#
-# BR2_PACKAGE_AD9889CTRL is not set
-# BR2_PACKAGE_AS_DEVICES is not set
-BR2_PACKAGE_CH7024CTRL=y
-# BR2_PACKAGE_ARMADEUS_DEMOS is not set
-BR2_PACKAGE_FPGAREGS=y
-BR2_PACKAGE_IMXREGS=y
-# BR2_PACKAGE_IMXSSI is not set
-BR2_PACKAGE_MAX5821CTRL=y
-# BR2_PACKAGE_ARMADEUS_TESTSUITE is not set
-# BR2_PACKAGE_BLUEZ_LIBS is not set
-
-#
-# bluez-utils not available (need dbus)
-#
-# BR2_PACKAGE_FBTEST is not set
-# BR2_PACKAGE_SNES9X is not set
-
-#
# Target filesystem options
#
BR2_ROOTFS_POST_BUILD_SCRIPT=""
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-08-25 14:07:28
|
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 e3979878b7fee096a11d2326a7cc8becd8521148 (commit)
via b2c86ad0b8f9b95ca4370e2d0b8e1e7e202ebb3d (commit)
via cb719e1be8078a42c91a7e58e62d283eb381428a (commit)
from e0c45be25be609d641dd78ca40fbe907dc20b11a (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 e3979878b7fee096a11d2326a7cc8becd8521148
Author: Julien Boibessot <jul...@ar...>
Date: Wed Aug 25 16:06:56 2010 +0200
Updates /etc/armadeus-version following 3.3 release
commit b2c86ad0b8f9b95ca4370e2d0b8e1e7e202ebb3d
Author: Julien Boibessot <jul...@ar...>
Date: Wed Aug 25 16:02:11 2010 +0200
Update Changelog with 3.3 release date
commit cb719e1be8078a42c91a7e58e62d283eb381428a
Author: Julien Boibessot <jul...@ar...>
Date: Wed Aug 25 15:47:55 2010 +0200
[BUILDROOT] Some minor changes when generating socketcan archive
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 +-
.../rootfs/target_skeleton/etc/armadeus-version | 2 +-
patches/buildroot/042-socketcan.patch | 19 +++++++++----------
patches/buildroot/2010.05/042-socketcan.patch | 5 ++---
4 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c0ecae0..aa3dd8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,7 @@
----
-Changes in release 3.3 (no due date yet)
+Changes in release 3.3 (released on July 30th 2010)
* Wiki dump available here: http://www.armadeus.com/assos_downloads/wiki/armadeus-3.3_wiki_dump.tar.gz
diff --git a/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version b/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version
index eb39e53..519cec1 100644
--- a/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version
+++ b/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version
@@ -1 +1 @@
-3.3
+3.3-git
diff --git a/patches/buildroot/042-socketcan.patch b/patches/buildroot/042-socketcan.patch
index 1ce66c8..ceb783c 100644
--- a/patches/buildroot/042-socketcan.patch
+++ b/patches/buildroot/042-socketcan.patch
@@ -4,9 +4,9 @@ Signed-off-by: Julien Boibessot <jul...@ar...>
Index: buildroot/package/Config.in
===================================================================
---- buildroot.orig/package/Config.in 2010-06-18 16:55:30.000000000 +0200
-+++ buildroot/package/Config.in 2010-06-18 16:56:50.000000000 +0200
-@@ -207,6 +207,7 @@
+--- buildroot.orig/package/Config.in 2010-08-25 15:29:37.000000000 +0200
++++ buildroot/package/Config.in 2010-08-25 15:31:44.000000000 +0200
+@@ -209,6 +209,7 @@
source "package/rsync/Config.in"
source "package/samba/Config.in"
source "package/socat/Config.in"
@@ -17,7 +17,7 @@ Index: buildroot/package/Config.in
Index: buildroot/package/socketcan/Config.in
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/socketcan/Config.in 2010-06-18 16:59:38.000000000 +0200
++++ buildroot/package/socketcan/Config.in 2010-08-25 15:29:37.000000000 +0200
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_SOCKETCAN
+ bool "Socket CAN"
@@ -43,8 +43,8 @@ Index: buildroot/package/socketcan/Config.in
Index: buildroot/package/socketcan/socketcan.mk
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/socketcan/socketcan.mk 2010-06-18 17:03:14.000000000 +0200
-@@ -0,0 +1,69 @@
++++ buildroot/package/socketcan/socketcan.mk 2010-08-25 15:33:14.000000000 +0200
+@@ -0,0 +1,68 @@
+#############################################################
+#
+# Socket CAN
@@ -61,8 +61,7 @@ Index: buildroot/package/socketcan/socketcan.mk
+$(DL_DIR)/$(SOCKETCAN_SOURCE):
+ (cd $(BUILD_DIR); \
+ $(SVN_CO) -r $(SOCKETCAN_REVISION) $(SOCKETCAN_TRUNK) $(SOCKETCAN_NAME); \
-+ tar -cvf $(SOCKETCAN_NAME).tar $(SOCKETCAN_NAME); \
-+ bzip2 $(SOCKETCAN_NAME).tar; \
++ tar -cjvf $(SOCKETCAN_SOURCE) --exclude=.svn $(SOCKETCAN_NAME); \
+ rm -rf $(SOCKETCAN_DIR); \
+ mv $(SOCKETCAN_SOURCE) $(DL_DIR)/$(SOCKETCAN_SOURCE); \
+ )
@@ -117,7 +116,7 @@ Index: buildroot/package/socketcan/socketcan.mk
Index: buildroot/package/socketcan/socketcan-svn-rev810-cross-compile.patch
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/socketcan/socketcan-svn-rev810-cross-compile.patch 2010-06-18 17:03:41.000000000 +0200
++++ buildroot/package/socketcan/socketcan-svn-rev810-cross-compile.patch 2010-08-25 15:29:37.000000000 +0200
@@ -0,0 +1,33 @@
+diff -urN socketcan-svn-rev810.org/can-utils/Makefile socketcan-svn-rev810/can-utils/Makefile
+--- socketcan-svn-rev810.org/can-utils/Makefile 2008-07-16 10:52:02.000000000 +0200
@@ -155,7 +154,7 @@ Index: buildroot/package/socketcan/socketcan-svn-rev810-cross-compile.patch
Index: buildroot/package/socketcan/socketcan-svn-rev874-cross-compile.patch
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ buildroot/package/socketcan/socketcan-svn-rev874-cross-compile.patch 2010-06-18 17:04:29.000000000 +0200
++++ buildroot/package/socketcan/socketcan-svn-rev874-cross-compile.patch 2010-08-25 15:29:37.000000000 +0200
@@ -0,0 +1,63 @@
+diff -urN socketcan-svn-rev810.org/can-utils/Makefile socketcan-svn-rev810/can-utils/Makefile
+--- socketcan-svn-rev874.org/can-utils/Makefile 2008-07-16 10:52:02.000000000 +0200
diff --git a/patches/buildroot/2010.05/042-socketcan.patch b/patches/buildroot/2010.05/042-socketcan.patch
index e14d1c3..e733d0d 100644
--- a/patches/buildroot/2010.05/042-socketcan.patch
+++ b/patches/buildroot/2010.05/042-socketcan.patch
@@ -44,7 +44,7 @@ Index: buildroot/package/socketcan/socketcan.mk
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ buildroot/package/socketcan/socketcan.mk 2010-06-23 14:10:36.000000000 +0200
-@@ -0,0 +1,69 @@
+@@ -0,0 +1,68 @@
+#############################################################
+#
+# Socket CAN
@@ -61,8 +61,7 @@ Index: buildroot/package/socketcan/socketcan.mk
+$(DL_DIR)/$(SOCKETCAN_SOURCE):
+ (cd $(BUILD_DIR); \
+ $(SVN_CO) -r $(SOCKETCAN_REVISION) $(SOCKETCAN_TRUNK) $(SOCKETCAN_NAME); \
-+ tar -cvf $(SOCKETCAN_NAME).tar $(SOCKETCAN_NAME); \
-+ bzip2 $(SOCKETCAN_NAME).tar; \
++ tar -cjvf $(SOCKETCAN_SOURCE) --exclude=.svn $(SOCKETCAN_NAME); \
+ rm -rf $(SOCKETCAN_DIR); \
+ mv $(SOCKETCAN_SOURCE) $(DL_DIR)/$(SOCKETCAN_SOURCE); \
+ )
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-24 09:40: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 e0c45be25be609d641dd78ca40fbe907dc20b11a (commit)
from 7dcd660e4ff1e8abea3f8fc106b913f1e0c2d9db (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 e0c45be25be609d641dd78ca40fbe907dc20b11a
Author: Nicolas Colombain <sal...@ar...-office>
Date: Tue Aug 24 11:39:22 2010 +0200
fix bug #83 (APF27 USB OTG PHY not recognized after Linux reboot)
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/apf27/apf27.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf27/apf27.h b/buildroot/target/device/armadeus/apf27/apf27.h
index 73ccca2..78a33c5 100644
--- a/buildroot/target/device/armadeus/apf27/apf27.h
+++ b/buildroot/target/device/armadeus/apf27/apf27.h
@@ -736,7 +736,7 @@
#define CFG_ICFB1_C_VAL 0xFFFFFFFF
#define CFG_ICFB2_C_VAL 0xFFFFFFFF
#define CFG_DR_C_VAL 0x00000000
-#define CFG_GIUS_C_VAL 0xFFFFFFFF
+#define CFG_GIUS_C_VAL 0xFFFFC07F
#define CFG_ICR1_C_VAL 0x00000000
#define CFG_ICR2_C_VAL 0x00000000
#define CFG_IMR_C_VAL 0x00000000
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-08-19 13:02: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 7dcd660e4ff1e8abea3f8fc106b913f1e0c2d9db (commit)
from 4f676254f64b35cb2c1bd17615d0e338fb13cd70 (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 7dcd660e4ff1e8abea3f8fc106b913f1e0c2d9db
Author: Fabien Marteau <fab...@ar...>
Date: Thu Aug 19 15:02:19 2010 +0200
[linux] Fix gpio release bug under as1531 platform module
-----------------------------------------------------------------------
Summary of changes:
target/linux/modules/as1531_platform/as1531_plat.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/target/linux/modules/as1531_platform/as1531_plat.c b/target/linux/modules/as1531_platform/as1531_plat.c
index 8222353..7300f57 100644
--- a/target/linux/modules/as1531_platform/as1531_plat.c
+++ b/target/linux/modules/as1531_platform/as1531_plat.c
@@ -55,6 +55,11 @@ static int as1531_init_gpio(void)
return mxc_gpio_setup_multiple_pins(as1531_pins, ARRAY_SIZE(as1531_pins), "as1531");
}
+static void as1531_exit_gpio(void)
+{
+ mxc_gpio_release_multiple_pins(as1531_pins, ARRAY_SIZE(as1531_pins));
+}
+
/* Chip select command for as1531 */
static void as1531_cs(u32 command)
{
@@ -105,6 +110,7 @@ register_error:
static void __exit exit_as1531_plat(void)
{
spi_unregister_device(as1531_spi_dev);
+ as1531_exit_gpio();
}
module_init(init_as1531_plat);
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-08-19 10:09: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 4f676254f64b35cb2c1bd17615d0e338fb13cd70 (commit)
from f579f7f283d6abb0e31a1d45b01cda7c955d6778 (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 4f676254f64b35cb2c1bd17615d0e338fb13cd70
Author: Fabien Marteau <fab...@ar...>
Date: Thu Aug 19 12:09:29 2010 +0200
[linux] update apf27 linux config file for as1531
-----------------------------------------------------------------------
Summary of changes:
.../armadeus/apf27/apf27-linux-2.6.29.config | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf27/apf27-linux-2.6.29.config b/buildroot/target/device/armadeus/apf27/apf27-linux-2.6.29.config
index 6018cbe..44fe0bb 100644
--- a/buildroot/target/device/armadeus/apf27/apf27-linux-2.6.29.config
+++ b/buildroot/target/device/armadeus/apf27/apf27-linux-2.6.29.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29.6
-# Thu Jul 22 23:36:31 2010
+# Thu Aug 19 11:51:32 2010
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -934,6 +934,7 @@ CONFIG_HWMON=m
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_AS1531 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
@@ -1445,6 +1446,7 @@ CONFIG_ARMADEUS_DRIVERS=y
# Misc.
#
# CONFIG_ARMADEUS_GENERIC_DRIVER is not set
+# CONFIG_ARMADEUS_AS1531_PLAT is not set
CONFIG_ARMADEUS_GPIO_DRIVER=m
# CONFIG_ARMADEUS_KEYPAD_DRIVER is not set
CONFIG_ARMADEUS_MAX1027=m
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-08-19 10:02: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 f579f7f283d6abb0e31a1d45b01cda7c955d6778 (commit)
via e3d6ea509e23b4e4a5ca5dd4b69b6f5882a352e9 (commit)
from 2f7e48754eb4f9ff1c070d9b8bd2413abaa73b06 (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 f579f7f283d6abb0e31a1d45b01cda7c955d6778
Author: Fabien Marteau <fab...@ar...>
Date: Thu Aug 19 12:01:43 2010 +0200
[linux] adding platform module for as1531
commit e3d6ea509e23b4e4a5ca5dd4b69b6f5882a352e9
Author: Fabien Marteau <fab...@ar...>
Date: Thu Aug 19 11:59:11 2010 +0200
[linux] Print channel value in milivolt
-----------------------------------------------------------------------
Summary of changes:
...363-armadeus-ADC-Adding_AS1531_adc_driver.patch | 34 +++++-
target/linux/modules/Kconfig | 2 +
target/linux/modules/Makefile | 2 +-
target/linux/modules/as1531_platform/Kconfig | 11 ++
.../modules/{max9768 => as1531_platform}/Makefile | 4 +-
target/linux/modules/as1531_platform/as1531_plat.c | 116 ++++++++++++++++++++
6 files changed, 159 insertions(+), 10 deletions(-)
create mode 100644 target/linux/modules/as1531_platform/Kconfig
copy target/linux/modules/{max9768 => as1531_platform}/Makefile (79%)
mode change 100644 => 100755
create mode 100644 target/linux/modules/as1531_platform/as1531_plat.c
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch
index fdab75f..06e86e3 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch
@@ -6,7 +6,7 @@ Signed-off-by: Fabien Marteau <fab...@ar...>
Index: linux-2.6.29.6/drivers/hwmon/as1531.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29.6/drivers/hwmon/as1531.c 2010-08-18 17:43:10.000000000 +0200
++++ linux-2.6.29.6/drivers/hwmon/as1531.c 2010-08-19 10:34:37.000000000 +0200
@@ -0,0 +1,298 @@
+/*
+ * as1531.c
@@ -43,7 +43,7 @@ Index: linux-2.6.29.6/drivers/hwmon/as1531.c
+#include <linux/spi/spi.h>
+
+#define AS1531_SPI_SPEED 64941
-+#define AS1531_MAX_VALUE 4095
++#define AS1531_MAX_VALUE 2500
+
+#define AS1531_START_BIT 0x80
+#define AS1531_CHAN0 (0<<4)
@@ -175,7 +175,7 @@ Index: linux-2.6.29.6/drivers/hwmon/as1531.c
+ if (status < 0)
+ goto out;
+
-+ status = sprintf(buf, "%d\n", ret_value);
++ status = sprintf(buf, "%d\n", ret_value*2500/4096);
+out:
+ mutex_unlock(&adc->lock);
+ return status;
@@ -308,8 +308,8 @@ Index: linux-2.6.29.6/drivers/hwmon/as1531.c
+MODULE_DESCRIPTION("Driver for AS1531 ADC");
Index: linux-2.6.29.6/drivers/hwmon/Kconfig
===================================================================
---- linux-2.6.29.6.orig/drivers/hwmon/Kconfig 2010-08-17 16:24:13.000000000 +0200
-+++ linux-2.6.29.6/drivers/hwmon/Kconfig 2010-08-17 16:45:26.000000000 +0200
+--- linux-2.6.29.6.orig/drivers/hwmon/Kconfig 2009-03-24 00:12:14.000000000 +0100
++++ linux-2.6.29.6/drivers/hwmon/Kconfig 2010-08-19 09:58:10.000000000 +0200
@@ -93,6 +93,14 @@
This driver can also be built as a module. If so, the module
will be called adcxx.
@@ -327,8 +327,8 @@ Index: linux-2.6.29.6/drivers/hwmon/Kconfig
depends on I2C
Index: linux-2.6.29.6/drivers/hwmon/Makefile
===================================================================
---- linux-2.6.29.6.orig/drivers/hwmon/Makefile 2010-08-17 16:24:10.000000000 +0200
-+++ linux-2.6.29.6/drivers/hwmon/Makefile 2010-08-17 16:45:55.000000000 +0200
+--- linux-2.6.29.6.orig/drivers/hwmon/Makefile 2009-03-24 00:12:14.000000000 +0100
++++ linux-2.6.29.6/drivers/hwmon/Makefile 2010-08-19 09:58:10.000000000 +0200
@@ -18,6 +18,7 @@
obj-$(CONFIG_SENSORS_AD7414) += ad7414.o
obj-$(CONFIG_SENSORS_AD7418) += ad7418.o
@@ -337,3 +337,23 @@ Index: linux-2.6.29.6/drivers/hwmon/Makefile
obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o
obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o
+Index: linux-2.6.29.6/Documentation/hwmon/as1531
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ linux-2.6.29.6/Documentation/hwmon/as1531 2010-08-19 10:14:41.000000000 +0200
+@@ -0,0 +1,15 @@
++Kernel driver as1531
++====================
++
++Supported chips:
++ * Austriamicrosystems AS1531
++ Datasheet: http://www.austriamicrosystems.com/eng/Products/Data-Converters/A-D-Converter/AS1531
++
++Author:
++ Fabien Marteau <fab...@ar...>
++
++Description
++-----------
++
++This driver implements support for the Austriamicrosystems AS1531
++12bits 8channels Analog to Digital Converter.
diff --git a/target/linux/modules/Kconfig b/target/linux/modules/Kconfig
index 5b72c11..82abbe5 100644
--- a/target/linux/modules/Kconfig
+++ b/target/linux/modules/Kconfig
@@ -15,6 +15,8 @@ comment "Misc."
source "drivers/armadeus/generic/Kconfig"
+source "drivers/armadeus/as1531_platform/Kconfig"
+
source "drivers/armadeus/gpio/Kconfig"
source "drivers/armadeus/imxlkeypad/Kconfig"
diff --git a/target/linux/modules/Makefile b/target/linux/modules/Makefile
index c548550..6e14e40 100755
--- a/target/linux/modules/Makefile
+++ b/target/linux/modules/Makefile
@@ -9,7 +9,7 @@ ifneq ($(KERNELRELEASE),)
# Part executed when called from kernel build system:
obj-$(CONFIG_ARMADEUS_DRIVERS) += gpio/ pwm/ backlight/ isp1761/ \
- imxlkeypad/ fpga/ max1027/ max9768/ display/
+ imxlkeypad/ fpga/ max1027/ max9768/ display/ as1531_platform/
else
diff --git a/target/linux/modules/as1531_platform/Kconfig b/target/linux/modules/as1531_platform/Kconfig
new file mode 100644
index 0000000..2b06294
--- /dev/null
+++ b/target/linux/modules/as1531_platform/Kconfig
@@ -0,0 +1,11 @@
+#
+#
+
+config ARMADEUS_AS1531_PLAT
+ tristate "AS1531 platform data"
+ default n
+ depends on ARMADEUS_DRIVERS
+ select SENSORS_AS1531
+ ---help---
+ Specific platform data for as1531 plugged on apf27-Dev board
+ on SPI3.
diff --git a/target/linux/modules/max9768/Makefile b/target/linux/modules/as1531_platform/Makefile
old mode 100644
new mode 100755
similarity index 79%
copy from target/linux/modules/max9768/Makefile
copy to target/linux/modules/as1531_platform/Makefile
index d60e4f4..34154bf
--- a/target/linux/modules/max9768/Makefile
+++ b/target/linux/modules/as1531_platform/Makefile
@@ -1,11 +1,11 @@
#
-# Makefile for the Armadeus MAX9768 custom driver
+# Makefile for the Armadeus specific as1531 platform module
#
# Part executed when called from kernel build system:
ifneq ($(KERNELRELEASE),)
-obj-$(CONFIG_ARMADEUS_MAX9768) += max9768.o
+obj-$(CONFIG_ARMADEUS_AS1531_PLAT) += as1531_plat.o
# Part executed when called from standard make in this directory:
# (preferably use Makefile in parent directory)
diff --git a/target/linux/modules/as1531_platform/as1531_plat.c b/target/linux/modules/as1531_platform/as1531_plat.c
new file mode 100644
index 0000000..8222353
--- /dev/null
+++ b/target/linux/modules/as1531_platform/as1531_plat.c
@@ -0,0 +1,116 @@
+/*
+ * as1531.c
+ *
+ * Platform data for driver as1531.
+ *
+ * Copyright (c) 2010 Fabien Marteau <fab...@ar...>
+ * sponsored by 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/sysfs.h>
+#include <linux/hwmon.h>
+#include <linux/hwmon-sysfs.h>
+#include <linux/mutex.h>
+#include <linux/spi/spi.h>
+#include <linux/platform_device.h>
+#include <mach/common.h>
+#include <mach/hardware.h>
+#include <mach/iomux-mx1-mx2.h>
+#include <mach/gpio.h>
+#include <../mach-imx/include/mach/spi_imx.h>
+
+#define AS1531_CS (GPIO_PORTE | 21)
+/* spi3*/
+#define AS1531_SPI_BUS_NUM 2
+
+
+struct spi_device *as1531_spi_dev;
+
+static int as1531_pins[] = {
+ (AS1531_CS | GPIO_OUT | GPIO_GPIO),
+};
+
+static int as1531_init_gpio(void)
+{
+ gpio_set_value(AS1531_CS, 1);
+ return mxc_gpio_setup_multiple_pins(as1531_pins, ARRAY_SIZE(as1531_pins), "as1531");
+}
+
+/* Chip select command for as1531 */
+static void as1531_cs(u32 command)
+{
+ if (command == SPI_CS_DEASSERT)
+ gpio_set_value(AS1531_CS, 1);
+ else
+ gpio_set_value(AS1531_CS, 0);
+}
+
+static struct spi_imx_chip as1531_hw = {
+ .cs_control = as1531_cs,
+};
+
+static struct spi_board_info spi_as1531_board[] = {
+ {
+ .modalias = "as1531",
+ .controller_data = &as1531_hw,
+ .max_speed_hz = 1000000, /* 1MHz */
+ .bus_num = AS1531_SPI_BUS_NUM,
+ .mode = SPI_MODE_3,
+ .chip_select = 0,
+ .platform_data = NULL,
+ }
+};
+
+
+static int __init init_as1531_plat(void)
+{
+ if (as1531_init_gpio() < 0)
+ {
+ printk(KERN_ERR "Can't initialize gpio CS for as1531 spi\n");
+ return -1;
+ }
+
+ as1531_spi_dev = spi_new_device(
+ spi_busnum_to_master(AS1531_SPI_BUS_NUM),
+ spi_as1531_board);
+ if (as1531_spi_dev == NULL) {
+ printk(KERN_ERR "Can't register as1531_spi_dev\n");
+ goto register_error;
+ }
+
+ return 0;
+register_error:
+ return -1;
+}
+
+static void __exit exit_as1531_plat(void)
+{
+ spi_unregister_device(as1531_spi_dev);
+}
+
+module_init(init_as1531_plat);
+module_exit(exit_as1531_plat);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Fabien Marteau <fab...@ar...>");
+MODULE_DESCRIPTION("Platform data for AS1531 ADC");
+
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-08-18 15:45:34
|
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 2f7e48754eb4f9ff1c070d9b8bd2413abaa73b06 (commit)
from 064d8342b84552414e5b1c8cc7f85cf59f7bc2b3 (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 2f7e48754eb4f9ff1c070d9b8bd2413abaa73b06
Author: Fabien Marteau <fab...@ar...>
Date: Wed Aug 18 17:44:37 2010 +0200
[linux] Adding AS1531 Analog to Digital Converter driver in kernel
-----------------------------------------------------------------------
Summary of changes:
...363-armadeus-ADC-Adding_AS1531_adc_driver.patch | 339 ++++++++++++++++++++
1 files changed, 339 insertions(+), 0 deletions(-)
create mode 100644 buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch
new file mode 100644
index 0000000..fdab75f
--- /dev/null
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/363-armadeus-ADC-Adding_AS1531_adc_driver.patch
@@ -0,0 +1,339 @@
+
+Driver for Austria-Microsystem Analog to Digital Converter.
+
+Signed-off-by: Fabien Marteau <fab...@ar...>
+
+Index: linux-2.6.29.6/drivers/hwmon/as1531.c
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ linux-2.6.29.6/drivers/hwmon/as1531.c 2010-08-18 17:43:10.000000000 +0200
+@@ -0,0 +1,298 @@
++/*
++ * as1531.c
++ *
++ * Driver for Austria-Microsystem Analog to Digital Converter.
++ *
++ * Copyright (c) 2010 Fabien Marteau <fab...@ar...>
++ * sponsored by 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
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program 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 General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++ */
++
++#include <linux/init.h>
++#include <linux/module.h>
++#include <linux/kernel.h>
++#include <linux/device.h>
++#include <linux/err.h>
++#include <linux/sysfs.h>
++#include <linux/hwmon.h>
++#include <linux/hwmon-sysfs.h>
++#include <linux/mutex.h>
++#include <linux/spi/spi.h>
++
++#define AS1531_SPI_SPEED 64941
++#define AS1531_MAX_VALUE 4095
++
++#define AS1531_START_BIT 0x80
++#define AS1531_CHAN0 (0<<4)
++#define AS1531_CHAN1 (4<<4)
++#define AS1531_CHAN2 (1<<4)
++#define AS1531_CHAN3 (5<<4)
++#define AS1531_CHAN4 (2<<4)
++#define AS1531_CHAN5 (6<<4)
++#define AS1531_CHAN6 (3<<4)
++#define AS1531_CHAN7 (7<<4)
++
++#define AS1531_RANGE_0_TO_VREF (1<<3)
++#define AS1531_RANGE_HALFVREF_TO_HALFVREF (0<<3)
++
++#define AS1531_MODE_COM (1<<2)
++#define AS1531_MODE_DIFF (0<<2)
++
++#define AS1531_POWER_DOWN 0x0
++#define AS1531_POWER_REDUCED 0x1
++#define AS1531_POWER_REDUCED_BIS 0x2
++#define AS1531_POWER_NORMAL 0x3
++
++struct as1531 {
++ struct device *hwmon_dev;
++ struct mutex lock;
++};
++
++static int as1531_message(struct spi_device *spi, int cmd, int *ret_value)
++{
++ struct spi_message message;
++ struct spi_transfer x[1];
++ int status, i;
++ u8 cmd_send;
++ unsigned char buf[64];
++ unsigned char buf_read[64];
++
++ cmd_send = cmd;
++
++ spi_message_init(&message);
++ memset(x, 0, sizeof x);
++ memset(buf, 0, sizeof(buf));
++ memset(buf_read, 0, sizeof(buf_read));
++
++ for (i = 0; i < 8; i++) {
++ buf[i] = ((cmd_send & 0x80)>>7);
++ cmd_send = cmd_send << 1;
++ }
++
++ x[0].tx_buf = buf;
++ x[0].len = 24;
++ x[0].rx_buf = buf_read;
++ x[0].speed_hz = AS1531_SPI_SPEED;
++ x[0].bits_per_word = 1;
++ spi_message_add_tail(&x[0], &message);
++
++ status = spi_sync(spi, &message);
++ if (status < 0)
++ return status;
++
++ *ret_value = buf_read[11] & 0x01;
++ for (i = 12; i < 23 ; i++) {
++ *ret_value = *ret_value << 1;
++ *ret_value = *ret_value | (buf_read[i]&0x01);
++ }
++
++ return 0;
++}
++
++static ssize_t as1531_read(struct device *dev,
++ struct device_attribute *devattr, char *buf)
++{
++ struct spi_device *spi = to_spi_device(dev);
++ struct as1531 *adc = dev_get_drvdata(&spi->dev);
++ struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
++ int status = 0;
++ int ret_value;
++ int32_t cmd;
++
++
++ if (mutex_lock_interruptible(&adc->lock))
++ return -ERESTARTSYS;
++
++ switch (attr->index) {
++ case 0:
++ cmd = AS1531_START_BIT | AS1531_CHAN0 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 1:
++ cmd = AS1531_START_BIT | AS1531_CHAN1 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 2:
++ cmd = AS1531_START_BIT | AS1531_CHAN2 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 3:
++ cmd = AS1531_START_BIT | AS1531_CHAN3 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 4:
++ cmd = AS1531_START_BIT | AS1531_CHAN4 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 5:
++ cmd = AS1531_START_BIT | AS1531_CHAN5 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 6:
++ cmd = AS1531_START_BIT | AS1531_CHAN6 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ case 7:
++ cmd = AS1531_START_BIT | AS1531_CHAN7 |
++ AS1531_RANGE_0_TO_VREF | AS1531_MODE_COM |
++ AS1531_POWER_NORMAL;
++ break;
++ default:
++ status = -EINVAL;
++ goto out;
++ }
++ status = as1531_message(spi, cmd, &ret_value);
++ if (status < 0)
++ goto out;
++
++ status = sprintf(buf, "%d\n", ret_value);
++out:
++ mutex_unlock(&adc->lock);
++ return status;
++}
++
++
++static ssize_t as1531_show_min(struct device *dev,
++ struct device_attribute *devattr, char *buf)
++{
++ /* The minimum reference is 0 for this chip family */
++ return sprintf(buf, "0\n");
++}
++
++static ssize_t as1531_show_max(struct device *dev,
++ struct device_attribute *devattr, char *buf)
++{
++ return sprintf(buf, "%d\n", AS1531_MAX_VALUE);
++}
++
++static ssize_t as1531_show_name(struct device *dev, struct device_attribute
++ *devattr, char *buf)
++{
++ return sprintf(buf, "as1531\n");
++}
++
++static struct sensor_device_attribute as1531_input[] = {
++ SENSOR_ATTR(name, S_IRUGO, as1531_show_name, NULL, 0),
++ SENSOR_ATTR(in_min, S_IRUGO, as1531_show_min, NULL, 0),
++ SENSOR_ATTR(in_max, S_IRUGO, as1531_show_max, NULL, 0),
++ SENSOR_ATTR(in0_input, S_IRUGO, as1531_read, NULL, 0),
++ SENSOR_ATTR(in1_input, S_IRUGO, as1531_read, NULL, 1),
++ SENSOR_ATTR(in2_input, S_IRUGO, as1531_read, NULL, 2),
++ SENSOR_ATTR(in3_input, S_IRUGO, as1531_read, NULL, 3),
++ SENSOR_ATTR(in4_input, S_IRUGO, as1531_read, NULL, 4),
++ SENSOR_ATTR(in5_input, S_IRUGO, as1531_read, NULL, 5),
++ SENSOR_ATTR(in6_input, S_IRUGO, as1531_read, NULL, 6),
++ SENSOR_ATTR(in7_input, S_IRUGO, as1531_read, NULL, 7),
++};
++
++/*----------------------------------------------------------------------*/
++
++static int __devinit as1531_probe(struct spi_device *spi)
++{
++ struct as1531 *adc;
++ int status;
++ int i;
++
++ adc = kzalloc(sizeof(struct as1531), GFP_KERNEL);
++ if (adc == NULL)
++ return -ENOMEM;
++
++ mutex_init(&adc->lock);
++ mutex_lock(&adc->lock);
++
++ dev_set_drvdata(&spi->dev, adc);
++
++ for (i = 0; i < 11; i++) {
++ status = device_create_file(&spi->dev,
++ &as1531_input[i].dev_attr);
++ if (status < 0) {
++ dev_err(&spi->dev, "device_create_file failed.\n");
++ goto out_err;
++ }
++ }
++
++ adc->hwmon_dev = hwmon_device_register(&spi->dev);
++ if (IS_ERR(adc->hwmon_dev)) {
++ dev_err(&spi->dev, "hwmon_device_register failed.\n");
++ status = PTR_ERR(adc->hwmon_dev);
++ goto out_err;
++ }
++
++ mutex_unlock(&adc->lock);
++ return 0;
++
++out_err:
++ for (i--; i >= 0; i--)
++ device_remove_file(&spi->dev, &as1531_input[i].dev_attr);
++ dev_set_drvdata(&spi->dev, NULL);
++ mutex_unlock(&adc->lock);
++ kfree(adc);
++ return status;
++}
++
++static int __devexit as1531_remove(struct spi_device *spi)
++{
++ struct as1531 *adc = dev_get_drvdata(&spi->dev);
++ int i;
++
++ mutex_lock(&adc->lock);
++ hwmon_device_unregister(adc->hwmon_dev);
++ for (i = 0; i < 8; i++)
++ device_remove_file(&spi->dev, &as1531_input[i].dev_attr);
++
++ dev_set_drvdata(&spi->dev, NULL);
++ mutex_unlock(&adc->lock);
++ kfree(adc);
++
++ return 0;
++}
++
++/* SPI structures */
++
++static struct spi_driver as1531_driver = {
++ .driver = {
++ .name = "as1531",
++ .owner = THIS_MODULE,
++ },
++ .probe = as1531_probe,
++ .remove = __devexit_p(as1531_remove),
++};
++
++/* Init module */
++
++static int __init init_as1531(void)
++{
++ return spi_register_driver(&as1531_driver);
++}
++
++static void __exit exit_as1531(void)
++{
++ spi_unregister_driver(&as1531_driver);
++}
++
++module_init(init_as1531);
++module_exit(exit_as1531);
++
++MODULE_LICENSE("GPL");
++MODULE_AUTHOR("Fabien Marteau <fab...@ar...>");
++MODULE_DESCRIPTION("Driver for AS1531 ADC");
+Index: linux-2.6.29.6/drivers/hwmon/Kconfig
+===================================================================
+--- linux-2.6.29.6.orig/drivers/hwmon/Kconfig 2010-08-17 16:24:13.000000000 +0200
++++ linux-2.6.29.6/drivers/hwmon/Kconfig 2010-08-17 16:45:26.000000000 +0200
+@@ -93,6 +93,14 @@
+ This driver can also be built as a module. If so, the module
+ will be called adcxx.
+
++config SENSORS_AS1531
++ tristate "Austria Microsystems AS1531 Analog to Digital Converter"
++ depends on SPI_MASTER
++ help
++ If you say yes here you get support for Austria Microsystems AS1531.
++ This driver can also be built as a module. If so, the module
++ will be called as1531.
++
+ config SENSORS_ADM1021
+ tristate "Analog Devices ADM1021 and compatibles"
+ depends on I2C
+Index: linux-2.6.29.6/drivers/hwmon/Makefile
+===================================================================
+--- linux-2.6.29.6.orig/drivers/hwmon/Makefile 2010-08-17 16:24:10.000000000 +0200
++++ linux-2.6.29.6/drivers/hwmon/Makefile 2010-08-17 16:45:55.000000000 +0200
+@@ -18,6 +18,7 @@
+ obj-$(CONFIG_SENSORS_AD7414) += ad7414.o
+ obj-$(CONFIG_SENSORS_AD7418) += ad7418.o
+ obj-$(CONFIG_SENSORS_ADCXX) += adcxx.o
++obj-$(CONFIG_SENSORS_AS1531) += as1531.o
+ obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
+ obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o
+ obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-08-16 15:58: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 064d8342b84552414e5b1c8cc7f85cf59f7bc2b3 (commit)
from 9ea541e0c3d62c04e020ee813f1ca8819022d88d (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 064d8342b84552414e5b1c8cc7f85cf59f7bc2b3
Author: Fabien Marteau <fab...@ar...>
Date: Mon Aug 16 17:57:24 2010 +0200
[asdevices] fix bug in as_spi
-----------------------------------------------------------------------
Summary of changes:
target/packages/as_devices/c/as_spi.c | 2 +-
target/packages/as_devices/c/as_spi.h | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/target/packages/as_devices/c/as_spi.c b/target/packages/as_devices/c/as_spi.c
index 2aaccb5..4eb9e01 100644
--- a/target/packages/as_devices/c/as_spi.c
+++ b/target/packages/as_devices/c/as_spi.c
@@ -121,7 +121,7 @@ int as_spi_set_speed(int aFd, uint32_t aSpeed)
uint32_t as_spi_get_speed(int aFd)
{
- uint8_t speed;
+ uint32_t speed;
if (ioctl(aFd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) < 0) {
ERROR("SPI max_speed_hz");
diff --git a/target/packages/as_devices/c/as_spi.h b/target/packages/as_devices/c/as_spi.h
index 511f2fc..9fd2a51 100644
--- a/target/packages/as_devices/c/as_spi.h
+++ b/target/packages/as_devices/c/as_spi.h
@@ -95,7 +95,6 @@ int as_spi_get_lsb(int aFd);
* @param aSpeed clock speed
*
* @return speed in Hz, negative value on error
- * TODO: test it
*/
int as_spi_set_speed(int aFd, uint32_t aSpeed);
@@ -104,7 +103,6 @@ int as_spi_set_speed(int aFd, uint32_t aSpeed);
* @param aFd spidev file handler
*
* @return speed in Hz
- * TODO: test it
*/
uint32_t as_spi_get_speed(int aFd);
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-10 09:11: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 9ea541e0c3d62c04e020ee813f1ca8819022d88d (commit)
from 2725330da080825184408c8b56a512f5378046dc (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 9ea541e0c3d62c04e020ee813f1ca8819022d88d
Author: Nicolas Colombain <sal...@ar...-office>
Date: Tue Aug 10 11:10:40 2010 +0200
[U-BOOT] increase FPGA supply startup time. avoid fpga loading timeout
-----------------------------------------------------------------------
Summary of changes:
.../target/u-boot/u-boot-1.3.4-310-apf27.patch | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch b/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch
index 325aea4..77fb2a1 100644
--- a/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch
+++ b/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch
@@ -200,7 +200,7 @@
+CONFIG_NAND_U_BOOT = y
--- ref/u-boot-1.3.4/board/armadeus/apf27/fpga.c 1970-01-01 01:00:00.000000000 +0100
+++ u-boot-1.3.4/board/armadeus/apf27/fpga.c 2008-12-29 16:27:49.000000000 +0100
-@@ -0,0 +1,257 @@
+@@ -0,0 +1,258 @@
+ /*
+ * (C) Copyright 2002-2008
+ * Eric Jarrige <eri...@ar...>
@@ -303,6 +303,7 @@
+ GPIO_CLEAR(CFG_FPGA_SUSPEND);
+// GPIO_CLEAR(CFG_FPGA_RESET);
+ GPIO_CLEAR(CFG_FPGA_PWR);
++ udelay(30000); /*wait until supply started*/
+
+ return cookie;
+ }
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-09 16:35: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 2725330da080825184408c8b56a512f5378046dc (commit)
from 84320e398fbaad78a9f870662d521fbaff67810c (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 2725330da080825184408c8b56a512f5378046dc
Author: Nicolas Colombain <sal...@ar...-office>
Date: Mon Aug 9 18:34:33 2010 +0200
[LINUX] fix bug #82 USB dongle not recognized if plugged before power up)
-----------------------------------------------------------------------
Summary of changes:
.../2.6.29/281-apf27-armadeus-add_apf27.c.patch | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
index 5d60fd7..ab4a3df 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
@@ -804,7 +804,7 @@ Index: linux-2.6.29.6/arch/arm/mach-mx2/apf27-dev.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.29.6/arch/arm/mach-mx2/apf27-dev.c 2010-07-28 10:59:04.000000000 +0200
-@@ -0,0 +1,1147 @@
+@@ -0,0 +1,1139 @@
+ /*
+ * apf27-dev.c
+ * Support for AFP27 module's development baseboard
@@ -1575,14 +1575,6 @@ Index: linux-2.6.29.6/arch/arm/mach-mx2/apf27-dev.c
+ pr_debug("reset controller: 0x%08x\n", temp);
+ mdelay(10);
+
-+ /* force port powerup in case of connected device */
-+ temp = readl(IO_ADDRESS(OTG_BASE_ADDR) + 0x384);
-+ pr_debug("PORTSC1 before: 0x%08x\n", temp);
-+ temp &= ~(1 << 12);
-+ temp |= 1 << 12;
-+ writel(temp, IO_ADDRESS(OTG_BASE_ADDR) + 0x384);
-+ mdelay(10);
-+
+ return ret;
+}
+
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-09 12:32:03
|
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 84320e398fbaad78a9f870662d521fbaff67810c (commit)
from e3e86892b4cad49d358b0a9541368dca3f3a53b3 (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 84320e398fbaad78a9f870662d521fbaff67810c
Author: Nicolas Colombain <sal...@ar...-office>
Date: Mon Aug 9 14:31:17 2010 +0200
fix bug #83 (APF27 USB OTG PHY not recognized after Linux reboot)
-----------------------------------------------------------------------
Summary of changes:
.../2.6.29/281-apf27-armadeus-add_apf27.c.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
index d47bea5..5d60fd7 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/281-apf27-armadeus-add_apf27.c.patch
@@ -357,7 +357,7 @@ Index: linux-2.6.29.6/arch/arm/mach-mx2/apf27.c
+ temp |= 0x02;
+ writel(temp, IO_ADDRESS(OTG_BASE_ADDR) + UOG_USBCMD);
+ pr_debug("reset controller: 0x%08x\n", temp);
-+ mdelay(50);
++ mdelay(10);
+}
+
+static int otg_mode_host = 1;
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-09 12: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 e3e86892b4cad49d358b0a9541368dca3f3a53b3 (commit)
from 22065ceb09776c608bff55dea371e164bc9f5152 (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 e3e86892b4cad49d358b0a9541368dca3f3a53b3
Author: Nicolas Colombain <sal...@ar...-office>
Date: Mon Aug 9 14:27:59 2010 +0200
fix bug #83 (APF27 USB OTG PHY not recognized after Linux reboot)
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/apf27/apf27.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf27/apf27.h b/buildroot/target/device/armadeus/apf27/apf27.h
index 8135071..73ccca2 100644
--- a/buildroot/target/device/armadeus/apf27/apf27.h
+++ b/buildroot/target/device/armadeus/apf27/apf27.h
@@ -766,7 +766,7 @@
#define CFG_ICFB1_E_VAL 0xFFFFFFFF
#define CFG_ICFB2_E_VAL 0xFFFFFFFF
#define CFG_DR_E_VAL 0x00000000
-#define CFG_GIUS_E_VAL 0xFFFFCCF8
+#define CFG_GIUS_E_VAL 0xFCFFCCF8
#define CFG_ICR1_E_VAL 0x00000000
#define CFG_ICR2_E_VAL 0x00000000
#define CFG_IMR_E_VAL 0x00000000
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-03 17:25: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 22065ceb09776c608bff55dea371e164bc9f5152 (commit)
from 1e6902e9e37eaecbee314b99f11c4796645d554e (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 22065ceb09776c608bff55dea371e164bc9f5152
Author: nicolas colombain <nic...@ar...>
Date: Tue Aug 3 19:24:55 2010 +0200
add support for large nand file tftp download
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/apf27/apf27.h | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf27/apf27.h b/buildroot/target/device/armadeus/apf27/apf27.h
index 7126904..8135071 100644
--- a/buildroot/target/device/armadeus/apf27/apf27.h
+++ b/buildroot/target/device/armadeus/apf27/apf27.h
@@ -32,8 +32,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_ENV_VERSION "1.7"
-#define CONFIG_IDENT_STRING " apf27 patch 2.1"
+#define CONFIG_ENV_VERSION "1.8"
+#define CONFIG_IDENT_STRING " apf27 patch 2.2"
#define CONFIG_ARM926EJS 1 /* this is an ARM926EJS CPU */
#define CONFIG_IMX27 1 /* in a Freescale i.MX27 Chip */
@@ -206,13 +206,18 @@
" ${serverpath}${board_name}-rootfs.arm.jffs2\0" \
"update_uboot=run download_uboot flash_uboot\0" \
"update_kernel=run download_kernel flash_kernel\0" \
- "update_rootfs=run download_rootfs flash_rootfs\0" \
+ "update_rootfs=nand erase clean ${rootfs_offset} ${rootfs_len};" \
+ "if tftpboot ${rootfs_offset} ${serverpath}${board_name}-rootfs.arm.jffs2 nand ;"\
+ "then echo Flashing of rootfs succeed;" \
+ "else echo Flashing of rootfs failed;" \
+ "fi\0" \
"update_all=run download_kernel flash_kernel download_rootfs " \
"flash_rootfs download_uboot flash_uboot\0" \
"unlock_regs=mw 10000008 0; mw 10020008 0\0" \
#define CONFIG_BOOTCOMMAND "run jffsboot"
#define CFG_AUTOLOAD "no"
+#define CFG_DIRECT_FLASH_TFTP
#define CONFIG_MACH_TYPE MACH_TYPE_APF27
#define CONFIG_BOOT_PARAMS_ADDR 0xa0000100
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-03 17:23: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 1e6902e9e37eaecbee314b99f11c4796645d554e (commit)
from 34c2270040291acdde86c0d1b5258fccfc6678ac (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 1e6902e9e37eaecbee314b99f11c4796645d554e
Author: nicolas colombain <nic...@ar...>
Date: Tue Aug 3 19:16:29 2010 +0200
add support for large nand file tftp download
-----------------------------------------------------------------------
Summary of changes:
...u-boot-1.3.4-340-nand_large_file_download.patch | 209 ++++++++++++++++++++
1 files changed, 209 insertions(+), 0 deletions(-)
create mode 100644 buildroot/target/u-boot/u-boot-1.3.4-340-nand_large_file_download.patch
diff --git a/buildroot/target/u-boot/u-boot-1.3.4-340-nand_large_file_download.patch b/buildroot/target/u-boot/u-boot-1.3.4-340-nand_large_file_download.patch
new file mode 100644
index 0000000..a26b094
--- /dev/null
+++ b/buildroot/target/u-boot/u-boot-1.3.4-340-nand_large_file_download.patch
@@ -0,0 +1,209 @@
+--- ref/u-boot-1.3.4/common/cmd_net.c 2008-08-12 16:08:38.000000000 +0200
++++ u-boot-1.3.4/common/cmd_net.c 2010-08-03 18:00:51.000000000 +0200
+@@ -28,6 +28,9 @@
+ #include <command.h>
+ #include <net.h>
+
++
++int tftpboot2nand=0; /* set to 1 for tftp to nand direct */
++
+ extern int do_bootm (cmd_tbl_t *, int, int, char *[]);
+
+ static int netboot_common (proto_t, cmd_tbl_t *, int , char *[]);
+@@ -49,9 +52,9 @@ int do_tftpb (cmd_tbl_t *cmdtp, int flag
+ }
+
+ U_BOOT_CMD(
+- tftpboot, 3, 1, do_tftpb,
++ tftpboot, 4, 1, do_tftpb,
+ "tftpboot- boot image via network using TFTP protocol\n",
+- "[loadAddress] [[hostIPaddr:]bootfilename]\n"
++ "[loadAddress] [[hostIPaddr:]bootfilename] [nand]\n"
+ );
+
+ int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+@@ -157,6 +160,8 @@ netboot_common (proto_t proto, cmd_tbl_t
+ int rcode = 0;
+ int size;
+
++ tftpboot2nand = 0;
++
+ /* pre-set load_addr */
+ if ((s = getenv("loadaddr")) != NULL) {
+ load_addr = simple_strtoul(s, NULL, 16);
+@@ -179,7 +184,12 @@ netboot_common (proto_t proto, cmd_tbl_t
+
+ case 3: load_addr = simple_strtoul(argv[1], NULL, 16);
+ copy_filename (BootFile, argv[2], sizeof(BootFile));
++ break;
+
++ case 4: load_addr = simple_strtoul(argv[1], NULL, 16);
++ copy_filename (BootFile, argv[2], sizeof(BootFile));
++ if( strcmp(argv[3],"nand") == 0 )
++ tftpboot2nand = 1;
+ break;
+
+ default: printf ("Usage:\n%s\n", cmdtp->usage);
+--- ref/u-boot-1.3.4/net/tftp.c 2008-08-12 16:08:38.000000000 +0200
++++ u-boot-1.3.4/net/tftp.c 2010-08-03 18:01:04.000000000 +0200
+@@ -10,6 +10,11 @@
+ #include "tftp.h"
+ #include "bootp.h"
+
++#if defined(CONFIG_CMD_NAND)
++#include <nand.h>
++extern int tftpboot2nand;
++#endif
++
+ #undef ET_DEBUG
+
+ #if defined(CONFIG_CMD_NET)
+@@ -65,8 +70,10 @@ static char default_filename[DEFAULT_NAM
+ static char tftp_filename[MAX_LEN];
+
+ #ifdef CFG_DIRECT_FLASH_TFTP
++#ifndef CFG_NO_FLASH
+ extern flash_info_t flash_info[];
+ #endif
++#endif
+
+ /* 512 is poor choice for ethernet, MTU is typically 1500.
+ * Minus eth.hdrs thats 1468. Can get 2x better throughput with
+@@ -101,12 +108,109 @@ mcast_cleanup(void)
+
+ #endif /* CONFIG_MCAST_TFTP */
+
++
++
++int tftp_nand_write(nand_info_t *meminfo, uchar *src, unsigned long *offset )
++{
++ size_t written;
++ int ret;
++ loff_t offs;
++ int blockstart = -1;
++
++ /* find first non bad block */
++ do {
++ blockstart = (*offset) & (~meminfo->erasesize+1);
++ offs = blockstart;
++ ret = meminfo->block_isbad(meminfo, offs);
++
++ if (ret < 0) {
++ printf("Bad block check failed\n");
++ return -1;
++ }
++ if (ret == 1) {
++ (*offset) = blockstart + meminfo->erasesize;
++/* printf("\rBad block at 0x%lx "
++ "in erase block from "
++ "0x%x will be skipped. new offset %x\n",
++ (long) offs,
++ blockstart, *offset);*/
++ }
++ } while ((ret!=0) && (*offset < meminfo->size) );
++
++ if (*offset < meminfo->size)
++ /* write out the page data */
++ ret = meminfo->write(meminfo,
++ *offset,
++ meminfo->oobblock,
++ &written,
++ src);
++ if (ret != 0) {
++ printf("writing NAND page at offset 0x%lx failed\n",
++ *offset);
++ return -1;
++ }
++}
++
++static void tftp_2_nand(uchar * src, unsigned len)
++{
++ #define TFTP2NAND_BUFFER_SIZE 4096
++ static int temp_buf_offset;
++ static unsigned long nand_offset;
++ static u_char temp_buf[TFTP2NAND_BUFFER_SIZE];
++ int nand_page_size;
++ /* retrieve current nand infos */
++ nand_info_t *nand;
++ nand = &nand_info[nand_curr_device];
++
++ nand_page_size = nand->oobblock;
++ if ((nand_page_size<<1) > TFTP2NAND_BUFFER_SIZE) {
++ printf("error: NAND page size too big\n");
++ NetState = NETLOOP_FAIL;
++ return;
++ }
++
++ if ((TftpBlkSize<<1) > TFTP2NAND_BUFFER_SIZE) {
++ printf("error: tftp block size too big\n");
++ NetState = NETLOOP_FAIL;
++ return;
++ }
++
++
++ if (TftpBlock == 1) { /* reset local nand buffer */
++ temp_buf_offset = 0;
++ nand_offset = load_addr;
++ }
++
++ if (len)
++ (void)memcpy((void *)(temp_buf + temp_buf_offset), src, len);
++ temp_buf_offset += len;
++ if ((temp_buf_offset >= nand_page_size) || (!len) ){
++ if( tftp_nand_write(nand, temp_buf, &nand_offset) ){
++ NetState = NETLOOP_FAIL;
++ return;
++ }
++ nand_offset += nand_page_size;
++ if (len){
++ temp_buf_offset -= nand_page_size;
++ (void)memcpy((void *)(temp_buf), (void *)(temp_buf+nand_page_size), temp_buf_offset);
++ }
++ }
++}
++
++
+ static __inline__ void
+ store_block (unsigned block, uchar * src, unsigned len)
+ {
+ ulong offset = block * TftpBlkSize + TftpBlockWrapOffset;
+ ulong newsize = offset + len;
++
+ #ifdef CFG_DIRECT_FLASH_TFTP
++#ifdef CFG_NO_FLASH
++
++ if (tftpboot2nand) {
++ tftp_2_nand(src, len);
++ } else
++#else
+ int i, rc = 0;
+
+ for (i=0; i<CFG_MAX_FLASH_BANKS; i++) {
+@@ -126,6 +230,7 @@ store_block (unsigned block, uchar * src
+ }
+ }
+ else
++#endif /* CFG_NO_FLASH */
+ #endif /* CFG_DIRECT_FLASH_TFTP */
+ {
+ (void)memcpy((void *)(load_addr + offset), src, len);
+@@ -418,8 +523,18 @@ TftpHandler (uchar * pkt, unsigned dest,
+ * We received the whole thing. Try to
+ * run it.
+ */
++
++#ifdef CFG_DIRECT_FLASH_TFTP
++#ifdef CFG_NO_FLASH
++ /* complete write to nand with last buffer */
++ if (tftpboot2nand)
++ tftp_2_nand(NULL, 0);
++
++#endif /* CFG_NO_FLASH */
++#endif /* CFG_DIRECT_FLASH_TFTP */
++
+ puts ("\ndone\n");
+- NetState = NETLOOP_SUCCESS;
++ NetState = NETLOOP_SUCCESS;
+ }
+ break;
+
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2010-08-02 15:35:39
|
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 34c2270040291acdde86c0d1b5258fccfc6678ac (commit)
via ffb5ea57555fba74f038eb37f33bbc530f9012d2 (commit)
from f20db589db076737da92e8e9fd31bd2d0961626d (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 34c2270040291acdde86c0d1b5258fccfc6678ac
Author: Fabien Marteau <fab...@ar...>
Date: Mon Aug 2 17:31:08 2010 +0200
fix little patch bug
commit ffb5ea57555fba74f038eb37f33bbc530f9012d2
Author: Fabien Marteau <fab...@ar...>
Date: Mon Aug 2 17:11:14 2010 +0200
[linux] use as5011 joystick in low power mode
-----------------------------------------------------------------------
Summary of changes:
...us-joystick-adding_as5011_joystick_driver.patch | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/359-armadeus-joystick-adding_as5011_joystick_driver.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/359-armadeus-joystick-adding_as5011_joystick_driver.patch
index 63da72c..101a7f9 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/359-armadeus-joystick-adding_as5011_joystick_driver.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/359-armadeus-joystick-adding_as5011_joystick_driver.patch
@@ -5,8 +5,8 @@ Signed-off-by: Fabien Marteau <fab...@ar...>
Index: linux-2.6.29.6/drivers/input/joystick/as5011.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29.6/drivers/input/joystick/as5011.c 2010-07-08 10:43:14.000000000 +0200
-@@ -0,0 +1,428 @@
++++ linux-2.6.29.6/drivers/input/joystick/as5011.c 2010-08-02 17:22:53.000000000 +0200
+@@ -0,0 +1,429 @@
+/*
+ * Copyright (c) 2010 Fabien Marteau <fab...@ar...>
+ *
@@ -298,9 +298,8 @@ Index: linux-2.6.29.6/drivers/input/joystick/as5011.c
+ retval = as5011_i2c_write(plat_dat->i2c_client,
+ AS5011_CTRL1,
+ AS5011_CTRL1_LP_PULSED |
-+ //AS5011_CTRL1_LP_ACTIVE |
-+ //AS5011_CTRL1_INT_ACT_EN|
-+ AS5011_CTRL1_INT_WUP_EN
++ AS5011_CTRL1_LP_ACTIVE |
++ AS5011_CTRL1_INT_ACT_EN
+ );
+ if (retval < 0) {
+ dev_err(&plat_dat->i2c_client->dev,
@@ -363,6 +362,8 @@ Index: linux-2.6.29.6/drivers/input/joystick/as5011.c
+ /* to free irq gpio in chip*/
+ as5011_i2c_read(plat_dat->i2c_client, AS5011_X_RES_INT);
+
++ queue_work(plat_dat->workqueue, &plat_dat->update_axes_work);
++
+ return 0;
+
+ /* Error management */
@@ -438,7 +439,7 @@ Index: linux-2.6.29.6/drivers/input/joystick/as5011.c
Index: linux-2.6.29.6/drivers/input/joystick/Kconfig
===================================================================
--- linux-2.6.29.6.orig/drivers/input/joystick/Kconfig 2009-03-24 00:12:14.000000000 +0100
-+++ linux-2.6.29.6/drivers/input/joystick/Kconfig 2010-07-08 10:11:38.000000000 +0200
++++ linux-2.6.29.6/drivers/input/joystick/Kconfig 2010-08-02 15:30:09.000000000 +0200
@@ -254,6 +254,15 @@
To compile this driver as a module, choose M here: the
module will be called amijoy.
@@ -458,7 +459,7 @@ Index: linux-2.6.29.6/drivers/input/joystick/Kconfig
Index: linux-2.6.29.6/drivers/input/joystick/Makefile
===================================================================
--- linux-2.6.29.6.orig/drivers/input/joystick/Makefile 2009-03-24 00:12:14.000000000 +0100
-+++ linux-2.6.29.6/drivers/input/joystick/Makefile 2010-07-08 10:11:38.000000000 +0200
++++ linux-2.6.29.6/drivers/input/joystick/Makefile 2010-08-02 15:30:09.000000000 +0200
@@ -7,6 +7,7 @@
obj-$(CONFIG_JOYSTICK_A3D) += a3d.o
obj-$(CONFIG_JOYSTICK_ADI) += adi.o
@@ -470,7 +471,7 @@ Index: linux-2.6.29.6/drivers/input/joystick/Makefile
Index: linux-2.6.29.6/include/linux/as5011.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29.6/include/linux/as5011.h 2010-07-08 10:11:38.000000000 +0200
++++ linux-2.6.29.6/include/linux/as5011.h 2010-08-02 16:41:21.000000000 +0200
@@ -0,0 +1,72 @@
+#ifndef _AS5011_H
+#define _AS5011_H
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2010-08-01 15:38:45
|
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 f20db589db076737da92e8e9fd31bd2d0961626d (commit)
from d2c0a4daf0614bdd1b94e9f02131ce4c1d0bf69f (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 f20db589db076737da92e8e9fd31bd2d0961626d
Author: nicolas colombain <nic...@ar...>
Date: Sun Aug 1 17:38:03 2010 +0200
[KERNEL] fix fec_old ifconfig up/down bug #66
-----------------------------------------------------------------------
Summary of changes:
...f27-armadeus-fec-old_ifconfig_up_down_fix.patch | 47 ++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
create mode 100644 buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/362-apf27-armadeus-fec-old_ifconfig_up_down_fix.patch
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/362-apf27-armadeus-fec-old_ifconfig_up_down_fix.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/362-apf27-armadeus-fec-old_ifconfig_up_down_fix.patch
new file mode 100644
index 0000000..816c3a8
--- /dev/null
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/362-apf27-armadeus-fec-old_ifconfig_up_down_fix.patch
@@ -0,0 +1,47 @@
+Index: linux-2.6.29/drivers/net/fec_old.c
+===================================================================
+--- linux-2.6.29.orig/drivers/net/fec_old.c 2009-04-02 11:36:05.000000000 +0200
++++ linux-2.6.29/drivers/net/fec_old.c 2009-04-02 11:40:55.000000000 +0200
+@@ -2692,6 +2692,8 @@ static int fec_enet_open(struct net_devi
+ fep->sequence_done = 0;
+ fep->link = 0;
+
++ fec_restart(dev, 1);
++
+ if (fep->phy) {
+ mii_do_cmd(dev, fep->phy->ack_int);
+ mii_do_cmd(dev, fep->phy->config);
+@@ -2708,18 +2710,14 @@ static int fec_enet_open(struct net_devi
+ schedule();
+
+ mii_do_cmd(dev, fep->phy->startup);
+-
+- /* Set the initial link state to true. A lot of hardware
+- * based on this device does not implement a PHY interrupt,
+- * so we are never notified of link change.
+- */
+- fep->link = 1;
+- } else {
+- fep->link = 1; /* lets just try it and see */
+- /* no phy, go full duplex, it's most likely a hub chip */
+- fec_restart(dev, 1);
+ }
++ /* Set the initial link state to true. A lot of hardware
++ * based on this device does not implement a PHY interrupt,
++ * so we are never notified of link change.
++ */
++ fep->link = 1;
+
++ netif_start_queue(dev);
+ fep->opened = 1;
+ return 0; /* Success */
+ }
+@@ -3137,8 +3135,6 @@ static void fec_restart(struct net_devic
+ */
+ fecp->fec_ecntrl = 2;
+ fecp->fec_r_des_active = 0x01000000;
+-
+- netif_start_queue(dev);
+ }
+
+ static void fec_stop(struct net_device *dev)
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-07-30 14:10:30
|
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 annotated tag, release-3.3 has been created
at 35d0e47730afe5b5805edc14a767d75658e6ea27 (tag)
tagging d2c0a4daf0614bdd1b94e9f02131ce4c1d0bf69f (commit)
replaces release-3.2
tagged by Julien Boibessot
on Fri Jul 30 16:09:18 2010 +0200
- Log -----------------------------------------------------------------
Creating TAG for Armadeus 3.3 release
Eric Jarrige (2):
[UBOOT] Fix clock init to support bootstrap loader
Merge branch 'master' of ssh://jorasse@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Fabien Marteau (174):
[OTHERS] fix as_93lcxx lib bugs and clean indentation
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[OTHER] Changing spaces
[OTHER] spaces in AsDevices package
[OTHER] suppress warning and conform codings rules
[OTHER] quilt script messages update
[LINUX] spidev patch
[TOOLS] change quiltify script name
[LINUX] sign patch
[LINUX] Correct patch bug
[TOOLS] Suppress old named quilt script
[LINUX] Add comment to describe patch 339
[TOOLS] Adding eeprom 93lcxx test in AsDevices test program
[TOOL] AsDevice refactoring and bug correction in ad5258
[TOOL] little bug in ad5258 to be fixed
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Begin AMOLED p0340wql integration
[LINUX] Adding hx5116 and p0340wql amoled in default config
[LINUX] Adding spi3 in apf27-dev and manage spi with menuconfig
[LINUX] Fix little behavior bug in mxc_gpio_set()
[LINUX] Backport spi driver from 2.6.32.2 to use half duplex capabilities
[LINUX] Improve spi_gpio for single data pin
[LINUX] Not refreshed patches
[LINUX] Add comments for some patches
[LINUX] Patch 349 fixed
[LINUX] Fix spi_gpio patch
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[DEBUG] Adding imx-fpga communication testing program
[LINUX] Adding HX5116 Amoled driver in linux-menuconfig
[LINUX] Delete useless hx5116_backlight driver and improve hx5116.h for futur hx5116-display drivers that comming soon
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] fix Makefile include error
[LINUX] HX5116-display header improve. (adding reset function in structure
[LINUX] Add hx5116-display driver in ARMadeus specific drivers directory
[LINUX] Improve configuration file to add HX5116_DISPLAY
[LINUX] Suppress traces under spi_gpio driver
[LINUX] Adding timing initialization in hx5116_display driver
[LINUX] Suppressing backlight powering capability from hx5116_display driver (this capability must be in imx_fb driver)
[LINUX] suppress power_on function callback in hx5116.h
[LINUX] add backlight power switch capability in fb driver
[LINUX][MODULE] suppress debug message
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Default apf9328 configuration file correction
[linux] update apf9328 linux config file
[AsDevice] clean Makefile
[asdevices] Update Makefile
[asdevices] Update as_gpio library
[asdevices] Testbench corrections
[asdevices] Suppress apf27 reference in pwm lib
[asdevices] Fix makefile bug
[asdevices] Adding as_max1027 in progressâ¦
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[asdevices] Add platform parameter in compilation
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] fix makefile platform variable
[asdevices] Adding test for max1027
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Update max1027 header
[asdevices] Adding reading temperature capability in as_max1027
[asdevices] Adding reading channel capability in as_max1027, not tested yet
[LINUX] Fix comments
[as_devices] Coding rules
[as_devices] Comment wrapper options
[as_devices] Gpio python wrapper in progress
codings rules
[as_devices] AsGpio python wrapper in progress
[as_devices] Compiling gpio python wrapper low level api
[as_devices] Adding python gpio multiton class
[as_devices] python class asgpio in progress
[buildroot] adding python wrapper in menu
[as_devices] AsGpio python wrapper done
coding rules
[linux] Correcting comments in loadgpio.sh
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[linux] Suppress i2c debuging messages from i2c-mxc.c
[linux] Fix smsc95xx led output
[linux] Adding lan9500A in smsc95xx driver
[linux] Adding ioctl for gpio pullup resistor
Revert "[linux] Adding lan9500A in smsc95xx driver"
Revert "[linux] Fix smsc95xx led output"
[linux] smsc95xx: add additional USB product IDs
[linux] shrink lan95xx patch
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Suppressing old faulty patch
[linux][module] Adding irq configuration capability and suppress trailling white space
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[linux] Add comments in 347x patches
[linux] change patch comments
[linux][driver][gpio] Fix workaround
[linux][driver][gpio] Fix workaround (bis)
[linux] change gpio drivers version number
[linux] GPIO mask correction
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[AsDevices] Adding pullup capability (not tested) and suppress trailling white space
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[AsDevices] Add irq mode configuration function (not tested), suppress tab
[AsDevices] Add blocking read function (not tested), correct indent
indentation
[AsDevices] Adding irq and pullup function prototype for Python wrapper
[AsDevices] fix somes makefile bug
[asdevices] somes TODO in as_gpio python wrapper
[asdevices] suppressing spi tricks
cosmetic
Merge branch 'master' of git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[buildroot] Adding camera capture tool in demos package
[buildroot] fix some bugs in demos package
[buildroot] demo capture makefile correction
Adding image to test lcd
Merge branch 'master' of git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] GPIO IRQ tested
Merge branch 'master' of git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] as_max1027 SLOW mode done
Merge branch 'master' of git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] adding Digital to Analog Chip as_max5821, not fully tested
Merge branch 'master' of git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] as_max5821 tested, little bug fixed
[as_devices] as_pwm done and tested
[as_devices] some cosmetic modifications and errors messages
[as_devices] no longer in as_devices
[as_devices] as_spi: code done, test to be done
[kernel] Adding interrupt status read/write capability on gpio driver
[kernel] adding poll capability in gpio driver (for select() )
[as_devices] adding timeout for blocking read
Merge branch 'master' of git://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] deleting a debug message
[as_devices] Modify as_gpio to manage gpio pin independantly
[linux] Add pin management full capability on gpio driver module
merge
indentation
[kernel] fix some bugs in gpio driver, change version
[linux] change irq macro name for gpio driver
[linux] suppress both edge management in interrupt function for gpio driver
[as_devices] as_gpio: no code in header
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] ioctl changed
[linux] Fix bug in irq mode gpio configuration
[as_devices] Makefile cleaning
[as_devices] {} replaced by () in Makefiles
[as_devices] suppress -DAPFXX compilation option
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[as_devices] suppress -DAPFXX compilation option (bis)
[buildroot] update config file for package cwiid
[buildroot] update config file for package cwiid (apf9328)
[linux][i2c] adding_mangling_capability_on_i2c_mxc_driver
Indentation & comments
Suppress some indent modification
Cosmetic again
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[linux] adding_as5011_joystick_driver
parenthesis
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[linux] Working version of as5011 joystick driver
[package][as_devices] Change data lenght for spi msg command
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[package] Adding jstest and jscal joystick testing programs
[package][joysticktest] armadeus buildroot is too old for GENTARGETS makefile, use manual makefile instead
[buildroot] unselect joysticktest package in config file
[linux][as5011] Do not try to free tabular pointer
[buildroot] adding joysticktest package in cleanup script
[buildroot] Add pickit2 programer command line program
[buildroot] Fix pickit2 package bugs
[buildroot] Fix joysticktest package bug
[buildroot] Adding pickit2 in default configuration (not set)
[buildroot] patch 123 and 124 in the right order
[buildroot] Cleaning pickit2 package
[buildroot] sstrip pk2cmd
[buildroot] strip joysticktest commands
[buildroot] Fix TARGET bug in joysticktest package
[buildroot] fix joysticktest package bugs
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[buildroot] fix little bug in strip command for joystick and pickit2 patches
[buildroot] Put joysticktest package in the right place in menuconfig
Merge branch 'master' of ssh://fabm@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[buildroot] fix buildroot patches
Jaume Figeras (1):
[BUILDROOT] Add spanish keymap
Jeremie SCHEER (5):
Patch for uClibc : add the function trunc to avoid problems during Qt cross-compiling.
Merge branch 'master' of ssh://jscheer@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Add a button Quit in ts_test to be able to terminate the application even when SIGINT is not handled.
Merge branch 'master' of ssh://jscheer@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Full integration of Qt 4.5.3 in Buildroot :
Jeremie Scheer (2):
Change system timezone to France (CET+0).
Merge branch 'master' of ssh://jscheer@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Julien Boibessot (358):
[BUILDROOT] Improve GPM installation
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[OTHERS] Minor changes to AsDevice lib
[GIT] Ignore modified .so in target/packages/....
[LINUX] Add custom driver for MAX9768 audio amplifier
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Indentation
[BUILD] Updates .gitignore files
[TOOLS] Removes ambiguous message from quiltify.sh
[LINUX] Add support for i.MX27 internal keypad controller
[BUILDROOT] Makes Mesa compile again and be better installed (Thanks CimCim)
[BUILD] Add some more .gitignore files
[DEMOS] input_test now looks up in /usr/share/images/ too to load its image file
[DEMOS] Homogenize demos build & install
[BUILD] Updates some more .gitignore files
[BUILDROOT] Add an armadeus/ dir in package/ to store all Armadeus specific utilities/tools building. Add it demos stuff to start.
[BUILDROOT] Move TestSuite to newly created package/armadeus/
[BUILDROOT] Move Drivers Helpers to newly created package/armadeus/
[BUILDROOT] Rename armadeus-tests.mk
[BUILDROOT] Move imxssi to newly created package/armadeus/
[BUILDROOT] Move as_devices to newly created package/armadeus/
[BUILDROOT] Fix 070-add_ad9889ctl_package.patch due to recent moves of packages to armadeus/
[BUILDROOT] Fixes snes9x package build
[TOOLS] quiltify.sh: Check VCS used before launching correspondig status command
[BUILDROOT] Add a fix for uClibc 0.9.29 to be able to set speed > 115200 on serial terminal/port
[DEMOS] Add a new tool to seek LCD's dead pixels
[BUILDROOT] Add missing dependancies to demos
[BUILDROOT] Add 2 new mount points in default rootfs for removable media: /media/mmc and /media/usbdisk.
[LINUX] Make Linux 2.6.27 compiles on Ubuntu 9.10 (and probably other recent releases). Thanks Sebastien V.C. for the report.
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[TOOLS] Add a small script to ease installation on Debian like systems. Thanks Sebastien.
[LINUX] Move APF27Dev extension board support in a separate file. Ease UART selection for APF27 while we are at it.
[BUILDROOT] Updates APF27 Linux default configs for wireless extension
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[DEMOS] Fixes Config.in
[TOOLS] Cleanup Buildroot patches in a better way in quiltify.sh
[BUILDROOT] Makes Quake visible/selectable in menuconfig
[LINUX] Add better serial port configuration (RTS/CTS) + config hiding when options are not available. Add configuration options for Bluetooth and WiFi on wireless extension board (APW). Add preliminary power management for APW.
[LINUX] Renamed patch 342
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Add debug trace for GPIO allocation
[BUILDROOT] Updates APF27 default Linux config
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] mtd-utils GIT archive format has changed: handle the new one.
Indentation
[BUILDROOT] Add ALSA's arecord to default config
[TEST] Makes mmc_perf.sh usable with USB keys
[TEST] Rename mmc_perf.sh to media_perf.sh
[LINUX] On APF27 I2C1 bus configuration is baseboard specific, so move it from apf27.c to apf27-dev.c
[LINUX] apf9328: update default config with new LCDs
[LINUX] Makes MAX9768 driver more verbose when errors occur
[BUILD] improve target/linux/.gitignore
[TOOLS] Cleanup imxssi debug tool and add it Audio In -> Audio Out loop option
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Updates patch 344
[LINUX] Makes TSC2101 Audio In usable on APF27 + add corresponding ALSA mixer controls. It still remains a DMA problem to fix
[LINUX] max9768: add possibility to read back internal values through /sys/ (were write only before)
[LINUX] Backport some 2.6.3x convenient patches for LAN95xx
[LINUX] tsc2101/ALSA: makes DMA (for audio in) work
[TOOLS] quiltify.sh: Correct date of renamed dir
[LINUX] tsc2101: has a mono ADC but transmit data in 2 I2S channels to i.MX
[LINUX] Add version number to tsc210x alsa pcm driver
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[TOOLS] quiltify: works on 2.6.X.y Linux sources instead of 2.6.X ones
[BUILDROOT] Moves libsndfile to autotools infrastructure and bump version to 1.0.21 while we are at it.
[BUILDROOT] libsndfile: some refinements after moving to autotools infrastructure and 1.0.21 version
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Add uucp package (preliminary) + updates cleanup_buildroot.sh
[BUILD] Add U-Boot dir to armadeus global envt variables
[BUILD] Add U-Boot version to armadeus global envt variables
[TOOLS] Now U-Boot can be quiltified too
Updates APF27 default Buildroot config
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Indentation...
[LINUX] tsc210x: improve error messages
[LINUX] tsc210x/ALSA: increase ALSA PCM buffer
[LINUX] Previous changes on SPI (for spidev) broke the modprobing of tsc210x module. Corrects that...
[LINUX] Cleanup 339-apf27-armadeus-spidev.patch
[TEST] Add newline before asking something to user (for clarity)
[TEST] Add test for Audio In (when applicable)
[TEST] rename test_sound.sh to test_audio.sh
[TEST] rename test_sound.sh to test_audio.sh (part 2)
[LINUX] Add support for WiFi module of APW
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Remove old & obsolete APF27DevTest support
[TEST] Add a test for WiFi (only for APW for the moment)
[LINUX] Improve support of SDIO cards on APF27
[BUILDROOT] Adds Flite speech synthesis engine
Fixes patches/buildroot/cleanup_buildroot.sh
[TEST] Add default capture volume to test_audio.sh
[BUILDROOT] Move ad9889ctrl package to package/armadeus/
[BUILDROOT] Move ch7024ctrl & max5821ctrl packages to package/armadeus/
[BUILDROOT] Move fpgaregs package to package/armadeus/
[BUILDROOT] Move imxregs package to package/armadeus/
[BUILDROOT] Move freescale-tools package to package/armadeus/
Typo
[BUILDROOT] Cleanup patches after some packages moved in package/armadeus/
[BUILDROOT] Comments some uClibc patches
[BUILDROOT] Merge curl -> libcurl transition in one single patch
Updates buildroot/package/.gitignore
[BUILDROOT] Removes unused/unapplied sdl_ttf patch
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Patches cleanup
[LINUX] Fixes APW Bluetooth module init and UART5 GPIOs freeing. Thanks to Nicolas S.
[BUILDROOT] Updates APF27 default config
[BUILDROOT] [UCLIBC] Correct the times() system call: some return values are returned as errors but shouldn't
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Pygame's tslib patch doesn't work properly on *Ubuntu 9.10. Mark it as 'to fix'
[BUILDROOT] Makes TOPDIR an absolute path
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Make armadeus specific packages source dir relative to BR's TOPDIR and not BUILD_DIR (which is not stable between BR versions). Remove implicit uClibc dependancy while we are at it.
[BUILDROOT] Updates some patches comments
[BUILDROOT] Add patches to support upcoming 2010.02 BR version (some patches still require to be fixed)
[BUILDROOT] Add default configs for BR 2010.02 (apf27 & only for test)
[BUILDROOT] Add the possibility to choose Buildroot version + regroup configurable options in main Makefile
[BUILDROOT] Removes buildroot/package/mplayer/mplayer-1.0rc1-armv4.patch from GIT and replace it by a patch in buildroot/patches/
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Ports patch 099-mplayer-add_patch_for_pld_asm_instruction_on_non_armv5_arch.patch to 2010.02 BR
[BUILDROOT] Definitly remove no more used 'package/mplayer/' directory
[BUILDROOT] Add comments to uClibc-0.9.29-z-001-sysdeps-common-do_not_handle_times_syscall_return_value_as_standard_errors.patch
[BUILDROOT] Patch 050 is now ok for 2010.02
[BUILDROOT] [2010.02] Alternate download site is now integrated in BR (Backup site)
[BUILDROOT] [2010.02] Removes unneeded 035 patch
[BUILDROOT] Add comments to patch 049
[BUILDROOT] fbgrab depends on zlib
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] [2010.02] Removes unneeded 026-jffs2root.patch
[BUILDROOT] [2010.02] Updates cleanup_buildroot.sh
[BUILDROOT] [2010.02] Fixes 053-libusb.patch
Improve comments in quiltify.sh
[BUILDROOT] [2010.02] Makes 051/U-Boot patch work again by dividing it in functionnal sub-patches. Add a first U-Boot 1.3.4 fix for gcc 4.4 (from mainline).
[BUILDROOT] Don't uncompress .gitignore from BR archive if present
[U-BOOT] Make it linkable with gcc 4.3/4.4 EABI
[BUILDROOT] [2010.02] Updates apf27 default config
[BUILDROOT] [2010.02] Makes U-Boot binary renaming work again
Updates some .gitignore
Rename u-boot-unpacked target in u-boot-src-unpacked
[BUILDROOT] Fixes freescale-tools building due to recent packages move
[BUILDROOT] [2010.02] Makes Linux use the correct config file again
[BUILDROOT] [2010.02] Adapt main Makefile.in for new BR
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Moves buildroot/package/audio/madplay/madplay-audio-alsa.patch as a BR patch
[BUILDROOT] [2010.02] Updates apf27_defconfig
[TOOLS] Improves quiltify.sh for new BR handling and modify main Makefile accordingly
Updates buildroot/.gitignore
[BUILDROOT] [2010.02] Updates apf27_defconfig
[BUILDROOT] [2010.02] Add fixes to correctly build rsync and alsamixer
Updates cleanup_buildroot.sh
[BUILD] Add ARMADEUS_XENOMAI_DIR envt variable
[DEMOS] Updates real_time/Makefile.in
[LINUX] Comment some 2.6.29 patches
[U-Boot] Makes fw_setenv command work with NAND Flash
[DEBUG] imxregs: differentiates both ULPI viewports on i.MX27
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Indentation
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Add (preliminary) support for USB device functionnality of APF27 module
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] [2010.02] Updates to latest available snapshot
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] [2010.02] Makes mplayer compiles again (charset pb)
[BUILDROOT] [2010.02] Add custom config file for busybox 1.16.0
Indentation
Indentation
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[DEBUG] Cleanup imxregs build
[LINUX] Add 24MHz external clock support to TSC210x
Indentation
[DEMOS] Cleanup in oscillo & real_time/fractal
[LINUX] Cleanup PWM driver & add automatic /dev creation
[TESTS] Rename testpwm.sh to test_pwm.sh
[TESTS] Move test_pwm.sh to the test scripts dir
[TESTS] Transform test_pwm.sh in a release test
[BUILDROOT] Updates Imagemagick package to latest BR state
[BUILDROOT] toolchain/gcc: don't enable libssp support (as on BR mainline)
[LINUX] Indentation in 015-armadeus-logo-add_armadeus-project_tux.patch
[BUILDROOT] mkfs.ubifs depends on mtd-host
[LINUX] DM9000 chip is not an option on APF9328. Moreover, with this modification, DM9000 driver can now be used as module (Thanks to Cyril Wallois for the report and the correction idea)
[BUILDROOT] Finalizes support for BR 2010.02 version
[LINUX] Add the possibility to use the 2nd Audio/Mic input of the TSC2101 (when available)
[DEMOS] Add a small app to test V4L2 compatible cameras (capture images and display them on LCD)
[BUILDROOT] Convert toolchain makefiles to DOWNLOAD helper (uClibc 0.9.29 archive moved)
[LINUX] GPIO: Workaround compilation problem due to recent commits (grrrrr) + indentation
[DEMOS] Capture: improve doc
[DEMOS] Capture: link with libpthread otherwise runtime crash may occur
[DEMOS] Capture: add RGR565 support (default format) + the possibility to choose screen and picture sizes
Indentation
[LINUX] SoC camera: add driver for OV7670 sensors
[LINUX] Add ov7670_soc driver in default APF27 Linux configs
[DEMOS] Correct picture size bug in capture tool
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Bluez: remove no more needed serial port speed patch
[BUILDROOT] Add a new (hidden) BR2_CPU_NAME config variable and updates imxregs accordingly
[BUILDROOT] Busybox: add patch to be able to use serial speed of 921600 from stty
Updates cleanup_buildroot.sh
[LINUX] APW: Bluetooth RESET pin should be driven by userspace
[LINUX] gpio: correct bug while getting IRQ state & add fasync handling (thanks to CimCim for both)
[LINUX] gpio: correct bug in armadeus_gpio_dev_read() (thanks to CimCim) and apply Linux coding rules on some function names
[BUILDROOT] Add an infrastructure to install closed source linux-firmwares
[BUILDROOT] Add default config for linux-firmware
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Add backlight_control/.gitignore
[DEMOS] Add better error handling in capture app
[BUILDROOT] Add wpa_supplicant package (for 2008.11 Buildroot)
[BUILDROOT] Remove warnings in fbtest and uucp Config.in
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[TOOLS] Add gpio_helpers.sh to ease usage of gpio driver (extract of test_gpio.sh). New script will be located in /usr/bin/ on the target.
no comments...
[TEST] Improve media_perf.sh
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Correct bad dependencies in wpa_supplicant package
[LINUX] ov7670: change init/detect sequence
[TEST] Improves test_backlight.sh
[LINUX] Improve error message when failing to allocate a GPIO
[LINUX] ov7670: add possibility to read registers through /proc in DEBUG mode
[BUILDROOT] aumix SITE has changed
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Convert lsof to DOWNLOAD helper
Typo...
[DEMOS] Makes input_test quit correctly when using CTRL+Z+kill or CTRL+C. + Indentation
[DEMOS] capture: do not use double buffer as mx2fb do not support it yet
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] mx27camera: handles PIXCLK rising edge sampling
[BUILDROOT] Cleanup default /etc/profile
[LINUX] ov7670: improve suspend/resume.
[LINUX] ov7670: remove compilation warnings
Indentation
add .gitignore for target/demos/gps/
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
updates package/.gitignore
[TESTS] test_gpio.sh: use gpio_mode instead of setbit and test driver is correctly unloading
[BUILDROOT] Upgrade bluez to 3.36 and do a little cleanup while we are at it.
[BUILDROOT] uClibc: takes errno from kernel instead of redefining them
[BUILDROOT] Updates default configs
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Updates GCC optim & EABI flags selection for ARM926
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Move package/bluez -> package/bluez3, as there will be a bluez4 package
[BUILDROOT] bluez: improve package config/compilation
Indentation/cleanup
[BUILDROOT] strace: needs patches when compiled with EABI
[BUILDROOT] gcc 4.2.x: add support for --with-abi=aapcs-linux configure option
[BUILDROOT] Put correct BR2_GNU_TARGET_SUFFIX in apf27 BR default configs
[BUILDROOT] apf938: updates default configs
[BUILDROOT] Put correct BR2_GNU_TARGET_SUFFIX in apf9328 default configs
Updates cleanup_buildroot.sh
[LINUX] spi_imx: Add correct SPI clock calculation for i.MX27
[BUILDROOT] wolf3d: remove old unsupported version and replace it with wolf4SDL
[BUILDROOT] Add a file in rootfs to know armadeus bsp version used
[TESTS] Add test for Bluetooth
Indentation & code beautifying...
[UBOOT] removes thumb interworking warning when compiling U-Boot for apf9328
[TESTS] Add test for GPS (APW)
[BUILDROOT] Remove /mnt/mmc of target skeleton (use /media/mmc instead)
[BUILDROOT] Add new mount point for FLASH partitions (/mnt/flash)
[BUILDROOT] Busybox: add chat (Automated conversational script with a modem) to default configs
[TESTS] Add test for GSM MoDem (APW)
[BUILDROOT] Put correct as_devices version in package
[LINUX] Simplify gpio driver by removing all unneeded features (mostly on full port access)
[TESTS] gpio test doesn't need test_env.sh
[LINUX] gpio: rename core.h in gpio-dev.h
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Qt: bump version to 4.5.3
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[AS_DEVICES] Cleanup makefiles and makes install targets work
[BUILDROOT] Add openobex and ussp-push packages
Updates default configs
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] Add gpsd package
[BUILDROOT] Upgrade new BR support from 2010.02 to 2010.05 (part I)
[BUILDROOT] Upgrade new BR support from 2010.02 to 2010.05 (part II: patches apply)
[BUILDROOT] Upgrade new BR support from 2010.02 to 2010.05 (part III: updates apf9328 configs)
[BUILDROOT] Upgrade new BR support from 2010.02 to 2010.05 (part IV: updates patches so that they don't generate warnings when applied)
[BUILDROOT] Convert lmbench package as a patch
[BUILDROOT] Moves tslib modifications as patches against BR
[BUILDROOT] End of lmbench cleanup
Updates default BR configs
[BUILDROOT] unversion package/audio/
[BUILDROOT] Put openssh modifications as patch against BR
[BUILDROOT] Put sdl modifications as patch against BR
[BUILDROOT] move package/slideshow as patch against BR
[BUILDROOT] cleanup pyserial & move package as patch against BR
[BUILDROOT] move pymysql package as patch against BR
[BUILDROOT] move socketcan package as patch against BR
[BUILDROOT] move lcd4linux package as patch against BR
[BUILDROOT] move mesa package as patch against BR
[BUILDROOT] move snes9x package as patch against BR
[BUILDROOT] move sdlwater package as patch against BR
[BUILDROOT] move allegro package as patch against BR
[BUILDROOT] move fbgrab package as patch against BR
[BUILDROOT] move fbtest package as patch against BR
Correct small mistakes in recent packages moving
[BUILDROOT] Updates uucp & ussp-push packages patches
[BUILD] Add message when compiling of BSP is successful
[BUILDROOT] move xenomai package as patch against BR
[BUILDROOT] Add Cwiid package (wiimote control). Thanks YaGeek!
[BUILDROOT] [2010.05] Updates patches so that they apply without errors
[UCLIBC] Add patch for ftruncate64() pb on ARM EABI (uClibc 0.9.29)
Updates cleanup_buildroot.sh
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[BUILDROOT] [2010.05] Also adds Cwiid...
[BUILDROOT] [2010.05] Add some minor patches for arm926t arch
[BUILDROOT] [2010.05] Updates apf9328 & apf27 default configs
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Forgot a patch file when moving fbtest package as BR patch
[BUILDROOT] Continue the (not armadeus specific) packages moving to BR patches. Only bluez3 remains.
[LINUX] Add uinput driver in default configs
[BUILD] Makes Buildroot version choosable with "make BUILDROOT_VERSION=20xx.xx"
[BUILDROOT] [2010.05] Updates apf27 default config
[BUILDROOT] [2010.05] Reactivates Armadeus specific packages in menuconfig
[BUILDROOT] Bump NcFTP version to 3.2.4
[BUILDROOT] Add Hokuyo's URG series sensor control library/tools
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[DEMOS] capture: add yuv422_to_greyscale()
Updates default BR configs
The role of a patch is not to change the indentation of the patched file but rather try to be as small as possible in order to maintainable
[BUILDROOT] [2010.05] Makes the configurations correctly detected
[BUILD] Updates some envt variables for BR 2010.05
[BUILDROOT] [2010.05] Reactivates ad9889, fpgaregs and imxregs in default APF27 config
[LINUX] Add vivi (v4l test driver) to default apf27 configs
[BUILDROOT] [2010.05] Add pywebradio, e-uae & opentyrian packages
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] ov96xx: updates driver to make it more friendly with V4L apps
[BUILDROOT] [2010.05] Add series of patches from BR mainline to make ipsec-tools compiling better
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Updates apf9328_defconfig
[BUILDROOT] [2010.05] Add LBreakout2 and LTris games
[BUILDROOT] Updates apf27 test config
[LINUX] Add soc_camera driver for OV3640 and updates OV96xx & OV7670 ones
[LINUX] renames patch 319
[LINUX] Reorganizes patch 356 internals
[BUILDROOT] [2010.05] Increases pywebradio revision
[BUILDROOT] Updates freescale-tools package: now uses DOWNLOAD helper and copy libvpu to staging_dir
[LINUX] Updates apf27 linux default config and add OSS emulation
[BUILDROOT] [AS_DEVICES] Config.in: Indentation + spelling + 'n' is default value for options
[BUILD] Add As_Devices in release/changes.sh
Updates Changelog for 3.3 release
[LINUX] Makes ov96xx, ov7670 & ov3640 drivers compile when CONFIG_ADV_DEBUG is used
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Merge patches 344 & 339 into 281 one + add new correct OV96xx config define
[TOOLS] Add error message to gpio_set_value when corresponding /dev/gpio/PXnn is not available
[BUILDROOT] Updates apf9328_test configs
[LINUX] pwm ressources were badly registered on APF9328
[TEST] Updates test scripts for 3.3 release
[BUILDROOT] [2010.05] Partial revert of commit 8fce6241b14d37ad70de0aaf01cb014a7df7bf29: patch 132-xx was not appropriate for recent BR
[BUILDROOT] Rename patches 132 (qt full integration) until it is fixed
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
Correct error from commit 75d48b481b760316c8f332e0b8296585a9540dcd
[BUILDROOT] ed: bump version and convert to autotools
Updates Changelog
[BUILDROOT] Updates apf27_test configs
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[LINUX] Updates apf27_test default config
[TEST] Updates scripts for 3.3 release
[BUILDROOT] Bump /etc/armadeus-version to 3.3
Nicolas Colombain (1):
[LINUX] tsc210x: improve suspend/resume
Olivier Reynet (1):
[LINUX] Makes dma_test driver compile again
gwenhael (2):
[XENOMAI][PACKAGE] Patch to prevent System freeze on mxc with gpio generated interrupts
[XENOMAI][PACKAGE] Renamed patch for distinguish if it need before or after adeos and Xenomai modifications
jorasse (21):
added default apf9328 to be used with new buildroot
added default uclibc config for new buildroot
improved apf9328 default configuration to be used with new buildroot
[Buildroot] Fixed apf27 UBoot boardname
[U-Boot] fixed apf9328 GCC4.4.x EABI compilation issues
[U-Boot] update rules to generate U-Boot binary files
[U-Boot] added U-Boot 2010.03-rc2 support for apf9328
[BUILDROOT] restore target_suffix original value
[BUILDROOT] update apf default configuration
[BUILDROOT] delete backup files
[UBoot] Changed default U-Boot name of config file to support multiple U-Boot versions
Merge branch 'master' of ssh://jorasse@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[UBoot] Fixed file naming convention
Fixed default uboot configuration with regular buildroot release
[UBoot] APF27 migration to U-Boot 2010.03
Merge branch 'master' of ssh://jorasse@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[UBoot] move to the U-Boot release 2010.03
[BUILDROOT] Fixed buildroot 2010.02 compilation failure on Ubuntu
[BIULDROOT] support ubifs with buildroot 2010.02
Merge branch 'master' of ssh://jorasse@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
[U-Boot] set active partition on rootsfs to support fsload, ls..
nicolas colombain (7):
[U-BOOT] add zero boot delay check
[LINUX] add suspend/resume for APF27 USB PHY
[LINUX] max1027: allow CNVST pin to be used in low speed mode
[LINUX] fix suspend/resume of hrtimer. Must be corrected in 2.6.32
[LINUX] max1027 code cleanup
[LINUX] add comment to timekeeping patch
[LINUX] change tsc2102 precharge time
-----------------------------------------------------------------------
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-07-30 13:58:41
|
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 d2c0a4daf0614bdd1b94e9f02131ce4c1d0bf69f (commit)
from ab99d5bec78d466a999a966ef1d5cd8157bb6632 (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 d2c0a4daf0614bdd1b94e9f02131ce4c1d0bf69f
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 15:58:11 2010 +0200
[BUILDROOT] Bump /etc/armadeus-version to 3.3
-----------------------------------------------------------------------
Summary of changes:
.../rootfs/target_skeleton/etc/armadeus-version | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version b/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version
index 2b29883..eb39e53 100644
--- a/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version
+++ b/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/armadeus-version
@@ -1 +1 @@
-3.2-git
+3.3
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-07-30 13:39: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 ab99d5bec78d466a999a966ef1d5cd8157bb6632 (commit)
from a2ad94b627946175314567664c95c29b57e0d3e1 (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 ab99d5bec78d466a999a966ef1d5cd8157bb6632
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 15:38:51 2010 +0200
[TEST] Updates scripts for 3.3 release
-----------------------------------------------------------------------
Summary of changes:
target/test/packages/test_madplay.sh | 4 ++--
target/test/packages/test_sdl.sh | 2 +-
target/test/packages/test_slideshow.sh | 2 +-
target/test/test_audio.sh | 6 +++---
target/test/test_pwm.sh | 2 +-
target/test/test_release.sh | 2 ++
6 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/target/test/packages/test_madplay.sh b/target/test/packages/test_madplay.sh
index e8c1c00..1bd7c9a 100755
--- a/target/test/packages/test_madplay.sh
+++ b/target/test/packages/test_madplay.sh
@@ -18,7 +18,7 @@ source ./test_env.sh
# Requires: ALSA & Internet access
#DEBUG=True
EXEC_NAME="madplay"
-FILE_WEB_ADDRESS="http://www.armadeus.com//assos_downloads/misc/mozart.mp3"
+FILE_WEB_ADDRESS="http://www.armadeus.com/assos_downloads/misc/mozart.mp3"
MUSIC_FILE_NAME="$TEMP_DIR/mozart.mp3"
test_madplay()
@@ -47,11 +47,11 @@ test_madplay()
if [ "$?" == 0 ]; then
sleep 10
ask_user "Was music correctly played ? (y/N)"
+ kill $PID
if [ "$response" == "y" ] || [ "$response" == "yes" ]; then
echo_test_ok
exit 0
fi
- kill $PID
fi
exit_failed
diff --git a/target/test/packages/test_sdl.sh b/target/test/packages/test_sdl.sh
index 9828c50..441cc14 100755
--- a/target/test/packages/test_sdl.sh
+++ b/target/test/packages/test_sdl.sh
@@ -36,7 +36,7 @@ test_sdlwater()
$EXEC_NAME /usr/share/images/water320.bmp 1>/dev/null &
echo "Please touch the LCD screen"
sleep 5
- ask_user "Did you manage to draw water circles ? (y/N)"
+ ask_user "Did you manage to draw circles in water ? (y/N)"
if [ "$response" == "y" ] || [ "$response" == "yes" ]; then
echo_test_ok
test_cleanup
diff --git a/target/test/packages/test_slideshow.sh b/target/test/packages/test_slideshow.sh
index 710a7c0..8279b65 100755
--- a/target/test/packages/test_slideshow.sh
+++ b/target/test/packages/test_slideshow.sh
@@ -17,7 +17,7 @@ source ./test_env.sh
# Requires: test_sdl.sh
# Validates: libpng & slideshow
EXEC_NAME="slideshow"
-TEST_FILE="../data/images/"
+TEST_DIR="../data/images/"
test_slideshow()
{
diff --git a/target/test/test_audio.sh b/target/test/test_audio.sh
index e40b2ca..dbc0c21 100755
--- a/target/test/test_audio.sh
+++ b/target/test/test_audio.sh
@@ -54,9 +54,9 @@ test_audio()
execute_for_target end_of_test_for_apf9328 continue_for_apf27
- ask_user "Please connect a microphone to the Audio In connector (bottom on APF27). Then press ENTER."
- amixer cset numid=6 on
- amixer cset numid=5 30
+ ask_user "Please connect a microphone to the Audio In connector (bottom one on APF27). Then press ENTER."
+ amixer cset numid=7 on
+ amixer cset numid=6 30
ask_user "You will now have to speak in the MIC. The sampled sound will then be played back. Press ENTER when ready to speak."
# Stereo 16bits @ 16KHz
arecord -r 16000 -f S16_LE -c 2 $TEMP_FILE & pid=$!
diff --git a/target/test/test_pwm.sh b/target/test/test_pwm.sh
index 89ca840..1f72d99 100755
--- a/target/test/test_pwm.sh
+++ b/target/test/test_pwm.sh
@@ -33,7 +33,7 @@ prepare_test_for_apf9328()
prepare_test_for_apf27()
{
- ask_user "Please connect your oscilloscope probe to pin 4 of J22 connector, then press ENTER when ready"
+ ask_user "Please connect your oscilloscope probe to pin 4 of J22 connector (GND is on pin 6 or 40), then press ENTER when ready"
}
test_pwm()
diff --git a/target/test/test_release.sh b/target/test/test_release.sh
index 826a9a0..bd169f9 100755
--- a/target/test/test_release.sh
+++ b/target/test/test_release.sh
@@ -67,6 +67,8 @@ $THIS_DIR/test_pwm.sh
echo
$THIS_DIR/media_perf.sh speed
rm /tmp/data.bin
+echo
+$THIS_DIR/test_wifi.sh
# Following tests needs Internet access:
ask_user "I will now try to configure Internet access. Press ENTER when ready"
$THIS_DIR/dhcp.sh
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-07-30 12:26:51
|
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 a2ad94b627946175314567664c95c29b57e0d3e1 (commit)
from 8b91dd9ad7eb7d07295d907820ae1f731a01928c (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 a2ad94b627946175314567664c95c29b57e0d3e1
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 14:26:06 2010 +0200
[LINUX] Updates apf27_test default config
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf27_test/linux-2.6.29.4.config | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/buildroot/local/apf27_test/linux-2.6.29.4.config b/buildroot/local/apf27_test/linux-2.6.29.4.config
index 6b93193..a1b9e57 100644
--- a/buildroot/local/apf27_test/linux-2.6.29.4.config
+++ b/buildroot/local/apf27_test/linux-2.6.29.4.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29.6
-# Thu Jul 22 23:36:31 2010
+# Fri Jul 30 14:21:48 2010
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -196,7 +196,13 @@ CONFIG_MACH_APF27_DEV_EXT=y
CONFIG_MACH_APF27_DEV_EXT_WIRELESS=y
CONFIG_MACH_APF27_DEV_EXT_WIRELESS_GSM=y
CONFIG_MACH_APF27_DEV_EXT_WIRELESS_BT_WIFI=y
+CONFIG_MACH_APF27_DEV_EXT_WIRELESS_WIFI=y
+# CONFIG_MACH_APF27_DEV_EXT_WIRELESS_BT is not set
CONFIG_MACH_APF27_DEV_EXT_WIRELESS_GPS=y
+
+#
+# Please check that J3 is plugged in
+#
# CONFIG_MXC_IRQ_PRIOR is not set
CONFIG_MXC_ULPI=y
@@ -829,9 +835,12 @@ CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
CONFIG_SERIAL_IMX_UART1=y
CONFIG_SERIAL_IMX_UART2=y
+CONFIG_SERIAL_IMX_UART2_USE_RTSCTS=y
CONFIG_SERIAL_IMX_UART3=y
CONFIG_SERIAL_IMX_UART5=y
+# CONFIG_SERIAL_IMX_UART5_USE_RTSCTS is not set
CONFIG_SERIAL_IMX_UART6=y
+# CONFIG_SERIAL_IMX_UART6_USE_RTSCTS is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-07-30 08:52:22
|
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 8b91dd9ad7eb7d07295d907820ae1f731a01928c (commit)
via 699e4863c73481980e79cc7e22657a0515028a4f (commit)
from e8573feeb280196b0b41107f86fba14aad023760 (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 8b91dd9ad7eb7d07295d907820ae1f731a01928c
Merge: 699e4863c73481980e79cc7e22657a0515028a4f e8573feeb280196b0b41107f86fba14aad023760
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 10:51:42 2010 +0200
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
commit 699e4863c73481980e79cc7e22657a0515028a4f
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 10:45:11 2010 +0200
[BUILDROOT] Updates apf27_test configs
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf27_test/linux-2.6.29.4.config | 8 +++++---
buildroot/local/apf27_test/u-boot/apf27.h | 11 ++++++-----
buildroot/local/apf27_test/uclibc-0.9.29.config | 11 ++++++-----
3 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/buildroot/local/apf27_test/linux-2.6.29.4.config b/buildroot/local/apf27_test/linux-2.6.29.4.config
index e897f72..6b93193 100644
--- a/buildroot/local/apf27_test/linux-2.6.29.4.config
+++ b/buildroot/local/apf27_test/linux-2.6.29.4.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29.6
-# Wed Jun 30 15:23:25 2010
+# Thu Jul 22 23:36:31 2010
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -1098,7 +1098,6 @@ CONFIG_VIDEO_CAPTURE_DRIVERS=y
# Video decoders
#
# CONFIG_VIDEO_OV7670 is not set
-CONFIG_VIDEO_OV96xx=m
# CONFIG_VIDEO_TCM825X is not set
# CONFIG_VIDEO_SAA711X is not set
# CONFIG_VIDEO_SAA717X is not set
@@ -1136,8 +1135,10 @@ CONFIG_SOC_CAMERA=m
# CONFIG_SOC_CAMERA_MT9V022 is not set
# CONFIG_SOC_CAMERA_TW9910 is not set
# CONFIG_SOC_CAMERA_PLATFORM is not set
-# CONFIG_SOC_CAMERA_OV772X is not set
+# CONFIG_SOC_CAMERA_OV3640 is not set
CONFIG_SOC_CAMERA_OV7670=m
+# CONFIG_SOC_CAMERA_OV772X is not set
+CONFIG_SOC_CAMERA_OV96XX=m
# CONFIG_V4L_USB_DRIVERS is not set
CONFIG_VIDEO_MX27=m
# CONFIG_RADIO_ADAPTERS is not set
@@ -1482,6 +1483,7 @@ CONFIG_ARMADEUS_WISHBONE_EXAMPLE_IRQ_MNGR_DRIVER=m
#
CONFIG_ARMADEUS_PWM_DRIVER=m
CONFIG_IMX_BACKLIGHT=m
+# CONFIG_HX5116_DISPLAY is not set
#
# Communication bus related
diff --git a/buildroot/local/apf27_test/u-boot/apf27.h b/buildroot/local/apf27_test/u-boot/apf27.h
index a35de4b..82674e6 100644
--- a/buildroot/local/apf27_test/u-boot/apf27.h
+++ b/buildroot/local/apf27_test/u-boot/apf27.h
@@ -32,7 +32,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_ENV_VERSION "1.6"
+#define CONFIG_ENV_VERSION "1.7"
#define CONFIG_IDENT_STRING " apf27 patch 2.1"
#define CONFIG_ARM926EJS 1 /* this is an ARM926EJS CPU */
@@ -111,6 +111,7 @@
* Boot options. Setting delay to -1 stops autostart count down.
*/
#define CONFIG_BOOTDELAY 20
+#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_BOOTARGS \
CONFIG_CONSOLE " root=/dev/mtdblock4 rootfstype=jffs2 " MTDPARTS_DEFAULT
@@ -129,7 +130,7 @@
"filesize=" MK_STR(CFG_MONITOR_LEN) "\0" \
"console=" CONFIG_CONSOLE "\0" \
"mtdparts=" MTDPARTS_DEFAULT "\0" \
- "partition=nand0,3\0" \
+ "partition=nand0,4\0" \
"uboot_offset=" MK_STR(CFG_MONITOR_OFFSET) "\0" \
"uboot_len=" MK_STR(CFG_MONITOR_LEN) "\0" \
"env_offset=" MK_STR(CFG_ENV_OFFSET) "\0" \
@@ -333,7 +334,7 @@
#define CONFIG_SSI2_FREQ 66 /* 66.50 MHz SSI2*/
#define CONFIG_MSHC_FREQ 66 /* 66.50 MHz MSHC*/
#define CONFIG_H264_FREQ 66 /* 66.50 MHz H264*/
-#define CONFIG_CLK0_DIV 0 /* Divide CLK0 by 1 */
+#define CONFIG_CLK0_DIV 3 /* Divide CLK0 by 4 */
#define CONFIG_CLK0_EN 1 /* CLK0 enabled */
/* external bus frequency (have to be a CONFIG_HCLK_FREQ ratio) */
@@ -670,7 +671,7 @@
#define CFG_CS4A_VAL 0
/* FPGA 16 bit data bus */
-#define CFG_CS5U_VAL 0x00000500
+#define CFG_CS5U_VAL 0x00000600
#define CFG_CS5L_VAL 0x00000D01
#define CFG_CS5A_VAL 0
@@ -678,7 +679,7 @@
/* FPGA specific settings */
/* CLKO */
-#define CFG_CCSR_VAL 0x00000308
+#define CFG_CCSR_VAL 0x00000305
/* drive strength CLKO set to 2*/
#define CFG_DSCR10_VAL 0x00020000
/* drive strength A1..A12 set to 2*/
diff --git a/buildroot/local/apf27_test/uclibc-0.9.29.config b/buildroot/local/apf27_test/uclibc-0.9.29.config
index fb1786a..5f2ca36 100644
--- a/buildroot/local/apf27_test/uclibc-0.9.29.config
+++ b/buildroot/local/apf27_test/uclibc-0.9.29.config
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Tue Jun 2 12:39:28 2009
+# Mon Nov 3 21:39:03 2008
#
# TARGET_alpha is not set
TARGET_arm=y
@@ -33,14 +33,15 @@ TARGET_ARCH="arm"
FORCE_OPTIONS_FOR_ARCH=y
# CONFIG_ARM_OABI is not set
CONFIG_ARM_EABI=y
-CONFIG_GENERIC_ARM=y
+# USE_BX is not set
+# CONFIG_GENERIC_ARM is not set
# CONFIG_ARM610 is not set
# CONFIG_ARM710 is not set
# CONFIG_ARM7TDMI is not set
# CONFIG_ARM720T is not set
# CONFIG_ARM920T is not set
# CONFIG_ARM922T is not set
-# CONFIG_ARM926T is not set
+CONFIG_ARM926T=y
# CONFIG_ARM10T is not set
# CONFIG_ARM1136JF_S is not set
# CONFIG_ARM1176JZ_S is not set
@@ -85,7 +86,7 @@ LDSO_BASE_FILENAME="ld.so"
UCLIBC_CTOR_DTOR=y
# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
-# PTHREADS_DEBUG_SUPPORT is not set
+PTHREADS_DEBUG_SUPPORT=y
LINUXTHREADS_OLD=y
UCLIBC_HAS_LFS=y
# MALLOC is not set
@@ -97,7 +98,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
# UCLIBC_SUSV3_LEGACY is not set
# UCLIBC_SUSV3_LEGACY_MACROS is not set
UCLIBC_HAS_SHADOW=y
-UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
+# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
UCLIBC_HAS___PROGNAME=y
# UNIX98PTY_ONLY is not set
ASSUME_DEVPTS=y
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2010-07-29 23:17:41
|
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 e8573feeb280196b0b41107f86fba14aad023760 (commit)
via 5a4307b1553109f69d90d73e6a7ad9ef2278ed35 (commit)
from 598b84aa1896f023f56737ac16356af31e1c84e7 (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 e8573feeb280196b0b41107f86fba14aad023760
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 01:15:59 2010 +0200
Updates Changelog
commit 5a4307b1553109f69d90d73e6a7ad9ef2278ed35
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 30 01:15:06 2010 +0200
[BUILDROOT] ed: bump version and convert to autotools
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 18 ++++-
...-ed-bump_version_and_convert_to_autotools.patch | 72 ++++++++++++++++++++
2 files changed, 87 insertions(+), 3 deletions(-)
create mode 100644 patches/buildroot/127-ed-bump_version_and_convert_to_autotools.patch
diff --git a/ChangeLog b/ChangeLog
index 92f1702..c0ecae0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,12 +9,19 @@ Changes in release 3.3 (no due date yet)
* Wiki dump available here: http://www.armadeus.com/assos_downloads/wiki/armadeus-3.3_wiki_dump.tar.gz
* Corrected Tickets/Bugs:
+ #58 max1027 driver crash with scheduling error
+ #60 Add Bluez (Bluetooth stack) support to Buildroot
+ #70 Cannot download ed-0.8
+ #75 Make the 6 serial ports on APF27 selectable in Linux menuconfig
* Buildroot:
- Main changes: Preliminary support of BR 2010.05, APW support (Bluetooth, WiFi, GSM & GPS),
- toolchain moved to EABI by default, wiimote support, liburg, Qt 4.5.3
+ Main changes: Preliminary support of BR 2010.05, APW support (Bluetooth (bluez), WiFi (wpa_supplicant, GSM & GPS (gpsd)),
+ toolchain moved to EABI by default, wiimote support, liburg, Qt 4.5.3, move most packages as patches to
+ ease BR mainline integration, custom armadeus packages now have a custom dir/menu
List of all changes:
+ - ed: bump version and convert to autotools
+ - Updates apf9328_test configs
- [AS_DEVICES] Config.in: Indentation + spelling + 'n' is default value for options
- Updates freescale-tools package: now uses DOWNLOAD helper and copy libvpu to staging_dir
- Updates apf27 test config
@@ -162,6 +169,9 @@ Changes in release 3.3 (no due date yet)
Main changes: Better CMOS Camera & APW support, GPIO driver simplified, as5011 driver,
USB device, better audio & keypad support on APF27, hs5116 driver, max9768 driver
List of all changes:
+ - pwm ressources were badly registered on APF9328
+ - Merge patches 344 & 339 into 281 one + add new correct OV96xx config define
+ - Makes ov96xx, ov7670 & ov3640 drivers compile when CONFIG_ADV_DEBUG is used
- Updates apf27 linux default config and add OSS emulation
- Makes dma_test driver compile again
- Reorganizes patch 356 internals
@@ -305,6 +315,7 @@ Changes in release 3.3 (no due date yet)
- Adding imx-fpga communication testing program
- Cleanup imxssi debug tool and add it Audio In -> Audio Out loop option
* Test:
+ - Updates test scripts for 3.3 release
- Improves test_backlight.sh
- Improve media_perf.sh
- Add default capture volume to test_audio.sh
@@ -324,7 +335,8 @@ Changes in release 3.3 (no due date yet)
- Transform test_pwm.sh in a release test
- Move test_pwm.sh to the test scripts dir
* Tools:
- - Add gpio_helpers.sh to ease usage of gpio driver (extract of test_gpio.sh). New script will be located in /usr/bin/ on the target.
+ - Add gpio_helpers.sh to ease usage of gpio driver (extract of test_gpio.sh). New script will be located in /usr/bin/ on the target
+ - Add error message to gpio_set_value when corresponding /dev/gpio/PXnn is not available
- Improves quiltify.sh for new BR handling and modify main Makefile accordingly
- Now U-Boot can be quiltified too
- quiltify: works on 2.6.X.y Linux sources instead of 2.6.X ones
diff --git a/patches/buildroot/127-ed-bump_version_and_convert_to_autotools.patch b/patches/buildroot/127-ed-bump_version_and_convert_to_autotools.patch
new file mode 100644
index 0000000..65224e2
--- /dev/null
+++ b/patches/buildroot/127-ed-bump_version_and_convert_to_autotools.patch
@@ -0,0 +1,72 @@
+From 86884df4d1cb014122f4e59422bc5b5f69c66e9d Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <ja...@su...>
+Date: Fri, 09 Jan 2009 13:35:16 +0000
+Subject: ed: bump version, convert to Makefile.autotools.in format
+
+---
+diff --git a/package/editors/ed/ed.mk b/package/editors/ed/ed.mk
+index 237e78a..d9960db 100644
+--- a/package/editors/ed/ed.mk
++++ b/package/editors/ed/ed.mk
+@@ -3,57 +3,8 @@
+ # ed
+ #
+ #############################################################
+-ED_VERSION:=0.8
++ED_VERSION:=1.1
+ ED_SOURCE:=ed-$(ED_VERSION).tar.bz2
+ ED_SITE:=$(BR2_GNU_MIRROR)/ed/
+-ED_CAT:=$(BZCAT)
+-ED_DIR:=$(BUILD_DIR)/ed-$(ED_VERSION)
+-ED_BINARY:=ed
+-ED_TARGET_BINARY:=bin/ed
+
+-$(DL_DIR)/$(ED_SOURCE):
+- $(WGET) -P $(DL_DIR) $(ED_SITE)/$(ED_SOURCE)
+-
+-$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE)
+- $(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+- toolchain/patch-kernel.sh $(ED_DIR) package/editors/ed/ ed-\*.patch
+- touch $@
+-
+-$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
+- (cd $(ED_DIR); rm -rf config.cache; \
+- $(TARGET_CONFIGURE_OPTS) \
+- $(TARGET_CONFIGURE_ARGS) \
+- ./configure \
+- --target=$(GNU_TARGET_NAME) \
+- --host=$(GNU_TARGET_NAME) \
+- --build=$(GNU_HOST_NAME) \
+- --prefix=/usr \
+- --exec-prefix=/usr \
+- )
+- touch $@
+-
+-$(ED_DIR)/$(ED_BINARY): $(ED_DIR)/.configured
+- $(MAKE) CC=$(TARGET_CC) -C $(ED_DIR)
+-
+-$(TARGET_DIR)/$(ED_TARGET_BINARY): $(ED_DIR)/$(ED_BINARY)
+- $(INSTALL) -D $(ED_DIR)/$(ED_BINARY) $(TARGET_DIR)/$(ED_TARGET_BINARY)
+-
+-ed: uclibc $(TARGET_DIR)/$(ED_TARGET_BINARY)
+-
+-ed-source: $(DL_DIR)/$(ED_SOURCE)
+-
+-ed-clean:
+- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(ED_DIR) uninstall
+- -$(MAKE) -C $(ED_DIR) clean
+-
+-ed-dirclean:
+- rm -rf $(ED_DIR)
+-
+-#############################################################
+-#
+-# Toplevel Makefile options
+-#
+-#############################################################
+-ifeq ($(strip $(BR2_PACKAGE_ED)),y)
+-TARGETS+=ed
+-endif
++$(eval $(call AUTOTARGETS,package/editors,ed))
+--
+cgit v0.8.2.1
hooks/post-receive
--
armadeus
|