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

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
主站蜘蛛池模板: 东海县| 松阳县| 波密县| 乌审旗| 新宾| 根河市| 清涧县| 凭祥市| 黄冈市| 武川县| 永登县| 资兴市| 广宗县| 南溪县| 宁安市| 图木舒克市| 广灵县| 栖霞市| 河北省| 洪湖市| 荆州市| 武乡县| 卢湾区| 响水县| 慈溪市| 张家港市| 光山县| 绥化市| 忻州市| 措勤县| 社旗县| 栾城县| 界首市| 封开县| 阿瓦提县| 雅江县| 新闻| 邓州市| 丰县| 商城县| 蚌埠市|