beagleboard b7 and samsung LE32R86

Hello all,
I'm trying to use a beagleboard b7 with a samsung le32r86 hdtv as
display.
I tried both angstrom demo (uImage 2.6.28) and freshly bitbake'd
uImage.
I understand that probably is a timing problem, I've tried both 720 at
60MHz and 480 but all I got is "mode not supported" from the hdtv.
Do you have any suggestion of patches/configurations to try?

Additional info:

Texas Instruments X-Loader 1.4.2 (Aug 8 2008 - 16:59:05)

U-Boot 2008.10 (Mar 02 2009 - 18:07:40)

root@beagleboard:~# cat /proc/cmdline
console=ttyS2,115200n8 omapfb.video_mode=1280x720MR-24@60
omapfb.debug=y root=/dev/mmcblk0p2 rw

root@beagleboard:~# dmesg | grep OMAPFB
OMAPFB: omapfb_init
OMAPFB: omapfb_probe
OMAPFB: create 3 framebuffers
OMAPFB: fb_infos allocated
OMAPFB: allocating 3686400 bytes for fb 0
OMAPFB: allocated VRAM paddr 80661000, vaddr c9000000
OMAPFB: region0 phys 80661000 virt c9000000 size=3686400
OMAPFB: region1 phys 00000000 virt 00000000 size=0
OMAPFB: region2 phys 00000000 virt 00000000 size=0
OMAPFB: fbmems allocated
OMAPFB: check_fb_var 0
OMAPFB: xres = 1280, yres = 720, vxres = 1280, vyres = 720
OMAPFB: set_fb_fix
OMAPFB: check_fb_var 1
OMAPFB: set_fb_fix
OMAPFB: check_fb_var 2
OMAPFB: set_fb_fix
OMAPFB: fb_infos initialized
OMAPFB: set_par(0)
OMAPFB: set_fb_fix
OMAPFB: apply_changes, fb 0, ovl 0
OMAPFB: setup_overlay 0
OMAPFB: pan_display(0)
OMAPFB: setcmap
OMAPFB: setcmap
OMAPFB: pan_display(0)
OMAPFB: setcmap
OMAPFB: setcmap
OMAPFB: framebuffers registered
OMAPFB: apply_changes, fb 0, ovl 0
OMAPFB: setup_overlay 0
OMAPFB: apply_changes, fb 1, ovl 1
OMAPFB: apply_changes, fb 2, ovl 2
OMAPFB: create_framebuffers done
OMAPFB: mgr->apply'ed
OMAPFB: display->updated
OMAPFB: sysfs created
OMAPFB: pan_display(0)
OMAPFB: setcmap
OMAPFB: setcmap
OMAPFB: Closing fb with plane index 0
OMAPFB: pan_display(0)
OMAPFB: setcmap
OMAPFB: setcmap
OMAPFB: check_var(0)
OMAPFB: check_fb_var 0
OMAPFB: xres = 1280, yres = 720, vxres = 1280, vyres = 720
OMAPFB: set_par(0)
OMAPFB: set_fb_fix
OMAPFB: apply_changes, fb 0, ovl 0
OMAPFB: setup_overlay 0
OMAPFB: pan_display(0)
OMAPFB: setcmap
OMAPFB: pan_display(0)
OMAPFB: setcmap
OMAPFB: setcmap
OMAPFB: setcmap
OMAPFB: Closing fb with plane index 0
OMAPFB: Closing fb with plane index 0
OMAPFB: ioctl 40084f38 (56)
OMAPFB: ioctl 40444f35 (53)
OMAPFB: ioctl 40444f34 (52)
OMAPFB: omapfb_setup_plane
OMAPFB: setup_overlay 0
OMAPFB: ioctl 40444f35 (53)
OMAPFB: ioctl 40444f34 (52)
OMAPFB: omapfb_setup_plane
OMAPFB: ioctl 40084f38 (56)
OMAPFB: ioctl 40444f35 (53)
OMAPFB: ioctl 800c4f2a (42)

Thanks,
FC

Hello again,

I made further test, but up to now no luck.

I've tried the new 2.6.29-rc7-omap1 kernel with tomba dss2 latest git,
but still "mode not supported" from my hdtv set.

I'll attach dmesg output and fbset output.

bootargs were console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2
rootdelay=2 rootfstype=ext3 rw omapfb.shumode=dvi:1280x720MR-24@60
omapfb.debug=y

Does anyone have suggestion?

Bye,
fc

I forgot to attach the logs.

Anyway, no ideas? I understand that someone of you had success in
running beagleboard with hdtv, also with samsung serie 6. I tried both
2.6.27 (DSS1), 2.6.28 (DSS2 - the one with angstrom demo and one
compiled from openembedded git) and 2.6.29 with latest DSS2 from tomba
git, and no matter what resolution I get always "mode not supported"
Maybe I'm doing something foundamentally wrong, but I've no clue what.

Bye,
fc

fbset.out (172 Bytes)

dmesg.2.6.29-rc7-omap1-tomba (14.6 KB)

Hello,
I've tried also an hdtv series M86, but the behaviour is always the
same "mode not supported"

As suggested on irc I've tried also mru kernel , same results.

The only step forward I got is applying the patch [1] that as far as I
understood are for rev C (mine is B7), but at least now I can see the
angstrom logo when booting, so display *can* work under linux and not
only at u-boot splashscreen time.

After the boot, with patched kenrel (mru + [1]), I got:

omapfb omapfb: cannot parse default modes
Console: switching to colour frame buffer device 160x45
omap-dss DISPC error: timeout waiting GO flag
omap-dss DISPC error: timeout waiting GO flag

Any ideas?

Also from irc I got the suggestion that I can enter correct timing for
720p also with standard angstrom 2.6.28 kernel, using sysfs nodes. I
was suggested to look into the ML for the relevant post about that but
I couldn't find it. Anyone can tell me how to tweak timing using sysfs
dss2 interface?

Bye,
fc

[1] http://groups.google.com/group/beagleboard/attach/d0bcde96c6d692c2/0001-DSS-fix-for-DISPC_TIMING_H-and-DISPC_TIMING_V.patch?part=4

Hi,

Maybe threads [1] and [2] could help.
See the DSS2 Documentation, also available in [3], there's examples on
how to use the sysfs interface.
The patch you've mentionned work on B7 too.

[1] http://groups.google.com/group/beagleboard/browse_thread/thread/89654a5ac60b82a9/770c0f6dbde53755?lnk=gst&q=sony+bravia
[2] http://groups.google.com/group/beagleboard/browse_thread/thread/89dd507021073e91/3e3cc0705fde5bdc#3e3cc0705fde5bdc
[3] http://groups.google.com/group/beagleboard/msg/4c64b2c614622053

Regards,
Matthieu.

The patch I mentioned does it just work on B7 or is a MUST for B7?
Because I've read the threads you suggest many times, and I think I've
tried almost everything in there, with kernels ranging from 2.6.27 to
2.6.29 all patchset and all I got is always "mode not supported", if
that patch is a must I'll go back with that also on 2.6.28 (I've tried
the patch only on 2.6.29 kernels).

I've noticed the following thing:

if I set the configuration option "Check bootloader initialization"
I'm able to see the angstrom booting splashscreen. The hdtv is always
at 1280x720@60Hz regardless of bootargs, if I change the resolution in
the bootargs what changes is the dimension/timing of the splashscreen.
Once the boot is finished, ie when X starts, it goes back to "mode not
supported" and I've several:
omap-dss DISPC error: timeout waiting GO flag
in the console.

This is true for both 2.6.29 mru and 2.6.29 tomba.
Does this behaviour rings a bell?

Bye,
fc