LCD P35

ferite
Working in the last BSP available, I found a new option for LCD P35 (and
P43). Is it going to be the new standard 3.5" LCD for FriendlyArm
products?.

Markus Mehlan
Hello ferite,

which BSP do you use? I've installed
OSELAS.BSP-Pengutronix-Mini2440-2013.10.0, but din't find any option for
P35.

Best regards,
Markus

ferite
Hi. The BSP I refer to is WinCE.

stereo_m
Does anyone know how to use this display in linux? For example here in the
fourth post there are some instructions for the X35 display, where can I
find those values for P35? http://www.friendlyarm.net/forum/topic/2016

stereo_m
Has anyone used the P35 LCD with Linux?

Ionut
I've managed to add support in the Oselas BSP for this display. 
I still have to add the touchscreen support. 

If you are interested, I will send you the kernel patch.

stereo_m
I don't even need the touchscreen, at least not yet, so I would be really
thankful if you could send me the kernel patch. Can you upload it to
www.wetransfer.com or www.pastebin.com or similar and share the link here?
I can also give my email.

jrdinamic
I have a P35, but not found NK_P35 or nboot_P35, Some send me files?,
thanks!

Sandeep Sondagar
Link:- http://we.tl/bho6tY5CH0
Valid till 18th June 2014.

bluscape
Hi,

Would you guys mind uploading this again please.

Thank you

Sandeep Sondagar
Dear Bluscape,

Link :- http://goo.gl/jK2w6D

Thanks,
Sandeep Sondagar

bluscape
Hi,

Thank you very much but I would like to compile the display into my own
kernel.

Would you mind sending me the configuration for the display?

Thank you

MC

Nirmal
Can Anybody Send Me The TouchScreen Patch For WinCE6

Sandeep Sondagar
Dear Bluscape,

P35 Parameters for FriendlyArm kernal.
===========================================
#elif defined(CONFIG_FB_S3C2410_P320240)
#define LCD_WIDTH 320
#define LCD_HEIGHT 240
#define LCD_PIXCLOCK 170000

#define LCD_RIGHT_MARGIN 0x5
#define LCD_LEFT_MARGIN 0x0C
#define LCD_HSYNC_LEN 0x01

#define LCD_UPPER_MARGIN 9
#define LCD_LOWER_MARGIN 1
#define LCD_VSYNC_LEN 2

#define LCD_CON5 (S3C2410_LCDCON5_FRM565 | S3C2410_LCDCON5_INVVCLK |
S3C2410_LCDCON5_INVVFRAME | S3C2410_LCDCON5_INVVLINE |
S3C2410_LCDCON5_HWSWP ) 
==================================================

Do you know how PIXCLOCK is calculated? it is about 1000/LCD_CLOCK_FREQ_(in
MHz). But not all the times.

Miguel de la Fuente
Hi Sandeep

We have the same problem with the news mini2440 P35. Can you send me a link
to download a WinCE BSP that you used to compiled the N_BOOT_P35 and
NK_P35. It work fine in my Mini2440.

Thanks in advance

Miguel

Sandeep Sondagar
Dear Miguel,

I have never used winCE on my mini2440(P35). I found those pre-compiled
"bin" files on support DVD.

My DVD has BSP sources for winCE 5 and 6. Just list all files you need, I
will upload that for you.

I am not sure that source files i have, supports this display or not.

Miguel de la Fuente
Hi Sandeep,

Thank you for you replay.

We are working with the mini2440 and micro2440 for a long time. Each new
purchase we received different LCD display (N35, T35, W35 and so..), until
now with the P35. With the other it was not a problem, but with that I
can´t do to work the mini2440. If you have the BSP for WinCE 5 with support
for the P35 I will thank a lot.  

Could you tell me where did you get the support DVD with these files
pre-compiled?

Thanks 

Miguel

Sandeep Sondagar
Hello Miguel,

I have uploaded winCE5 BSP @ http://goo.gl/jK2w6D
Please, send me mail mail sandeepsondagar@gmail.com i need your help.

Miguel de la Fuente
Hi Sandeep

Thanks you very much.

I´ve just send a e-mail from my private account.

I wait for you request.

Miguel

jackpot
Hi All,

I cannot run wince6 in nand mode. I can see wince 6 in nor mode but
touchpad is not working. after installing wince6,  I turn off board and
change to nand (S2) mode but wince6 does not boot. Are anyone successfully
working wince6 in nand mode?

Best Regards

Giridharan
I have put linux image for P35 and out rootfs_qtopia_qt4.img. the board is
booting and stops at TSLIB calibration utility. if we press cross hair
nothing happens. i have got struck. hoe to go further

Ajit
Make sure that it is the P35 LCD.!

Giridharan
It is P35 i have seen at the back of display also. how to set it right

Dede
Hi All,

I had the same problem as Giridharan when I flashed only the kernel.

When flashed again with zImage_P35_Linux_Kernel_Image, from
http://goo.gl/jK2w6D and the original rootfs_qtopia_qt4.img now its OK with
the precompiled kernel.


I tried to compile kernel with P35 LCD Parameters (above), the lcd works
but the touch NOT.
Are there any kernel parameters for the P35 touchscreen ?

Dede

bluscape
Did you run ts_calibrate?

Ajit
Which kernel source code you are using??? From DVD or you downloaded it??

Giridharan
the file is found usr/local/bin. it is not executing.
./ts_calibrate
ts_open: No such file or directory.
what is the problem

Giridharan
I have tried both downloaded from link and DVD also same problem

Dede
Works for me with these files : http://goo.gl/aJ1Ce5

Other hand, when i compile the kernel. 

Changed the "W35" part in
/linux-2.6.32.2/arch/arm/mach-s3c2440/mach-mini2440.c
(i'am using W35 kernel .config file)


#elif defined(CONFIG_FB_S3C2410_W320240)
#define LCD_WIDTH 320
#define LCD_HEIGHT 240
#define LCD_PIXCLOCK 170000

#define LCD_RIGHT_MARGIN 0x5
#define LCD_LEFT_MARGIN 0x0C
#define LCD_HSYNC_LEN 0x01

#define LCD_UPPER_MARGIN 9
#define LCD_LOWER_MARGIN 1
#define LCD_VSYNC_LEN 2

#define LCD_CON5 (S3C2410_LCDCON5_FRM565 | S3C2410_LCDCON5_INVVCLK |
S3C2410_LCDCON5_INVVFRAME | S3C2410_LCDCON5_INVVLINE |
S3C2410_LCDCON5_HWSWP )

LCD ok, but the touch NOT OK !

Giridharan
Thanks 
the http://goo.gl/aJ1Ce5 is working fine
the touch is also working fine.
thanks a lot once again

bluscape
Ok, so I've run into the same problem.
Screen working fine now but ouch screen wont respond.

Is the touch screen driver different on the P35?

If so, does anybody have touch screen drivers for the P35.
(I compile my own kernel so please do not send kernel images)

bluscape
Ok, it seems like they are using the TI TSC2046 or the Elo UK7483S.

But how to get it working. I've compiled it as a static driver in my kernel
but still no TS response.

Please help

bluscape
Ok, its a TSC2046 or UK7483S interfaced to a micro, but the micro generates
a 1 wire output to the mini2440.

.......

Dede
Hi bluscape,


You should use "Mini2451 1-Wire host and Touch Screen Driver".

This kernel driver is default included at
ftp://ftp.friendlyarm.net/mini2440-micro2440/Mini2440-20120702.iso
linux-2.6.32.2.tar.gz kernel source.

The touch is also working fine !

Alejandro
Hi.  I´m new here but has been working with mini35.  Like Miguel de la
Fuente sed, each new purchase we received different LCD display.  

Does anybody found the solution for WIN CE6 with the P35 LCD display for
mini2440?

Thanks.

bluscape
Also consider the 4Wire interface:

http://www.friendlyarm.net/forum/topic/6101

vitthal patil
sir,

I have a P35, but not found NK_P35 or nboot_P35, Some send me files?,
thanks!

vitthal patil
sir,

so plz send me link on my private emial vitthalpatil143@gmail.com

Alexander
Hi, 
do you have P35 display and touch screen configuration
to compile linux kernel? (I don't need precompiled kernel)

Hi all
I have tried with the configuiration of p35.But lcd is not working does any
body have the correct patch.GUI is not working for me and Touch also has no
progress

Ionut
You can use the following patch for the LCD. 

I haven't fixed the touchscreen driver yet. 

From e6436bd274b7fb304b2db298cde113dedb78b2c3 Mon Sep 17 00:00:00 2001
From: Ionut Cotoi <ionut.cotoi@opendevlabs.com>
Date: Wed, 23 Apr 2014 21:36:29 +0300
Subject: [PATCH] lcd p35

---
 arch/arm/mach-s3c24xx/mach-mini2440.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/mach-s3c24xx/mach-mini2440.c
b/arch/arm/mach-s3c24xx/mach-mini2440.c
index 850d3ee..6a1b042 100644
--- a/arch/arm/mach-s3c24xx/mach-mini2440.c
+++ b/arch/arm/mach-s3c24xx/mach-mini2440.c
@@ -248,6 +248,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[]
__initdata = {
           S3C2410_LCDCON5_PWREN |
           S3C2410_LCDCON5_HWSWP),
   },
+  [8] = { /* LCD-W35i 3.5" display (Sharp LQ035Q1DG06: P35 )*/
+    _LCD_DECLARE(
+      /* clock */
+      7,
+      /* xres, margin_right, margin_left, hsync */
+      320, 5, 0xc, 1,
+      /* yres, margin_top, margin_bottom, vsync */
+      240, 9, 1, 2,
+      /* refresh rate */
+      60,
+      72, 54),  /* pyhsical size */
+    .lcdcon5  = (S3C2410_LCDCON5_FRM565 |
+           // S3C2410_LCDCON5_INVVDEN |
+           S3C2410_LCDCON5_INVVFRAME |
+           S3C2410_LCDCON5_INVVLINE |
+           // S3C2410_LCDCON5_INVVCLK |
+           S3C2410_LCDCON5_HWSWP),
+  },
 };
 
 /* todo - put into gpio header */
-- 
1.8.1.2

Walter
My display P35 is working, but touch screen not. Are there  patch driver to
fix it?

bluscape
The problem is with the new displays they are using 1-wire.
For some reason the 1-wire file is not accessible when a Qt app is
executing.

Luckily the LCD board makes provision to switch to the analog touch screen.

Modify the board: http://www.friendlyarm.net/forum/topic/6101

Ajit
i want to interface friendly ARM mini2440 with 15 inch display how could i
do this plz suggest.....