- 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
推薦閱讀
- pcDuino開發實戰
- 操作系統實用教程(Linux版)
- 嵌入式Linux開發技術
- 樂學Windows操作系統
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- Linux性能優化
- 開源安全運維平臺OSSIM疑難解析:入門篇
- 嵌入式應用程序設計綜合教程(微課版)
- Python基礎教程(第3版)
- 細說Linux基礎知識
- Kali Linux 2018:Windows Penetration Testing
- iOS 8開發指南
- Windows 8實戰從入門到精通(超值版)
- Introduction to R for Quantitative Finance
- 精解Windows 10