Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 api±Ê¼Ç£¨1£©£ºÅжÏÎļþÊÇ·ñ´æÔÚ

Èç¹ûÔÚlinux C\C++»·¾³ÏÂÅжÏij¸öÎļþÊÇ·ñ´æÔÚ£¬¿ÉÒÔʹÓÃaccessº¯Êý£º
#include <unistd.h>
#include <stdio.h>
int main()
{
        const char* file1 = "access.cpp";
        const char* file2 = "access1.cpp";
       & ......

linuxµÄһЩ¼¼ÇÉ


++ʵÏÖRedHat·ÇÕý³£¹Ø»úµÄ×Ô¶¯´ÅÅÌÐÞ¸´
ÏȵǼµ½·þÎñÆ÷£¬È»ºóÔÚ/etc/sysconfigÀïÔö¼ÓÒ»¸öÎļþautofsck,ÄÚÈÝÈçÏ£º
AUTOFSCK_DEF_CHECK=yes
PROMPT=yes
++¸Ä±äÎļþ»òĿ¼֮×îºóÐÞ¸Äʱ¼ä(±äΪµ±Ç°Ê±¼ä)
Ö´Ðиñʽ£ºtouch name ( name ¿ÉΪÎļþ»òĿ¼Ãû³Æ¡£)
++ÈçºÎÉèÖÃloginºó»¶Ó­ÐÅÏ¢
ÐÞ¸Ä/etc/motd£¬ÍùÀïÃæдÈëÎı¾ ......

¸ßЧʹÓÃLinuxϵͳµÄÔÚÏßÎĵµÏµÍ³

LinuxÏà±ÈÓÚWindowsÒ»¸ö±È½ÏºÃµÄµØ·½ÔÚÓÚLinuxÌṩÁ˷dz£·á¸»µÄÔÚÏßÎĵµ£¬¸üÖØÒªµÄÊÇÕâЩ¶¼ÊÇfreeµÄ£¨ÏÂÃæµÄ˵Ã÷ÊÇÕë¶Ôdebian·¢Ðа棬ÆäËûµÄ·¢ÐаæÇé¿ö¿ÉÄÜ»áÓÐËù²»Í¬£©¡£
LinuxµÄÔÚÏßÎĵµ´ó¸Å¿ÉÒÔ·ÖΪÒÔϼ¸Àࣺ
£¨1£©Man¸ñʽµÄÊֲᣬĬÈÏ´æ·ÅÓÚ/usr/share/manĿ¼£¬ÓÃmanÃüÁî²é¿´¡£
£¨2£©Info ¸ñʽµÄÊֲᣬĬÈÏ´æ·Å ......

Linuxϵͳѧϰ·½·¨ÂÛ

Ê×ÏÈ,ÎÒÏëÒýÓÃһϱðÈË˵¹ýµÄÒ»¾ä»°:³ý·ÇÔÚ¹ýÈ¥µÄÊ®ÄêÄãÒ»Ö±Éú»îÔÚɽ¶´Àï,·ñÔòÄãÒ»¶¨Ìý˵¹ýlinux.
ÊǵÄ,ÏÖÔÚÌý˵¹ýlinux,
»áÒ»µãlinux»ù±¾²Ù×÷µÄÈ˶àÈçţë,È»¶øÕæÕýÄÜÓÃlinux×öÒ»µãÊÂÇéµÄÈ·ÉÙÖ®ÓÖÉÙ,Õâ¾ÍÔì³ÉÁËÏÖÔÚµÄ×´¿ö:¸÷´ó
linuxÂÛ̳ʮ·ÖÈÈÄÖ,µ«ÎÒ¹úlinuxÈ˲ÄÈ´»¹Ê®·Ö½ôȱ.µ½µ×ÊÇʲôԭÒòÔì³ÉÁËÕâÑùµÄ×´¿ö? ¾ÀÆäÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ