Difference between revisions of "UDOO setup lvds panels"
Line 18: | Line 18: | ||
To use your LVDS with UDOO you have to follow these simple instructions. | To use your LVDS with UDOO you have to follow these simple instructions. | ||
− | First [[UDOO_Debug_Connection_How_To|connect an external pc to the debug serial of UDOO]] | + | First [[UDOO_Debug_Connection_How_To|connect an external pc to the debug serial of UDOO]]. Once done connect the serial USB Cable to Udoo and turn it on by plugging the Power Supply. |
− | + | From your computer, hit a key before normal boot starts up and type the right parameters for your Operating system and LVDS | |
+ | panel. | ||
− | + | The default Variable, which outputs to HDMI is: | |
− | |||
− | |||
− | |||
− | + | video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 | |
− | + | =Exact UBOOT Parameters= | |
− | |||
== 15″ Linux == | == 15″ Linux == | ||
Line 55: | Line 52: | ||
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 | 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 | ||
+ | |||
+ | |||
+ | The general Purpose parameters for each video output are: | ||
+ | |||
+ | 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) | ||
+ | |||
= Touch Calibration = | = Touch Calibration = |
Revision as of 09:09, 30 July 2014
Contents
Update the system
Make sure you have the lastest u-boot and kernel. If not you can use the simple update procedure
Using LVDS Panels with UDOOBuntu official OS
The simplest way to use LVDS panels with UDOO is using the UDOO Configuration Tool+
- Open UDOO Configuration Tool
- Select Set Default Video Output (LVDS\HDMI) and hit OK
- Select your LVDS Model ( 7 or 15") and hit OK
- A dialog should inform you that video boot arguments have been changed correctly
- In some cases you could be required to choose a resolution. Choose it accordingly to your device.
- Reboot for changes to take effect
Manual Video Output Configuration
To use your LVDS with UDOO you have to follow these simple instructions.
First connect an external pc to the debug serial of UDOO. Once done connect the serial USB Cable to Udoo and turn it on by plugging the Power Supply.
From your computer, hit a key before normal boot starts up and type the right parameters for your Operating system and LVDS panel.
The default Variable, which outputs to HDMI is:
video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
Exact UBOOT Parameters
15″ Linux
setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=ldb,DB-WXGA,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
The general Purpose parameters for each video output are:
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)
Touch Calibration
if you have any problem with touch calibration try to modify the text file:
/etc/X11/xorg.conf.d/99-calibration.conf
with this text:
Section "InputClass" Identifier "calibration" MatchProduct "3M 3M USB Touchscreen - EX II" Option "Calibration" "-75 65106 2318 65008" Option "SwapAxes" "0" Option "InvertX" "1" Option "InvertY" "0" EndSection
Section "InputClass" Identifier "calibration" MatchProduct "sitronix-i2c-touch-mt" Option "Calibration" "10 802 11 479" EndSection
If the calibration is not good enough you can connect a mouse to UDOO and launch the "Calibrate Touchscreen" application from the top bar:
Application -> System Tools -> Administration -> Calibrate Touchscreen
or running in a terminal the command:
xinput_calibrator
and follow the video instruction to change your calibration.