国产成人精品三级麻豆,色综合天天综合高清网,亚洲精品夜夜夜,国产成人综合在线女婷五月99播放,色婷婷色综合激情国产日韩

當(dāng)前位置: > 華清遠(yuǎn)見教育科技集團(tuán) > 嵌入式學(xué)習(xí) > 講師博文 > S5PV210啟動(dòng)流程介紹一
S5PV210啟動(dòng)流程介紹一
時(shí)間:2016-12-14作者:華清遠(yuǎn)見

手冊上關(guān)于iROM/iRAM及Bootloader描述如下:

·The iROM code is placed in internal 64KB ROM. It initializes basic system functions such as clock, stack, and heap.

·The iROM loads the first boot loader image from a specific booting device to internal 96KB SRAM. The booting device is selected by Operating Mode (OM) pins. According to the secure boot key values, the iROM code may do an integrity check on the first boot loader image.

·The first boot loader loads the second boot loader then may check the integrity of the second boot loader according the secure boot key values.

·The second boot loader initializes system clock, UART, and DRAM controller. After initializing DRAM controller, it loads OS image from the booting device to DRAM. According to the secure boot key values, the second boot loader can do an integrity check on the OS image.

·After the booting completes, the second boot loader jumps to the operating system.

按照芯片手冊上的啟動(dòng)分析圖及上面的描述,總結(jié)啟動(dòng)流程為:

S5PV210上電將iROM(interal ROM)處執(zhí)行固化的啟動(dòng)代碼,它對系統(tǒng)時(shí)鐘進(jìn)行初始化,對啟動(dòng)設(shè)備進(jìn)行判斷,并從啟動(dòng)設(shè)備中復(fù)制BL1(大16KB)到iRAM(0xd002_0000處,其中0xd002_0010之前的16個(gè)字節(jié)存儲(chǔ)的的有BL1的校驗(yàn)信息和BL1尺寸)中,并對BL1進(jìn)行校驗(yàn),檢驗(yàn)OK轉(zhuǎn)入BL1進(jìn)行執(zhí)行;BL1執(zhí)行完成后,開始執(zhí)行BL2,BL2加載內(nèi)核,把OS在SDRAM中運(yùn)行起來。

BL0,BL1,BL2:

(1)BL0:是指S5PV210的iROM中固化的啟動(dòng)代碼
        作用:初始化系統(tǒng)時(shí)鐘,設(shè)置看門狗,初始化堆和棧,加載BL1

(2)BL1:是批在iRAM自動(dòng)從外擴(kuò)存儲(chǔ)器(nand/sd/usb)中拷貝的uboot.bin二進(jìn)制文件的頭大16K代碼
        作用:初始化RAM,關(guān)閉Cache,設(shè)置棧,加載BL2

(3)BL2:是指在代碼重定向后在內(nèi)存中執(zhí)行的uboot的完整代碼
        作用:初始化其它外設(shè),加載OS內(nèi)核

(4)三者之間的關(guān)系:(Interal ROM固化代碼)BL0將BL1(bootloader的前16KB--BL1)加載到iRAM;BL1然后在iRAM中運(yùn)行將BL2(剩下的bootloader)加載到SDRAM;BL2加載內(nèi)核,把OS在SDRAM中運(yùn)行起來,終OS是運(yùn)行在SDRAM(內(nèi)存)中的。

發(fā)表評論
評論列表(網(wǎng)友評論僅供網(wǎng)友表達(dá)個(gè)人看法,并不表明本站同意其觀點(diǎn)或證實(shí)其描述)