armadeus-commitlog Mailing List for armadeus (Page 118)
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: jorasse <jo...@us...> - 2009-08-10 20:46: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 9f38ed15da88743af6c2133b31694568c5764211 (commit)
from a402d10e7d48db062a0cf712e8b69b4164148e4d (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 9f38ed15da88743af6c2133b31694568c5764211
Author: jorasse <jo...@ar...>
Date: Mon Aug 10 22:44:54 2009 +0200
[BUILDROOT] make ubifs patch apply after update of git local view
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/ubifs/mkfs-ubifs-head.patch | 43 ++++++++++++++++++++++++
patches/076-buildroot-ubifs.diff | 46 --------------------------
2 files changed, 43 insertions(+), 46 deletions(-)
create mode 100644 buildroot/target/ubifs/mkfs-ubifs-head.patch
diff --git a/buildroot/target/ubifs/mkfs-ubifs-head.patch b/buildroot/target/ubifs/mkfs-ubifs-head.patch
new file mode 100644
index 0000000..07f3bab
--- /dev/null
+++ b/buildroot/target/ubifs/mkfs-ubifs-head.patch
@@ -0,0 +1,43 @@
+diff -purN mkfs-ubifs-HEAD/mkfs.ubifs.h mkfs-ubifs-HEAD.new/mkfs.ubifs.h
+--- mkfs-ubifs-HEAD/mkfs.ubifs.h 2008-08-12 10:34:49.000000000 +0200
++++ mkfs-ubifs-HEAD.new/mkfs.ubifs.h 2009-06-07 11:53:18.000000000 +0200
+@@ -35,6 +35,7 @@
+ #include <byteswap.h>
+ #include <linux/types.h>
+ #include <linux/fs.h>
++#include <linux/ext2_fs.h>
+
+ #include <getopt.h>
+ #include <sys/types.h>
+@@ -70,6 +71,31 @@
+ #error MKFS_UBIFS_COMPR_ZLIB != UBIFS_COMPR_ZLIB
+ #endif
+
++#ifndef FS_COMPR_FL
++#define FS_COMPR_FL EXT2_COMPR_FL
++#endif
++
++#ifndef FS_SYNC_FL
++#define FS_SYNC_FL EXT2_SYNC_FL
++#endif
++
++#ifndef FS_IMMUTABLE_FL
++#define FS_IMMUTABLE_FL EXT2_IMMUTABLE_FL
++#endif
++
++#ifndef FS_APPEND_FL
++#define FS_APPEND_FL EXT2_APPEND_FL
++#endif
++
++#ifndef FS_DIRSYNC_FL
++#define FS_DIRSYNC_FL EXT2_DIRSYNC_FL
++#endif
++
++#ifndef FS_IOC_GETFLAGS
++#define FS_IOC_GETFLAGS EXT2_IOC_GETFLAGS
++#endif
++
++
+ extern int verbose;
+ extern int debug_level;
+
diff --git a/patches/076-buildroot-ubifs.diff b/patches/076-buildroot-ubifs.diff
index b357c06..a575e51 100644
--- a/patches/076-buildroot-ubifs.diff
+++ b/patches/076-buildroot-ubifs.diff
@@ -25,49 +25,3 @@
ifneq ($(UBIFS_ROOTFS_COMPRESSOR),)
$(UBIFS_BASE).$(UBIFS_ROOTFS_COMPRESSOR_EXT): $(UBIFS_ROOTFS_COMPRESSOR_PREREQ) $(UBIFS_BASE)
---- buildrootref/target/ubifs/mkfs-ubifs-head.patch 1970-01-01 01:00:00.000000000 +0100
-+++ buildroot/target/ubifs/mkfs-ubifs-head.patch 2009-06-07 11:57:11.000000000 +0200
-@@ -0,0 +1,43 @@
-+diff -purN mkfs-ubifs-HEAD/mkfs.ubifs.h mkfs-ubifs-HEAD.new/mkfs.ubifs.h
-+--- mkfs-ubifs-HEAD/mkfs.ubifs.h 2008-08-12 10:34:49.000000000 +0200
-++++ mkfs-ubifs-HEAD.new/mkfs.ubifs.h 2009-06-07 11:53:18.000000000 +0200
-+@@ -35,6 +35,7 @@
-+ #include <byteswap.h>
-+ #include <linux/types.h>
-+ #include <linux/fs.h>
-++#include <linux/ext2_fs.h>
-+
-+ #include <getopt.h>
-+ #include <sys/types.h>
-+@@ -70,6 +71,31 @@
-+ #error MKFS_UBIFS_COMPR_ZLIB != UBIFS_COMPR_ZLIB
-+ #endif
-+
-++#ifndef FS_COMPR_FL
-++#define FS_COMPR_FL EXT2_COMPR_FL
-++#endif
-++
-++#ifndef FS_SYNC_FL
-++#define FS_SYNC_FL EXT2_SYNC_FL
-++#endif
-++
-++#ifndef FS_IMMUTABLE_FL
-++#define FS_IMMUTABLE_FL EXT2_IMMUTABLE_FL
-++#endif
-++
-++#ifndef FS_APPEND_FL
-++#define FS_APPEND_FL EXT2_APPEND_FL
-++#endif
-++
-++#ifndef FS_DIRSYNC_FL
-++#define FS_DIRSYNC_FL EXT2_DIRSYNC_FL
-++#endif
-++
-++#ifndef FS_IOC_GETFLAGS
-++#define FS_IOC_GETFLAGS EXT2_IOC_GETFLAGS
-++#endif
-++
-++
-+ extern int verbose;
-+ extern int debug_level;
-+
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2009-08-09 16:50:13
|
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 a402d10e7d48db062a0cf712e8b69b4164148e4d (commit)
from 9ebcfdb5ae84a15d88353f2c028847efcd47bfe6 (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 a402d10e7d48db062a0cf712e8b69b4164148e4d
Author: nicolas colombain <nic...@ar...>
Date: Sun Aug 9 18:48:39 2009 +0200
[BUILDROOT] add ubinize script for apf27 in case of ubifs file system
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/apf27/ubinize.cfg | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 buildroot/target/device/armadeus/apf27/ubinize.cfg
diff --git a/buildroot/target/device/armadeus/apf27/ubinize.cfg b/buildroot/target/device/armadeus/apf27/ubinize.cfg
new file mode 100644
index 0000000..bbd276d
--- /dev/null
+++ b/buildroot/target/device/armadeus/apf27/ubinize.cfg
@@ -0,0 +1,9 @@
+[ubifs]
+mode=ubi
+image=apf27-rootfs.arm.ubifs
+vol_id=0
+vol_size=200MiB
+vol_type=dynamic
+vol_name=rootfs
+vol_alignment=1
+vol_flags=autoresize
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2009-08-09 16:47:11
|
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 9ebcfdb5ae84a15d88353f2c028847efcd47bfe6 (commit)
from 6ef9c15ba571c226707519cdfc408f496008a6bd (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 9ebcfdb5ae84a15d88353f2c028847efcd47bfe6
Author: nicolas colombain <nic...@ar...>
Date: Sun Aug 9 18:45:09 2009 +0200
[BUILDROOT] launch ubinize tool if ubifs selected
-----------------------------------------------------------------------
Summary of changes:
patches/076-buildroot-ubifs.diff | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/patches/076-buildroot-ubifs.diff b/patches/076-buildroot-ubifs.diff
index ab7da8d..b357c06 100644
--- a/patches/076-buildroot-ubifs.diff
+++ b/patches/076-buildroot-ubifs.diff
@@ -11,6 +11,20 @@
MKFS_UBIFS_SOURCE:=mkfs.ubifs-$(MKFS_UBIFS_VERSION).tar.gz
MKFS_UBIFS_DIR:= $(BUILD_DIR)/mkfs-ubifs-$(MKFS_UBIFS_VERSION)
MKFS_UBIFS_CAT:=$(ZCAT)
+@@ -107,6 +107,13 @@ endif
+ chmod a+x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
+ $(STAGING_DIR)/usr/bin/fakeroot -- $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
+ -@rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
++ cp target/device/armadeus/$(BR2_BOARD_NAME)/ubinize.cfg .
++ cp $(BINARIES_DIR)/$(BR2_BOARD_NAME)-rootfs.arm.ubifs .
++ ubinize -o system_ubi.img -m $(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE) -p 128KiB -s 512 ubinize.cfg
++ cp -f system_ubi.img $(BINARIES_DIR)/$(BR2_BOARD_NAME)-rootfs.arm.ubifs
++ rm system_ubi.img
++ rm $(BR2_BOARD_NAME)-rootfs.arm.ubifs
++ rm ubinize.cfg
+
+ ifneq ($(UBIFS_ROOTFS_COMPRESSOR),)
+ $(UBIFS_BASE).$(UBIFS_ROOTFS_COMPRESSOR_EXT): $(UBIFS_ROOTFS_COMPRESSOR_PREREQ) $(UBIFS_BASE)
--- buildrootref/target/ubifs/mkfs-ubifs-head.patch 1970-01-01 01:00:00.000000000 +0100
+++ buildroot/target/ubifs/mkfs-ubifs-head.patch 2009-06-07 11:57:11.000000000 +0200
@@ -0,0 +1,43 @@
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-08-08 09:33: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 6ef9c15ba571c226707519cdfc408f496008a6bd (commit)
from 01a3c9f74b66865cf6f68f39f050f659fa877783 (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 6ef9c15ba571c226707519cdfc408f496008a6bd
Author: Julien Boibessot <jul...@ar...>
Date: Sat Aug 8 11:22:44 2009 +0200
[LINUX] Makes ioctls work again in gpio driver
-----------------------------------------------------------------------
Summary of changes:
target/linux/modules/gpio/core.c | 49 +++++++++++++++++++------------------
1 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/target/linux/modules/gpio/core.c b/target/linux/modules/gpio/core.c
index 55f50cd..e885b32 100755
--- a/target/linux/modules/gpio/core.c
+++ b/target/linux/modules/gpio/core.c
@@ -314,7 +314,7 @@ static void initialize_port(int port, int* init_params)
}
}
-static void initialize_all_ports( void )
+static void initialize_all_ports(void)
{
initialize_port(PORT_A, portA_init);
initialize_port(PORT_B, portB_init);
@@ -327,12 +327,12 @@ static void initialize_all_ports( void )
}
-static void writeOnPort( unsigned int aPort, unsigned int aValue )
+static void writeOnPort(unsigned int aPort, unsigned int aValue)
{
__raw_writel(aValue, VA_GPIO_BASE + MXC_DR(aPort));
}
-static unsigned int readFromPort( unsigned int aPort )
+static unsigned int readFromPort(unsigned int aPort)
{
unsigned int port_value = 0;
@@ -342,7 +342,7 @@ static unsigned int readFromPort( unsigned int aPort )
return port_value;
}
-static void setPortMode ( unsigned int aPort, unsigned int aModeMask )
+static void setPortMode(unsigned int aPort, unsigned int aModeMask)
{
int i;
int ocr1,ocr2;
@@ -366,18 +366,18 @@ static void setPortMode ( unsigned int aPort, unsigned int aModeMask )
__raw_writel(aModeMask & PORT_MASK[aPort], VA_GPIO_BASE + MXC_GIUS(aPort));
}
-static void setPortPull ( unsigned int aPort, unsigned int aPullMask )
+static void setPortPull(unsigned int aPort, unsigned int aPullMask)
{
__raw_writel(aPullMask & 0xffffffff, VA_GPIO_BASE + MXC_PUEN(aPort));
}
-static void setPortDir( unsigned int aPort, unsigned int aDirMask )
+static void setPortDir(unsigned int aPort, unsigned int aDirMask)
{
__raw_writel(aDirMask & 0xffffffff, VA_GPIO_BASE + MXC_DDIR(aPort));
}
-static unsigned int getPortDir( unsigned int aPort )
+static unsigned int getPortDir(unsigned int aPort)
{
unsigned int port_value = 0;
@@ -633,7 +633,7 @@ int armadeus_gpio_dev_ioctl( struct inode *inode, struct file *filp,
int value=0;
unsigned int minor;
- printk(DRIVER_NAME " ## IOCTL received: (0x%x) ##\n", cmd);
+ pr_debug(DRIVER_NAME " ## IOCTL received: (0x%x) ##\n", cmd);
/* Extract the type and number bitfields, and don't decode wrong cmds:
return ENOTTY (inappropriate ioctl) before access_ok() */
@@ -657,13 +657,13 @@ int armadeus_gpio_dev_ioctl( struct inode *inode, struct file *filp,
/* Extract and test minor */
minor = MINOR(inode->i_rdev);
if (minor < FULL_PORTD_MINOR) {
- printk("Minor outside range: %d !\n", minor);
+ printk("IOCTLs are only available on minors representing full port access!\n");
return -EFAULT;
}
switch (cmd) {
case GPIORDDIRECTION:
- value = getPortDir( minor );
+ value = getPortDir(MAX_MINOR - minor);
ret = __put_user(value, (unsigned int *)arg);
break;
@@ -671,19 +671,19 @@ int armadeus_gpio_dev_ioctl( struct inode *inode, struct file *filp,
ret = __get_user(value, (unsigned int *)arg);
if (ret == 0) {
- setPortDir(minor, value);
+ setPortDir(MAX_MINOR - minor, value);
}
break;
case GPIORDDATA:
- value = readFromPort(minor);
+ value = readFromPort(MAX_MINOR - minor);
ret = __put_user(value, (unsigned int *)arg);
break;
case GPIOWRDATA:
ret = __get_user(value, (unsigned int *)arg);
if (ret == 0) {
- writeOnPort(minor, value);
+ writeOnPort(MAX_MINOR - minor, value);
}
break;
@@ -965,35 +965,35 @@ static void remove_proc_entries(void)
/* Remove /proc entries */
if (init_map & GPIO_PROC_FILE) {
- printk( DRIVER_NAME " removing /proc/.../portX\n" );
+ printk(DRIVER_NAME " removing /proc/.../portX\n");
for (i = 0; i < NB_PORTS; i++) {
sprintf(proc_name, "%s/%s", GPIO_PROC_DIRNAME, port_name[i]);
remove_proc_entry(proc_name, NULL);
}
}
if (init_map & SETTINGS_MODE_PROC_FILE) {
- printk( DRIVER_NAME " removing /proc/.../portXmode\n" );
+ printk(DRIVER_NAME " removing /proc/.../portXmode\n");
for (i = 0; i < NB_PORTS; i++) {
sprintf(proc_name, "%s/%smode", GPIO_PROC_DIRNAME, port_name[i]);
remove_proc_entry(proc_name, NULL);
}
}
if (init_map & SETTINGS_PROC_FILE) {
- printk( DRIVER_NAME " removing /proc/.../portXdir\n" );
+ printk(DRIVER_NAME " removing /proc/.../portXdir\n");
for (i = 0; i < NB_PORTS; i++) {
sprintf(proc_name, "%s/%sdir", GPIO_PROC_DIRNAME, port_name[i]);
remove_proc_entry(proc_name, NULL);
}
}
if (init_map & SETTINGS_IRQ_PROC_FILE) {
- printk( DRIVER_NAME " removing /proc/.../portXirq\n" );
+ printk(DRIVER_NAME " removing /proc/.../portXirq\n");
for (i = 0; i < NB_PORTS; i++) {
sprintf(proc_name, "%s/%sirq", GPIO_PROC_DIRNAME, port_name[i]);
remove_proc_entry(proc_name, NULL);
}
}
if (init_map & SETTINGS_PULLUP_PROC_FILE) {
- printk( DRIVER_NAME " removing /proc/.../portXpullup\n" );
+ printk(DRIVER_NAME " removing /proc/.../portXpullup\n");
for (i = 0; i < NB_PORTS; i++) {
sprintf(proc_name, "%s/%spullup", GPIO_PROC_DIRNAME, port_name[i]);
remove_proc_entry(proc_name, NULL);
@@ -1079,16 +1079,16 @@ static void __exit armadeus_gpio_cleanup(void)
/*
* API To be removed ???
*/
-void gpioWriteOnPort( unsigned int aPort, unsigned int aValue )
+void gpioWriteOnPort(unsigned int aPort, unsigned int aValue)
{
if (aPort >= NB_PORTS) {
printk(DRIVER_NAME "port unknown !\n");
return;
}
- writeOnPort( aPort, aValue );
+ writeOnPort(aPort, aValue);
}
-unsigned int gpioReadFromPort( unsigned int aPort )
+unsigned int gpioReadFromPort(unsigned int aPort)
{
if (aPort >= NB_PORTS) {
printk(DRIVER_NAME "port unknown !\n");
@@ -1098,12 +1098,12 @@ unsigned int gpioReadFromPort( unsigned int aPort )
}
}
-void gpioSetPortDir( unsigned int aPort, unsigned int aDirMask )
+void gpioSetPortDir(unsigned int aPort, unsigned int aDirMask)
{
- setPortDir( aPort, aDirMask );
+ setPortDir(aPort, aDirMask);
}
-unsigned int gpioGetPortDir( unsigned int aPort )
+unsigned int gpioGetPortDir(unsigned int aPort)
{
return getPortDir(aPort);
}
@@ -1119,3 +1119,4 @@ module_exit(armadeus_gpio_cleanup);
MODULE_AUTHOR("Julien Boibessot / Nicolas Colombain");
MODULE_DESCRIPTION("Armadeus GPIOs driver");
MODULE_LICENSE("GPL");
+
hooks/post-receive
--
armadeus
|
|
From: Gwenhael <gwe...@us...> - 2009-07-19 08:39:32
|
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 01a3c9f74b66865cf6f68f39f050f659fa877783 (commit)
from d195a5b3f15db60c73f474c2129da6e31f98e9b0 (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 01a3c9f74b66865cf6f68f39f050f659fa877783
Author: gwenhael <gwe...@us...>
Date: Sun Jul 19 10:29:27 2009 +0200
[BUILDROOT] xenomai: Makefile cleaned, xenomai version upgraded, and apf27 support added
-----------------------------------------------------------------------
Summary of changes:
.../00-adeos-compatibility_with_armadeus.patch | 20 ++++----
.../01-adeos-1.12-00-imx_compatibility.patch | 24 ----------
.../02-xenomai-imx_gpio_set_value_inline.patch | 17 -------
buildroot/package/xenomai/Config.in | 3 +-
buildroot/package/xenomai/xenomai.mk | 47 +++++++++-----------
5 files changed, 33 insertions(+), 78 deletions(-)
delete mode 100644 buildroot/package/xenomai/01-adeos-1.12-00-imx_compatibility.patch
delete mode 100644 buildroot/package/xenomai/02-xenomai-imx_gpio_set_value_inline.patch
diff --git a/buildroot/package/xenomai/00-adeos-compatibility_with_armadeus.patch b/buildroot/package/xenomai/00-adeos-compatibility_with_armadeus.patch
index ffc2a44..36a0420 100644
--- a/buildroot/package/xenomai/00-adeos-compatibility_with_armadeus.patch
+++ b/buildroot/package/xenomai/00-adeos-compatibility_with_armadeus.patch
@@ -1,10 +1,10 @@
---- a/arch/arm/mach-imx/include/mach/imx-regs.h
-+++ b/arch/arm/mach-imx/include/mach/imx-regs.h
-@@ -411,7 +411,6 @@
- #define PCR_BPIX_8 (3<<25)
- #define PCR_BPIX_12 (4<<25)
- #define PCR_BPIX_16 (4<<25)
--#define PCR_BPIX_MASK (7<<25)
- #define PCR_PIXPOL (1<<24)
- #define PCR_FLMPOL (1<<23)
- #define PCR_LPPOL (1<<22)
+--- a/arch/arm/mach-imx/include/mach/imxfb.h
++++ b/arch/arm/mach-imx/include/mach/imxfb.h
+@@ -14,7 +14,6 @@
+ #define PCR_BPIX_8 (3 << 25)
+ #define PCR_BPIX_12 (4 << 25)
+ #define PCR_BPIX_16 (4 << 25)
+-#define PCR_BPIX_MASK (7 << 25)
+ #define PCR_PIXPOL (1 << 24)
+ #define PCR_FLMPOL (1 << 23)
+ #define PCR_LPPOL (1 << 22)
diff --git a/buildroot/package/xenomai/01-adeos-1.12-00-imx_compatibility.patch b/buildroot/package/xenomai/01-adeos-1.12-00-imx_compatibility.patch
deleted file mode 100644
index 83b597b..0000000
--- a/buildroot/package/xenomai/01-adeos-1.12-00-imx_compatibility.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ru a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c
---- a/arch/arm/mach-imx/irq.c 2009-02-17 11:32:52.000000000 +0100
-+++ b/arch/arm/mach-imx/irq.c 2009-02-23 14:12:43.000000000 +0100
-@@ -35,7 +35,7 @@
- #include <asm/io.h>
-
- #include <asm/mach/irq.h>
--#include <asm/arch/imx-regs.h>
-+#include <mach/imx-regs.h>
-
-
- /* Used for IMX INTERRUPT priority: Still Experimental */
-diff -ru a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c
---- a/arch/arm/mach-imx/time.c 2009-02-25 17:03:34.000000000 +0100
-+++ b/arch/arm/mach-imx/time.c 2009-02-25 16:36:16.000000000 +0100
-@@ -294,6 +294,8 @@
- #ifdef CONFIG_IPIPE
- void __ipipe_mach_acktimer(void)
- {
-+ uint32_t tstat;
-+ tstat = IMX_TSTAT(TIMER_BASE);
- IMX_TSTAT(TIMER_BASE) = 0;
- }
-
diff --git a/buildroot/package/xenomai/02-xenomai-imx_gpio_set_value_inline.patch b/buildroot/package/xenomai/02-xenomai-imx_gpio_set_value_inline.patch
deleted file mode 100644
index f8f46c7..0000000
--- a/buildroot/package/xenomai/02-xenomai-imx_gpio_set_value_inline.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/arch/arm/mach-imx/include/mach/gpio.h 2009-04-03 15:28:59.000000000 +0200
-+++ b/arch/arm/mach-imx/include/mach/gpio.h 2009-04-03 15:29:11.000000000 +0200
-@@ -28,14 +28,10 @@
-
- static inline void imx_gpio_set_value_inline(unsigned gpio, int value)
- {
-- unsigned long flags;
--
-- raw_local_irq_save(flags);
- if(value)
- DR(gpio >> GPIO_PORT_SHIFT) |= (1 << (gpio & GPIO_PIN_MASK));
- else
- DR(gpio >> GPIO_PORT_SHIFT) &= ~(1 << (gpio & GPIO_PIN_MASK));
-- raw_local_irq_restore(flags);
- }
-
- static inline void imx_gpio_set_value(unsigned gpio, int value)
diff --git a/buildroot/package/xenomai/Config.in b/buildroot/package/xenomai/Config.in
index 8cacc76..7fb8584 100644
--- a/buildroot/package/xenomai/Config.in
+++ b/buildroot/package/xenomai/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_XENOMAI
bool "Xenomai"
- help
+ depends on BR2_LINUX_2_6_29 || BR2_LINUX_2_6_27
+ help
Real-Time Framework for Linux
http://xenomai.org
diff --git a/buildroot/package/xenomai/xenomai.mk b/buildroot/package/xenomai/xenomai.mk
index cbc6385..5f88662 100644
--- a/buildroot/package/xenomai/xenomai.mk
+++ b/buildroot/package/xenomai/xenomai.mk
@@ -14,46 +14,40 @@
#############################################################
KERN_DIR:=$(PROJECT_BUILD_DIR)/linux-$(shell echo $(BR2_LINUX26_VERSION))
-XENOMAI_VERSION:=2.4.7
+XENOMAI_ARCH:=$(shell echo $(BR2_ARCH))
+
+XENOMAI_VERSION:=2.4.8
XENOMAI_SOURCE:=xenomai-$(XENOMAI_VERSION).tar.bz2
XENOMAI_SITE:=http://download.gna.org/xenomai/stable
XENOMAI_DIR:=$(BUILD_DIR)/xenomai-$(XENOMAI_VERSION)
XENOMAI_CAT:=bzcat
XENOMAI_BINARY:=xeno-load
-XENOMAI_TARGET_BINARY:=usr/xenomai/bin/xeno-load
-
-ADEOS_VERSION:=1.12-00
-ADEOS_SOURCE:=adeos-ipipe-$(shell echo $(BR2_KERNEL_THIS_VERSION))-arm-$(ADEOS_VERSION).patch
-ADEOS_SITE:=http://download.gna.org/adeos/patches/v2.6/arm/older/
+XENOMAI_TARGET_BINARY:=usr/xenomai/bin/$(XENOMAI_BINARY)
+ifeq ($(BR2_TARGET_ARMADEUS_APF27),y)
+ CPU_TYPE:=mx2
+else
+ifeq ($(BR2_TARGET_ARMADEUS_APF9328),y)
+ CPU_TYPE:=imx
+endif
+endif
$(DL_DIR)/$(XENOMAI_SOURCE):
$(WGET) -P $(DL_DIR) $(XENOMAI_SITE)/$(XENOMAI_SOURCE)
-$(DL_DIR)/$(ADEOS_SOURCE):
- $(WGET) -P $(DL_DIR) $(ADEOS_SITE)$(ADEOS_SOURCE)
-
-xenomai-source: $(DL_DIR)/$(ADEOS_SOURCE)
-
-$(KERN_DIR)/.patched.adeos: $(DL_DIR)/$(ADEOS_SOURCE)
- toolchain/patch-kernel.sh $(LINUX26_DIR) package/xenomai \
- 00-adeos-compatibility_with_armadeus.patch
- toolchain/patch-kernel.sh $(LINUX26_DIR) $(DL_DIR) \
- $(ADEOS_SOURCE)
- toolchain/patch-kernel.sh $(LINUX26_DIR) package/xenomai \
- 01-adeos-$(ADEOS_VERSION)-imx_compatibility.patch
- toolchain/patch-kernel.sh $(LINUX26_DIR) package/xenomai \
- 02-xenomai-imx_gpio_set_value_inline.patch
- touch $@
+xenomai-source: $(DL_DIR)/$(XENOMAI_SOURCE)
$(XENOMAI_DIR)/.unpacked: $(DL_DIR)/$(XENOMAI_SOURCE)
$(XENOMAI_CAT) $(DL_DIR)/$(XENOMAI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $@
-$(KERN_DIR)/.patched.xenomai: $(KERN_DIR)/.patched.adeos $(XENOMAI_DIR)/.unpacked
+$(KERN_DIR)/.patched.xenomai: $(XENOMAI_DIR)/.unpacked
+ toolchain/patch-kernel.sh $(LINUX26_DIR) package/xenomai \
+ \*-adeos-\*.patch
$(XENOMAI_DIR)/scripts/prepare-kernel.sh \
--linux=$(LINUX26_DIR) \
- --arch=$(BR2_ARCH)
+ --arch=$(BR2_ARCH) \
+ --default
cat package/xenomai/xeno-kernel.config >> $(LINUX26_DIR)/.config
touch $@
@@ -64,9 +58,10 @@ $(XENOMAI_DIR)/.configured: $(KERN_DIR)/.patched.xenomai
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
CCFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
- ./configure \
- --enable-arm-mach=imx \
- --host=arm-linux \
+ ./configure \
+ --enable-$(XENOMAI_ARCH)-mach=$(CPU_TYPE) \
+ --enable-$(XENOMAI_ARCH)-eabi=$(if $(BR2_ARM_EABI),yes,no) \
+ --host=$(XENOMAI_ARCH)-linux \
--datarootdir=/xenodoc \
)
touch $@
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-17 15:47:00
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via d195a5b3f15db60c73f474c2129da6e31f98e9b0 (commit)
via 5122a0eeb5f6cac726b7c46bb7d6f1072d700f23 (commit)
from 38d15936f3517c556f2c20dcb55917ee098f28ea (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 d195a5b3f15db60c73f474c2129da6e31f98e9b0
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 17 14:40:39 2009 +0200
[TEST] Put serial port in raw mode during test
commit 5122a0eeb5f6cac726b7c46bb7d6f1072d700f23
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 17 12:10:17 2009 +0200
Applies Linux coding rules
-----------------------------------------------------------------------
Summary of changes:
target/linux/modules/max1027/max1027.c | 10 +++-------
target/test/test_rs232.sh | 9 ++++++++-
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/target/linux/modules/max1027/max1027.c b/target/linux/modules/max1027/max1027.c
index 4fd93ae..bfdc9fb 100644
--- a/target/linux/modules/max1027/max1027.c
+++ b/target/linux/modules/max1027/max1027.c
@@ -194,13 +194,11 @@ static void max1027_send_cmd( struct spi_device *spi, u8 cmd )
}
static void max1027_start_conv(struct max1027 *max1027)
-{
-
+{
/* if no convst pin */
if (max1027->cnvst < 0) {
max1027_send_cmd(current_spi, max1027->conv_reg);
- }
- else {
+ } else {
gpio_set_value(max1027->cnvst, 0);
udelay(1);
gpio_set_value(max1027->cnvst, 1);
@@ -301,7 +299,6 @@ static void max1027_reads_async( struct spi_device *spi, int num_values )
if (ret)
printk(KERN_ERR "%s: error %i in SPI request\n",
__FUNCTION__, ret);
-
}
/*
@@ -350,11 +347,9 @@ out:
static void read_conversion_results( unsigned long data )
{
struct spi_device *spi = (struct spi_device *)data;
-
struct max1027 *max1027 = dev_get_drvdata(&spi->dev);
int size = 0;
-
/* Get conversion results from chip (depends on conversion mode) */
switch( GET_SCAN_MODE(max1027->conv_reg) )
{
@@ -401,6 +396,7 @@ static irqreturn_t max1027_interrupt(int irq, void *dev_id)
static void max1027_flush_all_channels(struct max1027 *p_max1027)
{
int i;
+
for (i=0; i < NB_CHANNELS; i++) {
if( p_max1027->channels[i] != NULL )
fifo_flush(p_max1027->channels[i]);
diff --git a/target/test/test_rs232.sh b/target/test/test_rs232.sh
index 4d58858..79a7f7b 100755
--- a/target/test/test_rs232.sh
+++ b/target/test/test_rs232.sh
@@ -37,12 +37,19 @@ test_serial_port()
echo -n "Connect loopback jumper"
execute_for_target echo_jumper_help_apf9328 echo_jumper_help_apf27
ask_user "and then press <ENTER>"
+ # Configure port as raw
+ stty -F $SERIAL_DEVICE raw
+ stty -F $SERIAL_DEVICE -echo -echoe -echok
+ # Get incoming data
cat $SERIAL_DEVICE > $TEMP_FILE &
pid=$!
echo -n "."; sleep 1
- echo "Serial Port N°$1 is working !" > $SERIAL_DEVICE
+ # Send data
+ echo "Serial Port N°$1 ($SERIAL_DEVICE) is working !!!!!!!!!!" > $SERIAL_DEVICE
echo -n "."; sleep 1; echo
+ cat /proc/interrupts | grep uart
kill $pid
+ # Check if data were transmitted
grep "working" $TEMP_FILE
if [ "$?" == 0 ]; then
echo_test_ok
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-17 09:32:44
|
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 38d15936f3517c556f2c20dcb55917ee098f28ea (commit)
via eef32b6bb9e35936772569db46bde2aefd4cfa84 (commit)
via a7d37ae8a25442d5135f00edfdeb3029f1fca467 (commit)
from 801075b691083b3e53cb7331aab0a11aec634a04 (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 38d15936f3517c556f2c20dcb55917ee098f28ea
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 17 11:31:53 2009 +0200
[LINUX] Updates APF27 default Linux configs according to new LCD support
commit eef32b6bb9e35936772569db46bde2aefd4cfa84
Merge: a7d37ae8a25442d5135f00edfdeb3029f1fca467 801075b691083b3e53cb7331aab0a11aec634a04
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 17 11:30:24 2009 +0200
Merge branch 'master' of ssh://artemys@armadeus.git.sourceforge.net/gitroot/armadeus
commit a7d37ae8a25442d5135f00edfdeb3029f1fca467
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 17 11:28:33 2009 +0200
[LINUX] On APF9328 configure console port without RTS/CTS
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf27_test/linux-2.6.29.4.config | 3 +-
.../armadeus/apf27/apf27-linux-2.6.29.config | 3 +-
.../2.6.29/021-armadeus-apf9328.patch | 27 +++++++++----------
3 files changed, 17 insertions(+), 16 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 46efbe2..fa5791a 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.4
-# Wed Jul 1 11:16:12 2009
+# Fri Jul 17 11:06:54 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -1128,6 +1128,7 @@ CONFIG_FB_IMX_SHARP_LQ043_TFT=y
# CONFIG_FB_IMX_SHARP_LQ057_TFT is not set
# CONFIG_FB_IMX_OPTREX_F51900_CSTN is not set
# CONFIG_FB_IMX_MOTOROLA_A910_TFT is not set
+# CONFIG_FB_IMX_CHIMEI_LW700AT9003_TFT is not set
CONFIG_FB_MXC=y
#
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 98f717a..7f66790 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.4
-# Wed Jul 1 11:16:12 2009
+# Fri Jul 17 11:06:54 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -1128,6 +1128,7 @@ CONFIG_FB_IMX_SHARP_LQ043_TFT=y
# CONFIG_FB_IMX_SHARP_LQ057_TFT is not set
# CONFIG_FB_IMX_OPTREX_F51900_CSTN is not set
# CONFIG_FB_IMX_MOTOROLA_A910_TFT is not set
+# CONFIG_FB_IMX_CHIMEI_LW700AT9003_TFT is not set
CONFIG_FB_MXC=y
#
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch
index 543641a..df3fc35 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/021-armadeus-apf9328.patch
@@ -4,8 +4,8 @@ DON'T EDIT IT OR YOUR MODIFICATIONS WILL BE LOST
Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29.4/arch/arm/mach-imx/apf9328.c 2009-06-08 19:07:17.000000000 +0200
-@@ -0,0 +1,849 @@
++++ linux-2.6.29.4/arch/arm/mach-imx/apf9328.c 2009-07-15 17:16:18.000000000 +0200
+@@ -0,0 +1,848 @@
+/*
+ * linux/arch/arm/mach-imx/apf9328.c
+ *
@@ -338,8 +338,8 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
+
+
+/* --- SERIAL RESSOURCE --- */
-+static struct imxuart_platform_data uart_pdata = {
-+ .flags = IMXUART_HAVE_RTSCTS,
++static struct imxuart_platform_data uart1_pdata = {
++ .flags = 0,
+};
+
+static struct resource imx_uart1_resources[] = {
@@ -358,11 +358,6 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
+ .end = (UART1_MINT_TX),
+ .flags = IORESOURCE_IRQ,
+ },
-+ [3] = { /* Mandatory (even if RTS is not used), otherwise drivers/serial/imx.c fails to allocate IRQs */
-+ .start = UART1_MINT_RTS,
-+ .end = UART1_MINT_RTS,
-+ .flags = IORESOURCE_IRQ,
-+ },
+};
+
+static struct platform_device imx_uart1_device = {
@@ -371,10 +366,14 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
+ .num_resources = ARRAY_SIZE(imx_uart1_resources),
+ .resource = imx_uart1_resources,
+ .dev = {
-+ .platform_data = &uart_pdata,
++ .platform_data = &uart1_pdata,
+ }
+};
+
++static struct imxuart_platform_data uart2_pdata = {
++ .flags = IMXUART_HAVE_RTSCTS,
++};
++
+static struct resource imx_uart2_resources[] = {
+ [0] = {
+ .start = 0x00207000,
@@ -391,7 +390,7 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
+ .end = (UART2_MINT_TX),
+ .flags = IORESOURCE_IRQ,
+ },
-+ [3] = { /* Mandatory (even if RTS is not used), otherwise drivers/serial/imx.c fails to allocate IRQs */
++ [3] = {
+ .start = UART2_MINT_RTS,
+ .end = UART2_MINT_RTS,
+ .flags = IORESOURCE_IRQ,
@@ -404,7 +403,7 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
+ .num_resources = ARRAY_SIZE(imx_uart2_resources),
+ .resource = imx_uart2_resources,
+ .dev = {
-+ .platform_data = &uart_pdata,
++ .platform_data = &uart2_pdata,
+ }
+};
+
@@ -858,7 +857,7 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328.c
Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328_lcd_config.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29.4/arch/arm/mach-imx/apf9328_lcd_config.h 2009-06-08 18:35:27.000000000 +0200
++++ linux-2.6.29.4/arch/arm/mach-imx/apf9328_lcd_config.h 2009-07-15 16:23:52.000000000 +0200
@@ -0,0 +1,301 @@
+/*
+ *
@@ -1164,7 +1163,7 @@ Index: linux-2.6.29.4/arch/arm/mach-imx/apf9328_lcd_config.h
Index: linux-2.6.29.4/arch/arm/mach-imx/include/mach/apf9328.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.29.4/arch/arm/mach-imx/include/mach/apf9328.h 2009-06-08 18:35:27.000000000 +0200
++++ linux-2.6.29.4/arch/arm/mach-imx/include/mach/apf9328.h 2009-07-15 16:23:52.000000000 +0200
@@ -0,0 +1,63 @@
+/*
+ * linux/include/asm-arm/arch-imx/apf9328.h
hooks/post-receive
--
armadeus
|
|
From: Fabien M <fa...@us...> - 2009-07-16 14:48:54
|
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 801075b691083b3e53cb7331aab0a11aec634a04 (commit)
from e1473089b398ae92cc3d9db1ec144612b2be0c11 (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 801075b691083b3e53cb7331aab0a11aec634a04
Author: Fabien Marteau <fabien@fabien-laptop-ubuntu.(none)>
Date: Thu Jul 16 16:47:56 2009 +0200
[LINUX][DRIVER][MAX1027] Scheduling bug corrected (to be reviewed)
-----------------------------------------------------------------------
Summary of changes:
target/linux/modules/max1027/README | 22 +++++++++++++++++-----
target/linux/modules/max1027/max1027.c | 16 +++++++++++-----
2 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/target/linux/modules/max1027/README b/target/linux/modules/max1027/README
index 3b32f69..776ea99 100644
--- a/target/linux/modules/max1027/README
+++ b/target/linux/modules/max1027/README
@@ -1,8 +1,20 @@
+Max1027 analog to digital driver
+================================
-To compile:
-make ARCH=arm CROSS_COMPILE=/local/julien/arm-toolchain/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-
+Compilation
+-----------
+To compile, use make in this directory:
-3 modules (gpio.ko, ppdev.ko, loadfpga.ko) will be generated, copy them in your rootfs (/lib/modules).
-copy loadgpio.sh in your /etc/init.d directory on your rootfs and launch it to insert modules and create devices file in /dev
+> make
+
+Usage
+-----
+First create all nodes using loadmax.sh script
+> ./loadmax.sh
+
+TODO
+
+Links
+-----
+Drivers usages are described on [ARMadeus Wiki](http://www.armadeus.com/wiki/index.php?title=ADC_max1027)
-Juliem
diff --git a/target/linux/modules/max1027/max1027.c b/target/linux/modules/max1027/max1027.c
index cd87585..4fd93ae 100644
--- a/target/linux/modules/max1027/max1027.c
+++ b/target/linux/modules/max1027/max1027.c
@@ -76,6 +76,10 @@
#define FIFO_SIZE 128
+//#undef pr_debug
+//#define pr_debug(fmt, ...) \
+// (printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__))
+
/* Global variables */
struct max1027_operations *driver_ops;
static int max1027_major = 0; /* Dynamic major allocation */
@@ -191,6 +195,7 @@ static void max1027_send_cmd( struct spi_device *spi, u8 cmd )
static void max1027_start_conv(struct max1027 *max1027)
{
+
/* if no convst pin */
if (max1027->cnvst < 0) {
max1027_send_cmd(current_spi, max1027->conv_reg);
@@ -211,7 +216,8 @@ static void max1027_process_results(struct max1027 *max1027)
pr_debug("%s", __FUNCTION__);
- mutex_lock(&max1027->update_lock);
+// mutex_lock(&max1027->update_lock); // XXX
+
selected_channel = GET_SELECTED_CHANNEL(max1027->conv_reg);
if (selected_channel >= NB_CHANNELS)
selected_channel = NB_CHANNELS - 1;
@@ -226,7 +232,6 @@ static void max1027_process_results(struct max1027 *max1027)
if (max1027->conv_reg & MAX1027_CONV_TEMP)
values_to_read += 1;
-
#ifdef DEBUG
for (i=0; i<values_to_read*2; i++) {
printk("%02x ", buffer[i]);
@@ -272,7 +277,7 @@ static void max1027_process_results(struct max1027 *max1027)
} else {
max1027->status = 0;
}
- mutex_unlock(&max1027->update_lock);
+// mutex_unlock(&max1027->update_lock); // XXX
}
static void max1027_reads_async( struct spi_device *spi, int num_values )
@@ -296,6 +301,7 @@ static void max1027_reads_async( struct spi_device *spi, int num_values )
if (ret)
printk(KERN_ERR "%s: error %i in SPI request\n",
__FUNCTION__, ret);
+
}
/*
@@ -348,6 +354,7 @@ static void read_conversion_results( unsigned long data )
struct max1027 *max1027 = dev_get_drvdata(&spi->dev);
int size = 0;
+
/* Get conversion results from chip (depends on conversion mode) */
switch( GET_SCAN_MODE(max1027->conv_reg) )
{
@@ -384,9 +391,8 @@ static void read_conversion_results( unsigned long data )
static irqreturn_t max1027_interrupt(int irq, void *dev_id)
{
struct max1027 *max1027 = dev_id;
-
/* schedule task for reading results from chip outside of IRQ */
- tasklet_schedule( &max1027->tasklet );
+ tasklet_hi_schedule( &max1027->tasklet );
return IRQ_HANDLED;
}
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-15 20:58: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 e1473089b398ae92cc3d9db1ec144612b2be0c11 (commit)
via 4651c97027b3e299ae4d867b46a36d7519343599 (commit)
from 926b6e1a6f1614cb6b536efa27eedc8dcc1beaa8 (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 e1473089b398ae92cc3d9db1ec144612b2be0c11
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jul 15 22:57:17 2009 +0200
[LINUX] On APF9328 makes it possible to have UART without RTS/CTS support + configure console port accordingly
commit 4651c97027b3e299ae4d867b46a36d7519343599
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jul 15 22:12:55 2009 +0200
[BUILD] Makes quilt script use git + some refinements
-----------------------------------------------------------------------
Summary of changes:
...dont_allocate_rts_interrupt_if_not_needed.patch | 43 ++++++++++++++++++++
scripts/quilt.sh | 27 ++++++++-----
2 files changed, 60 insertions(+), 10 deletions(-)
create mode 100644 buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/100-armadeus-imx-serial-dont_allocate_rts_interrupt_if_not_needed.patch
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/100-armadeus-imx-serial-dont_allocate_rts_interrupt_if_not_needed.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/100-armadeus-imx-serial-dont_allocate_rts_interrupt_if_not_needed.patch
new file mode 100644
index 0000000..f411fdc
--- /dev/null
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/100-armadeus-imx-serial-dont_allocate_rts_interrupt_if_not_needed.patch
@@ -0,0 +1,43 @@
+
+On MX1 platform, if the UART doesn't require RTS/CTS handling (info given by
+platform data), then don't try to allocate related interrupt.
+Without this patchi, MX1 serial port initialisation will fail if we say that
+we don't require RTS/CTS and don't provide a RTS IRQ number.
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: linux-2.6.29.4/drivers/serial/imx.c
+===================================================================
+--- linux-2.6.29.4.orig/drivers/serial/imx.c 2009-07-15 17:24:35.000000000 +0200
++++ linux-2.6.29.4/drivers/serial/imx.c 2009-07-15 17:30:00.000000000 +0200
+@@ -575,12 +575,14 @@
+ if (retval)
+ goto error_out2;
+
+- retval = request_irq(sport->rtsirq, imx_rtsint,
+- (sport->rtsirq < MAX_INTERNAL_IRQ) ? 0 :
+- IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
+- DRIVER_NAME, sport);
+- if (retval)
+- goto error_out3;
++ if (sport->have_rtscts) {
++ retval = request_irq(sport->rtsirq, imx_rtsint,
++ (sport->rtsirq < MAX_INTERNAL_IRQ) ? 0 :
++ IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
++ DRIVER_NAME, sport);
++ if (retval)
++ goto error_out3;
++ }
+ } else {
+ retval = request_irq(sport->port.irq, imx_int, 0,
+ DRIVER_NAME, sport);
+@@ -642,7 +644,8 @@
+ * Free the interrupts
+ */
+ if (sport->txirq > 0) {
+- free_irq(sport->rtsirq, sport);
++ if (sport->have_rtscts)
++ free_irq(sport->rtsirq, sport);
+ free_irq(sport->txirq, sport);
+ free_irq(sport->rxirq, sport);
+ } else
diff --git a/scripts/quilt.sh b/scripts/quilt.sh
index 0680d77..49968af 100755
--- a/scripts/quilt.sh
+++ b/scripts/quilt.sh
@@ -3,6 +3,7 @@
make shell_env
. armadeus_env.sh
+echo -e "\nThis script is going to rebuilt a quiltified Linux kernel in the current view..."
if [ "$1" == "export" ]; then
echo "Exporting your work (patches) from $ARMADEUS_LINUX_DIR/patches/ to $ARMADEUS_LINUX_PATCH_DIR"
@@ -14,22 +15,27 @@ fi
# else import patches:
-echo "Updating your SVN view"
-svn update
-
-echo "I will delete this directory: $ARMADEUS_LINUX_DIR"
-echo " Ok ? (y/n)"
-
+# Update repository
+echo "Update (pull) your local repository (y/n) ?"
read response
+if [ "$response" == "y" ] || [ "$response" == "yes" ]; then
+ git pull
+fi
-if [ "$response" != "y" ]; then
- exit 1
+# Move or delete current Linux dir
+echo "Rename or delete the Linux directory: $ARMADEUS_LINUX_DIR"
+echo " ?? (r/d)"
+read response
+EXT=`date +%Y_%M_%d_%H%m`
+if [ "$response" == "d" ]; then
+ rm -rf $ARMADEUS_LINUX_DIR
+else
+ mv $ARMADEUS_LINUX_DIR "$ARMADEUS_LINUX_DIR"."$EXT"
fi
-rm -rf $ARMADEUS_LINUX_DIR
+# Get Linux sources
make linux26-unpacked
-
pushd $ARMADEUS_LINUX_DIR
mkdir patches
@@ -62,3 +68,4 @@ echo -e "\n--- Your can now go to $ARMADEUS_LINUX_DIR\nHappy hacking ! ;-)\n"
echo -e "__ Don't forget to do a \"$0 export\" after your modifications __\n"
exit 0
+
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-15 14:45: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 926b6e1a6f1614cb6b536efa27eedc8dcc1beaa8 (commit)
from 04a392df4b4c79a89dd8576a015dd9e71040c5dc (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 926b6e1a6f1614cb6b536efa27eedc8dcc1beaa8
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jul 15 16:44:41 2009 +0200
[LINUX] Updates APF9328 default Linux configs according to new LCD support
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf9328_test/linux-2.6.29.4.config | 3 ++-
.../armadeus/apf9328/apf9328-linux-2.6.29.config | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/buildroot/local/apf9328_test/linux-2.6.29.4.config b/buildroot/local/apf9328_test/linux-2.6.29.4.config
index cd912a2..60c7c43 100644
--- a/buildroot/local/apf9328_test/linux-2.6.29.4.config
+++ b/buildroot/local/apf9328_test/linux-2.6.29.4.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29.4
-# Mon Jun 8 18:45:14 2009
+# Wed Jul 15 16:24:34 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -899,6 +899,7 @@ CONFIG_FB_IMX_SHARP_LQ043_TFT=y
# CONFIG_FB_IMX_SHARP_LQ057_TFT is not set
# CONFIG_FB_IMX_OPTREX_F51900_CSTN is not set
# CONFIG_FB_IMX_MOTOROLA_A910_TFT is not set
+# CONFIG_FB_IMX_CHIMEI_LW700AT9003_TFT is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
diff --git a/buildroot/target/device/armadeus/apf9328/apf9328-linux-2.6.29.config b/buildroot/target/device/armadeus/apf9328/apf9328-linux-2.6.29.config
index 44e4da5..5249054 100644
--- a/buildroot/target/device/armadeus/apf9328/apf9328-linux-2.6.29.config
+++ b/buildroot/target/device/armadeus/apf9328/apf9328-linux-2.6.29.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29.4
-# Mon Jun 8 18:45:14 2009
+# Wed Jul 15 16:24:34 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -899,6 +899,7 @@ CONFIG_FB_IMX_SHARP_LQ043_TFT=y
# CONFIG_FB_IMX_SHARP_LQ057_TFT is not set
# CONFIG_FB_IMX_OPTREX_F51900_CSTN is not set
# CONFIG_FB_IMX_MOTOROLA_A910_TFT is not set
+# CONFIG_FB_IMX_CHIMEI_LW700AT9003_TFT is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2009-07-13 15:50: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 04a392df4b4c79a89dd8576a015dd9e71040c5dc (commit)
from 118638ae108283a499d3e55a1b979b75f58d76a7 (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 04a392df4b4c79a89dd8576a015dd9e71040c5dc
Author: nicolas colombain <nic...@ar...>
Date: Mon Jul 13 17:49:50 2009 +0200
[LINUX] add GPS/GSM uart declaration to apf27.c
-----------------------------------------------------------------------
Summary of changes:
.../2.6.29/281-apf27-armadeus-add_apf27.c.patch | 113 ++++++++++++++++----
1 files changed, 92 insertions(+), 21 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 b29af1d..eb42f15 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
@@ -5,7 +5,7 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.29.4/arch/arm/mach-mx2/apf27.c 2009-06-22 15:19:21.000000000 +0200
-@@ -0,0 +1,1589 @@
+@@ -0,0 +1,1660 @@
+ /*
+ * apf27.c
+ *
@@ -114,6 +114,9 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+#define CONFIG_PWM
+#endif
+
++//#define CONFIG_GPS
++//#define CONFIG_GSM
++
+#ifdef CONFIG_PWM
+static int mxc_pwm0_pins[] = {
+ PE5_PF_PWM0
@@ -394,8 +397,6 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+static int mxc_uart0_pins[] = {
+ PE12_PF_UART1_TXD,
+ PE13_PF_UART1_RXD
-+ /*PE14_PF_UART1_CTS,
-+ PE15_PF_UART1_RTS*/
+};
+
+static int uart_mxc_port0_init(struct platform_device *pdev)
@@ -410,14 +411,29 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+ return 0;
+}
+
-+static int mxc_uart1_pins[] = { PE8_PF_UART3_TXD,
-+ PE9_PF_UART3_RXD,
-+ /*PE10_PF_UART3_CTS,
-+ PE11_PF_UART3_RTS*/ };
++static struct imxuart_platform_data uart0_pdata = {
++ .init = uart_mxc_port0_init,
++ .exit = uart_mxc_port0_exit,
++ .flags = 0,
++};
++
++#ifdef CONFIG_GSM
++#define GSM_POK_IN (GPIO_PORTE | 11)
++static int mxc_uart1_pins[] = {
++ PE3_PF_UART2_CTS,
++ PE4_PF_UART2_RTS,
++ PE6_PF_UART2_TXD,
++ PE7_PF_UART2_RXD,
++ (GSM_POK_IN | GPIO_OUT | GPIO_GPIO ) /* GSM_PWR_ON_not */
++};
+
+static int uart_mxc_port1_init(struct platform_device *pdev)
+{
-+ return mxc_gpio_setup_multiple_pins(mxc_uart1_pins, ARRAY_SIZE(mxc_uart1_pins), "UART1");
++ int res = mxc_gpio_setup_multiple_pins(mxc_uart1_pins, ARRAY_SIZE(mxc_uart1_pins), "UART1");
++ gpio_set_value(GSM_POK_IN, 0); /* start GSM */
++ mdelay(5000);
++ gpio_set_value(GSM_POK_IN, 1); /* start GSM */
++ return res;
+}
+
+static int uart_mxc_port1_exit(struct platform_device *pdev)
@@ -427,16 +443,66 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+ return 0;
+}
+
-+static struct imxuart_platform_data uart_pdata[] = {
-+ {
-+ .init = uart_mxc_port0_init,
-+ .exit = uart_mxc_port0_exit,
-+ .flags = IMXUART_HAVE_RTSCTS,
-+ }, {
-+ .init = uart_mxc_port1_init,
-+ .exit = uart_mxc_port1_exit,
-+ .flags = IMXUART_HAVE_RTSCTS,
-+ },
++static struct imxuart_platform_data uart1_pdata = {
++ .init = uart_mxc_port1_init,
++ .exit = uart_mxc_port1_exit,
++ .flags = IMXUART_HAVE_RTSCTS,
++};
++#endif
++
++#ifdef CONFIG_GPS
++#define GPS_WAKEUP (GPIO_PORTB | 20)
++#define GPS_TIMEPULSE (GPIO_PORTB | 21)
++
++static int mxc_uart4_pins[] = {
++ PB19_AF_UART5_RXD,
++ PB18_AF_UART5_TXD,
++ (GPS_WAKEUP | GPIO_OUT | GPIO_GPIO ),
++ (GPS_TIMEPULSE | GPIO_IN | GPIO_GPIO )
++};
++
++static int uart_mxc_port4_init(struct platform_device *pdev)
++{
++ int res = mxc_gpio_setup_multiple_pins(mxc_uart4_pins, ARRAY_SIZE(mxc_uart4_pins), "UART4");
++ gpio_set_value(GPS_WAKEUP, 1); /* start GPS */
++
++ return res;
++}
++
++static int uart_mxc_port4_exit(struct platform_device *pdev)
++{
++ mxc_gpio_release_multiple_pins(mxc_uart1_pins, ARRAY_SIZE(mxc_uart4_pins));
++
++ return 0;
++}
++
++static struct imxuart_platform_data uart4_pdata = {
++ .init = uart_mxc_port4_init,
++ .exit = uart_mxc_port4_exit,
++ .flags = 0,
++};
++#endif
++
++static int mxc_uart2_pins[] = {
++ PE8_PF_UART3_TXD,
++ PE9_PF_UART3_RXD,};
++
++static int uart_mxc_port2_init(struct platform_device *pdev)
++{
++ return mxc_gpio_setup_multiple_pins(mxc_uart2_pins, ARRAY_SIZE(mxc_uart2_pins), "UART2");
++}
++
++static int uart_mxc_port2_exit(struct platform_device *pdev)
++{
++ mxc_gpio_release_multiple_pins(mxc_uart2_pins, ARRAY_SIZE(mxc_uart2_pins));
++
++ return 0;
++}
++
++static struct imxuart_platform_data uart2_pdata = {
++ .init = uart_mxc_port2_init,
++ .exit = uart_mxc_port2_exit,
++ .flags = 0,
+};
+
+static int mxc_fec_pins[] = {
@@ -1507,9 +1573,14 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+
+ gpio_fec_active();
+
-+ mxc_register_device(&mxc_uart_device0, &uart_pdata[0]);
-+ mxc_register_device(&mxc_uart_device2, &uart_pdata[1]);
-+ /*mxc_register_device(&mxc_uart_device2, &uart_pdata[2]);*/
++ mxc_register_device(&mxc_uart_device0, &uart0_pdata);
++#ifdef CONFIG_GSM
++ mxc_register_device(&mxc_uart_device1, &uart1_pdata);
++#endif
++ mxc_register_device(&mxc_uart_device2, &uart2_pdata);
++#ifdef CONFIG_GPS
++ mxc_register_device(&mxc_uart_device4, &uart4_pdata);
++#endif
+ mxc_register_device(&mxc_nand_device, &apf27_nand_board_info);
+
+#ifdef CONFIG_PWM
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2009-07-13 11:32: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 118638ae108283a499d3e55a1b979b75f58d76a7 (commit)
from ad8270b7d8d19199db0f21330a263b86ec8aa579 (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 118638ae108283a499d3e55a1b979b75f58d76a7
Author: nicolas colombain <nic...@ar...>
Date: Mon Jul 13 13:31:29 2009 +0200
add LW700AT9003
-----------------------------------------------------------------------
Summary of changes:
.../2.6.29/023-armadeus-fblcd-kconfig.patch | 8 +++++++-
.../2.6.29/281-apf27-armadeus-add_apf27.c.patch | 6 ++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/023-armadeus-fblcd-kconfig.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/023-armadeus-fblcd-kconfig.patch
index aca4522..f00aecd 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/023-armadeus-fblcd-kconfig.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/023-armadeus-fblcd-kconfig.patch
@@ -10,7 +10,7 @@ Index: linux-2.6.29.4/drivers/video/Kconfig
config FB_IMX
tristate "Motorola i.MX LCD support"
depends on FB && ARM && ARCH_IMX
-@@ -402,6 +403,42 @@
+@@ -402,6 +403,48 @@
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
@@ -48,6 +48,12 @@ Index: linux-2.6.29.4/drivers/video/Kconfig
+ help
+ Motorola A910 screen, a 1.2" color QVGA, TFT panel.
+ The native resolution is 240x320.
++
++config FB_IMX_CHIMEI_LW700AT9003_TFT
++ bool "LW700AT9003"
++ help
++ Chimei LW700AT9003, a 7" 18 bits, TFT panel.
++ The native resolution is 800x600.
+endchoice
+
config FB_CYBER2000
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 6176fe3..b29af1d 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
@@ -5,7 +5,7 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.29.4/arch/arm/mach-mx2/apf27.c 2009-06-22 15:19:21.000000000 +0200
-@@ -0,0 +1,1587 @@
+@@ -0,0 +1,1589 @@
+ /*
+ * apf27.c
+ *
@@ -315,7 +315,7 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+ .irq = 0
+ },
+#ifdef CONFIG_VIDEO_AD9889
-+ [1] = {
++ [1] = {
+ .type = "ad9889",
+ .flags = 0,
+ .addr = 0x39,
@@ -541,6 +541,8 @@ Index: linux-2.6.29.4/arch/arm/mach-mx2/apf27.c
+ .mode = "Sharp-LQ043",
+# elif CONFIG_FB_IMX_SHARP_LQ057_TFT
+ .mode = "Sharp-LQ057",
++#elif CONFIG_FB_IMX_CHIMEI_LW700AT9003_TFT
++ .mode = "LW700AT9003",
+# endif
+ .init = apf27_fb_init,
+ .exit = apf27_fb_exit,
hooks/post-receive
--
armadeus
|
|
From: Nicolas <th...@us...> - 2009-07-13 09:43: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 ad8270b7d8d19199db0f21330a263b86ec8aa579 (commit)
from 6e1ca4a54ef52faea24871514b069b7b567cc3c1 (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 ad8270b7d8d19199db0f21330a263b86ec8aa579
Author: thom25 <nic...@ar...>
Date: Mon Jul 13 11:35:13 2009 +0200
add LW700AT9003
-----------------------------------------------------------------------
Summary of changes:
...-armadeus-add_LW700AT9003_to_mxcfb_modedb.patch | 24 ++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/286b-apf27-armadeus-add_LW700AT9003_to_mxcfb_modedb.patch
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/286b-apf27-armadeus-add_LW700AT9003_to_mxcfb_modedb.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/286b-apf27-armadeus-add_LW700AT9003_to_mxcfb_modedb.patch
new file mode 100644
index 0000000..93d4aaa
--- /dev/null
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/286b-apf27-armadeus-add_LW700AT9003_to_mxcfb_modedb.patch
@@ -0,0 +1,24 @@
+Index: linux-2.6.29/drivers/video/mxc/mxcfb_modedb.c
+===================================================================
+--- linux-2.6.29.orig/drivers/video/mxc/mxcfb_modedb.c 2009-03-31 10:57:25.000000000 +0200
++++ linux-2.6.29/drivers/video/mxc/mxcfb_modedb.c 2009-03-31 10:57:32.000000000 +0200
+@@ -101,6 +101,19 @@ const struct fb_videomode mxcfb_modedb[]
+ .vmode = FB_VMODE_NONINTERLACED, /* TO CHECK !! */
+ .flag = 0,
+ },
++ [7] = {
++ .name = "LW700AT9003",
++ .refresh = 60,
++ .xres = 800,
++ .yres = 480,
++ .pixclock = 30303, /* picoS */
++ .left_margin = 3, .right_margin = 2, /* at least 3 & 1 */
++ .upper_margin = 0x0f, .lower_margin = 0x0f,
++ .hsync_len = 64, .vsync_len = 16,
++ .sync = FB_SYNC_CLK_IDLE_EN | FB_SYNC_OE_ACT_HIGH | FB_SYNC_CLK_INVERT,
++ .vmode = FB_VMODE_NONINTERLACED,
++ .flag = 0,
++ },
+ };
+
+ int mxcfb_modedb_sz = ARRAY_SIZE(mxcfb_modedb);
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-03 14:01:26
|
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 6e1ca4a54ef52faea24871514b069b7b567cc3c1 (commit)
from 4497ea7faf5411bc05fd4ad2499ac6b8cde0d6db (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 6e1ca4a54ef52faea24871514b069b7b567cc3c1
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 3 16:01:03 2009 +0200
[BUILDROOT] Updates bluez (non)selection due to automatic package detection...
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf27_test/apf27_test.config | 6 +++++-
buildroot/local/apf9328_test/apf9328_test.config | 6 +++++-
buildroot/package/bluez/Config.in | 4 +++-
.../target/device/armadeus/apf27/apf27_defconfig | 6 +++++-
.../device/armadeus/apf9328/apf9328_defconfig | 6 +++++-
5 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/buildroot/local/apf27_test/apf27_test.config b/buildroot/local/apf27_test/apf27_test.config
index 1b16a38..9d2b65f 100644
--- a/buildroot/local/apf27_test/apf27_test.config
+++ b/buildroot/local/apf27_test/apf27_test.config
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Wed Jun 3 08:56:03 2009
+# Fri Jul 3 15:28:13 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -328,6 +328,10 @@ BR2_READLINE=y
# Armadeus specific packages
#
# BR2_PACKAGE_LIBDNET is not set
+
+#
+# bluez not available (need dbus)
+#
# BR2_PACKAGE_MESALIB is not set
BR2_PACKAGE_FBTEST=y
# BR2_PACKAGE_IMXSSI is not set
diff --git a/buildroot/local/apf9328_test/apf9328_test.config b/buildroot/local/apf9328_test/apf9328_test.config
index 44d0961..1daafc8 100644
--- a/buildroot/local/apf9328_test/apf9328_test.config
+++ b/buildroot/local/apf9328_test/apf9328_test.config
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Fri Jul 3 09:59:37 2009
+# Fri Jul 3 15:32:48 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -326,6 +326,10 @@ BR2_READLINE=y
# Armadeus specific packages
#
# BR2_PACKAGE_LIBDNET is not set
+
+#
+# bluez not available (need dbus)
+#
# BR2_PACKAGE_MESALIB is not set
BR2_PACKAGE_FBTEST=y
# BR2_PACKAGE_IMXSSI is not set
diff --git a/buildroot/package/bluez/Config.in b/buildroot/package/bluez/Config.in
index dbea3dc..f976bef 100644
--- a/buildroot/package/bluez/Config.in
+++ b/buildroot/package/bluez/Config.in
@@ -1,8 +1,10 @@
config BR2_PACKAGE_BLUEZ
bool "bluez"
default n
- select BR2_PACKAGE_DBUS
+ depends on BR2_PACKAGE_DBUS
select BR2_PACKAGE_PKGCONFIG
help
Install the bluez package
+comment "bluez not available (need dbus)"
+ depends on !BR2_PACKAGE_DBUS
diff --git a/buildroot/target/device/armadeus/apf27/apf27_defconfig b/buildroot/target/device/armadeus/apf27/apf27_defconfig
index fc6e35e..9e7bc47 100644
--- a/buildroot/target/device/armadeus/apf27/apf27_defconfig
+++ b/buildroot/target/device/armadeus/apf27/apf27_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Wed Jun 3 09:18:49 2009
+# Fri Jul 3 15:24:25 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -328,6 +328,10 @@ BR2_PACKAGE_PKGCONFIG=y
# Armadeus specific packages
#
# BR2_PACKAGE_LIBDNET is not set
+
+#
+# bluez not available (need dbus)
+#
# BR2_PACKAGE_MESALIB is not set
# BR2_PACKAGE_FBTEST is not set
# BR2_PACKAGE_IMXSSI is not set
diff --git a/buildroot/target/device/armadeus/apf9328/apf9328_defconfig b/buildroot/target/device/armadeus/apf9328/apf9328_defconfig
index 491b074..6e86426 100644
--- a/buildroot/target/device/armadeus/apf9328/apf9328_defconfig
+++ b/buildroot/target/device/armadeus/apf9328/apf9328_defconfig
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Wed Jun 3 09:20:00 2009
+# Fri Jul 3 15:32:48 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -324,6 +324,10 @@ BR2_PACKAGE_PKGCONFIG=y
# Armadeus specific packages
#
# BR2_PACKAGE_LIBDNET is not set
+
+#
+# bluez not available (need dbus)
+#
# BR2_PACKAGE_MESALIB is not set
# BR2_PACKAGE_FBTEST is not set
# BR2_PACKAGE_IMXSSI is not set
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-03 08:04: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 4497ea7faf5411bc05fd4ad2499ac6b8cde0d6db (commit)
from 6b6d3241294db5cc462b2e54185508bff4d7b0d9 (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 4497ea7faf5411bc05fd4ad2499ac6b8cde0d6db
Author: Julien Boibessot <jul...@ar...>
Date: Fri Jul 3 10:03:41 2009 +0200
[BUILDROOT] Adds Boa to APF9328 test config + moves Linux/uClibc/busybox respective BR2_xx variables to according places in config file
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf9328_test/apf9328_test.config | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/buildroot/local/apf9328_test/apf9328_test.config b/buildroot/local/apf9328_test/apf9328_test.config
index f6f7dde..44d0961 100644
--- a/buildroot/local/apf9328_test/apf9328_test.config
+++ b/buildroot/local/apf9328_test/apf9328_test.config
@@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
-# Tue Jun 2 21:25:34 2009
+# Fri Jul 3 09:59:37 2009
#
BR2_HAVE_DOT_CONFIG=y
BR2_VERSION="0.10.0-svn"
@@ -187,6 +187,7 @@ BR2_DEFAULT_KERNEL_HEADERS="2.6.27.3"
# BR2_UCLIBC_VERSION_0_9_28_3 is not set
BR2_UCLIBC_VERSION_0_9_29=y
# BR2_UCLIBC_VERSION_SNAPSHOT is not set
+BR2_UCLIBC_CONFIG=".//local/apf9328_test/uclibc-0.9.29.config"
# BR2_ENABLE_LOCALE is not set
# BR2_PTHREADS_NONE is not set
# BR2_PTHREADS is not set
@@ -284,6 +285,7 @@ BR2_BUSYBOX_VERSION_1_12_X=y
# BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set
BR2_BUSYBOX_VERSION="1.12.1"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
+BR2_PACKAGE_BUSYBOX_CONFIG=".//local/apf9328_test/busybox-1.12.1.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
@@ -380,7 +382,7 @@ BR2_NETWORK_SUPPORT=y
# BR2_PACKAGE_ARGUS is not set
# BR2_PACKAGE_AVAHI is not set
# BR2_PACKAGE_AXEL is not set
-# BR2_PACKAGE_BOA is not set
+BR2_PACKAGE_BOA=y
# BR2_PACKAGE_BIND is not set
# BR2_PACKAGE_BRIDGE is not set
# BR2_PACKAGE_DNSMASQ is not set
@@ -805,6 +807,7 @@ BR2_TARGET_ROOTFS_TAR_COPYTO=""
#
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="$(BR2_BOARD_NAME)"
+BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE=".//local/apf9328_test/u-boot/apf9328.h"
BR2_TARGET_UBOOT_CUSTOM_PATCH=""
BR2_TARGET_UBOOT_SERVERIP=""
BR2_TARGET_UBOOT_IPADDR=""
@@ -824,6 +827,7 @@ BR2_KERNEL_LINUX_ADVANCED=y
# BR2_KERNEL_LINUX is not set
# BR2_KERNEL_HURD is not set
BR2_PACKAGE_LINUX=y
+BR2_PACKAGE_LINUX_KCONFIG=".//local/apf9328_test/linux-2.6.29.4.config"
BR2_PACKAGE_LINUX_FORMAT="uImage"
BR2_KERNEL_PATCH_LEVEL="$(BR2_KERNEL_MINORLEVEL)"
BR2_KERNEL_CURRENT_VERSION="2.6.26.3"
@@ -896,7 +900,3 @@ BR2_LINUX_BIN_UIMAGE=y
# BR2_LINUX_COPYTO_TFTPBOOT is not set
BR2_LINUX_COPYTO=""
# BR2_LINUX_COPY_CONFIGURATION is not set
-BR2_PACKAGE_LINUX_KCONFIG=".//local/apf9328_test/linux-2.6.29.4.config"
-BR2_PACKAGE_BUSYBOX_CONFIG=".//local/apf9328_test/busybox-1.12.1.config"
-BR2_UCLIBC_CONFIG=".//local/apf9328_test/uclibc-0.9.29.config"
-BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE=".//local/apf9328_test/u-boot/apf9328.h"
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-01 20:46:02
|
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 6b6d3241294db5cc462b2e54185508bff4d7b0d9 (commit)
from 59f0fd78578b431e960b339af119195dc0f0e833 (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 6b6d3241294db5cc462b2e54185508bff4d7b0d9
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jul 1 22:43:51 2009 +0200
[DEMOS] xenomai examples: cleanup + indent checking + allows non RT kernel examples to be compiled for APF27
-----------------------------------------------------------------------
Summary of changes:
target/demos/real_time/Makefile.in | 6 ++-
target/demos/real_time/README | 8 ++++
target/demos/real_time/common.h | 5 +-
target/demos/real_time/common_kernel.h | 15 +++++++-
.../linux/kernel/interrupt_linux_kernel.c | 12 ++++--
.../linux/user_space/interrupt_linux_us.c | 41 +++++++++++---------
.../xenomai/kernel/interrupt_xeno_kernel.c | 22 ++++++----
.../kernel/sleep_kernel/pulse_linux_kernel_sleep.c | 20 +++++++---
.../kernel/timer_kernel/pulse_linux_kernel_timer.c | 13 ++++--
.../kernel/rt_timer/pulse_xeno_kernel_rt_timer.c | 23 +++++++----
.../kernel/timer_kernel/pulse_xeno_kernel_timer.c | 23 +++++++----
11 files changed, 123 insertions(+), 65 deletions(-)
create mode 100644 target/demos/real_time/README
diff --git a/target/demos/real_time/Makefile.in b/target/demos/real_time/Makefile.in
index d64de71..3728d35 100644
--- a/target/demos/real_time/Makefile.in
+++ b/target/demos/real_time/Makefile.in
@@ -52,7 +52,9 @@ CLEANMOD := ${patsubst %, .%*, $(MODULES)}
PWD := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
obj-m := $(OBJ)
-CLEAN_MOD= modules.order *.ko *.mod.c *.mod.o *.symvers $(CLEANMOD) .tmp_versions
+CLEAN_MOD= modules.order *.ko *.mod.c *.mod.o *.symvers $(CLEANMOD)
+CLEAN_MOD+= .tmp_versions Module.markers
+
$(EXEC): $(MODULES).c
$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
@@ -60,8 +62,10 @@ $(EXEC): $(MODULES).c
install: $(EXEC)
cp $(EXEC) $(DEST_DIR)/$(EXEC)
endif
+
.PHONY: all
all: $(EXEC)
+
.PHONY: clean
clean:
rm -rf $(OBJ) $(CLEAN_MOD)
diff --git a/target/demos/real_time/README b/target/demos/real_time/README
new file mode 100644
index 0000000..545e5da
--- /dev/null
+++ b/target/demos/real_time/README
@@ -0,0 +1,8 @@
+
+fractal/: Linux application to put the system under heavy load
+
+pulse/: example which generates a square signal on an i.MX GPIO with
+ different means (timer, sleep)
+
+interrupt:/ example which toggles an i.MX GPIO when it receives an interrupt
+ on an other GPIO
diff --git a/target/demos/real_time/common.h b/target/demos/real_time/common.h
index 517567d..dc537f9 100644
--- a/target/demos/real_time/common.h
+++ b/target/demos/real_time/common.h
@@ -1,13 +1,12 @@
#ifndef COMMON_H
#define COMMON_H
-#define INTERRUPT_OUTPUT_PORT 9
-#define INTERRUPT_INPUT_PORT 6
+/* Common defines used in userspace applications */
+
#define INTERRUPT_OUTPUT_DEV "/dev/gpio/PA9"
#define INTERRUPT_INPUT_DEV "/dev/gpio/PA6"
#define PULSE_OUTPUT_DEV "/dev/gpio/PA4"
-#define PULSE_OUTPUT_PORT 4
#define TIMESLEEP 10000
#define TASK_PRIO 99 /* Highest RT priority */
diff --git a/target/demos/real_time/common_kernel.h b/target/demos/real_time/common_kernel.h
index 8459827..b3fa34b 100644
--- a/target/demos/real_time/common_kernel.h
+++ b/target/demos/real_time/common_kernel.h
@@ -1,8 +1,21 @@
#ifndef COMMON_KERNEL_H
#define COMMON_KERNEL_H
+
+/* Common defines used in kernel drivers */
+
#include <asm/gpio.h>
+#ifdef CONFIG_ARCH_MX2
+#include <mach/iomux-mx1-mx2.h>
+#endif
+
#include "common.h"
-#define INTERRUPT_INPUT_NB IRQ_GPIOA(INTERRUPT_INPUT_PORT)
+
+#define INTERRUPT_OUTPUT_GPIO (GPIO_PORTA | 9)
+
+#define INTERRUPT_INPUT_GPIO (GPIO_PORTA | 6)
+#define INTERRUPT_INPUT_NB IRQ_GPIOA(6)
+
+#define PULSE_OUTPUT_GPIO (GPIO_PORTA | 4)
#endif /* COMMON_KERNEL_H */
diff --git a/target/demos/real_time/interrupt/linux/kernel/interrupt_linux_kernel.c b/target/demos/real_time/interrupt/linux/kernel/interrupt_linux_kernel.c
index f529183..d6cc992 100644
--- a/target/demos/real_time/interrupt/linux/kernel/interrupt_linux_kernel.c
+++ b/target/demos/real_time/interrupt/linux/kernel/interrupt_linux_kernel.c
@@ -1,8 +1,9 @@
/*
-* Small linux kernel driver for handling interrupt
+* Small Linux driver for handling interrupt from a GPIO and toggling
+* an other one at each occurancy.
*
-* Copyright (C) 2009 <gwe...@ar...>
-* Armadeus Project / Armadeus Systems
+* Copyright (C) 2009 Armadeus Systems / Armadeus Project
+* Author: Gwenhael GOAVEC-MEROU <gwe...@ar...>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -26,8 +27,10 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/gpio.h>
+
#include "../../../common_kernel.h"
+
MODULE_AUTHOR("Gwenhael GOAVEC MEROU");
MODULE_DESCRIPTION("irq kernel test");
MODULE_SUPPORTED_DEVICE("none");
@@ -38,8 +41,9 @@ static int iomask = 0x00;
/* irq handler */
static irqreturn_t test_interrupt_handler(int irqn, void *dev)
{
- imx_gpio_set_value(INTERRUPT_OUTPUT_PORT, iomask);
+ gpio_set_value(INTERRUPT_OUTPUT_GPIO, iomask);
iomask^=1;
+
return IRQ_HANDLED;
}
diff --git a/target/demos/real_time/interrupt/linux/user_space/interrupt_linux_us.c b/target/demos/real_time/interrupt/linux/user_space/interrupt_linux_us.c
index 1e77b11..1df2516 100644
--- a/target/demos/real_time/interrupt/linux/user_space/interrupt_linux_us.c
+++ b/target/demos/real_time/interrupt/linux/user_space/interrupt_linux_us.c
@@ -1,8 +1,9 @@
/*
-* linux userspace apps for handling interrupts
+* Linux userspace app for handling "interrupts" on a GPIO device descriptor
+* (with blocking read) and toggling an other GPIO at each occurancy.
*
-* Copyright (C) 2009 <gwe...@ar...>
-* Armadeus Project / Armadeus Systems
+* Copyright (C) 2009 Armadeus Systems / Armadeus Project
+* Author: <gwe...@ar...>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -28,42 +29,46 @@
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
+
#include "../../../common.h"
-int main (int argc, char **argv)
+
+int main(void)
{
- int fd_input,fd_output, retval = 0, iomask=0x00;
+ int fd_input, fd_output, retval = 0, iomask=0x00;
+ char c;
- // Open gpio file device for communication;
+ /* Open GPIO device for communication */
fd_input = open (INTERRUPT_INPUT_DEV, O_RDONLY);
if (fd_input < 0) {
- printf ("Open Failed : %s\n",INTERRUPT_INPUT_DEV);
+ printf ("Open Failed : %s\n", INTERRUPT_INPUT_DEV);
exit (EXIT_FAILURE);
}
fd_output = open(INTERRUPT_OUTPUT_DEV, O_RDWR);
if (fd_output < 0) {
- printf("Open Failed : %s\n",INTERRUPT_OUTPUT_DEV);
+ printf("Open Failed : %s\n", INTERRUPT_OUTPUT_DEV);
exit (EXIT_FAILURE);
}
- // set this process as owner of device file
- retval = fcntl (fd_input, F_SETOWN, getpid ());
+ /* Set this process as owner of device file */
+ retval = fcntl(fd_input, F_SETOWN, getpid());
if (retval < 0) {
- printf ("F_SETOWN fails \n");
+ printf ("F_SETOWN fails for%s\n", INTERRUPT_INPUT_DEV);
return EXIT_FAILURE;
}
retval = fcntl(fd_output, F_SETOWN, getpid());
if (retval < 0) {
- printf("F_SETOWN fails for %s\n",INTERRUPT_OUTPUT_DEV);
+ printf("F_SETOWN fails for %s\n", INTERRUPT_OUTPUT_DEV);
return EXIT_FAILURE;
}
- char c;
- while (1) {
+
+ while(1) {
read (fd_input, &c, 1);
- write(fd_output, &iomask,sizeof(iomask));
- iomask ^=1;// (iomask == 0x00)?0x01:0x00;
+ write(fd_output, &iomask, sizeof(iomask));
+ iomask ^=1;/* (iomask == 0x00)?0x01:0x00; */
}
- close (fd_input);
- close (fd_output);
+ close(fd_input);
+ close(fd_output);
+
exit (EXIT_SUCCESS);
}
diff --git a/target/demos/real_time/interrupt/xenomai/kernel/interrupt_xeno_kernel.c b/target/demos/real_time/interrupt/xenomai/kernel/interrupt_xeno_kernel.c
index 8cc4edd..368d6ae 100644
--- a/target/demos/real_time/interrupt/xenomai/kernel/interrupt_xeno_kernel.c
+++ b/target/demos/real_time/interrupt/xenomai/kernel/interrupt_xeno_kernel.c
@@ -1,8 +1,9 @@
/*
-* Small xenomai kernel driver for handling interrupt
+* Small xenomai kernel driver for handling interrupt from a GPIO and toggling
+* an other GPIO at each occurancy
*
-* Copyright (C) 2009 <gwe...@ar...>
-* Armadeus Project / Armadeus Systems
+* Copyright (C) 2009 Armadeus Systems / Armadeus Project
+* Author: <gwe...@ar...>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -37,24 +38,27 @@ static int iomask;
static int irq_server (xnintr_t *intr)
{
- imx_gpio_set_value(INTERRUPT_OUTPUT_PORT, iomask);
+ gpio_set_value(INTERRUPT_OUTPUT_GPIO, iomask);
iomask^=1;
+
return RT_INTR_HANDLED;
}
-static int __init irq_init(void)
+static int __init irq_init(void)
{
int err;
+
iomask = 0x00;
/* Version With 6 param only on kernel space */
- err = rt_intr_create(&intr_desc,"MyIrq", INTERRUPT_INPUT_NB, irq_server, NULL, 0);
- if (err !=0){
+ err = rt_intr_create(&intr_desc, "MyIrq", INTERRUPT_INPUT_NB, irq_server, NULL, 0);
+ if (err != 0) {
printk("rt_intr_create : error\n");
return err;
}
- err = rt_intr_enable(&intr_desc);
+ err = rt_intr_enable(&intr_desc);
if (err == 0)
- printk("rt_intr_create : ok\n");
+ printk("rt_intr_create : ok\n";
+
return err;
}
diff --git a/target/demos/real_time/pulse/linux/kernel/sleep_kernel/pulse_linux_kernel_sleep.c b/target/demos/real_time/pulse/linux/kernel/sleep_kernel/pulse_linux_kernel_sleep.c
index 6b95ecc..1f6439b 100644
--- a/target/demos/real_time/pulse/linux/kernel/sleep_kernel/pulse_linux_kernel_sleep.c
+++ b/target/demos/real_time/pulse/linux/kernel/sleep_kernel/pulse_linux_kernel_sleep.c
@@ -28,6 +28,7 @@
#include <linux/delay.h>
#include <linux/timer.h>
#include <asm/gpio.h>
+
#include "../../../../common_kernel.h"
MODULE_AUTHOR("Gwenhael GOAVEC MEROU");
@@ -38,27 +39,33 @@ MODULE_LICENSE("GPL");
struct task_struct *th;
/* thread fonction */
-int fct_thread_sleep(void *data) {
+int fct_thread_sleep(void *data)
+{
int iomask=1;
int timesleep = TIMESLEEP/1000;
+
do {
- imx_gpio_set_value(PULSE_OUTPUT_PORT, iomask);
+ gpio_set_value(PULSE_OUTPUT_GPIO, iomask);
iomask^=1;
msleep(timesleep);
- }while (!kthread_should_stop());
+ } while (!kthread_should_stop());
+
return 0;
}
/* loading (insmod) */
-static int __init blink_init(void) {
- th = kthread_create(fct_thread_sleep,NULL,"pulse_linux_kernel_thread_sleep");
+static int __init blink_init(void)
+{
+ th = kthread_create(fct_thread_sleep, NULL, "pulse_linux_kernel_thread_sleep");
wake_up_process(th);
+
return 0;
}
/* unloading (rmmod) */
-static void __exit blink_exit(void) {
+static void __exit blink_exit(void)
+{
printk(KERN_INFO "blink_exit\n");
kthread_stop(th);
}
@@ -66,3 +73,4 @@ static void __exit blink_exit(void) {
/* API Linux devices */
module_init(blink_init);
module_exit(blink_exit);
+
diff --git a/target/demos/real_time/pulse/linux/kernel/timer_kernel/pulse_linux_kernel_timer.c b/target/demos/real_time/pulse/linux/kernel/timer_kernel/pulse_linux_kernel_timer.c
index ad4ebe1..d75562d 100644
--- a/target/demos/real_time/pulse/linux/kernel/timer_kernel/pulse_linux_kernel_timer.c
+++ b/target/demos/real_time/pulse/linux/kernel/timer_kernel/pulse_linux_kernel_timer.c
@@ -1,5 +1,5 @@
/*
-* linux kernel driver for generation signal with timer
+* Linux kernel driver for generating a signal with timer (GPIO toggling)
*
* Copyright (C) 2009 <gwe...@ar...>
* Armadeus Project / Armadeus Systems
@@ -40,15 +40,17 @@ static int iomask = 0x00;
static struct timer_list mt;
#define TS HZ/100
/* timer callback*/
-void fonctionTimer(unsigned long arg) {
- imx_gpio_set_value(PULSE_OUTPUT_PORT, iomask);
+void fonctionTimer(unsigned long arg)
+{
+ gpio_set_value(PULSE_OUTPUT_GPIO, iomask);
iomask^=1;
mt.expires = jiffies+TS;
add_timer(&mt);
}
/* loading (insmod) */
-static int __init blink_init(void) {
+static int __init blink_init(void)
+{
current->state = TASK_INTERRUPTIBLE;
init_timer(&mt);
mt.expires = jiffies + TS;
@@ -61,7 +63,8 @@ static int __init blink_init(void) {
}
/* unloading (rmmod) */
-static void __exit blink_exit(void) {
+static void __exit blink_exit(void)
+{
printk(KERN_INFO "blink_exit\n");
del_timer(&mt);
}
diff --git a/target/demos/real_time/pulse/xenomai/kernel/rt_timer/pulse_xeno_kernel_rt_timer.c b/target/demos/real_time/pulse/xenomai/kernel/rt_timer/pulse_xeno_kernel_rt_timer.c
index edf0020..ea91d19 100644
--- a/target/demos/real_time/pulse/xenomai/kernel/rt_timer/pulse_xeno_kernel_rt_timer.c
+++ b/target/demos/real_time/pulse/xenomai/kernel/rt_timer/pulse_xeno_kernel_rt_timer.c
@@ -35,17 +35,19 @@ MODULE_LICENSE("GPL");
RT_TASK blink_task;
static int end = 0;
-void blink(void *arg){
+void blink(void *arg)
+{
int err, iomask;
+
printk(KERN_INFO "entering blink\n");
- if (imx_gpio_request(PULSE_OUTPUT_PORT, "blink") < 0) {
- gpio_free(PULSE_OUTPUT_PORT);
+ if (gpio_request(PULSE_OUTPUT_GPIO, "blink") < 0) {
+ gpio_free(PULSE_OUTPUT_GPIO);
return ;
}
- imx_gpio_direction_output(PULSE_OUTPUT_PORT,1);
+ gpio_direction_output(PULSE_OUTPUT_GPIO, 1);
- if ((err = rt_task_set_periodic(NULL, TM_NOW,rt_timer_ns2ticks(TIMESLEEP*1000)))){
+ if ((err = rt_task_set_periodic(NULL, TM_NOW, rt_timer_ns2ticks(TIMESLEEP*1000)))) {
printk("rt task set periodic failed \n");
return;
}
@@ -53,14 +55,15 @@ void blink(void *arg){
while(!end){
rt_task_wait_period(NULL);
- imx_gpio_set_value(PULSE_OUTPUT_PORT, iomask);
+ gpio_set_value(PULSE_OUTPUT_GPIO, iomask);
iomask^=1;
}
printk("end\n");
}
/* loading (insmod) */
-static int __init blink_init(void) {
+static int __init blink_init(void)
+{
printk(KERN_INFO "blink_init\n");
if (rt_task_create(&blink_task, "blink", 0, 99, 0)) {
printk("task create error\n");
@@ -70,16 +73,18 @@ static int __init blink_init(void) {
printk("task start error\n");
return -EBUSY;
}
+
return 0;
}
/* unloading (rmmod) */
-static void __exit blink_exit(void) {
+static void __exit blink_exit(void)
+{
end = 1;
printk(KERN_INFO "blink_exit\n");
rt_task_delete(&blink_task);
rt_timer_stop();
- gpio_free(PULSE_OUTPUT_PORT);
+ gpio_free(PULSE_OUTPUT_GPIO);
}
/* API kernel driver */
diff --git a/target/demos/real_time/pulse/xenomai/kernel/timer_kernel/pulse_xeno_kernel_timer.c b/target/demos/real_time/pulse/xenomai/kernel/timer_kernel/pulse_xeno_kernel_timer.c
index 7739dbc..9e718b3 100644
--- a/target/demos/real_time/pulse/xenomai/kernel/timer_kernel/pulse_xeno_kernel_timer.c
+++ b/target/demos/real_time/pulse/xenomai/kernel/timer_kernel/pulse_xeno_kernel_timer.c
@@ -35,36 +35,41 @@ MODULE_LICENSE("GPL");
static rtdm_task_t blink_task;
static int volatile end = 0;
-void blink(void *arg){
+void blink(void *arg)
+{
int iomask;
+
printk(KERN_INFO "entering blink\n");
iomask=0;
- while(!end){
+ while(!end) {
rtdm_task_wait_period();
- gpio_set_value(PULSE_OUTPUT_PORT, iomask);
+ gpio_set_value(PULSE_OUTPUT_GPIO, iomask);
iomask^=1;
}
printk("end\n");
}
/* module load (insmod) */
-static int __init blink_init(void) {
+static int __init blink_init(void)
+{
printk(KERN_INFO "blink_init\n");
- if (gpio_request(PULSE_OUTPUT_PORT, "blink") < 0) {
- gpio_free(PULSE_OUTPUT_PORT);
+ if (gpio_request(PULSE_OUTPUT_GPIO, "blink") < 0) {
+ gpio_free(PULSE_OUTPUT_GPIO);
return -EBUSY;
}
- gpio_direction_output(PULSE_OUTPUT_PORT,1);
+ gpio_direction_output(PULSE_OUTPUT_GPIO, 1);
+
return rtdm_task_init(&blink_task, "blink", blink, NULL,
99, TIMESLEEP*1000);
}
/* module unload (rmmod) */
-static void __exit blink_exit(void) {
+static void __exit blink_exit(void)
+{
end = 1;
printk(KERN_INFO "blink_exit\n");
rtdm_task_join_nrt(&blink_task,1000);
- gpio_free(PULSE_OUTPUT_PORT);
+ gpio_free(PULSE_OUTPUT_GPIO);
}
/* API kernel driver */
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-01 15:06:38
|
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 59f0fd78578b431e960b339af119195dc0f0e833 (commit)
via 7efab729eedb9652bc5a6daaa884f700e00b08a7 (commit)
from b0065b0c0132ed24beeb055a78170713bd970baf (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 59f0fd78578b431e960b339af119195dc0f0e833
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jul 1 17:03:14 2009 +0200
[BUILDROOT] Add preliminary work to build bluez
commit 7efab729eedb9652bc5a6daaa884f700e00b08a7
Author: Julien Boibessot <julien@LAPTOP-ARMADEUS-JB.(none)>
Date: Wed Jul 1 16:38:36 2009 +0200
[BUILDROOT] Add preliminary work to build bluez
-----------------------------------------------------------------------
Summary of changes:
buildroot/package/bluez/Config.in | 8 +
buildroot/package/bluez/bluetooth.conf | 33 ++++
buildroot/package/bluez/bluetooth.default | 37 ++++
buildroot/package/bluez/bluetooth.init | 102 +++++++++++
buildroot/package/bluez/bluez-pand-devup.sh | 2 +
buildroot/package/bluez/bluez-utils-bluepin.sh | 2 +
.../bluez/bluez-utils-bluez-include-patch.patch | 11 ++
...ttach-removes-uclibc-not-supported-speeds.patch | 25 +++
buildroot/package/bluez/bluez.mk | 177 ++++++++++++++++++++
buildroot/package/bluez/hcid.conf | 57 +++++++
buildroot/package/bluez/rfcomm-getty | 9 +
buildroot/package/bluez/rfcomm.conf | 16 ++
12 files changed, 479 insertions(+), 0 deletions(-)
create mode 100644 buildroot/package/bluez/Config.in
create mode 100644 buildroot/package/bluez/bluetooth.conf
create mode 100644 buildroot/package/bluez/bluetooth.default
create mode 100644 buildroot/package/bluez/bluetooth.init
create mode 100644 buildroot/package/bluez/bluez-pand-devup.sh
create mode 100644 buildroot/package/bluez/bluez-utils-bluepin.sh
create mode 100644 buildroot/package/bluez/bluez-utils-bluez-include-patch.patch
create mode 100644 buildroot/package/bluez/bluez-utils-hciattach-removes-uclibc-not-supported-speeds.patch
create mode 100644 buildroot/package/bluez/bluez.mk
create mode 100644 buildroot/package/bluez/hcid.conf
create mode 100644 buildroot/package/bluez/rfcomm-getty
create mode 100644 buildroot/package/bluez/rfcomm.conf
diff --git a/buildroot/package/bluez/Config.in b/buildroot/package/bluez/Config.in
new file mode 100644
index 0000000..dbea3dc
--- /dev/null
+++ b/buildroot/package/bluez/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_BLUEZ
+ bool "bluez"
+ default n
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_PKGCONFIG
+ help
+ Install the bluez package
+
diff --git a/buildroot/package/bluez/bluetooth.conf b/buildroot/package/bluez/bluetooth.conf
new file mode 100644
index 0000000..aa642a2
--- /dev/null
+++ b/buildroot/package/bluez/bluetooth.conf
@@ -0,0 +1,33 @@
+<!-- This configuration file specifies the required security policies
+ for Bluetooth core service to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+ <policy user="root">
+ <allow own="org.bluez"/>
+ </policy>
+
+ <policy at_console="true">
+ <allow send_destination="org.bluez.Manager"/>
+ <allow receive_sender="org.bluez.Manager"/>
+
+ <allow send_path="/org/bluez"/>
+
+ <allow send_destination="org.bluez.Adapter"/>
+ <allow receive_sender="org.bluez.Adapter"/>
+
+ <allow send_destination="org.bluez.Service"/>
+ <allow receive_sender="org.bluez.Service"/>
+
+ <allow send_destination="org.bluez.Database"/>
+ <allow receive_sender="org.bluez.Database"/>
+
+ <allow send_destination="org.bluez.Security"/>
+ <allow receive_sender="org.bluez.Security"/>
+ </policy>
+
+</busconfig>
diff --git a/buildroot/package/bluez/bluetooth.default b/buildroot/package/bluez/bluetooth.default
new file mode 100644
index 0000000..4817d38
--- /dev/null
+++ b/buildroot/package/bluez/bluetooth.default
@@ -0,0 +1,37 @@
+# Bluetooth configuraton file
+
+# Start of hcid (allowed values are "true" and "false")
+HCID_ENABLE=true
+
+# Config file for hcid
+HCID_CONFIG="/etc/bluetooth/hcid.conf"
+
+# Start sdpd (allowed values are "true" and "false")
+SDPD_ENABLE=true
+
+# Start hidd (allowed values are "true" and "false")
+HIDD_ENABLE=true
+
+# Arguments to hidd
+HIDD_OPTIONS=""
+
+# Run hid2hci (allowed values are "true" and "false")
+HID2HCI_ENABLE=true
+
+# Bind rfcomm devices (allowed values are "true" and "false")
+RFCOMM_ENABLE=true
+
+# Config file for rfcomm
+RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
+
+# Start dund (allowed values are "true" and "false")
+DUND_ENABLE=false
+
+# Arguments to dund
+DUND_OPTIONS="--listen --persist"
+
+# Start pand (allowed values are "true" and "false")
+PAND_ENABLE=false
+
+# Arguments to pand
+PAND_OPTIONS="--listen --role NAP"
diff --git a/buildroot/package/bluez/bluetooth.init b/buildroot/package/bluez/bluetooth.init
new file mode 100644
index 0000000..171f8e0
--- /dev/null
+++ b/buildroot/package/bluez/bluetooth.init
@@ -0,0 +1,102 @@
+#!/bin/sh
+#
+# Start/stop the Bluetooth daemons
+#
+
+set -e
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+NAME=bluetooth
+DESC="Bluetooth subsystem"
+
+HCIATTACH_NAME=hciattach
+DAEMON_NAME=hcid
+HID2HCI_NAME=hid2hci
+RFCOMM_NAME=rfcomm
+RFCOMM_GETTY_NAME=rfcomm-getty
+
+HCIATTACH_EXEC="`which $HCIATTACH_NAME || true`"
+DAEMON_EXEC="`which $DAEMON_NAME || true`"
+HID2HCI_EXEC="`which $HID2HCI_NAME || true`"
+RFCOMM_EXEC="`which $RFCOMM_NAME || true`"
+
+DAEMON_ENABLE=true
+HID2HCI_ENABLE=false
+RFCOMM_ENABLE=true
+
+DAEMON_CONFIG="/etc/bluetooth/hcid.conf"
+RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
+
+RFCOMM_GETTY=/etc/bluetooth/rfcomm/rfcomm-getty
+
+HCIATTACH_ENABLE=true
+HCIATTACH_TTY=ttyS1
+HCIATTACH_TYPE=gumstix
+HCIATTACH_START_SPEED=57600
+HCIATTACH_SPEED=921600
+HCIATTACH_HANDSHAKE=flow
+
+[ -e /etc/default/bluetooth ] && . /etc/default/bluetooth
+
+case "$1" in
+ start)
+
+ echo -n "Starting 32kHz clock..."
+ /usr/sbin/pxaregs OSCC_OON 1
+ while /usr/sbin/pxaregs OSCC_OOK | tail -n 1 | grep -q -v 1;do
+ echo -n '.'
+ sleep 1
+ done
+ echo "Settled"
+
+ /sbin/modprobe gumstix_bluetooth
+ /sbin/modprobe proc_gpio
+
+ echo "AF1 in" >/proc/gpio/GPIO42
+ echo "AF2 out" >/proc/gpio/GPIO43
+ echo "AF1 in" >/proc/gpio/GPIO44
+ echo "AF2 out" >/proc/gpio/GPIO45
+
+ echo -n "Starting $DESC:"
+ if $HCIATTACH_ENABLE && [ -x "$HCIATTACH_EXEC" ] ; then
+ $HCIATTACH_EXEC -s $HCIATTACH_START_SPEED $HCIATTACH_TTY $HCIATTACH_TYPE $HCIATTACH_SPEED $HCIATTACH_HANDSHAKE
+ echo -n " $HCIATTACH_TTY"
+ fi
+ if $DAEMON_ENABLE && [ -x "$DAEMON_EXEC" ] && [ -f "$DAEMON_CONFIG" ] ; then
+ $DAEMON_EXEC -s -f $DAEMON_CONFIG
+ echo -n " $DAEMON_NAME"
+ fi
+ if $HID2HCI_ENABLE && [ -x "$HID2HCI_EXEC" ] ; then
+ $HID2HCI_EXEC --tohci > /dev/null 2>&1 || true
+ echo -n " $HID2HCI_NAME"
+ fi
+ if $RFCOMM_ENABLE && [ -x "$RFCOMM_EXEC" -a -f "$RFCOMM_CONFIG" ] ; then
+ sleep 1
+ /usr/bin/sdptool add --channel=1 SP > /dev/null
+ rfcomm -r watch 0 1 /sbin/getty -w -L rfcomm0 115200 vt100 &
+# $RFCOMM_EXEC -r -f $RFCOMM_CONFIG watch all > /dev/null 2>&1 &
+# $RFCOMM_GETTY > /dev/null 2>&1 &
+ echo -n " $RFCOMM_NAME"
+ fi
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping $DESC:"
+ killall $RFCOMM_NAME > /dev/null 2>&1 || true
+ echo -n " $RFCOMM_NAME"
+ killall $HID2HCI_NAME > /dev/null 2>&1 || true
+ echo -n " $HID2HCI_NAME"
+ killall $DAEMON_NAME > /dev/null 2>&1 || true
+ echo -n " $DAEMON_NAME"
+ killall $HCIATTACH_NAME > /dev/null 2>&1 || true
+ echo -n " $HCIATTACH_NAME"
+ echo "."
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/buildroot/package/bluez/bluez-pand-devup.sh b/buildroot/package/bluez/bluez-pand-devup.sh
new file mode 100644
index 0000000..6015470
--- /dev/null
+++ b/buildroot/package/bluez/bluez-pand-devup.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+/sbin/ifup $1
diff --git a/buildroot/package/bluez/bluez-utils-bluepin.sh b/buildroot/package/bluez/bluez-utils-bluepin.sh
new file mode 100644
index 0000000..dccb76e
--- /dev/null
+++ b/buildroot/package/bluez/bluez-utils-bluepin.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "PIN:`/bin/cat /etc/bluetooth/pin`"
diff --git a/buildroot/package/bluez/bluez-utils-bluez-include-patch.patch b/buildroot/package/bluez/bluez-utils-bluez-include-patch.patch
new file mode 100644
index 0000000..f3465e8
--- /dev/null
+++ b/buildroot/package/bluez/bluez-utils-bluez-include-patch.patch
@@ -0,0 +1,11 @@
+--- bluez-utils-3.13/common/Makefile.in.orig 2007-08-01 14:00:11.000000000 -0700
++++ bluez-utils-3.13/common/Makefile.in 2007-08-01 14:00:30.000000000 -0700
+@@ -226,7 +226,7 @@
+ hal.h $(hal_sources) notify.h $(notify_sources)
+
+ test_textfile_LDADD = libhelper.a
+-AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@
++AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@
+ EXTRA_DIST = ppoll.h uinput.h hal-dummy.c hal-libhal.c \
+ notify-dummy.c notify-inotify.c \
+ sdp-dummy.c sdp-expat.c sdp-glib.c
diff --git a/buildroot/package/bluez/bluez-utils-hciattach-removes-uclibc-not-supported-speeds.patch b/buildroot/package/bluez/bluez-utils-hciattach-removes-uclibc-not-supported-speeds.patch
new file mode 100644
index 0000000..b9a2557
--- /dev/null
+++ b/buildroot/package/bluez/bluez-utils-hciattach-removes-uclibc-not-supported-speeds.patch
@@ -0,0 +1,25 @@
+Index: bluez-utils-3.20/tools/hciattach.c
+===================================================================
+--- bluez-utils-3.20.orig/tools/hciattach.c 2009-07-01 16:06:54.000000000 +0200
++++ bluez-utils-3.20/tools/hciattach.c 2009-07-01 16:07:40.000000000 +0200
+@@ -104,7 +104,7 @@
+ return B57600;
+ case 115200:
+ return B115200;
+- case 230400:
++/* case 230400:
+ return B230400;
+ case 460800:
+ return B460800;
+@@ -119,9 +119,9 @@
+ case 1152000:
+ return B1152000;
+ case 1500000:
+- return B1500000;
++ return B1500000;*/
+ default:
+- return B57600;
++ return B115200;
+ }
+ }
+
diff --git a/buildroot/package/bluez/bluez.mk b/buildroot/package/bluez/bluez.mk
new file mode 100644
index 0000000..278d488
--- /dev/null
+++ b/buildroot/package/bluez/bluez.mk
@@ -0,0 +1,177 @@
+#############################################################
+#
+# bluez-utils - User Space Program For Controling Bluetooth
+#
+#############################################################
+#
+BLUEZ_SOURCE_URL=http://bluez.sourceforge.net/download
+BLUEZ_LIBS_SOURCE=bluez-libs-3.20.tar.gz
+BLUEZ_UTILS_SOURCE=bluez-utils-3.20.tar.gz
+BLUEZ_HCIDUMP_SOURCE=bluez-hcidump-1.39.tar.gz
+BLUEZ_LIBS_BUILD_DIR=$(BUILD_DIR)/bluez-libs-3.20
+BLUEZ_UTILS_BUILD_DIR=$(BUILD_DIR)/bluez-utils-3.20
+BLUEZ_HCIDUMP_BUILD_DIR=$(BUILD_DIR)/bluez-hcidump-1.39
+
+$(DL_DIR)/$(BLUEZ_LIBS_SOURCE):
+ $(WGET) -P $(DL_DIR) $(BLUEZ_SOURCE_URL)/$(BLUEZ_LIBS_SOURCE)
+
+$(DL_DIR)/$(BLUEZ_UTILS_SOURCE):
+ $(WGET) -P $(DL_DIR) $(BLUEZ_SOURCE_URL)/$(BLUEZ_UTILS_SOURCE)
+
+$(DL_DIR)/$(BLUEZ_HCIDUMP_SOURCE):
+ $(WGET) -P $(DL_DIR) $(BLUEZ_SOURCE_URL)/$(BLUEZ_HCIDUMP_SOURCE)
+
+$(BLUEZ_LIBS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BLUEZ_LIBS_SOURCE)
+ zcat $(DL_DIR)/$(BLUEZ_LIBS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(BLUEZ_LIBS_BUILD_DIR) package/bluez bluez-libs*.patch
+ touch $(BLUEZ_LIBS_BUILD_DIR)/.unpacked
+
+$(BLUEZ_UTILS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BLUEZ_UTILS_SOURCE)
+ zcat $(DL_DIR)/$(BLUEZ_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(BLUEZ_UTILS_BUILD_DIR) package/bluez bluez-utils*.patch
+ touch $(BLUEZ_UTILS_BUILD_DIR)/.unpacked
+
+$(BLUEZ_HCIDUMP_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BLUEZ_HCIDUMP_SOURCE)
+ zcat $(DL_DIR)/$(BLUEZ_HCIDUMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ touch $(BLUEZ_HCIDUMP_BUILD_DIR)/.unpacked
+
+$(BLUEZ_LIBS_BUILD_DIR)/.configured: $(BLUEZ_LIBS_BUILD_DIR)/.unpacked
+ (cd $(BLUEZ_LIBS_BUILD_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" \
+ PKG_CONFIG_PATH="$(STAGING_DIR)/lib/pkconfig:$(STAGING_DIR)/usr/lib/pkgconfig" PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" PKG_CONFIG_SYSROOT=$(STAGING_DIR) \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ );
+ touch $(BLUEZ_LIBS_BUILD_DIR)/.configured
+
+ifeq ($(strip $(BR2_PACKAGE_ALSA-LIB)),y)
+WITH_ALSA=--with-alsa=$(STAGING_DIR)
+else
+WITH_ALSA=--without-alsa
+endif
+
+ifeq ($(strip $(BR2_PACKAGE_OPENOBEX)),y)
+OBEX_DEP=$(STAGING_DIR)/lib/libopenobex.so
+WITH_OBEX=--with-openobex=$(STAGING_DIR)
+else
+OBEX_DEP=
+WITH_OBEX=--without-obex
+endif
+
+$(BLUEZ_UTILS_BUILD_DIR)/.configured: $(BLUEZ_UTILS_BUILD_DIR)/.unpacked $(TARGET_DIR)/usr/lib/libbluetooth.so $(OBEX_DEP)
+ (cd $(BLUEZ_UTILS_BUILD_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" \
+ PKG_CONFIG_PATH="$(STAGING_DIR)/lib/pkconfig:$(STAGING_DIR)/usr/lib/pkgconfig" PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" PKG_CONFIG_SYSROOT=$(STAGING_DIR) \
+ ./configure \
+ $(WITH_OBEX) \
+ $(WITH_ALSA) \
+ --disable-expat \
+ --enable-network \
+ --enable-serial \
+ --disable-input \
+ --enable-audio \
+ --enable-sync \
+ --enable-hcid \
+ --enable-sdpd \
+ --enable-hidd \
+ --enable-pand \
+ --disable-test \
+ --enable-configfiles \
+ --disable-manpages \
+ --enable-initscripts \
+ --disable-pcmciarules \
+ --disable-bccmd \
+ --enable-avctrl \
+ --enable-hid2hci \
+ --disable-dfutool \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ );
+ touch $(BLUEZ_UTILS_BUILD_DIR)/.configured
+
+
+$(BLUEZ_HCIDUMP_BUILD_DIR)/.configured: $(BLUEZ_HCIDUMP_BUILD_DIR)/.unpacked $(TARGET_DIR)/usr/lib/libbluetooth.so
+ (cd $(BLUEZ_HCIDUMP_BUILD_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" \
+ PKG_CONFIG_PATH="$(STAGING_DIR)/lib/pkconfig:$(STAGING_DIR)/usr/lib/pkgconfig" PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" PKG_CONFIG_SYSROOT=$(STAGING_DIR) \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ );
+ touch $(BLUEZ_HCIDUMP_BUILD_DIR)/.configured
+
+$(BLUEZ_LIBS_BUILD_DIR)/src/libbluetooth.la: $(BLUEZ_LIBS_BUILD_DIR)/.configured
+ $(MAKE) -C $(BLUEZ_LIBS_BUILD_DIR)
+
+$(BLUEZ_UTILS_BUILD_DIR)/tools/hciattach: $(BLUEZ_UTILS_BUILD_DIR)/.configured
+ $(MAKE) -C $(BLUEZ_UTILS_BUILD_DIR)
+
+$(BLUEZ_HCIDUMP_BUILD_DIR)/hcidump: $(BLUEZ_HCIDUMP_BUILD_DIR)/.configured
+ $(MAKE) -C $(BLUEZ_HCIDUMP_BUILD_DIR)
+
+$(STAGING_DIR)/usr/lib/libbluetooth.so $(STAGING_DIR)/usr/lib/libbluetooth.a: $(BLUEZ_LIBS_BUILD_DIR)/src/libbluetooth.la
+ $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(BLUEZ_LIBS_BUILD_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libbluetooth.la
+
+$(TARGET_DIR)/usr/lib/libbluetooth.so: $(STAGING_DIR)/usr/lib/libbluetooth.so
+ mkdir -p $(TARGET_DIR)/usr/lib
+ install -D -m 0755 $(STAGING_DIR)/usr/lib/libbluetooth.so* $(TARGET_DIR)/usr/lib
+ $(STRIPCMD) $(TARGET_DIR)/usr/lib/libbluetooth.so
+
+$(TARGET_DIR)/usr/sbin/hcidump: $(BLUEZ_HCIDUMP_BUILD_DIR)/hcidump
+ $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(BLUEZ_HCIDUMP_BUILD_DIR) install
+ rm -rf $(TARGET_DIR)/usr/share/man
+
+$(TARGET_DIR)/usr/sbin/hciattach: $(BLUEZ_UTILS_BUILD_DIR)/tools/hciattach
+ (list='hcid dund hidd audio input network rfcomm sdpd tools'; for p in $$list; do \
+ $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(BLUEZ_UTILS_BUILD_DIR)/$$p install; \
+ done)
+ mkdir -p $(TARGET_DIR)/etc/bluetooth/pan $(TARGET_DIR)/etc/bluetooth/rfcomm
+ install -D -m 0644 package/bluez/hcid.conf $(TARGET_DIR)/etc/bluetooth/hcid.conf
+ install -D -m 0755 package/bluez/bluez-utils-bluepin.sh $(TARGET_DIR)/etc/bluetooth/bluepin
+ install -D -m 0755 package/bluez/bluez-pand-devup.sh $(TARGET_DIR)/etc/bluetooth/pan/dev-up
+ install -D -m 0755 package/bluez/rfcomm-getty $(TARGET_DIR)/etc/bluetooth/rfcomm/rfcomm-getty
+ echo "1234" > $(TARGET_DIR)/etc/bluetooth/pin
+ chmod 0600 $(TARGET_DIR)/etc/bluetooth/pin
+ install -D -m 0644 package/bluez/rfcomm.conf $(TARGET_DIR)/etc/bluetooth/rfcomm.conf
+ #install -D -m 0755 package/bluez/bluetooth.init $(TARGET_DIR)/etc/init.d/S30bluetooth TBDJB
+ mkdir -p $(TARGET_DIR)/etc/default
+ install -D -m 0644 package/bluez/bluetooth.default $(TARGET_DIR)/etc/default/bluetooth
+ install -D -m 0644 package/bluez/bluetooth.conf $(TARGET_DIR)/etc/dbus-1/system.d/bluetooth.conf
+
+.PHONY: bluez-libs-staging bluez-libs bluez-libs-source bluez-utils
+
+bluez-utils: bluez-libs dbus $(TARGET_DIR)/usr/sbin/hciattach
+
+bluez-utils-dirclean: bluez-libs-dirclean
+ rm -rf $(BLUEZ_UTILS_BUILD_DIR)
+
+bluez-hcidump: bluez-libs $(TARGET_DIR)/usr/sbin/hcidump
+
+bluez-libs-staging: $(STAGING_DIR)/usr/lib/libbluetooth.a
+
+bluez-libs: $(TARGET_DIR)/usr/lib/libbluetooth.so
+
+bluez-libs-source: $(DL_DIR)/$(BLUEZ_SOURCE)
+
+bluez-libs-clean:
+ -$(MAKE) -C $(BLUEZ_LIBS_BUILD_DIR) clean
+
+bluez-libs-dirclean:
+ rm -rf $(BLUEZ_LIBS_BUILD_DIR)
+
+#############################################################
+#
+## Toplevel Makefile options
+#
+##############################################################
+ifeq ($(strip $(BR2_PACKAGE_BLUEZ)),y)
+TARGETS+=bluez-utils
+endif
diff --git a/buildroot/package/bluez/hcid.conf b/buildroot/package/bluez/hcid.conf
new file mode 100644
index 0000000..761e17b
--- /dev/null
+++ b/buildroot/package/bluez/hcid.conf
@@ -0,0 +1,57 @@
+#
+# HCI daemon configuration file.
+#
+
+# HCId options
+options {
+ # Automatically initialize new devices
+ autoinit yes;
+
+ # Security Manager mode
+ # none - Security manager disabled
+ # auto - Use local PIN for incoming connections
+ # user - Always ask user for a PIN
+ #
+ security auto;
+
+ # Pairing mode
+ # none - Pairing disabled
+ # multi - Allow pairing with already paired devices
+ # once - Pair once and deny successive attempts
+ pairing multi;
+
+ # Default PIN code for incoming connections
+ passkey "BlueZ";
+}
+
+# Default settings for HCI devices
+device {
+ # Local device name
+ # %d - device id
+ # %h - host name
+ name "Gumstix (%d)";
+
+ # Local device class
+ class 0x820116;
+
+ # Default packet type
+ #pkt_type DH1,DM1,HV1;
+
+ # Inquiry and Page scan
+ iscan enable; pscan enable;
+
+ # Default link mode
+ # none - no specific policy
+ # accept - always accept incoming connections
+ # master - become master on incoming connections,
+ # deny role switch on outgoing connections
+ lm accept;
+
+ # Default link policy
+ # none - no specific policy
+ # rswitch - allow role switch
+ # hold - allow hold mode
+ # sniff - allow sniff mode
+ # park - allow park mode
+ lp rswitch,hold,sniff,park;
+}
diff --git a/buildroot/package/bluez/rfcomm-getty b/buildroot/package/bluez/rfcomm-getty
new file mode 100644
index 0000000..f1d7a45
--- /dev/null
+++ b/buildroot/package/bluez/rfcomm-getty
@@ -0,0 +1,9 @@
+#!/bin/sh
+while true;
+ do
+ rfcomm show rfcomm0 > /dev/null 2> /dev/null
+ if [ "$?" != "1" ] ; then
+ /sbin/getty -w -L rfcomm0 115200 vt100;
+ fi
+ sleep 1;
+done
diff --git a/buildroot/package/bluez/rfcomm.conf b/buildroot/package/bluez/rfcomm.conf
new file mode 100644
index 0000000..cdbbf5b
--- /dev/null
+++ b/buildroot/package/bluez/rfcomm.conf
@@ -0,0 +1,16 @@
+#
+# RFCOMM configuration file.
+#
+
+rfcomm0 {
+ bind yes;
+
+ # Bluetooth address of the device
+ device 11:22:33:44:55:66;
+
+ # RFCOMM channel for the connection
+ channel 1;
+
+ # Description of the connection
+ comment "Bluetooth Serial Console";
+}
hooks/post-receive
--
armadeus
|
|
From: Julien B a. A. <ar...@us...> - 2009-07-01 09:57:17
|
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 b0065b0c0132ed24beeb055a78170713bd970baf (commit)
from a1c556e0aaa4f7593663db3c865f5a8a3530c85b (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 b0065b0c0132ed24beeb055a78170713bd970baf
Author: Julien Boibessot <julien@LAPTOP-ARMADEUS-JB.(none)>
Date: Wed Jul 1 11:24:11 2009 +0200
[LINUX] Activates Bluetooth support in 2.6.29 default configs for APF27
-----------------------------------------------------------------------
Summary of changes:
buildroot/local/apf27_test/linux-2.6.29.4.config | 26 ++++++++++++++++++-
.../armadeus/apf27/apf27-linux-2.6.29.config | 26 ++++++++++++++++++-
2 files changed, 48 insertions(+), 4 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 03a50ad..46efbe2 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.4
-# Wed Jun 24 12:59:44 2009
+# Wed Jul 1 11:16:12 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -396,7 +396,29 @@ CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
-# CONFIG_BT is not set
+CONFIG_BT=m
+CONFIG_BT_L2CAP=m
+CONFIG_BT_SCO=m
+CONFIG_BT_RFCOMM=m
+CONFIG_BT_RFCOMM_TTY=y
+CONFIG_BT_BNEP=m
+# CONFIG_BT_BNEP_MC_FILTER is not set
+# CONFIG_BT_BNEP_PROTO_FILTER is not set
+CONFIG_BT_HIDP=m
+
+#
+# Bluetooth device drivers
+#
+CONFIG_BT_HCIBTUSB=m
+# CONFIG_BT_HCIBTSDIO is not set
+CONFIG_BT_HCIUART=m
+CONFIG_BT_HCIUART_H4=y
+CONFIG_BT_HCIUART_BCSP=y
+# CONFIG_BT_HCIUART_LL is not set
+# CONFIG_BT_HCIBCM203X is not set
+# CONFIG_BT_HCIBPA10X is not set
+# CONFIG_BT_HCIBFUSB is not set
+# CONFIG_BT_HCIVHCI is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_PHONET is not set
CONFIG_WIRELESS=y
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 b7e930d..98f717a 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.4
-# Wed Jun 24 12:59:44 2009
+# Wed Jul 1 11:16:12 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -396,7 +396,29 @@ CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
-# CONFIG_BT is not set
+CONFIG_BT=m
+CONFIG_BT_L2CAP=m
+CONFIG_BT_SCO=m
+CONFIG_BT_RFCOMM=m
+CONFIG_BT_RFCOMM_TTY=y
+CONFIG_BT_BNEP=m
+# CONFIG_BT_BNEP_MC_FILTER is not set
+# CONFIG_BT_BNEP_PROTO_FILTER is not set
+CONFIG_BT_HIDP=m
+
+#
+# Bluetooth device drivers
+#
+CONFIG_BT_HCIBTUSB=m
+# CONFIG_BT_HCIBTSDIO is not set
+CONFIG_BT_HCIUART=m
+CONFIG_BT_HCIUART_H4=y
+CONFIG_BT_HCIUART_BCSP=y
+# CONFIG_BT_HCIUART_LL is not set
+# CONFIG_BT_HCIBCM203X is not set
+# CONFIG_BT_HCIBPA10X is not set
+# CONFIG_BT_HCIBFUSB is not set
+# CONFIG_BT_HCIVHCI is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_PHONET is not set
CONFIG_WIRELESS=y
hooks/post-receive
--
armadeus
|
|
From: jorasse <jo...@us...> - 2009-06-29 23:52:38
|
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 a1c556e0aaa4f7593663db3c865f5a8a3530c85b (commit)
from fe20d5bb9d5c8fe3f0248600296e5faca437ebf2 (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 a1c556e0aaa4f7593663db3c865f5a8a3530c85b
Author: jorasse <jorasse@ubuntu.(none)>
Date: Mon Jun 29 16:51:02 2009 -0700
Yet another test
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 620dfd2..249e472 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -603,5 +603,5 @@ Changes in release 1.5 (15 July 2006)
- building package for toolchain, U-Boot, kernel and root-fs
- First referenced released
-Sorry, no detailed ChangeLog available for previous releases
+Sorry, no detailed ChangeLog available for previous releases.
hooks/post-receive
--
armadeus
|
|
From: Eric <tr...@us...> - 2009-06-29 23:39:07
|
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 fe20d5bb9d5c8fe3f0248600296e5faca437ebf2 (commit)
from 3affe823cc9a8d9a8501b5d14017a448f1feceee (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 fe20d5bb9d5c8fe3f0248600296e5faca437ebf2
Author: jorasse <jorasse@ubuntu.(none)>
Date: Mon Jun 29 16:05:38 2009 -0700
Another test of git commit hook
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 249e472..620dfd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -603,5 +603,5 @@ Changes in release 1.5 (15 July 2006)
- building package for toolchain, U-Boot, kernel and root-fs
- First referenced released
-Sorry, no detailed ChangeLog available for previous releases.
+Sorry, no detailed ChangeLog available for previous releases
hooks/post-receive
--
armadeus
|
|
From: Eric <jo...@us...> - 2009-06-29 23:03:54
|
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 3affe823cc9a8d9a8501b5d14017a448f1feceee (commit)
from 43ebb2b15638c3feca4f54429a502f700d1cf2bc (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 3affe823cc9a8d9a8501b5d14017a448f1feceee
Author: jorasse <jorasse@ubuntu.(none)>
Date: Mon Jun 29 16:01:11 2009 -0700
[armadeus] minor typo change to test post commit hook.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
armadeus
|
|
From: <jo...@us...> - 2009-06-29 20:36:18
|
Revision: 1385
http://armadeus.svn.sourceforge.net/armadeus/?rev=1385&view=rev
Author: jorasse
Date: 2009-06-29 20:36:08 +0000 (Mon, 29 Jun 2009)
Log Message:
-----------
Armadeus latest release
Added Paths:
-----------
tags/latestrelease/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jo...@us...> - 2009-06-29 20:31:56
|
Revision: 1384
http://armadeus.svn.sourceforge.net/armadeus/?rev=1384&view=rev
Author: jorasse
Date: 2009-06-29 20:31:54 +0000 (Mon, 29 Jun 2009)
Log Message:
-----------
update tag "latestrelease"
Removed Paths:
-------------
tags/latestrelease/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2009-06-29 16:41:01
|
Revision: 1383
http://armadeus.svn.sourceforge.net/armadeus/?rev=1383&view=rev
Author: artemys
Date: 2009-06-29 16:40:58 +0000 (Mon, 29 Jun 2009)
Log Message:
-----------
[BUILD] Now all subfields in Changelog would be indented the same...
Modified Paths:
--------------
trunk/release/changes.sh
Modified: trunk/release/changes.sh
===================================================================
--- trunk/release/changes.sh 2009-06-29 09:18:47 UTC (rev 1382)
+++ trunk/release/changes.sh 2009-06-29 16:40:58 UTC (rev 1383)
@@ -59,19 +59,19 @@
echo "Changes in release XXX ("`date`" - SVN revisions $1 to $2"
echo
echo "* Buildroot:"
-cat $CHANGES_BUILDROOT | grep -v "^$" | sed 's/\[[Bb][Uu][Ii][Ll][Dd][Rr][Oo][Oo][Tt]\]/ -/g'
+cat $CHANGES_BUILDROOT | grep -v "^$" | sed 's/\[[Bb][Uu][Ii][Ll][Dd][Rr][Oo][Oo][Tt]\]/ -/g'
echo "* Linux:"
-cat $CHANGES_LINUX | grep -v "^$" | sed 's/\[[Ll][Ii][Nn][Uu][Xx]\]/ -/g'
+cat $CHANGES_LINUX | grep -v "^$" | sed 's/\[[Ll][Ii][Nn][Uu][Xx]\]/ -/g'
echo "* U-Boot:"
-cat $CHANGES_UBOOT | grep -v "^$" | sed 's/\[[Uu][-]\{0,\}[Bb][Oo][Oo][Tt]\]/ -/g'
+cat $CHANGES_UBOOT | grep -v "^$" | sed 's/\[[Uu][-]\{0,\}[Bb][Oo][Oo][Tt]\]/ -/g'
echo "* Firmware:"
-cat $CHANGES_FIRMWARE | grep -v "^$" | sed 's/\[[Ff][Ii][Rr][Mm][Ww][Aa][Rr][Ee]\]/ -/g'
+cat $CHANGES_FIRMWARE | grep -v "^$" | sed 's/\[[Ff][Ii][Rr][Mm][Ww][Aa][Rr][Ee]\]/ -/g'
echo "* Demos:"
-cat $CHANGES_DEMOS | grep -v "^$" | sed 's/\[DEMOS\]/ -/g'
+cat $CHANGES_DEMOS | grep -v "^$" | sed 's/\[DEMOS\]/ -/g'
echo "* Debug:"
-cat $CHANGES_DEBUG | grep -v "^$" | sed 's/\[DEBUG\]/ -/g'
+cat $CHANGES_DEBUG | grep -v "^$" | sed 's/\[DEBUG\]/ -/g'
echo "* Test:"
-cat $CHANGES_TEST | grep -v "^$" | sed 's/\[[Tt][Ee][Ss][Tt]\]/ -/g'
+cat $CHANGES_TEST | grep -v "^$" | sed 's/\[[Tt][Ee][Ss][Tt]\]/ -/g'
echo "* Other:"
cat $CHANGES_OTHER | grep -v "^$"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2009-06-29 09:18:50
|
Revision: 1382
http://armadeus.svn.sourceforge.net/armadeus/?rev=1382&view=rev
Author: artemys
Date: 2009-06-29 09:18:47 +0000 (Mon, 29 Jun 2009)
Log Message:
-----------
TAG for Release 3.1
Added Paths:
-----------
tags/release-3.1/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|