linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: "Syed Mohammed, Khasim" <khasim@ti.com>,
	"Gadiyar, Anand" <gadiyar@ti.com>,
	Tony Lindgren <tony@atomide.com>,
	"linux-arm-kernel@lists.arm.linux.org.uk"
	<linux-arm-kernel@lists.arm.linux.org.uk>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>
Subject: Re: [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v3
Date: Fri, 03 Apr 2009 16:12:32 -0700	[thread overview]
Message-ID: <87tz55xrfj.fsf@deeprootsystems.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0904031308340.2134@utopia.booyaka.com> (Paul Walmsley's message of "Fri\, 3 Apr 2009 13\:14\:00 -0600 \(MDT\)")

Paul Walmsley <paul@pwsan.com> writes:

> On Wed, 1 Apr 2009, Paul Walmsley wrote:
>
>> On Wed, 1 Apr 2009, Syed Mohammed, Khasim wrote:
>> 
>> > > -----Original Message-----
>> > > From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of
>> > > Gadiyar, Anand
>> > > Sent: Wednesday, April 01, 2009 1:55 PM
>> > > To: Russell King - ARM Linux
>> > > Cc: Tony Lindgren; linux-arm-kernel@lists.arm.linux.org.uk; linux-omap@vger.kernel.org
>> > > Subject: RE: [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v3
>> > > 
>> > > On Wed, Apr 01, 2009 at 12:18 AM, Russell King - ARM Linux wrote:
>> > > > On Tue, Mar 31, 2009 at 05:12:18PM +0530, Gadiyar, Anand wrote:
>> > > > > I could not run the 3430 SDP defconfig from mainline. The image hangs at
>> > > > > "Starting kernel ...". Enabling CONFIG_DEBUG_LL does not help.
>> > > >
>> > > > Did you add the necessary patch to kernel/printk.c ?
>> > > >
>> > > 
>> > > Silly me, I had not done this (despite having read this so many times on this list).
>> > > 
>> > > Here's what I get now after adding the patch.
>> > > 
>> > > - Anand
>> > > 
>> > > Uncompressing
>> > > Linux................................................................................................
>> > > .................... done, booting the kernel.
>> > > <5>Linux version 2.6.29-06608-g15f7176-dirty (a0393673@omaplbp.india.ti.com) (gcc version 4.2.1
>> > > (CodeSourcery Sourcery G++ Lite 2007q3-51)) #4 Wed Apr 1 13:26:59 IST 2009
>> > > CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
>> > > CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
>> > > Machine: OMAP3430 3430SDP board
>> > > Memory policy: ECC disabled, Data cache writeback
>> > > <7>On node 0 totalpages: 32768
>> > > <7>free_area_init_node: node 0, pgdat c038c8a4, node_mem_map c03a6000
>> > > <7>  Normal zone: 256 pages used for memmap
>> > > <7>  Normal zone: 0 pages reserved
>> > > <7>  Normal zone: 32512 pages, LIFO batch:7
>> > > <6>OMAP3430 ES3.0
>> > > <6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
>> > > Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
>> > > <5>Kernel command line: mem=128M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw
>> > > nfsroot=172.24.162.66:/vol/vol2/swcoe_omapsw_linux1/anand/target,nolock,tcp
>> > > ip=172.24.190.229:172.24.162.66:172.24.188.1:255.255.252.0:myomap::off
>> > > <6>NR_IRQS:402
>> > > <6>Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
>> > > <6>GPMC revision 5.0
>> > > <6>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
>> > > <6>Total of 96 interrupts on 1 active controller
>> > > <6>OMAP34xx GPIO hardware version 2.5
>> > > PID hash table entries: 512 (order: 9, 2048 bytes)
>> > > Console: colour dummy device 80x30
>> > > <6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
>> > > <6>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
>> > > <6>Memory: 128MB = 128MB total
>> > > <5>Memory: 126064KB available (3188K code, 289K data, 112K init, 0K highmem)
>> > > <6>Calibrating delay loop...
>> > > 
>> > Anand,
>> > 
>> > It looks like the timers are not configured properly or the timer selection has gone wrong. Can you just compare your previous working defconfig with this and correct the GPTIMER selection?
>> 
>> As an aside, I'm seeing the same thing with mainline and Beagle.  It does 
>> not seem to matter whether the 32k timer or sys_clk is used as the GPTIMER 
>> source.  Also it does not seem to matter whether GPTIMER1 or GPTIMER12 is 
>> configured.  Looks like some kind of GPTIMER or GPTIMER-related interrupt 
>> problem.  Have not had the chance to isolate the exact problem yet, so, 
>> other comments welcome.
>
> Just to follow up on this, Kevin, Tony, and I spent some time tracking 
> this down.  We've observed that Beagle and 3430SDP fail to boot when the 
> mainline kernel is compiled with CodeSourcery gcc 2007q3, hanging in 
> 'Calibrating delay loop'.  When CSL gcc 2008q3 is used, the machines boot.
>
> There's also another problem for BeagleBoards Rev B4 and earlier: the 
> GPTIMER12 patches are not upstream, which can cause these BeagleBoards
> to intermittently freeze.  Will repost those shortly.

Paul,

Could you also include the GPT12 updates that were recently merged
from the PM branch that allow GPT12 to be a wakeup source.
 
$ git log --reverse --pretty=oneline 0c8eba8051eb4fd4228e459c0575d6adfe53d13b..743a413f3e8f8df4cd51f9e4059c7478e927506e
20752c3fd65bc6e84faebc7341c8495d75c171bc OMAP: move GP timer selection alongside
65b630a097e1d181336c67b2a3b8631e572c93bb OMAP: dmtimer: enable all timers to be 
743a413f3e8f8df4cd51f9e4059c7478e927506e OMAP3: PM: enable gptimer12 as a wakeup

Kevin

  parent reply	other threads:[~2009-04-03 23:12 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 22:43 [PATCH 0/4] Omap board updates for merge window after 2.6.29 Tony Lindgren
2009-03-13 22:44 ` [PATCH 1/4] ARM: OMAP3: Add SMSC911X support to Overo platform (V2) Tony Lindgren
2009-03-15 15:38   ` Russell King - ARM Linux
2009-03-15 16:36     ` Steve Sakoman
2009-03-15 17:00       ` Russell King - ARM Linux
2009-03-15 17:13         ` Steve Sakoman
2009-03-15 17:37           ` Russell King - ARM Linux
2009-03-16 18:08             ` Tony Lindgren
2009-03-17  8:18               ` Steve.Glendinning
2009-03-13 22:46 ` [PATCH 2/4] ARM: OMAP3: Add ADS7846 touchscreen support to Overo platform Tony Lindgren
2009-03-16 20:38   ` [PATCH 2/4] ARM: OMAP3: Add ADS7846 touchscreen support to Overo platform, v2 Tony Lindgren
2009-03-16 21:57     ` Felipe Balbi
2009-03-24  3:54       ` [PATCH 2/4] ARM: OMAP3: Add ADS7846 touchscreen support to Overo platform, v3 Tony Lindgren
2009-03-13 22:47 ` [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP Tony Lindgren
2009-03-15 15:47   ` Russell King - ARM Linux
2009-03-15 15:48     ` Russell King - ARM Linux
2009-03-16 18:14       ` [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v2 Tony Lindgren
2009-03-16 18:22         ` [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v3 Tony Lindgren
2009-03-23 19:05           ` [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v4 Tony Lindgren
2009-03-31 11:42           ` [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v3 Gadiyar, Anand
2009-03-31 13:37             ` Gadiyar, Anand
2009-03-31 14:50               ` Tony Lindgren
2009-03-31 18:48             ` Russell King - ARM Linux
2009-04-01  8:25               ` Gadiyar, Anand
2009-04-01  8:47                 ` Syed Mohammed, Khasim
2009-04-01 19:04                   ` Paul Walmsley
2009-04-01 22:07                     ` Tony Lindgren
2009-04-01 23:18                       ` Kevin Hilman
2009-04-02  0:00                         ` [PATCH] ARM: Do early I/O mapping if spinlock debugging is enabled (Re: [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v3) Tony Lindgren
2009-04-02  7:38                           ` Russell King - ARM Linux
2009-04-02 14:54                             ` Tony Lindgren
2009-04-02  4:33                         ` [PATCH 3/4] ARM: OMAP3: Add support for 3430 SDP, v3 Pandita, Vikram
2009-04-02 20:01                           ` Pandita, Vikram
2009-04-03 19:14                     ` Paul Walmsley
2009-04-03 19:25                       ` Gadiyar, Anand
2009-04-04 11:18                         ` Gadiyar, Anand
2009-04-03 23:12                       ` Kevin Hilman [this message]
2009-04-03 23:29                         ` Paul Walmsley
2009-03-13 22:48 ` [PATCH 4/4] ARM OMAP3: Initial support for Nokia RX-51 Tony Lindgren
2009-03-15 15:47   ` Russell King - ARM Linux
2009-03-16 18:21     ` [PATCH 4/4] ARM OMAP3: Initial support for Nokia RX-51, v2 Tony Lindgren
2009-03-24  2:52 ` [PATCH 0/4] Omap board updates for merge window after 2.6.29 Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tz55xrfj.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=gadiyar@ti.com \
    --cc=khasim@ti.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=paul@pwsan.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).