Difference between revisions of "Mini2440 Shifted screen problem"

From Kenneth Noyens
Jump to: navigation, search
(Nieuwe pagina aangemaakt met 'If your 3,5" screen is a bit shifted to the left (or to the right) you probably have a misconfigured screen.<br> You have 2 different 3,5" screens that are shipped wit...')
 
Line 1: Line 1:
 +
= New solution =
 +
The new mini2440 kernel has support for both 3.5" TFT screens.<br>
 +
You can edit the mini2440= linux boot argument:
 +
- mini2440=0: 3.5" TFT (old model "N35")
 +
- mini2440=1: 7" TFT
 +
- mini2440=2: VGA
 +
- mini2440=3: 3.5" TFT (new model as Nov 2009 "T35")
 +
- mini2440=4: 5.6" TFT (Innolux AT056TN52)
 +
= Old solution =
 
If your 3,5" screen is a bit shifted to the left (or to the right) you probably have a misconfigured screen.<br>
 
If your 3,5" screen is a bit shifted to the left (or to the right) you probably have a misconfigured screen.<br>
 
You have 2 different 3,5" screens that are shipped with the mini2440:<br>
 
You have 2 different 3,5" screens that are shipped with the mini2440:<br>

Revision as of 21:55, 20 February 2010

New solution

The new mini2440 kernel has support for both 3.5" TFT screens.
You can edit the mini2440= linux boot argument:

- mini2440=0: 3.5" TFT (old model "N35")
- mini2440=1: 7" TFT
- mini2440=2: VGA 
- mini2440=3: 3.5" TFT (new model as Nov 2009 "T35")
- mini2440=4: 5.6" TFT (Innolux AT056TN52)

Old solution

If your 3,5" screen is a bit shifted to the left (or to the right) you probably have a misconfigured screen.
You have 2 different 3,5" screens that are shipped with the mini2440:

- T35 (new one as nov 2009)
- N35 (old one)

The T35 uses different timings.
Look for the file arch/arm/mach-s3c2440/mach-mini2440.c and search this:

[0] = { /* mini2440 + 3.5" TFT + touchscreen */

        Michel Pollet	2009-03-25 17:19:14 +0000	149	_LCD_DECLARE(
        7, /* The 3.5 is quite fast */
        240, 21, 38, 6, /* x timing */
        320, 4, 4, 2, /* y timing */
        60), /* refresh rate */
        .lcdcon5 = (S3C2410_LCDCON5_FRM565 |
                S3C2410_LCDCON5_INVVLINE |
                S3C2410_LCDCON5_INVVFRAME |
                S3C2410_LCDCON5_INVVDEN |
                S3C2410_LCDCON5_PWREN),
},

Change the timings to:

240, 21, 25, 6, /* x timing */
320, 2, 4, 2, /* y timing */