Hello
My lcd Project details are below thanks again Tz and chumbylurker
Hardware:
innolux AT043TN24 480 * 272 + touch from ebay
2mm 44 pin male 2mm connector from ebay or 2mm 2x 40 pin header
2mm to 2.54 converter from http://www.proto- advantage.com/store/product_info.php?products_id=3800084
But this for 40 pins we need 44 pin so add 4 pin with dremel
40 pin fpc to dip adapter whit connector for lcd
from http://www.proto-advantage.com/store/pr … id=3400013
and main board from http://www.proto-advantage.com
software:
very importand script thanks for chumbylurker adapted for my lcd by me
we must firstly run this script for correctly work new lcd
---------------
/mnt/storage/switch_output -l
regutil -w HW_LCDIF_CTRL=0x000b0820
regutil -w HW_LCDIF_VDCTRL4=0x1e0
usleep 50000
regutil -w HW_CLKCTRL_PIX=0x60
regutil -w HW_LCDIF_CTRL1=0x010f2101
regutil -w HW_LCDIF_TRANSFER_COUNT=0x011001e0
regutil -w HW_LCDIF_VDCTRL0=0x1130000a
regutil -w HW_LCDIF_VDCTRL1=286
regutil -w HW_LCDIF_VDCTRL2=0x2c000233
regutil -w HW_LCDIF_VDCTRL3=0x002b000c
regutil -w HW_LCDIF_VDCTRL4=0x000401e0
regutil -w HW_LCDIF_NEXT_BUF=$(regutil -r HW_PXP_S0BUF | cut -d' ' -f4)
regutil -w HW_LCDIF_CTRL_SET=1
--------------------
we need root file set correctly re building kernel for whitout any kernel panic
link is: wget http://files.chumby.com/source/falconwi … .mx233.tgz
and we are editing lcd_lms430.c for correctly settting lcd size pixlock and pixl porch size
#define DOTCLK_H_ACTIVE 480
#define DOTCLK_H_PULSE_WIDTH 41
#define DOTCLK_HF_PORCH 2
#define DOTCLK_HB_PORCH 2
#define DOTCLK_H_WAIT_CNT (DOTCLK_H_PULSE_WIDTH + (3 * DOTCLK_HB_PORCH))
#define DOTCLK_H_PERIOD (DOTCLK_H_WAIT_CNT + DOTCLK_HF_PORCH + DOTCLK_H_ACTIVE)
#define DOTCLK_V_PULSE_WIDTH 10
#define DOTCLK_V_ACTIVE 272
#define DOTCLK_VF_PORCH 2
#define DOTCLK_VB_PORCH 2
#define DOTCLK_V_WAIT_CNT (DOTCLK_V_PULSE_WIDTH + DOTCLK_VB_PORCH)
#define DOTCLK_V_PERIOD (DOTCLK_VF_PORCH + DOTCLK_V_ACTIVE + DOTCLK_V_WAIT_CNT)
and remove these lines
// don't check power limits for now -- bunnie revisit
// if (reg_set_current(data->regulator, bl_to_power(intensity))) {
// printk( "power limit exceeded.\n" );
// return -EBUSY;
// } thanks to Tz
path is linux-2.6.28.mx233\linux-2.6.28\linux-2.6.28.mx233\arch\arm\mach-stmp3xxx
and re editing chumbyfbfw.c file path is linux-2.6.28.mx233\linux-2.6.28\linux-2.6.28.mx233\drivers\video
in this file change porch pixel like below and esspecialy change to this file pixclock lines
.pixclock = 60000,
after then these steps
Firstly we must change lcd type to lms430 before rebuilding kernel make ARCH=arm menuconfig command and save
And writing zImage to sdcard via config_util --cmd=putblock --dev=/dev/mmcblk0p1 --block=krnX < /mnt/storage/zImage command
and reboot ,you see some changes on lcd screen then running imgtool or chumbyflashplayer.x
sorry for my english