Recently I am working on dual-display module in the IMX. 53 platform. Finished configuring Uboot, I entered to the serial console:
echo D: 720x576i-50> / sys/class/graphics/fb1/mode
echo 1> / sys/class/graphics/fb1/blank
echo 24> / sys/class/graphics/fb1/bits_per_pixel
echo 0> / sys/class/graphics/fb1/blank
setprop rw.VIDEO_TVOUT_DISPLAY 1
echo 2-layer-fb-bg> / sys/class/graphics/fb1/fsl_disp_property
At this point, the image can be displayed on the TV. But now I want to swap the image on LCD,then entered on the serial console:
echo 1-layer-fb> / sys/class/graphics/fb1/fsl_disp_property
echo 1> / sys/class/graphics/fb1/blank
setprop rw.VIDEO_TVOUT_DISPLAY 0
TV is turned off, howerver,the LCD image out the prompt message is:
Can not switch while fb2 (fb-fg) is on.
Find out the reasons is because
swap only happen between DP-BG and DC, while DP-FG disable
Question: How do I swap the channel and display on the LCD?