- Код: Выделить всё • Развернуть
 cat /proc/cmdline
noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0
[root@FriendlyARM /]#
вот что он мне выдал
Технический форум по робототехнике.
cat /proc/cmdline
noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0
[root@FriendlyARM /]# 
/* LCD driver info */
#if defined(CONFIG_FB_S3C2410_N240320)
#define LCD_WIDTH 240
#define LCD_HEIGHT 320
#define LCD_PIXCLOCK 100000
#define LCD_RIGHT_MARGIN 36
#define LCD_LEFT_MARGIN 19
#define LCD_HSYNC_LEN 5
#define LCD_UPPER_MARGIN 1
#define LCD_LOWER_MARGIN 5
#define LCD_VSYNC_LEN 1
#elif defined(CONFIG_FB_S3C2410_TFT640480)
#define LCD_WIDTH 640
#define LCD_HEIGHT 480
#define LCD_PIXCLOCK 80000
#define LCD_RIGHT_MARGIN 67 
#define LCD_LEFT_MARGIN 40
#define LCD_HSYNC_LEN 31
#define LCD_UPPER_MARGIN 25
#define LCD_LOWER_MARGIN 5
#define LCD_VSYNC_LEN 1
#elif defined(CONFIG_FB_S3C2410_T240320)
#define LCD_WIDTH 240
#define LCD_HEIGHT 320
#define LCD_PIXCLOCK 170000
#define LCD_RIGHT_MARGIN 25
#define LCD_LEFT_MARGIN 0
#define LCD_HSYNC_LEN 4
#define LCD_UPPER_MARGIN 1
#define LCD_LOWER_MARGIN 4
#define LCD_VSYNC_LEN 1
#elif defined(CONFIG_FB_S3C2410_TFT800480)
#define LCD_WIDTH 800
#define LCD_HEIGHT 480
#define LCD_PIXCLOCK 40000
#define LCD_RIGHT_MARGIN 67
#define LCD_LEFT_MARGIN 40
#define LCD_HSYNC_LEN 31
#define LCD_UPPER_MARGIN 25
#define LCD_LOWER_MARGIN 5
#define LCD_VSYNC_LEN 1
#elif defined(CONFIG_FB_S3C2410_VGA1024768)
#define LCD_WIDTH 1024
#define LCD_HEIGHT 768
#define LCD_PIXCLOCK 80000
#define LCD_RIGHT_MARGIN 15
#define LCD_LEFT_MARGIN 199
#define LCD_HSYNC_LEN 15
#define LCD_UPPER_MARGIN 1
#define LCD_LOWER_MARGIN 1
#define LCD_VSYNC_LEN 1
#define LCD_CON5 (S3C2410_LCDCON5_FRM565 | S3C2410_LCDCON5_HWSWP)
#endif
#if defined (LCD_WIDTH)
static struct s3c2410fb_display mini2440_lcd_cfg __initdata = {
#if !defined (LCD_CON5)
   .lcdcon5   = S3C2410_LCDCON5_FRM565 |
           S3C2410_LCDCON5_INVVLINE |
           S3C2410_LCDCON5_INVVFRAME |
           S3C2410_LCDCON5_PWREN |
           S3C2410_LCDCON5_HWSWP,
#else
   .lcdcon5   = LCD_CON5,
#endif
   .type      = S3C2410_LCDCON1_TFT,
   .width      = LCD_WIDTH,
   .height      = LCD_HEIGHT,
   .pixclock   = LCD_PIXCLOCK,
   .xres      = LCD_WIDTH,
   .yres      = LCD_HEIGHT,
   .bpp      = 16,
   .left_margin   = LCD_LEFT_MARGIN + 1,
   .right_margin   = LCD_RIGHT_MARGIN + 1,
   .hsync_len   = LCD_HSYNC_LEN + 1,
   .upper_margin   = LCD_UPPER_MARGIN + 1,
   .lower_margin   = LCD_LOWER_MARGIN + 1,
   .vsync_len   = LCD_VSYNC_LEN + 1,
};