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

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
主站蜘蛛池模板: 临泽县| 内黄县| 织金县| 蒙山县| 六枝特区| 晋中市| 徐闻县| 定西市| 花莲县| 东乌珠穆沁旗| 大荔县| 新巴尔虎右旗| 金川县| 元谋县| 泸州市| 两当县| 巴塘县| 北川| 凤阳县| 岑溪市| 兴国县| 财经| 定南县| 营口市| 西乌| 天柱县| 田东县| 苏州市| 太仆寺旗| 民丰县| 肥西县| 广丰县| 启东市| 建水县| 齐河县| 屏边| 宜君县| 昭苏县| 开远市| 安乡县| 海兴县|