新聞中心

        EEPW首頁 > 嵌入式系統 > 設計應用 > Linux內核初始化過程簡要介紹

        Linux內核初始化過程簡要介紹

        作者: 時間:2007-05-10 來源:網絡 收藏
        全部引導過程是四步

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


          system初始化,檢測內存和cpu,檢查設備和創建設備樹,設置console

          kernel初始化過程

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

          bootblk是用于裝載第二個引導程序ufsboot的主引導程序
          bootblk是被PROM的boot設備的引導扇區裝載的
          ufsboot程序是用了裝載兩部分核心genunix和unix的
          installboot是用來在磁盤分區上安裝bootblk的
          genunix is the platform-independent generic kernel file ,while unix is the platform-specific kernel component.

          整個的引導過程:

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



        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 株洲市| 从化市| 改则县| 沿河| 临澧县| 云霄县| 休宁县| 岳阳县| 奎屯市| 玛纳斯县| 金山区| 洪湖市| 石屏县| 桂林市| 洛隆县| 富源县| 普安县| 孝感市| 广昌县| 阿巴嘎旗| 瑞昌市| 巴林左旗| 康马县| 辰溪县| 安泽县| 凤山县| 宁安市| 宁强县| 凌海市| 海丰县| 中阳县| 商河县| 于田县| 佳木斯市| 白玉县| 府谷县| 武清区| 通河县| 茌平县| 宁明县| 边坝县|