官术网_书友最值得收藏!

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
主站蜘蛛池模板: 莒南县| 黄大仙区| 宜章县| 疏附县| 页游| 错那县| 扶沟县| 迁西县| 黔西县| 井研县| 龙泉市| 阳高县| 德阳市| 通化县| 随州市| 仁布县| 荣成市| 怀远县| 怀集县| 襄垣县| 进贤县| 玉门市| 抚松县| 乌审旗| 黄平县| 廊坊市| 井冈山市| 宜良县| 阿尔山市| 泰兴市| 苍南县| 安吉县| 武鸣县| 乡城县| 吉首市| 晋江市| 葫芦岛市| 鄢陵县| 安福县| 扬州市| 乌审旗|