[Armadeus-commitlog] armadeus branch, master, updated. release-3.2-200-gfe6d2e5
Brought to you by:
sszy
|
From: Gwenhael <gwe...@us...> - 2010-02-15 16:20:04
|
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 fe6d2e5cc9121fd59bf49fcda18f226fa0db0bee (commit)
from 4d19d15fa070b7b5b0c37570ac1f6651e33ce416 (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 fe6d2e5cc9121fd59bf49fcda18f226fa0db0bee
Author: gwenhael <gwe...@us...>
Date: Mon Feb 15 17:18:25 2010 +0100
[XENOMAI][PACKAGE] Patch to prevent System freeze on mxc with gpio generated interrupts
-----------------------------------------------------------------------
Summary of changes:
...eze_on_mxc_with_gpio_generated_interrupts.patch | 23 ++++++++++++++++++++
buildroot/package/xenomai/xenomai.mk | 4 ++-
2 files changed, 26 insertions(+), 1 deletions(-)
create mode 100644 buildroot/package/xenomai/01-adeos-prevent_system_freeze_on_mxc_with_gpio_generated_interrupts.patch
diff --git a/buildroot/package/xenomai/01-adeos-prevent_system_freeze_on_mxc_with_gpio_generated_interrupts.patch b/buildroot/package/xenomai/01-adeos-prevent_system_freeze_on_mxc_with_gpio_generated_interrupts.patch
new file mode 100644
index 0000000..229aa1c
--- /dev/null
+++ b/buildroot/package/xenomai/01-adeos-prevent_system_freeze_on_mxc_with_gpio_generated_interrupts.patch
@@ -0,0 +1,23 @@
+Corrects Freeze problem with MX2 when Adeos is active and
+application/driver uses interruption on GPIO
+
+Signed-off-by: Gwenhael GOAVEC-MEROU <gw...@tr...>
+
+Index: kernel/arch/arm/plat-mxc/gpio.c
+===================================================================
+--- a/arch/arm/plat-mxc/gpio.c 2009-12-17 22:09:56.000000000 +0100
++++ b/arch/arm/plat-mxc/gpio.c 2009-12-17 15:45:17.000000000 +0100
+@@ -241,11 +241,11 @@
+ int i;
+
+ for (i = 0; i < gpio_table_size; i++) {
+- irq_msk = __raw_readl(port->base + GPIO_IMR);
++ irq_msk = __raw_readl(port[i].base + GPIO_IMR);
+ if (!irq_msk)
+ continue;
+
+- irq_stat = __raw_readl(port->base + GPIO_ISR) & irq_msk;
++ irq_stat = __raw_readl(port[i].base + GPIO_ISR) & irq_msk;
+
+ gpio_irq_no = port[i].virtual_irq_start;
+
diff --git a/buildroot/package/xenomai/xenomai.mk b/buildroot/package/xenomai/xenomai.mk
index 5f88662..e7f8fb1 100644
--- a/buildroot/package/xenomai/xenomai.mk
+++ b/buildroot/package/xenomai/xenomai.mk
@@ -43,12 +43,14 @@ $(XENOMAI_DIR)/.unpacked: $(DL_DIR)/$(XENOMAI_SOURCE)
$(KERN_DIR)/.patched.xenomai: $(XENOMAI_DIR)/.unpacked
toolchain/patch-kernel.sh $(LINUX26_DIR) package/xenomai \
- \*-adeos-\*.patch
+ 01-adeos-\*.patch
$(XENOMAI_DIR)/scripts/prepare-kernel.sh \
--linux=$(LINUX26_DIR) \
--arch=$(BR2_ARCH) \
--default
cat package/xenomai/xeno-kernel.config >> $(LINUX26_DIR)/.config
+ toolchain/patch-kernel.sh $(LINUX26_DIR) package/xenomai \
+ 02-adeos-\*.patch
touch $@
xenomai-patch-kernel: $(KERN_DIR)/.patched.xenomai
hooks/post-receive
--
armadeus
|