This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM355 EVM and PAL

Hello friends,

i am new in the DM355 family and in Linux ...

I have the EVM connected with my PC via nfs and RS232(described in "spruf73.pdf")

Now i try to draw points and lines on the tv out to my monitor with the "dev/fb/0" .

My question is how can i change the display mode from NTSC to PAL ?

Is it possible to change from my own program ?

 

Thanks for your help

  • Typically you would change your display mode with the U-Boot settings, in particular the U-Boot bootargs parameter. Section A.1 page 46 of the getting started guide dvsdk_1_30_01_41\docs\SPRUF73a.pdf discusses how to setup U-Boot to display in PAL or NTSC. For example, modifying your bootargs to have the settings below should get you PAL output.

    video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal

    You could also reconfigure the display driver at run time using the sysfs entries for the display driver, in particular setting /sys/class/davinci_display/ch0/mode to PAL or NTSC. This is discussed in dvsdk_1_30_01_41\PSP_01_20_00_014\docs\SPRUEL6.pdf section 1.

  • thanks for your fast answer.

     

    i have set the bootargs setting :

    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    serverip=192.168.0.1
    ipaddr=192.168.0.2
    ethaddr=00:40:95:36:35:33
    netmask=255.255.255.0
    rootpath=/home/roy/workdir/filesys
    nfshost=192.168.49.199
    bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.16
    8.49.199:/home/roy/workdir/filesys,nolock mem=116M video=davincifb:vid0=720x576x
    16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output
    =COMPOSITE davinci_enc_mngr.ch0_mode=pal
    bootcmd=nboot 0x80700000 0 0x400000;bootm
    stdin=serial
    stdout=serial
    stderr=serial
    videostd=pal

     

    but the tvout signal is still ntsc ... (the montavista logo is still flickering)

     

    What make i wrong ?

  • and the second way also don't work, because the system not found the davinci_display path

    here is the content :

    root@192.168.49.211:/sys/class# ls
    davinci_pwm  firmware     input     mtd          sound       usb_host
    dm355_aew    graphics     mem       net          spi_master  vc
    dm355_af     i2c-adapter  misc      scsi_device  tty         video4linux
    dm355_ipipe  i2c-dev      mmc_host  scsi_host    usb

    vbr

    Roy

  • It sounds like you may be using an older version of the DVSDK (the newer kernel no longer outputs the MV logo during boot), you would have to check with the documentation included with your particular DVSDK to see how to set the output as NTSC or PAL as the exact bootcmd values have changed over the versions (the getting started guide should cover this), also note that if you boot the latest DVSDK kernel you do get /sys/class/davinci_display.

    I just verified this works with DVSDK 1.30.01.41.

  • I have the DVSDK 1.30.00.23 .

    where can i get the latest DVSDK ?

  • The DVSDK updates are available through www.ti.com/davinciregistration where you can register your board or if you have done so already, continue through to the updates site.

  • i have an board from EBV Elektronik for evaluation and this board is allready registered.

    have you a direkt link without registration ?

  • Unfortunately the only way to get access is to have a my.ti account that has a board registered with it, though this may change in the future. You may want to ask EBV Elektronik about this to see if they have an account they registered that you can use to download updated software.

    However if your goal is just to get PAL output working you can still do that with the older version, take a look at section 4.3.6 of dvsdk_1_30_00_23\docs\spruf73.pdf for the U-Boot arguments for this older DVSDK version. As to making the change from within an application (instead of just doing it in U-Boot) you could change the vpbe_fb_videomode structure to use PAL instead of NTSC, though this is not as easy as just modifying a sysfs entry it is still possible, see dvsdk_1_30_00_23\PSP_01_20_00_004_1\docs\VPBEUsersManual.doc for details.