Panda hangs if display is enabled

Bug #752900 reported by John Rigby
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux
Invalid
Undecided
John Rigby
linux-linaro-omap (Ubuntu)
Fix Released
Undecided
John Rigby

Bug Description

On latest linux-linaro-2.6.38:
commit 16db02432c7fe0c62eadfe9504e1ab4a1d5f086b
Author: Dave Martin <email address hidden>
Date: Tue Apr 5 09:59:34 2011 +0100

    ARM: ptrace: Migrate to regsets framework

with the attached config, panda hangs. boot log attached.
If I disable the display with this patch:
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -65,6 +65,14 @@ int __init omap_display_init(struct omap_dss_board_info *board_data)
        struct omap_display_platform_data pdata;

        /*
+ * NB: This is temporary to have a headless panda until
+ * omap4 display works
+ */
+ if (cpu_is_omap44xx()) {
+ printk(KERN_WARNING "Disabling OMAP display on OMAP4!!!!\n");
+ return -ENODEV;
+ }
+ /*
         * omap: valid DSS hwmod names
         * omap2,3,4: dss_core, dss_dispc, dss_rfbi, dss_venc
         * omap3,4: dss_dsi1

Revision history for this message
John Rigby (jcrigby) wrote :
Revision history for this message
John Rigby (jcrigby) wrote :
Revision history for this message
John Rigby (jcrigby) wrote :

rest of comment above...

If I disable the display for omap4 with the patch above the panda boots.

Revision history for this message
John Rigby (jcrigby) wrote :

One more thing to help with reproducing this. The config has a bajillion modules turned on but that is ok. All you need to reproduce the hang is the uImage so don't even bother building modules:

Revision history for this message
warmcat (andy-warmcat) wrote :

These don't appear on my tree.

[ 0.867492] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
[ 0.888885] omap_hwmod: dss_dispc: softreset failed (waited 10000 usec)
[ 0.908599] omap_hwmod: dss_rfbi: softreset failed (waited 10000 usec)
[ 0.931549] omap_hwmod: ipu: failed to hardreset

This is not set in my config and is known to kill boot on my tree -->

CONFIG_OMAP2_DSS_VENC=y

It's for video encoder (S-Video) support that doesn't exist on Panda anyway.

See if disabling that helps.

Revision history for this message
John Rigby (jcrigby) wrote :
Revision history for this message
John Rigby (jcrigby) wrote :

I have verified that Andy's patches fix the problem. These will be included in the next packaged kernel as "SAUCE" patches.

Changed in linux-linaro-omap (Ubuntu):
assignee: nobody → John Rigby (jcrigby)
status: New → In Progress
John Rigby (jcrigby)
Changed in linux-linaro:
status: New → Triaged
status: Triaged → In Progress
assignee: nobody → John Rigby (jcrigby)
Revision history for this message
John Rigby (jcrigby) wrote :

Given the state of the omap4 upstream kernel right now and that turning off the configs fixes this I'm calling the linux-linaro bug invalid.

Changed in linux-linaro:
status: In Progress → Invalid
Revision history for this message
Nicolas Pitre (npitre) wrote : Re: [Bug 752900] Re: Panda hangs if display is enabled

On Thu, 7 Apr 2011, John Rigby wrote:

> patches from andy green aka warm cat
> http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git;a=patch;h=9456c5c15a4d4e4304d6028aabb706712e608b21
> http://git.linaro.org/gitweb?p=people/andygreen/kernel-tilt.git;a=patch;h=d0fd507e52d7ff862ad7f9d0761038dc627d5bec

Andy is a bit drastic here. Best is to keep the option and make it
dependent on BROKEN.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-linaro-omap - 2.6.38-1002.3

---------------
linux-linaro-omap (2.6.38-1002.3) natty; urgency=low

  [ Upstream Fixes ]

  * MUSB: shutdown: Make sure block is awake before doing shutdown
    - LP: #745737
  * Fixed gpio polarity of gpio USB-phy reset.
    - LP: #747639

  [ Andy Green ]

  * LINARO: SAUCE: disable CONFIG_OMAP_RESET_CLOCKS
    - LP: #752900

  [ John Rigby ]

  * Rebase to new upstreams:
    Linux v2.6.38.1
    linaro-linux-2.6.38-upstream-29Mar2011
    Ubuntu-2.6.38-7.35
  * SAUCE: OMAP4: clock: wait for module to become accessible on
    a clk enable
    - LP: #745737
  * Rebase to new upstreams:
    Linux v2.6.38.2
    linaro-linux-2.6.38-upstream-5Apr2011
    Ubuntu-2.6.38-8.41
    - LP: #732842
  * Update configs for device tree, dvfs and lttng
  * LINARO: add building of dtb's
  * LINARO: SAUCE: Disable lowest operating freqs on omap34xx
    - LP: #732912
 -- John Rigby <email address hidden> Thu, 14 Apr 2011 12:16:06 -0600

Changed in linux-linaro-omap (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.