COSCUP 2022

Your locale preferences have been saved. We like to think that we have excellent support for English in pretalx, but if you encounter issues or errors, please contact us!

Launch the first process in Linux system
07-30, 14:30–15:00 (Asia/Taipei), TR213
Language: 漢語

每當 Linux kernel 開機後,就將交手給 User space 的第一支程式 init。接著,就開啟了各 Linux distribution 的特色旅程。本次將以 Busybox 為例,分享 Linux kernel 如何去找到這要執行的 init,如何導向 Busybox。以及 Busybox 執行起來後,要做哪些事,如何取得 console ... 等。像極了簡約風格的 Linux System

當 Linux kernel 要交手給 init 程式前,需要先支援 file system 與該 storage 的 driver/module,才找得到 init 程式。Kernel 的 boot command 也需要指定 root device 與 file system,才能正確掛載 root file system。而 init 導向執行的 Busybox,因為其基礎功能豐富、需要儲存空間也小,是支輕巧好用的程式。因此,也常用在需要簡化系統環境的嵌入式 Linux 系統上。
本次會先以虛擬環境為例,再實際於 Raspberry Pi 上示範。


Target Audience

Linux developer、Embedded system

Difficulty

Skilled

An engineer loves free and open-source software & hardware!