Messed up resolution in Mini2440

Daniel Chan
Product: Mini2440 S3C2440 + 3.5" TFT Touch Screen LCD‏ 
(256 M)
Target OS: Linux
Attempted Image : zImage_T35 / zImage_N35 ( directly from the disc in the
box )
Problem: When booted up, messed up Screen Positions.I had tried searching
around, it turned out something related to ts_calibrated stuff. Problem is
I have no idea entering U-boot environment. I will attach a screen shot
tonight as a proof. Would you mind to give some pointers for those who
faced this issue and has a solution onit.

davef
First off, for this platform zImages are downloaded using DNW via
Supervivi.  If you are really using u-boot you normally download uImages.

This situation might have changed are there have been comments about u-boot
being modified to download zImages. 

Which instructions are you following?

davef
Preparing linux image

U-Boot does not support normal linux kernel images like zImage or Image
(arch/arm/boot/), you have to create an uImage file with the mkimage tool
which encapsulates kernel image with header information, CRC32 checksum,
etc. 

from http://www.at91.com/linux4sam/bin/view/Linux4SAM/U-Boot

also, Google <uboot zimage>

Daniel Chan
I followed below instructions:-

1. Launch DNW and click connect.
2. Power off the board then switch the board to NOR mode then power on
back.
3. Format NAND and download SuperVivi-128M. It completed successfully
4. Download Linux Kernel ( attempted zImage_T35 and also attempted
zImage_N35 directly from the DVD ). It completed successfully.
5. Download root_qtopia-128M and it completed sucessfully.
6. Power off the board and switch the board to NAND.
7. Power on the board to start Linux and the witnessed resolution messed
up.

I hope this information helps. Really no idea why the resolution messed up
even i'm using the shipped DVD's images. Appreciate your help.

davef
4.  zImage_T35 and N35 are for specific touchscreens.  You need to know
which touchscreen you are using.

Daniel Chan
Hi Davef,

Appreciate your prompt response. Considered i'm new in Embedded, this is
the product I purchase ( exact model ):-
http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=280533619533&...


From here, can you tell what touchscreens is this? I'm pretty sure this is
a 3.5 inches touch screen, and that's why i attempted both zImage_T35 and
zImage_N35.

Thanks for your help again.

davef
From the downloads page

Display

    NL2432HC22 3.5 inch Display N35 (NEC)
    TD035STED4 3.5 inch Display T35 (Toppoly)
    ACX502BMU 3.5 inch Display X35 (Sony)

and also

W35i - Sharp LQ035Q1DG06

Think the Sharp and Sony might be on the 1Gb machines.

Look on the back of the display.

Daniel Chan
Hi Davef,

Thanks for your response. I will go back and check today and let you know
again. I will also check the DVD Linux Image again, see what other 3.5"
available.

Wait for my response.

Thanks again.

Daniel Chan
Hi Davef,
I just the display, it is labeled as "LCD- W35i".
So can i know what zImage to use in this ?

Andreas Watterott
The zImage for the W35i display. If it is not on the disc then you can
download it here: http://www.friendlyarm.net/downloads

Wingz
or if you can give ur email id, i'll mail it to you.

Daniel Chan
Hi Andreas Watterott, Wingz and Davef,
I've downloaded it and thanks for the offer. The question is what zImage to
use?

1. zImage_N35?
2. zImage_T35?
3. zImage_X35?
or totally none of above?

The Mini2440's LCD is labelled as "LCD-W35i"

davef
If there is not a W35i zImage in here then report back.

http://www.friendlyarm.net/dl.php?file=linux-zImage_20110421.zip

davef
Sorry, 

Jumped the gun! Looks like it is not there. Andreas needs to respond.

Daniel Chan
Hi Andreas Watterott, Wingz and Davef,
Thanks for the response.
I've downloaded
http://www.friendlyarm.net/dl.php?file=linux-zImage_20110421.zip and unzip
it.

Below is the zImage from the zip file:-
1.zImage_A70
2.zImage_L80
3.zImage_N35
4.zImage_N43
5.zImage_T35
6.zImage_VGA1024X768
7.zImage_W35
8.zImage_X35

By seeing it, i'm eliminating the possibility of #1,#2,#4,#6.
So, which zImage to use? is this zImage_W35? Thanks again.

Hi Wingz,
My email address is daniel_5191@hotmail.com
You can email the zImage which you think can solve this problem. Very much
appreciated.

Daniel Chan
Hi Andreas Watterott, Wingz and Davef,
Just FYI, zImage_W35 works for my Mini2440. At least i'm seeing the screen
didn't messed up after reboot. I just confirmed by testing it.
Thanks for the effort adding it in the download.

jisha
I have done all these images but i am getting an error like this(only some
part is mentioned here)
block 2 is bad
block 625 is bad
block 1382 is bad
block 3549 is bad

can any one help plz?

vijay
I have successfully compiled tslib and qt-everywhere-4.6.2
and loaded the library files from home/tslib/lib and usr/local/Qt to
target-board(mini2440friendlyArm) of usr/local/Qt/lib and
usr/local/tslib/lib 
in my case the apllication runs on terminal but when i touch to the screen
it does not response anything


and when i run through hypertreminal by commenting out to the last 3 lines
of rcS file and it gives the error "lib/libts-0.0.s0.0;ELF file version
does not match current one


can you help me please its urgent

vijay
if i load the kernel file zimage_t35 instead of zimage_x35 what it ll
happen