S-Video

Hi,

I just got a Beagle Board XM that Bill from Special Computing kindly
sent to me...

As I don't have a DVI monitor, I want to setup the S-Video output.

So, using the default files that came with the SD Card, I created
user.cmd with the contents:

root@beagleboard:~# cat /media/mmcblk0p1/user.cmd
led 1 off
mmc init
setenv bootargs 'console=tty0 console=ttyS2,115200n8 rootwait ro
vram=12M omapfb.mode=tv:ntsc omapdss.def_disp=tv fixrtc buddy=unknown'
if test "${beaglerev}" = "AxBx"; then
setenv rdaddr 0x81000000
setenv optargs mem=80M@0x80000000 musb_hdrc.fifomode=5
elif test "${beaglerev}" = "Cx"; then
setenv rdaddr 0x88000000
setenv ramroot /dev/ram0 rw ramdisk_size=131072 initrd=${rdaddr},128M
setenv optargs mem=80M@0x80000000 mem=128M@0x88000000
musb_hdrc.fifomode=5
else
setenv rdaddr 0x88000000
setenv ramroot /dev/ram0 rw ramdisk_size=131072 initrd=${rdaddr},128M
setenv optargs mem=80M@0x80000000 mem=384M@0x88000000
fi
run loadramdisk
led 0 off
run loaduimage
led 1 on
run ramboot

then I executed:

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

After rebooting the board, I checked the kernel command line:
root@beagleboard:~# dmesg |grep command
[ 0.000000] Kernel command line: console=ttyS2,115200n8
mem=80M@0x80000000 mem=384M@0x88000000 mpurate=1000 buddy=none
camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60
omapdss.def_disp=dvi root=/dev/ram0 rw ramdisk_size=131072
initrd=0x88000000,128M rootfstype=ext2

root@beagleboard:~# dmesg |grep command
[ 0.000000] Kernel command line: console=ttyS2,115200n8
mem=80M@0x80000000 mem=384M@0x88000000 mpurate=1000 buddy=none
camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60
omapdss.def_disp=dvi root=/dev/ram0 rw ramdisk_size=131072
initrd=0x88000000,128M rootfstype=ext2

And it shows DVI!!! Did it execute my commands?

Could anyone help or suggest whats wrong here?

thanks a lot

Rafael

rafaelaroca <rafaelaroca@ieee.org> [2010-10-01 20:15:59]:

[snip]

root@beagleboard:~# cat /media/mmcblk0p1/user.cmd

It's a user script, so you need to push the user button to use it. Otherwise,
change the boot script.

-- ynezz