Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ǶÈëʽLinuxµÄLCDÇý¶¯£¨FB @ s3c2410£©

CPU : ARM9 s3c2410 
LCD : ¹æ¸ñ²»Ã÷£¨Õâ¸öºÜÎÞÄΣ¬µ«ÊÇÎÒËùÖªµÀµÄÖ»ÓÐÒ»¸ö·Ö±æÂÊ£©
Ô´ÂëÐ޸ģº
/linux-2.6.30.4/arch/arm/mach-s3c2410/mach-smdk2410.c
        ÔÚÕâ¸öÎļþÖмÓÈëframebufferµÄ³õʼ»¯Êý¾Ý½á¹¹£¨¾ßÌåÊý¾Ý²ÎÕÕLCD¼¼ÊõÊֲᣩÈçÏ£º
#include <mach/fb.h> // added by B.Zhou for the LCD driver
/* The info of LCD driver start */
static struct s3c2410fb_display smdk2410_lcd_cfg __initdata = {
    .lcdcon5    = S3C2410_LCDCON5_FRM565 |
              S3C2410_LCDCON5_INVVLINE |
              S3C2410_LCDCON5_INVVFRAME |
              S3C2410_LCDCON5_PWREN |
              S3C2410_LCDCON5_HWSWP,
    .type        = S3C2410_LCDCON1_TFT,
    .width        = 800,
    .height        = 480,
    .pixclock    = 174757, //40000, /* HCLK/4 */
    .xres        = 800,
    .yres        = 480,
    .bpp        = 16,
    .left_margin    = 7,
    .right_margin    = 3,
    .hsync_len    = 5,
    .upper_margin    = 1,
    .lower_margin    = 3,
    .vsync_len    = 1,
};
static struct s3c2410fb_mach_info smdk2410_fb_info __initdata = {
    .displays        = &smdk2410_lcd_cfg,
    .num_displays        = 1,
    .default_dis


Ïà¹ØÎĵµ£º

Linuxϵͳ»ù´¡ÖªÊ¶£¨¶þ£©

Linux½ø³ÌÔõÑù²ÅÄÜ»ñÈ¡ÊôÓÚËü×Ô¼ºµÄÏßÐÔµØÖ·¿Õ¼äÄØ£¬±ÈÈç 0x08048000µ½0x0804c000Õâ¶ÎÏßÐÔµØÖ·¿Õ¼ä±»·ÖÅä¸øÁËÒ»¸ö½ø³Ì£¬½ø³Ì¾Í¿ÉÒÔ·ÃÎÊÕâ¶ÎµØÖ·¿Õ¼ä£¬ÏßÐÔµØÖ·¿Õ¼äµÄ¿ªÊ¼ºÍ½áÊø¶¼±ØÐëÒÔ4KB¶ÔÆë
ÕâÀïÓÐÒÔϼ¸ÖÖÇé¿ö£º
1.¸Õ¸Õ´´½¨µÄнø³Ì£»
2.ʹÓÃexecϵͳµ÷ÓÃ×°ÔØÒ»¸öеijÌÐòÔËÐУ»
3.½«Ò»¸öÎļþ£¨»ò²¿£©Ó³Éäµ½½ø³ÌµØÖ ......

linuxϵͳÐÅÏ¢²é¿´ »ù±¾ÃüÁî

×î½ü¿´ÁËһЩLinuxÃüÁîÐеÄÎÄÕ£¬ÔÚϵͳÐÅÏ¢²é¿´·½Ãæѧµ½²»ÉÙÃüÁî¡£ÏëÆðÒÔǰд¹ýµÄһƪÆäʵLinuxÕâÑùÓøü¼òµ¥£¬·¢ÏÖÕâЩϵͳÐÅÏ¢²é¿´ÃüÁîÒ²¿ÉÒÔ×ܽá³öһƪССµÄ¶«Î÷À´ÁË¡£
ÁíÍâÕâÀﻹÓзdz£¶àµÄÃüÁ¿ÉÒÔ×÷Ϊ²Î¿¼¡£
ϵͳ
# uname -a             &n ......

Linux ͬ²½·½·¨ÆÊÎö

ÎÄÕÂÀ´Ô´:http://www.ibm.com/developerworks/cn/linux/l-linux-synchronization.html
¼¶±ð£º Öм¶
M. Tim Jones, ¹ËÎʹ¤³Ìʦ, Emulex
2007 Äê 11 ÔÂ 19 ÈÕ
ÔÚѧϰ Linux® µÄ¹ý³ÌÖУ¬ÄúÒ²Ðí½Ó´¥¹ý²¢·¢£¨concurrency£©¡¢ÁÙ½ç¶Î£¨critical section£©ºÍËø¶¨£¬µ«ÊÇÈçºÎÔÚÄÚºËÖÐʹÓÃÕâЩ¸ÅÄîÄØ£¿±¾ÎÄÌÖÂÛÁË 2.6 °æÄÚºËÖÐ ......

̽Ë÷ Linux ÄÚ´æÄ£ÐÍ

ÎÄÕÂÀ´Ô´:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html
¼¶±ð£º ³õ¼¶
Vikram Shukla (vikshukl@in.ibm.com), Èí¼þ¹¤³Ìʦ, IBM
2006 Äê 2 ÔÂ 23 ÈÕ
ÔÚÕâƪ Linux® ÄÚ´æÄ£ÐÍÖ¸ÄÏÖУ¬ÎÒÃǽ«Ñ§Ï°ÈçºÎ¹¹½¨ºÍ¹ÜÀíÄÚ´æ·½ÃæµÄ»ù´¡ÖªÊ¶¡£±¾Ö¸ÄϽéÉÜÁËÄÚ´æ¿ØÖƵ¥Ôª¡¢·ÖҳģÐÍ·½ÃæµÄÄÚÈÝ£¬²¢Ïêϸ½éÉÜÁËÎïÀí ......

linux¹Ø»úÃüÁîÏê½â

   ÔÚlinuxÏÂһЩ³£ÓõĹػú/ÖØÆôÃüÁîÓÐshutdown¡¢halt¡¢reboot¡¢¼°init£¬ËüÃǶ¼
¿ÉÒÔ´ïµ½ÖØÆôϵͳµÄÄ¿µÄ£¬µ«Ã¿¸öÃüÁîµÄÄÚ²¿¹¤×÷¹ý³ÌÊDz»Í¬µÄ£¬Í¨¹ý±¾ÎĵĽéÉÜ£¬Ï£
ÍûÄã¿ÉÒÔ¸ü¼ÓÁé»îµÄÔËÓø÷ÖֹػúÃüÁî¡£
1.shutdown
   shutdownÃüÁȫµØ½«ÏµÍ³¹Ø»ú¡£ ÓÐЩÓû§»áʹÓÃÖ±½Ó¶ÏµôµçÔ´µÄ·½Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ