[oe-commits] org.oe.dev linux-omap2 git: update to latest git, add Pauls latest serial hang patch set

koen commit oe at amethyst.openembedded.net
Mon Sep 1 18:02:47 UTC 2008


linux-omap2 git: update to latest git, add Pauls latest serial hang patch set

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 20adcf1d7f147947dc29ead2037c53133b6eb39f
ViewMTN: http://monotone.openembedded.org/revision/info/20adcf1d7f147947dc29ead2037c53133b6eb39f
Files:
1
packages/linux/linux-omap2-git/beagleboard/01-gptimer_clear_isrs_on_init
packages/linux/linux-omap2-git/beagleboard/02-gptimer_use_match_for_tick
packages/linux/linux-omap2-git/beagleboard/03-gptimer_match_plus_ovf
packages/linux/linux-omap2-git/beagleboard/04-gptimer_add_debug_to_sysrq_q
packages/linux/linux-omap2-git/beagleboard/01-make_tick_gptimer_configurable
packages/linux/linux-omap2-git/beagleboard/defconfig
packages/linux/linux-omap2_git.bb
Diffs:

#
# mt diff -r33b799d645006468e6a98b9ef4a274365f4a6b0a -r20adcf1d7f147947dc29ead2037c53133b6eb39f
#
#
#
# delete "packages/linux/linux-omap2-git/beagleboard/01-gptimer_clear_isrs_on_init"
# 
# delete "packages/linux/linux-omap2-git/beagleboard/02-gptimer_use_match_for_tick"
# 
# delete "packages/linux/linux-omap2-git/beagleboard/03-gptimer_match_plus_ovf"
# 
# delete "packages/linux/linux-omap2-git/beagleboard/04-gptimer_add_debug_to_sysrq_q"
# 
# add_file "packages/linux/linux-omap2-git/beagleboard/01-make_tick_gptimer_configurable"
#  content [8fd9159e5e2c27725a75434363cb43b7bf550875]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/defconfig"
#  from [c23b7af31c00fe87a9bcf702cd52ff278c144bea]
#    to [c954dd21d240f87d03dfc68e2df06ebb53d28017]
# 
# patch "packages/linux/linux-omap2_git.bb"
#  from [5e63eb51ca712091bf94af9107dd6bd132c96837]
#    to [b53445da272c442accbe496ee1c8615bc509aec8]
#
============================================================
--- packages/linux/linux-omap2-git/beagleboard/01-make_tick_gptimer_configurable	8fd9159e5e2c27725a75434363cb43b7bf550875
+++ packages/linux/linux-omap2-git/beagleboard/01-make_tick_gptimer_configurable	8fd9159e5e2c27725a75434363cb43b7bf550875
@@ -0,0 +1,58 @@
+OMAP2/3 GPTIMER: allow system tick GPTIMER to be configurable at build
+
+From: Paul Walmsley <paul at pwsan.com>
+
+Add Kbuild code to allow the builder to select which GPTIMER block to use
+for the Linux clockevents timer.  Practical choices at this point are
+GPTIMER1 or GPTIMER12.  Both of these timers are in the WKUP powerdomain,
+and so are unaffected by chip power management.  GPTIMER1 can use sys_clk
+as a source, for applications where a high-resolution timer is more important
+than power management.  GPTIMER12 has the special property that it has
+the secure 32kHz oscillator as its source clock, which may be less prone
+to glitches than the off-chip 32kHz oscillator.
+
+At this point, it appears that most boards are fine with GPTIMER1,
+but Beagle should use GPTIMER12.
+---
+
+ arch/arm/mach-omap2/Kconfig    |   16 ++++++++++++++++
+ arch/arm/mach-omap2/timer-gp.c |    2 +-
+ 2 files changed, 17 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
+index bb6d695..0002cb6 100644
+--- a/arch/arm/mach-omap2/Kconfig
++++ b/arch/arm/mach-omap2/Kconfig
+@@ -122,3 +122,19 @@ config MACH_OMAP3EVM
+ config MACH_OMAP3_BEAGLE
+ 	bool "OMAP3 BEAGLE board"
+ 	depends on ARCH_OMAP3 && ARCH_OMAP34XX
++
++config OMAP_TICK_GPTIMER
++	int "GPTIMER used for system tick timer"
++	depends on ARCH_OMAP2 || ARCH_OMAP3
++	range 1 12
++	default 1
++	help
++	  Linux uses one of the twelve on-board OMAP GPTIMER blocks to generate
++	  system tick interrupts.  The twelve GPTIMERs have slightly
++	  different powerdomain, source clock, and security properties
++	  (mostly documented in the OMAP3 TRMs) that can affect the selection
++	  of which GPTIMER to use.  The historical default is GPTIMER1.
++	  If CONFIG_OMAP_32K_TIMER is selected, Beagle may require GPTIMER12 
++	  due to hardware sensitivity to glitches on the OMAP 32kHz clock
++	  input. 
++
+diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c
+index 557603f..ec80af5 100644
+--- a/arch/arm/mach-omap2/timer-gp.c
++++ b/arch/arm/mach-omap2/timer-gp.c
+@@ -99,7 +99,7 @@ static void __init omap2_gp_clockevent_init(void)
+ {
+ 	u32 tick_rate;
+ 
+-	gptimer = omap_dm_timer_request_specific(1);
++	gptimer = omap_dm_timer_request_specific(CONFIG_OMAP_TICK_GPTIMER);
+ 	BUG_ON(gptimer == NULL);
+ 
+ #if defined(CONFIG_OMAP_32K_TIMER)
============================================================
--- packages/linux/linux-omap2-git/beagleboard/defconfig	c23b7af31c00fe87a9bcf702cd52ff278c144bea
+++ packages/linux/linux-omap2-git/beagleboard/defconfig	c954dd21d240f87d03dfc68e2df06ebb53d28017
@@ -187,8 +187,8 @@ CONFIG_OMAP_MCBSP=y
 CONFIG_OMAP_MCBSP=y
 # CONFIG_OMAP_MMU_FWK is not set
 # CONFIG_OMAP_MBOX_FWK is not set
-CONFIG_OMAP_MPU_TIMER=y
-# CONFIG_OMAP_32K_TIMER is not set
+# CONFIG_OMAP_MPU_TIMER is not set
+CONFIG_OMAP_32K_TIMER=y
 CONFIG_OMAP_DM_TIMER=y
 # CONFIG_OMAP_LL_DEBUG_UART1 is not set
 # CONFIG_OMAP_LL_DEBUG_UART2 is not set
@@ -203,6 +203,7 @@ CONFIG_MACH_OMAP3_BEAGLE=y
 # CONFIG_MACH_OMAP_3430SDP is not set
 # CONFIG_MACH_OMAP3EVM is not set
 CONFIG_MACH_OMAP3_BEAGLE=y
+CONFIG_OMAP_TICK_GPTIMER=12
 
 #
 # Boot options
============================================================
--- packages/linux/linux-omap2_git.bb	5e63eb51ca712091bf94af9107dd6bd132c96837
+++ packages/linux/linux-omap2_git.bb	b53445da272c442accbe496ee1c8615bc509aec8
@@ -6,9 +6,9 @@ PV = "2.6.26"
 
 PV = "2.6.26"
 #PV = "2.6.26+2.6.27-rc1+${PR}+git${SRCREV}"
-PR = "r58"
+PR = "r59"
 
-SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;protocol=git \
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git \
 	   file://defconfig"
 
 SRC_URI_append_beagleboard = " file://no-harry-potter.diff;patch=1 \
@@ -35,10 +35,7 @@ SRC_URI_append_beagleboard = " file://no
            file://mru-clocks3.diff;patch=1 \	
            file://4bitmmc.diff;patch=1 \
            file://no-cortex-deadlock.patch;patch=1 \
-           file://01-gptimer_clear_isrs_on_init;patch=1 \
-           file://02-gptimer_use_match_for_tick;patch=1 \
-           file://03-gptimer_match_plus_ovf;patch=1 \
-           file://04-gptimer_add_debug_to_sysrq_q;patch=1 \
+           file://01-make_tick_gptimer_configurable;patch=1 \
            file://read_die_ids.patch;patch=1 \
 "
 






More information about the Openembedded-commits mailing list