- Linux Device Driver Development Cookbook
- Rodolfo Giometti
- 161字
- 2021-06-24 13:54:09
Getting ready
Since our ESPRESSObin is now supported into vanilla kernel since the 4.11 release, we can get Linux sources by using the following git command:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
This command will take a lot of time to finish so I would suggest you take a break by drinking your favorite cup of coffee (as real programmers should do).
When finished, we can enter into the linux directory to see the Linux sources:
$ cd linux/
$ ls
arch CREDITS firmware ipc lib mm scripts usr
block crypto fs Kbuild LICENSES net security virt
certs Documentation include Kconfig MAINTAINERS README sound
COPYING drivers init kernel Makefile samples tools
These sources are related to the latest kernel release that could be unstable, so to be sure that we're using a stable kernel release (or a long-term release), let's extract release 4.18, which is the current stable release at time of writing this chapter, as follows:
$ git checkout -b v4.18 v4.18
推薦閱讀
- 循序漸進學(xué)Docker
- RESS Essentials
- Windows Server 2019 Administration Fundamentals
- Windows 7中文版從入門到精通(修訂版)
- Learning Bootstrap
- 竹林蹊徑:深入淺出windows驅(qū)動開發(fā)
- Microsoft Operations Management Suite Cookbook
- 計算機系統(tǒng):基于x86+Linux平臺
- Windows Server 2012網(wǎng)絡(luò)操作系統(tǒng)項目教程(第4版)
- Troubleshooting Docker
- Building Telephony Systems With Asterisk
- iOS 10 開發(fā)指南
- 統(tǒng)信UOS應(yīng)用開發(fā)進階教程
- 完美應(yīng)用Ubuntu(第2版)
- 鴻蒙入門:HarmonyOS應(yīng)用開發(fā)