LCD for at91sam9x35 with 320x240 resolution

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

nmmane
Posts: 11
Joined: Mon Aug 14, 2017 9:36 am

LCD for at91sam9x35 with 320x240 resolution

Thu Aug 31, 2017 6:34 am

I have AT91SAM9X35 [CORE9X35] SOM and Linux 3.6.9 , there is LCD port to which i want to connect 320x240 18bit LCD with RGB mode.

There is default 800x480 resolution so i want to change this to 240x320 & 320x240.

Code: Select all

# cat /sys/class/graphics/fb0/virtual_size
800,480
I tried to change boot command form

Code: Select all

bootargs=console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw video=800x480-16@60
to

Code: Select all

bootargs=console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw video=240x320-16@60
But

Code: Select all

#cat /sys/class/graphics/fb0/virtual_size
640,480
So my LCD and Resistive Touch screen dose not work properly.

Is this method correct to set resolution for LCD?
Dose Linux support 240x320 & 320x240 resolutions?
How can i Set resolution to resistive Touch Screen?
nmmane
Posts: 11
Joined: Mon Aug 14, 2017 9:36 am

Re: LCD for at91sam9x35 with 320x240 resolution

Fri Sep 08, 2017 8:05 am

For touch screen I have Tried to build tslib for at91sam9x5, I have build with same toolchian as i have build qt , kernel , and other c codes.

i have successfully build tslib but after deployment on target , i got following error.

Code: Select all

./ts_calibrate 
Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: Assertion `nlist > 1' failed! 
is this toolchain problem or something i m missing?
nmmane
Posts: 11
Joined: Mon Aug 14, 2017 9:36 am

Re: LCD for at91sam9x35 with 320x240 resolution

Sat Sep 09, 2017 7:14 am

problem resolved for tslib build.

I followed this link-

https://sourceforge.net/p/net-snmp/mail ... /31654245/

removed all lib files for Qt and tslib and then copied only required lib files for tslib.

Still struggling for changing lcd display resolution to 320x240 / 240x320.

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest