- 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
推薦閱讀
- 全屋互聯:智能家居系統開發指南
- Modern Web Testing with TestCafe
- Google系統架構解密:構建安全可靠的系統
- WordPress Mobile Web Development:Beginner's Guide
- 奔跑吧 Linux內核(入門篇)
- AWS Development Essentials
- 深入淺出Node.js
- iOS 8開發指南
- Building Telephony Systems With Asterisk
- Windows 7實戰從入門到精通(超值版)
- Mastering Windows 8 C++ App Development
- Docker容器技術與應用
- 操作系統之哲學原理第2版
- Angular權威教程
- 再也不踩坑的kubernetes實戰指南