UDOO setup lvds panels
Contents
How to setup LVDS panels
To use your LVDS with UDOO you have to follow these simple instructions.
With the last uboot version (release 2.0 – v.109) you need to change the “video” environment variables with:
15″ –> video=mxcfb0:dev=ldb,1366x768M@60,if=RGB24,bpp=32
7″ –> video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32
hdmi –> video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 (default environment variable)
To do this you need to connect an external pc to the debug serial of UDOO. For more info see the UDOO starting manual at the “Establish serial debug connection with UDOO” section.
These are the commands you need:
15″ Linux
setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=ldb,1366x768M@60,if=RGB24,bpp=32
15″ Android
setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,1366x768M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
7″ Linux
setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32
7″ Android
setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
HDMI Linux
setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32
HDMI Android
setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
At the next boot the video source will again be the default one unless you save the configuration you just inserted with the command:
saveenv
In Android you can also boot UDOO from both HDMI and LVDS panel at the same time inserting these variables in a different frame buffer:
e.g. boot on lvds 15″ and hdmi.
setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M