摘 要:隨著我國(guó)科技實(shí)力的不斷增強(qiáng),一些國(guó)家開始對(duì)中國(guó)采取措施,對(duì)出口中國(guó)的芯片進(jìn)行加稅加價(jià),這使得中國(guó)眾多企業(yè)和公司面臨著嚴(yán)峻的挑戰(zhàn)。我們要想擺脫困境,我們就要擁有自己的芯片,制造屬于我們的中國(guó)“芯”。龍芯2K1000是我國(guó)今年剛剛研發(fā)的一款嵌入式芯片,龍芯2K1000處理器是面向網(wǎng)絡(luò)安全領(lǐng)域及移動(dòng)智能終端領(lǐng)域的雙核處理器芯片。龍芯2K1000處理器集成兩個(gè)GS264處理器核,芯片外圍接口包括兩路PCIE2.0、一路SATA2.0、4路USB2.0、兩路DVO、64位DDR2/3及其它多種接口,可以滿足中低端網(wǎng)絡(luò)安全應(yīng)用領(lǐng)域需求,并為其擴(kuò)展應(yīng)用提供相應(yīng)接口。對(duì)于一款嵌入式芯片來說,要想使用它,首先要掌握它的啟動(dòng)方法,其主要分為三個(gè)步驟:1、bootloader的制作;2、文件系統(tǒng)的制作;3、內(nèi)核系統(tǒng)的安裝。論文主要研究基于龍芯2K1000龍芯派的內(nèi)核啟動(dòng)。
關(guān)鍵詞:Loongson;嵌入式;文件系統(tǒng);內(nèi)核啟動(dòng);bootloader
中圖分類號(hào):TP368 文獻(xiàn)標(biāo)志碼:A 文章編號(hào):2096-4706(2018)12-0029-06
Kernel System Start Based on the Domestic Loongson 2K1000 Loongson Pie
XU Yibo1,CHEN Fuhao1,DING Zhenhua1,YANG Bifeng1,2
(1.Chengdu University of Information Technology,Chengdu 610225,China;
2.CMA.Key Laboratory of Atmospheric Sounding -KlAS,Chengdu 610225,China)
Abstract:With the continuous enhancement of science and technology in China,some countries have begun to take measures by increasing taxes and prices on chips exported to China,which makes many Chinese enterprises and companies face severe challenges. If we want to get out of this dilemma,we have to possess our own chips and make our own Chinese “core”. Loongson 2K1000 is an embedded chip just developed in China this year. Loongson 2K1000 processor is a dual-core processor chip for network security and mobile intelligent terminal. It integrates two GS264 processor cores,and the peripheral interfaces include two PCIE2.0,one SATA 2.0,four USB 2.0,two DV0s,64-bit DDR2/3 and many other interfaces,which can meet the needs of low-end network security applications and provide corresponding interfaces for its extended applications. For an embedded chip,the start-up way should be grasped before use it. The way of start-up is divided into three steps:first,the production of bootloader;second,the production of the file system;third,the installation of the kernel system. The article mainly introduces the core startup based on Loongson 2K1000 Loongson core pie.
Keywords:Loongson;embedded;file system;kernel startup;bootloader
0 引 言
中美貿(mào)易爭(zhēng)端警醒了中國(guó)人,讓我們大家真正看到了中國(guó)集成電路領(lǐng)域的短板。我國(guó)在集成電路領(lǐng)域一直處于非常低端的水平,長(zhǎng)期依賴購買他國(guó)的電子芯片,是我們芯片研發(fā)制造落后的根本原因。中美貿(mào)易以來,國(guó)家對(duì)芯片研發(fā)的投入越來越多,我們的芯片制造也逐漸從低端開始走向中高端。龍芯2K1000就是今年剛剛發(fā)布的一款CPU,這款CPU是由中國(guó)科學(xué)院計(jì)算所自主研發(fā)的通用CPU。本文主要研究的是龍芯2K1000的文件系統(tǒng)制作及內(nèi)核的啟動(dòng)方法。
本文主要以bootloader內(nèi)核引導(dǎo)、文件系統(tǒng)制作和內(nèi)核系統(tǒng)安裝三大部分詳細(xì)介紹使用龍芯2K1000這款CPU的使用?!?br>