DVI doesn't work at BeagleBoard xM rev A3

Bug #663642 reported by Ricardo Salveti
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Ricardo Salveti
Maverick
Fix Released
Undecided
Ricardo Salveti
linux-linaro (Ubuntu)
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

DVI doesn't turn on when using Maverick at Beagleboard xM rev A3.

From the list of changes, comparing A2 to A3:
 * Slightly modified PCB layout (Rev B) to correct the following
 * Changed silkscreen on L12 to R159 to reflect the usage of a resistor instead of an inductor. Resistor was used on Rev A2. No electrical difference.
 * Changed routing on R66 and R68 to make them separate paths instead of parallel. No electrical difference.
 * Added 33 ohm resistor R157 in series with MMC clock line. Not used on board, only for expansion. No electrical difference.
 * Added R158 to allow isolation of drain pin on TPS2141. Loaded with zero ohm resistor. No electrical difference.
 * Moved DVI_PUP pin to the TPS65950. No SW impact, however, updated SW can be used to turn of the DVI interface. Electrical change from A2.
 * Added R160 and R155 as a possible future option. Not populated on Rev A3. No electrical difference.
 * Changed R120 to 0603 package to align with arts purchased. No electrical difference.
 * Added R156 to remove the required lifting of U18 pin 4. Resistor is not loaded on Revision A3. No electrical difference.

Checking at the schematics, the DVI_PU is now used and connected to GPIO 2 on TPS65950, so we need to turn on this GPIO in order to have DVI working again.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-omap 2.6.35-22.33 [modified: boot/vmlinuz-2.6.35-22-omap]
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-omap 2.6.35.4
Uname: Linux 2.6.35-22-omap armv7l
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: omap3beagle [omap3beagle], device 0: TWL4030 twl4030-0 []
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: armel
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: omap3beagle [omap3beagle], device 0: TWL4030 twl4030-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Date: Wed Oct 20 00:00:51 2010
Lspci:
 Error: command ['lspci', '-vvnn'] failed with exit code 1: pcilib: Cannot open /proc/bus/pci
 lspci: Cannot find any working access method.
ProcCmdLine: quiet splash ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 root=UUID=7952bb3d-fbb7-424b-9aa0-a4213602eec4 fixrtc
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: linux

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Changed in linux (Ubuntu):
assignee: nobody → Ricardo Salveti (rsalveti)
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

The following patch fixes this issue:
http://kernel.ubuntu.com/git?p=rsalveti/ubuntu-maverick.git;a=commitdiff;h=16d5356aa8fca160be67b8696789672e1e9df2c9;hp=d1dfa2de39451a3041654714575d2ba817508cb3

Tested on my xM A and it worked the same way as before, now we just need someone with an A3 to test and report the result.

To test just mount the first partition on your SD card and overwrite your uImage with http://people.canonical.com/~rsalveti/maverick/xM/uImage file, like:
$ mkdir /tmp/mount
$ mount /dev/sdb1 /tmp/mount
$ wget http://people.canonical.com/~rsalveti/maverick/xM/uImage -O uImage

Unmount, put the card at your board and turn it on.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Also updated https://wiki.ubuntu.com/ARM/OMAPMaverickInstall pointing the new uImage, so users are able to install Ubuntu on xM A3.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

SRU Justification for linux (Ubuntu):

Impact: With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO 2 on TPS65950. Without setting up this GPIO the DVI will be off, and the user will be unable to install and use the distro.

Fix: The problem is fixed by setting up the GPIO 2 on TPS65950 for when running at Beagle xM. There's no problem when setting this GPIO in previous xM revisions as it's not connected. For more details please see http://beagleboard.org/hardware/design.

Testcase: When booting with current kernel on xM A3 you should be unable to use the DVI. After applying the fix it should work the same way as with previous xM revisions.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

From Beagle ML: http://groups.google.com/group/beagleboard/browse_thread/thread/27bf738eb9668b3c/fc32ef8db56f0562

So it seems it's working fine, forwarding the fix to the kernel team.

Changed in linux (Ubuntu):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux-linaro into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux-linaro (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
linuxmanju (linuxmanju) wrote :

I did step by step install as per on BB XM Rev A3 https://wiki.ubuntu.com/ARM/OMAPMaverickInstall And did

cd /media/boot ( /dev/sdb1 of my SDCard )
wget http://people.canonical.com/~rsalveti/maverick/xM/uImage -O uImage

cd /media/rootfs/boot ( ./dev/sdb2 of my SDCard )

wget http://people.canonical.com/~rsalveti/maverick/xM/vmlinuz-2.6.35-22-omap -O vmlinuz-2.6.35-22-omap

Umount and reboot, Still no output on the HDMI / DVI ( Not even a flicker to suggest its a resolution issue ), Looks like there is no DVI Signal at all.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Can you try getting the boot log from your board, with the downloaded kernel?

If you need instructions to activate the console, please follow the next steps:
1. Mount the first SD card partition;
2. # cd /media/6B57-ED78/
3. # dd if=boot.scr of=boot.script bs=1 skip=72
4. Edit boot.script, add "console=ttyS2,115200n8" and remove "quiet" at the setenv line, like:
  setenv bootargs vram=12M omapfb.mode=dvi:1280x720MR-16@60 root=/dev/mmcblk0p2 fixrtc console=ttyS2,115200n8 earlyprintk=ttyS2 loglevel=8
5. # mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr
6. Unmount the sd card and boot it on your board

After this you should be able to see the kernel boot log at the uart.

Changed in linux (Ubuntu Maverick):
assignee: nobody → Ricardo Salveti (rsalveti)
status: New → Fix Committed
Changed in linux-linaro (Ubuntu):
status: New → In Progress
Revision history for this message
linuxmanju (linuxmanju) wrote :

Please find below console logs ( Captured with a freshly flashed image ), I still dont see anything in the Display ( LCD TV ), It stops at Configuring additional binfmt support and as I understand the next step is GUI.

Revision history for this message
linuxmanju (linuxmanju) wrote :

Attaching Xorg.0.log as well, ( Taken from Mounting SD card offline )

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted linux into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
andyf (andyfungkl) wrote :

I was able to run Ubuntu 10.10 on my Beagleboard-xM A3 (following the instructions from https://wiki.ubuntu.com/ARM/OMAPMaverickInstall). However, it was slow. I checked the /proc/cpuinfo and found out the Bogomips was less than 600.

Then I rebooted the BB-xM with the original Angstrom SD card. Checked the /proc/cpuinfo and the Bogomips was 999.xx.

Was there anything I did wrong to install Ubuntu 10.10? Please advise! Thanks

Revision history for this message
Steve Conklin (sconklin) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed' to 'verification-done'.

If verification is not done by Thursday, November 11, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.9 KiB)

This bug was fixed in the package linux-linaro - 2.6.35-1008.15

---------------
linux-linaro (2.6.35-1008.15) maverick-proposed; urgency=low

  [ Robert Nelson ]

  * SRU: Fix DVI for Beagle xM rev A3
    - LP: #663642

linux-linaro (2.6.35-1008.14) maverick-proposed; urgency=low

  [ Andy Whitcroft ]

  * reduce disk usage during buildd builds
    - LP: #645653

  [ Enric Balletbo i Serra ]

  * ARM: igepv2: Adding support for VBUS and overcurrent
    - LP: #651589
  * ARM: igepv2: Fix and improve LED handling
    - LP: #654582
  * ARM: igepv2: Introduce function to dectect HW version
    - LP: #654586
  * ARM: igepv2: Fix handling of GPIOs for WLAN-BT combo
    - LP: #654590
  * ARM: igepv2: Add i2c eeprom driver to read EDID
    - LP: #654594
  * ARM: igepv2: Remove VMMC2 regulator
    - LP: #654595

  [ Maurus Cuelenaere ]

  * SAUCE: ARM: OMAP3: Add S-Video output to IGEPv2 board
    - LP: #607250

  [ Upstream Stable ]
  * Linux 2.6.35.7

  [ Upstream MMC updates ]

  * mmc: recognize CSD structure
  * mmc: split mmc_sd_init_card()
  * mmc: implement SD-combo (IO+mem) support
  * sdhci: remove useless set_clock() check
  * sdhci: 8-bit data transfer width support
  * sdhci: don't assign mmc->caps at SDHCI directly
  * mmc: only set blockaddressed for > 2GiB cards
  * mmc: omap: fix for bus width which improves SD card's peformance.
  * sdhci-pltfm: switch to module device table matching
  * sdhci-pltfm: reorganize Makefile entries to support SoC devices
  * sdhci-pltfm: add support for CNS3xxx SoC devices
  * omap hsmmc: fix processing of all dma interrupts as block completion
  * sdhci: add regulator support
  * sdhci: add no hi-speed bit quirk support
  * mmc: avoid getting CID on SDIO-only cards
  * omap_hsmmc: remove unused local `state'
  * omap hsmmc: fix a racing case between kmmcd and omap_hsmmc_suspend
  * drivers/mmc/host/imxmmc.c: adjust confusing if indentation
  * mmc: sdhci-pltfm: Add structure for host-specific data
  * mmc: sdhci-pltfm: move .h file into appropriate subdir
  * mmc: sdhci: introduce get_ro private write-protect hook
  * mmc: sdhci_pltfm: pass more data on custom init call
  * mmc: sdhci-of-esdhc: factor out common stuff
  * mmc: sdhci-pltfm: add -pltfm driver for imx35/51
  * mmc: quirk fix for timeout problem
  * babbage: esdhc device registration
  * babbage: update mx51_defconfig
    - LP: #656966

  [ Upstream ARM fixes ]

  * Make PTRACE_SINGLESTEP work with user helpers
  * ARM: fix section mismatch warnings in Versatile Express
  * ARM: use memblock to remove memory from available memory
  * video: omap: vram: remove from normal memory
    - LP: #627779

  [ John Rigby ]
  * LINARO: update configs
    - LP: #659799

linux-linaro (2.6.35-1007.13) maverick; urgency=low

  [ Upstream Ubuntu ]

  * Ubuntu-2.6.35-22.33
  * Ubuntu-2.6.35-22.34

  [ Upstream ARM Fixes ]

  * ARM: vexpress: set RAM latencies to 1 cycle for PL310 on ct-ca9x4 tile
  * ARM: vexpress: set RAM latencies to 1 cycle for PL310 on ct-ca9x4 tile
  * ARM: add a vma entry for the user accessible vector page
  * ARM: plug a race with the alignment trap handler
  * arm: fix really nasty sigreturn bug
  * ARM: prevent multiple syscall ...

Read more...

Changed in linux-linaro (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Tobin Davis (gruemaster) wrote :

Tested and confirmed to work by members of #beagle on freenode IRC.

Revision history for this message
Steve Langasek (vorlon) wrote :

Hi Tobin,

Can you confirm which kernel was tested - the one from the 'linux' source package, or the one from the 'linux-linaro' source package? (The linux-linaro package has already been published to maverick-updates, so I guess testing 'linux' is most important now.)

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Tobin Davis (gruemaster) wrote :

Steve,

I would assume it is the Ubuntu kernel, as the person that actually tested it used the maverick image and followed the directions at https://wiki.ubuntu.com/ARM/OMAPMaverickInstall to fix it before booting. He then enabled maverick-proposed based on the instructions at https://wiki.ubuntu.com/Testing/EnableProposed to enable the proposed updates and updated the kernel using apt-get dist-upgrade. I don't think the linaro kernel is used in this process, but I am waiting for him to verify.

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: [Bug 663642] Re: DVI doesn't work at BeagleBoard xM rev A3

On Sat, Oct 30, 2010 at 3:27 AM, andyf <email address hidden> wrote:
> I was able to run Ubuntu 10.10 on my Beagleboard-xM A3 (following the
> instructions from https://wiki.ubuntu.com/ARM/OMAPMaverickInstall).
> However, it was slow. I checked the /proc/cpuinfo and found out the
> Bogomips was less than 600.
>
> Then I rebooted the BB-xM with the original Angstrom SD card. Checked
> the /proc/cpuinfo and the Bogomips was 999.xx.
>
> Was there anything I did wrong to install Ubuntu 10.10? Please advise!
> Thanks

Angstrom's kernel has cpufreq and PM working, and it overclock the CPU
when needed, something we're not doing by default (because we're
mainly using the upstream 2.6.35 for Maverick).

Changed in linux-linaro (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Patches included at master branch, but still waiting for a proposed kernel with the fix included. I believe we'll be getting the proposed Ubuntu-2.6.35-23.37 soon.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Finally accepted (linux-image-omap) into maverick-proposed. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thanks in advance!

tags: added: verification-needed
removed: verification-done
Revision history for this message
Brad Figg (brad-figg) wrote :

Verification that this bug is fixed has not been completed by the deadline for the current stable kernel release cycle.
The change will be reverted and this bug is being set to incomplete.

In order to have this fix considered for reapplication to the kernel, please follow the process documented here:

https://wiki.ubuntu.com/Kernel/StableReleaseCadence

Discussions about the new process tend to take place in #ubuntu-kernel on IRC, so please contribute to the discussion there if you would like.

Thank you!

Changed in linux (Ubuntu Maverick):
status: Fix Committed → Incomplete
tags: added: stable-reverted-maverick
Brad Figg (brad-figg)
tags: removed: verification-needed
Changed in linux (Ubuntu Maverick):
status: Incomplete → Fix Committed
tags: added: verification-done
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Actually this bug was already verified at the time Tobin asked the community guy to test the fix. The new kernel was uploaded to proposed at 11-05, and the tester reported his result at 11-08 (so the verification was done at time). I was kind of confused because the I thought the user tested the linaro's kernel, instead of ours, as it got the fixes first, but then talking with Tobin by IRC it was clear that the user just followed the instructions from https://wiki.ubuntu.com/Testing/EnableProposed and gave apt-get upgrade.

Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Accepted linux into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote :

Sorry about that - a script misfired.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (16.2 KiB)

This bug was fixed in the package linux - 2.6.35-23.40

---------------
linux (2.6.35-23.40) maverick-proposed; urgency=low

  [ Brad Figg ]

  * No change rebuild.

linux (2.6.35-23.39) maverick-proposed; urgency=low

  [ Brad Figg ]
    - LP: #676214

  [ Ricardo Salveti de Araujo ]

  * SAUCE: ARM: OMAP3: beagle: use GPIO2 on the xM A3 to turn DVI on
    - LP: #663642

linux (2.6.35-23.38) maverick-proposed; urgency=low

  [ Brad Figg ]

  * Revert "SAUCE: ARM: OMAP3: beagle: use GPIO2 on the xM A3 to turn DVI
    on"

  [ Upstream Kernel Changes ]

  * Revert "(upstream) ALSA: hda - Apply ALC269 VAIO fix-up to all Sony
    laptops with ALC269"
  * Revert "ALSA: HDA: Correctly apply position_fix quirks for ATI and VIA
    controllers"
  * Buglink Fixup for reverted unverified fixes

linux (2.6.35-23.37) maverick-proposed; urgency=low

  [ Brad Figg ]

  * ARM: Temporarily disable module check for armel

linux (2.6.35-23.36) maverick-proposed; urgency=low

  [ Andy Whitcroft ]

  * reduce disk usage during buildd builds
    - LP: #645653

  [ Brad Figg ]

  * ARM: Temporarily disable module check for armel

  [ Enric Balletbo i Serra ]

  * ARM: igepv2: Adding support for VBUS and overcurrent
    - LP: #651589
  * ARM: igepv2: Fix and improve LED handling
    - LP: #654582
  * ARM: igepv2: Introduce function to dectect HW version
    - LP: #654586
  * ARM: igepv2: Fix handling of GPIOs for WLAN-BT combo
    - LP: #654590
  * ARM: igepv2: Add i2c eeprom driver to read EDID
    - LP: #654594
  * ARM: igepv2: Remove VMMC2 regulator
    - LP: #654595

  [ Leann Ogasawara ]

  * ARM: Temporarily disable module check for armel

  [ Mathieu Poirier ]

  * SAUCE: ARM: Add DSS2 support for Overo board
    - LP: #660811

  [ Maurus Cuelenaere ]

  * SAUCE: ARM: OMAP3: Add S-Video output to IGEPv2 board
    - LP: #607250

  [ Ricardo Salveti de Araujo ]

  * [Config] Remove CONFIG_FIXED_PHY and move CONFIG_SMSC911X from m to y
    for omap
    - LP: #645689
  * SAUCE: ARM: OMAP3: Adding vdd_sdi regulator supply to IGEPv2 board
    - LP: #607250
  * SAUCE: ARM: OMAP3: beagle: use GPIO2 on the xM A3 to turn DVI on
    - See: #663642

  [ Upstream Kernel Changes ]

  * Revert "(pre-stable) ALSA: HDA: Use model=auto for LG R510"
  * Revert "(pre-stable) ALSA: hda - Rename iMic to Int Mic on Lenovo
    NB0763"
  * Revert "Input: appletouch - fix integer overflow issue"
  * Revert "ALSA: hda - Handle pin NID 0x1a on ALC259/269"
  * Revert "ALSA: hda - Handle missing NID 0x1b on ALC259 codec"
  * Revert "(pre-stable) ALSA: hda - Add a new hp-laptop model for Conexant
    5066, tested on HP G60"
  * Revert "mmc: build fix: mmc_pm_notify is only available with
    CONFIG_PM=y"
  * Revert "mmc: fix all hangs related to mmc/sd card insert/removal during
    suspend/resume"
  * Revert "(pre-stable) bounce: call flush_dcache_page() after
    bounce_copy_vec()"
  * Revert "Input: i8042 - reset keyboard controller wehen resuming from
    S2R"
  * Revert "ALSA: HDA: Enable internal speaker on Dell M101z"
  * Revert "(pre-stable) drm/i915: don't enable self-refresh on Ironlake"
  * Revert "drm/i915: Allow LVDS on pipe A on gen4+"
  * (pre-stable) ACPI: enable repeated...

Changed in linux (Ubuntu Maverick):
status: Fix Committed → Fix Released
Tobin Davis (gruemaster)
Changed in linux (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.