- 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
推薦閱讀
- WordPress Mobile Web Development:Beginner's Guide
- Extending Puppet
- WindowsServer2012Hyper-V虛擬化部署與管理指南
- Windows Phone 7.5 Data Cookbook
- 構建可擴展分布式系統:方法與實踐
- 循序漸進學Docker
- 混沌工程:復雜系統韌性實現之道
- 異質結原理與器件
- 嵌入式實時操作系統:RT-Thread設計與實現
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- VMware NSX Cookbook
- ElasticSearch Cookbook
- Advanced TypeScript Programming Projects
- Learn CUDA Programming
- Java EE 8 High Performance