color problem on omap3530 based custom board display

hi all

we have designed a custom board based on
omap3530 soc
the ref design has been taken from BB rev C board

the board is able to boot both android and linux operating system but there
exist some color related problem in the display

in our board the display is flickering and we are not getting proper color for
different combination on RGB values( ex black is displaying for red)

we tested the same boot images and FS on BB-xm and observed that the
display clarity and color mixing are perfect

but the same boot images on our custom board gives some unwanted color

i wrote one application which will display color bars on the screen

i have attached the pics of both BB-xm and our custom board screens after
executing this applicaiton both are not identical

the sequence is :yellow | red | lime | blue | white | green | purple |marron

both are tested on dvi monitor with the arguments

setenv console console=ttyO2,115200n8
setenv rootfs root=/dev/mmcblk0p2 rootfstype=ext3 init=/init rw rootwait
omap_vout.vid1_static_vrfb_alloc=y vram=8M
setenv display omapfb.vram=0:8M omapdss.def_disp=dvi
setenv bootargs ${console} ${rootfs} ${display}
setenv bootcmd ‘mmc init 0;fatload mmc 0 0x80300000 uImage; bootm