# 2020 OS Homework 1
* Kernel Compiling
## Goal
* Compile a Linux kernel.
## Due Time
None.
## Demo Time
None.
## Problem
* You may need to modify the Linux kernel in the following homework. Let's prepare in advance.
## Project
* 本次作業中,需要完成
1. 安裝一個 Linux 發行版
2. 在 Linux 上編譯並安裝一份新核心
3. 修改核心源碼,以新增一個系統呼叫
4. 製作一個簡易的核心模組
## Grading
None.
## Handing in
None.
## Datails
* Homework 1 [投影片](https://www.dropbox.com/s/304idyd3txc8lhy/os2020_homework_1.pptx?dl=0)
* Homework 1 的詳細步驟
{%youtube PUaWdcxcYHQ %}
## Others
| 項目 | 說明 |
| -------- | -------- |
|Platform | A real or virtualized PC or NB. |
| OS | Linux, kernel version: 4.x |
| Programming Language | C |
| Machine | Try to find one by yourself. |
## Links
* 投影片
https://www.dropbox.com/s/304idyd3txc8lhy/os2020_homework_1.pptx?dl=0
* 內核
https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.25.tar.xz
* ubuntu
https://www.ubuntu-tw.org/modules/tinyd0/
(or)
http://releases.ubuntu.com/16.04/
* github (part 4)
https://github.com/MROS/hello-kernel-module
* 教學影片
https://youtu.be/PUaWdcxcYHQ
* 虛擬機
https://www.virtualbox.org/wiki/Downloads