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.

Setting Video Mode from NTSC to PAL for DM6446.



Hello All,

INFO

1.I have a DM6446 based board.

2. Currently I am using NTSC mode (/sys/class/davinci_display/ch0/mode).

3.I want to change it from NTSC to PAL.

 QUERIES

1.What are the possible ways to set video mode to PAL

a. Set using bootargs: What boot args should be set so that it will change my video mode?

b. modify "/sys/class/davinci_display/ch0/mode" file : Should write a C/CPP program to modify the file OR is there any command through I can modify the file in console, without running any out file.

c. Is there any ohere way?

Thanks and Regards

-swapnali

  • Hi Sonali,

    Can you please reply with which version of DVSDK and PSP you are using?

    Thanks, Niclas

  • Hi,

    we've just aquired a DM6446 EVM , while running throw the getting started guide we arrived at the u-boot loader.  After "playing " a little bit with the bootargs, the demo visualized in the lcd is no longer correct. What i mean is, the lcd cant get the image steady (it appears to be moving).Can this any NTSC/PAL configuration?
    Implementing the notes in the DVSDK 2.00 is not working. I've noticied that for example the boot adress in their is 0x2000000 while it should be 0x2050000, maybe i am missing the right args?

    P.S. i am assuming the problem is the bootloader.

     

    Thanks in Advance

  • Hi sonali

    Their are several  ways to set video mode to PAL

    1) Output and mode setting using sysfs interface

    To see how to use sysfs interface you can refer the example code comes with DVSDK named

    " dvsdk_2_xx_xx_xx/PSP_02_10_xx_xx/examples/dm644x/fbdev/fbdev_loopback_hd.c"

    in above example the to sysfs call is used to do so named

    change_sysfs_attrib(ATTRIB_OUTPUT, DISPLAY_INTERFACE_COMPOSITE);
    change_sysfs_attrib(ATTRIB_MODE, DISPLAY_MODE_PAL);

    the above call will modify "/sys/class/davinci_display/ch0/mode" file for you.

    2) After doing this set the boot args for the respective mode(PAL)

    like " osd0=720x576x16,5400K@0,0 " or

    you can use any other window (vid0/vid1)

    3) Now run your application for PAL mode.