Beagleboard-xm s-video output

967 views
Skip to first unread message

ayunus

unread,
Mar 30, 2011, 5:22:48 AM3/30/11
to Beagle Board
How can I use the s-video output of the beagleborad that has Ubuntu
10.10 release ? I editted the bootargs as omapfb.mode=tv:ntsc
omapdss.def_disp=tv

But no change. The display opens again through DVI-D port

Gokul.C

unread,
Mar 30, 2011, 5:35:54 AM3/30/11
to beagl...@googlegroups.com

U might propably have edited the boot.cmd
Actually U-Boot reads from boot.scr

So, delete the old boot.scr and  use the following command to generate boot.scr reading the contents from boot.cmd

mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Ubuntu" -d ./boot.cmd ./boot.scr

--
Gokul.C

ahmet bay

unread,
Mar 30, 2011, 5:45:22 AM3/30/11
to beagl...@googlegroups.com
I have editted /boot/boot.scr file
when I use your suggestion I get error notexisting boot.cmd

ahmet bay

unread,
Mar 30, 2011, 6:55:02 AM3/30/11
to beagl...@googlegroups.com
I have followed these steps to edit boot scr. bootargs has changed on boot.script but no diiference on ports

https://wiki.ubuntu.com/ARM/BeagleEditBootscr

bootargs has changed on boot.script and created a new boot.scr  but no diiference on ports  it starts through the HDMI port

ayunus

unread,
Mar 30, 2011, 7:52:58 AM3/30/11
to Beagle Board
What is the exact solution way to change default display mode, from
dvi to tv ?
Maybe I did some misteakes

Robert Nelson

unread,
Mar 30, 2011, 8:06:24 AM3/30/11
to beagl...@googlegroups.com

These settings usually work:
http://elinux.org/BeagleBoardUbuntu#S-Video

Regards,
--
Robert Nelson
http://www.rcn-ee.com/

ahmet bay

unread,
Mar 30, 2011, 8:50:11 AM3/30/11
to beagl...@googlegroups.com
I cant make it default settings

After I editted the boot.scr, printenv output  still defaultdisplay=dvi

2011/3/30 Robert Nelson <robert...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.


Robert Nelson

unread,
Mar 30, 2011, 9:18:25 AM3/30/11
to beagl...@googlegroups.com
On Wed, Mar 30, 2011 at 7:50 AM, ahmet bay <ayunus...@gmail.com> wrote:
> I cant make it default settings
>
> After I editted the boot.scr, printenv output  still defaultdisplay=dvi

Then however your doing it isn't correctly sending the info to the kernel..

please copy your complete serial log from power on... to pastebin.com
and we can take a look at that..

ahmet bay

unread,
Mar 30, 2011, 10:05:15 AM3/30/11
to beagl...@googlegroups.com
Because the bootargs doesnot change these are only visible I added omapfb.debug=y but no change. I also added printenv output and the /boot/boot.script file

http://pastebin.com/VMefkW7i

2011/3/30 Robert Nelson <robert...@gmail.com>

Robert Nelson

unread,
Mar 30, 2011, 10:08:28 AM3/30/11
to beagl...@googlegroups.com
On Wed, Mar 30, 2011 at 9:05 AM, ahmet bay <ayunus...@gmail.com> wrote:
> Because the bootargs doesnot change these are only visible I added
> omapfb.debug=y but no change. I also added printenv output and the
> /boot/boot.script file
>
> http://pastebin.com/VMefkW7i

Try also adding "console=tty0" after "console=ttyS2,115200n8" in the
bootarg ubuntu's kernel might be ignoring your setting and defaulting
to dvi..

ahmet bay

unread,
Mar 30, 2011, 10:21:24 AM3/30/11
to beagl...@googlegroups.com
Nothing changed  but I noticed that the output of the mkimage is ;

mkimage -A arm -O linux -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr
Image Name:   Ubuntu boot script
Created:      Wed Mar 30 17:16:56 2011
Image Type:   ARM Linux Script (uncompressed)
Data Size:    326 Bytes = 0.32 kB = 0.00 MB
Load Address: 0x00000000
Entry Point:  0x00000000
Contents:
   Image 0:      318 Bytes =    0 kB = 0 MB

is it normal for Load address 0x00000 and other parameters ?

Robert Nelson

unread,
Mar 30, 2011, 10:25:18 AM3/30/11
to beagl...@googlegroups.com

Yeap, it's just a script so no load address's would be needed..

Weird, so maybe they are missing something in their 2.6.35 kernel..

ahmet bay

unread,
Mar 30, 2011, 10:37:19 AM3/30/11
to beagl...@googlegroups.com
I have tried to edit user.scr in the xm Test SD Card that shipped with BB. But I could not use s-video port on it. I think I am missing some step but which one ?

2011/3/30 Robert Nelson <robert...@gmail.com>

Robert Nelson

unread,
Mar 30, 2011, 10:46:40 AM3/30/11
to beagl...@googlegroups.com
On Wed, Mar 30, 2011 at 9:37 AM, ahmet bay <ayunus...@gmail.com> wrote:
> I have tried to edit user.scr in the xm Test SD Card that shipped with BB.
> But I could not use s-video port on it. I think I am missing some step but
> which one ?

I'm not sure about the verison on teh test sd card..

But i know my demo image works: http://elinux.org/BeagleBoardUbuntu#Demo_Image

Flash your sd card, then boot it once with dvi..

goto: /boot/uboot/

open boot.cmd: sudo nano boot.cmd

change it to s-video.

run: ./tools/update_boot_files.sh

reboot..

or just wait about 48 hours, i'm pushing a new release based on ubuntu
natty's beta, and it'll also use the new "uEnv.txt" boot method..
(text editable script, vs using mkimage's boot.scr)..

ahmet bay

unread,
Mar 30, 2011, 10:47:43 AM3/30/11
to beagl...@googlegroups.com
And also I dont have a boot.cmd file on the file system

Robert Nelson

unread,
Mar 30, 2011, 10:49:44 AM3/30/11
to beagl...@googlegroups.com
On Wed, Mar 30, 2011 at 9:47 AM, ahmet bay <ayunus...@gmail.com> wrote:
> And also I dont have a boot.cmd file on the file system

Yeah, that's only with my images..

ahmet bay

unread,
Mar 30, 2011, 11:13:34 AM3/30/11
to beagl...@googlegroups.com
I had your demo image on another sd card. Now I amtrying to follow steps I have open boot.cmd with nano but to add s-video will I change

setenv dvimode .... line  with the lines 
setenv omapfb.mode tv:ntsc
setenv omapdss.def tv

??



Robert Nelson

unread,
Mar 30, 2011, 11:18:27 AM3/30/11
to beagl...@googlegroups.com

i wouldn't worry about the individual variables, just change the bootarg line:

"omapfb.mode=tv:ntsc omapdss.def_disp=tv"

ahmet bay

unread,
Mar 30, 2011, 11:38:09 AM3/30/11
to beagl...@googlegroups.com
Yeah it works :))
 Problem in the .35 kernel
Thanks for your help
Best Regards

2011/3/30 Robert Nelson <robert...@gmail.com>

ahmet bay

unread,
Mar 30, 2011, 4:43:29 PM3/30/11
to beagl...@googlegroups.com
Is it works if I use your boot.scr for s-video working on .35 kernel ? Does any problem occur ?
And I want to ask if I copied all files in a booting  SD Card to another truely formatted  SD Card directly, Is ıt works or I have to do every thing scratch from ?

Robert Nelson

unread,
Mar 30, 2011, 5:01:58 PM3/30/11
to beagl...@googlegroups.com
On Wed, Mar 30, 2011 at 3:43 PM, ahmet bay <ayunus...@gmail.com> wrote:
> Is it works if I use your boot.scr for s-video working on .35 kernel ? Does
> any problem occur ?

It'll probally work, but the it uses a different omap serial driver..
(ttyO2 vs ttyS2) (changed in 2.6.36)

> And I want to ask if I copied all files in a booting  SD Card to another
> truely formatted  SD Card directly, Is ıt works or I have to do every thing
> scratch from ?

Yes/No... the rootfs can be copied as is to any media, mmc/usb
disk/etc as long as it's a normal linux partition.. the bootloader
files (mlo/u-boot.bin) need a perfectly created fat16 file system..

ahmet bay

unread,
Apr 15, 2011, 4:43:18 AM4/15/11
to beagl...@googlegroups.com
Again I have a problem about s-video

for 2.6.38 kernel I editted the bootargs to run s-video output. It works for start boot steps,it gives s-video output , when it tries to appear the login  screen , s-video output is off so I can not see the gnome neither s-video nor DVI. With serial port I have logged in and tried to run a gui application and got this error

Error: Unable to initialize gtk, is DISPLAY set properly?

how can I initialize gtk  on s-video ?

ayunus

unread,
Apr 15, 2011, 10:28:19 AM4/15/11
to Beagle Board
I have solved this problem with installing xserver-xorg-video-omap3
Reply all
Reply to author
Forward
0 new messages