新聞中心

        EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > Linux內(nèi)核初始化過(guò)程簡(jiǎn)要介紹

        Linux內(nèi)核初始化過(guò)程簡(jiǎn)要介紹

        作者: 時(shí)間:2007-05-10 來(lái)源:網(wǎng)絡(luò) 收藏
        全部引導(dǎo)過(guò)程是四步

          1:boot PROM phase
          2:boot Programs phase
          3:kernel initialization phase
          4:init phase


          system初始化,檢測(cè)內(nèi)存和cpu,檢查設(shè)備和創(chuàng)建設(shè)備樹(shù),設(shè)置console

          kernel初始化過(guò)程

          kernel self -initialization 內(nèi)核自檢
          loading of kernel modules 載入內(nèi)核模塊
          reading of the kernel configuration file in /etc/system 讀內(nèi)核配置文件
          staring of the /sbin/init process 運(yùn)行/sbin/init進(jìn)程

          bootblk是用于裝載第二個(gè)引導(dǎo)程序ufsboot的主引導(dǎo)程序
          bootblk是被PROM的boot設(shè)備的引導(dǎo)扇區(qū)裝載的
          ufsboot程序是用了裝載兩部分核心genunix和unix的
          installboot是用來(lái)在磁盤(pán)分區(qū)上安裝bootblk的
          genunix is the platform-independent generic kernel file ,while unix is the platform-specific kernel component.

          整個(gè)的引導(dǎo)過(guò)程:

          PROM from the boot sector of the boot device-->bookblk-->ufsboot-->genunix(是一個(gè)獨(dú)立平臺(tái)的普通內(nèi)核文件) and unix(是一個(gè)特殊平臺(tái)內(nèi)核文件)-->其它



        評(píng)論


        相關(guān)推薦

        技術(shù)專(zhuān)區(qū)

        關(guān)閉
        主站蜘蛛池模板: 敖汉旗| 二连浩特市| 龙井市| 北宁市| 康马县| 尉氏县| 霍城县| 无极县| 高安市| 兰州市| 台湾省| 苏尼特右旗| 孟州市| 泰安市| 蕉岭县| 乐昌市| 夏津县| 稷山县| 克什克腾旗| 茌平县| 高唐县| 财经| 会理县| 津市市| 大安市| 平塘县| 渑池县| 平湖市| 洛扎县| 襄樊市| 德令哈市| 曲阜市| 轮台县| 遂平县| 台北市| 张家川| 广饶县| 平顶山市| 墨玉县| 桃园市| 廊坊市|