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

ǶÈëʽ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ÖпéµÄÊýÁ¿¡


Ïà¹ØÎĵµ£º

LinuxÏÂÓÃBusy BoxÖÆ×÷RamdiskÈ«¹ý³Ì

  -------------------------------------------------------------------------------------------------------
//By:yuyongbao
//QQ:673360056
LinuxÏÂÓÃBusy BoxÖÆ×÷RamdiskÈ«¹ý³Ì
1 ½¨Á¢¸ùÎļþϵͳ½á¹¹
#mkdir rootfs
#cd rootfs
#mkdir bin dev etc lib proc sbin tmp usr var
#chmod 1777 tmp
#mk ......

LinuxÉ豸Çý¶¯Ñ§Ï°£­Davinci¿ª·¢°åÉÏÔËÐеÄhelloÄ£¿é


LinuxÉ豸Çý¶¯Ñ§Ï°£­Davinci¿ª·¢°åÉÏÔËÐеÄhelloÄ£¿é
 
¿´Á˺ܶà¸öhello worldÁË£¬×Ô¼ºÀ´Ð´Ò»¸öÔÚdavinci°å¿éÉÏÅܵİɡ£
Ö÷ÌåºÜ¼òµ¥£¬¾ÍÊÇÒ»¸öCÎļþhello_davinci.c¡£
/*================hello_davinci.c==============*/
#include <linux/module.h>  /*ËùÓÐÄ£¿é¶¼ÐèÒªµÄÍ·Îļþ*/
#include <lin ......

Linux¶¨Ê±Æ÷ Ïê½â[ת]


[ת]Linux¶¨Ê±Æ÷

ºËÖ÷ÒªÐèÒªÁ½ÖÖÀàÐ͵Äʱ¼ä£º


1.

ÔÚÄÚºËÔËÐÐÆÚ¼ä³ÖÐø¼Ç¼µ±Ç°µÄʱ¼äÓëÈÕÆÚ£¬ÒÔ±ãÄں˶ÔijЩ¶ÔÏóºÍʼþ×÷ʱ¼ä±ê¼Ç£¨

timestamp

£¬Ò²³ÆΪ



ʱ¼ä´Á



£©£¬»ò¹©ÓÃ



»§Í¨¹ýʱ¼ä

syscall ......

ÇáÐÍLinux´ó·Å¹â²Ê






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
         
Linux
ÊÀ½çºÜ¾«²Ê£¬ÁîÈËÑÛ»¨çÔÂÒ¡£½üÆÚÒÔÀ´£¬¸÷ÖÖÇáÐÍ
Linux
°æ±¾²»¶ÏµÇ̨ÁÁÏ֪࣬ÃûµÄ
Puppy
£¨Ð¡¹·Ö®Ãû£©±ãÊÇÒ»Àý¡£ºÎ¹Ê£¿
 
     ......

fedora/linux yumÔ´ÏêϸÉèÖÃ(Ç¿ÁÒÍƼö)

¾­¹ý¼è¿àµÄ·Ü¶·£¬ÖÕÓڸ㶨ÁËfedoraϵͳ´Ó°²×°µ½3DÌØЧ(±¾ÈË°²×°µÄÊÇfedora
11)£¬ÎªÁË·½±ãºóÀ´µÄlinuxer£¬ÌØÁôϱ¾È˵ÄÈ«¹ý³ÌÒÔ¹©²Î¿¼¡£ÒÔϲ½ÖèÓеÄÀ´×ÔÓÚgoogleËÑË÷£¬Óв¿·ÖÀ´×ÔÓÚ¼ÎÓÓÖÐÎIJ©¿Í
£¨http://www.my-guides.net/en/content/view/164/26/£©£¬²¢¸Ðл¸÷·½Ç°±²µÄ±Ê¼£¡£
1.Ìí¼Órpm fusionÔ´
rpm -ivh
http://do ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ