首页 > 代码库 > (笔记) (ARM) QQ2440 开发板改为 GT2440 (Linux) (开发板)

(笔记) (ARM) QQ2440 开发板改为 GT2440 (Linux) (开发板)


QQ2440改 GT2440
1跟换Nand Flash
   将QQ2440的Nand Flash k9f1208u0b (64M)焊接取下来,换上k9f2g08u0a 或k9f2g08u0b (256M)
2.去掉QQ2440板上右边靠中间的电阻 NR5,不去掉无法从Nand Flash 启动
这里去掉电阻配置 Nand Flash Memory Configuration Table
对应的管脚 NCON0,      GPG13,    GPG14,    GPG15
                 高,           高,         高,          低

                 Advance    2Kbytes    5-Addr     8-bit bus with
3,在网上下载一个QQ2440.jflash的jlink下载的配置文件,将GT2440的u-boot.bin下载进去
4.对于lcd显示偏移的情况(4.3寸),根据自己的情况修改
修改u-boot源码
/opt/GTStudio/GT2440/u-boot-1.1.6/include/configs/GTStudio.h

#elif(LCD_TFT == TX11D)#define    CONFIG_LCD_VBPD     3#define    CONFIG_LCD_VFPD     5#define    CONFIG_LCD_VSPW     5#define    CONFIG_LCD_HBPD     39#define    CONFIG_LCD_HFPD     5#define    CONFIG_LCD_HSPW     5#define    CONFIG_LCD_CLKVAL     4

Linux 源码修改

/opt/GTStudio/GT2440/linux-2.6.30.4/arch/arm/mach-s3c2440/mach-gt2440.c

#elif defined(CONFIG_FB_S3C24X0_TX480272).width     = 480,.height     = 272,.pixclock     = 40000, /* HCLK 100 MHz, divisor 1 */.setclkval     = 0x4,.xres     = 480,.yres     = 272,.bpp     = 16,.left_margin    = 5,    /* for HFPD*/.right_margin    = 43,    /* for HBPD*/.hsync_len    = 5,    /* for HSPW*/.upper_margin    = 5,    /* for VFPD*/.lower_margin    = 4,    /* for VBPD*/.vsync_len    = 5,    /* for VSPW*/