做一個小小的作業系統kernel

Nick Huang
Sep 1, 2018 · 2 min read

遵循kernel101專案來

先提供我參考的專案網址以及文件:

1. https://github.com/Pgmoon/mkernel

2.這是作者寫的文件: https://arjunsreedharan.org/post/82710718100/kernel-101-lets-write-a-kernel

從以前我想要很深入電腦怎麼運作,導致我開始對這個開發kernel有些許的興趣。

文件一開始就寫的很動人,讓我們一起寫一個kernel深深的對做這個更有信心。

須知要求:

1. bootloader

Bootloader

根據Android Hacker’s Handbook(Drake, J. J., Fora, P. O., Lanier, Z., et al. (2014). Android Hacker’s Handbook. Wiley.)這本書的解釋,如下所示。

Bootloader:
Stores the phone’s boot loader program, which takes care of initializing the hardware when the phone boots, booting the Android kernel, and implememting alternative boot modes such as download mode.

Bootloader是一個當裝置首次開啟時,專門用於hardware-specific的程序,其目的為初始化裝置,提供最小化的裝置設定介面,然後尋找和開啟作業系統。簡單的說,就是初始化硬體設定,和選擇要進入的模式(例如:Recovery mode,download mode或直接載入Android kernel)。

參考:https://thai-lin.blogspot.com/2015/07/bootloader.html

https://wiki.osdev.org/Main_Page

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade