ǶÈëʽLinuxϵͳµÄÆô¶¯¹ý³Ì
ǶÈëʽLinuxÆô¶¯·ÖΪÁ½¸ö²¿·Ö£¬ÏµÍ³Òýµ¼ÓëLinuxÆô¶¯¡£ÏµÍ³Òýµ¼½«Íê³ÉLinux×°ÈëÄÚ´æÇ°£¬³õʼ»¯CPUºÍÏà¹ØI/OÉ豸£¬²¢½«Linuxµ÷ÈëÄÚ´æµÄ¹¤×÷¡£ÏµÍ³Òýµ¼Ö÷ÒªÓÉBootLoaderʵÏÖ¡£ÔÚBootLoader½«LinuxÄں˵÷ÈëÄÚ´æÖ®ºó£¬½«È¨Á¦½»¸øLinuxKernel£¬½øÈëLinuxµÄÆô¶¯²¿·Ö¡£ÒÔÏÂÏêϸ·ÖÎöÆô¶¯µÄ¹ý³ÌÓëʹÓõÄÎļþ¡£
Ò»¡¢ÏµÍ³Òýµ¼ÓëBootLoader
BootLoaderÒòǶÈëʽϵͳµÄ²»Í¬ÓëPC»úÓкܴó²»Í¬£¬ÕâÀォÒÔHyper250(Inter Xscale GDPXA250)µÄÆô¶¯ÎªÀýÀ´·ÖÎö¡£ÓÉÓÚûÓÐBIOSÇý¶¯Ö÷°å£¬EnbeddedOS±ØÐëÓÉbootloaderÇý¶¯ËùÓеÄÓ²¼þ£¬²¢Íê³ÉÓ²¼þµÄ³õʼ»¯¹¤×÷¡£
ËùÓеijõʼ»¯ÎļþÔÚhyper250/BootloaderĿ¼Ï¡£
Ê×ÏÈ·ÖÎö¿ª»úÔËÐеķּþ£º
hyper250/Bootloader/X-Hyper250R1.1-Boot/src/start_xscale.S
Îļþ°üº¬Á½¸ö¿âÎļþ£º
hyper250/Bootloader/X-Hyper250R1.1-Boot/src/include/config.h
hyper250/Bootloader/X-Hyper250R1.1-Boot/src/include/start_xscale.h
Îļþconfig.hÖ÷ÒªÍê³Éϵͳ¸÷Ó²¼þµÄºê¶¨ÒåÓëÉ趨£¬xscale.hÖ÷ÒªÍê³É¶ÔϵͳоƬµÄ¼°ÏµÍ³²Ù×÷µÄÉ趨¡£
ÒÔÏ·ÖÎöconfig.hÎļþ£º
(1)´æ´¢×ÜÏßÉ豸µÄºê¶¨Ò壺¶¨ÒåFlashµÄ´óС¡¢×Ö³¤µÈÐÅÏ¢£¬¶¨ÒåSRAMµÄ»ùÖ·¡¢´óСºÍ¿é´óС¡£
(2)¶¯Ì¬ÄÚ´æÉ趨£º¶¨ÒåDRAMµÄ´óС¡¢»ùÖ·¡£
(3)Èí¼þ°üÐÅÏ¢£º°üÃû³Æ¡¢°æ±¾ºÅ¡£
(4)É趨BOOT LOADERµÄλÖãºÔÚDRAMºÍSRAMµÄ×î´óÖµ¡¢DRAM×°ÈëλÖá¢Õ»µÄ»ùÖ·¡£
(5)É趨kernelµÄλÖãºÔÚDRAMºÍSRAMµÄ»ùÖ·¡¢KERNELµÄ×î´óÖµ¡¢KERNELÖпéµÄÊýÁ¿¡
Ïà¹ØÎĵµ£º
ÔÚSolarisÉÏÃ湤×÷Óм¸¸ö²»·½±ãµØ·½:
Ò»¸öÊÇls²»ÄÜ°´ÕÕÎļþÀàÐÍÏÔʾÑÕÉ«;
ÁíÒ»¸öÊÇVIÒ²²»ÄÜÏÔÏÖÓ﷨ɫ²Ê;
ÕâÀï¾ÍÀ´ËµÃ÷ÈçºÎ½â¾öÕâÁ½¸öÎÊÌâ:
ÆäʵÕâÁ½¸öÎÊÌⶼÊÇSolaris×ÔÉíËù´øµÄlsºÍvi°æ±¾µÄÎÊÌâ;
ËùÒÔ½â¾ö°ì·¨¾ÍÊÇÏÂÔØ×îеÄlsºÍvimÔ´Îļþ°üÖØбàÒë½øÐа²×°,¿´ÉÏÈ¥ºÃÏñͦÂé·³,Æäʵ¾Í¼¸²½,ºÜ¼òµ¥µÄ:
×îеÄlsÊÇÔÚ ......
µ±½ñ£¬²»¿¼ÂÇ Linux ºÍÎÞÏßÍøÂç¼¼ÊõµÄ»°£¬¾ÍÎÞ·¨Ì¸µ½¼ÆËã»úºÍÍøÂç¡£ÔÚÕâƪÎÄÕÂÖУ¬Sreekrishnan Venkateswaran ÓÃ
Linux ¹Ûµã²ûÊÍÁËͨ¹ý WLAN¡¢Bluetooth¡¢GPRS¡¢GSM ÒÔ¼° IrDA
ʵÏÖÎÞÏßÁªÍø¡£ËûʹÓø÷ÖÖ²»Í¬µÄÎÞÏßÉ豸ºÍÏàÓ¦µÄÄں˲㣬ÒÔ¼°Óû§¿Õ¼ä¹¤¾ßÀ´Ê¾·¶ËüÃÇÔÚ Linux ÏÂÈçºÎ¹¤×÷¡£
ÎÞÏß¼¼Êõ£¬ÀýÈç
WLAN (Wireles ......
aishen944-163.com
תÌùÇë×¢Ã÷³ö´¦£¬Ð»Ð»£¡£¡
Æäʵ͸Ã÷ÌùͼµÄÔÀí¾ÍÊǽøÐÐxorÔËË㣬
»ù±¾¹«Ê½£ºA xor A = 0 A xor 0 = A A xor A xor B = B
¼ÙÈçÏÖÔÚÓÐÁ½ÕÅͼƬ£¬Ò»ÕÅÊÇÎÒÃÇÒª¶ÔÆä½øÐÐÌùͼµÄͼƬA£¬ ÁíÍâÒ»ÕÅÊÇÒª±»ÌùͼµÄͼƬB
1£¬ ¸´ÖÆͼƬBµÄÒ»·Ý¿½±´ÎªC
2£¬ ½«CÖÐÖ¸¶¨ ......
1.2.2 LAPIC
ÊÕµ½À´×ÔIOAPICµÄÖжÏÏûÏ¢ºó£¬LAPIC»á½«¸ÃÖжϽ»ÓÉCPU´¦Àí¡£ºÍIOAPIC±È½Ï£¬LAPIC¾ßÓиü¶àµÄ¼Ä´æÆ÷ÒÔ¼°¸ü¸´ÔӵĻúÖÆ¡£µ«¶ÔÓÚ´¦ÀíÀ´×ÔIOAPICµÄÖжÏÏûÏ¢£¬×îÖØÒªµÄ¼Ä´æÆ÷»¹ÊÇIRR¡¢ISRÒÔ¼°EOI¡£
ͼ1-4ÏÔʾÁËx86ƽ̨ÉÏ£¬IRRºÍISRµÄ¸ñʽ£º
ͼ1-4 IRR¡¢ISR¹¹³É
ÓëPICÖеÄIRR¡¢ISR²»Í¬µÄÊÇ£¬LAPICµÄISR¡¢ ......
½ñÌìÖÕÓÚ°ÑOmapL137µÄ°å×ÓÅÜÆðÁËLinuxºÍÆä´øµÄdemo¡£ºÏÖÚ´ï¶ÔÕâ¸ö°å×Ó¶«Î÷×öµÄºÜÉÙ£¬°Ñomapl137µÄÌص㶼ûÓÐչʾ³öÀ´¡£¿É¾Í¿àÁËÎÒÃÇÕâЩÏëÒªÓÃÕâ¸öƬ×ÓµÄÈËÁË¡£¹úÄÚÍæÕâ¸öµÄÈË»¹²»¶à£¬ËùÓÐ×ÊÁϾÍÓ²×ÅͷƤÂýÂýÄ¥°É¡£
Ç°¶Îʱ¼äubootÊÇÓÉdspÄDZßÓÃnandwrite¹¤³Ìд½øÀ´µÄ£¬ÆäУÑ鷽ʽºÍubootµÄeccУÑéËƺõÓгåÍ»£¬ ......