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

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
主站蜘蛛池模板: 台中县| 瑞丽市| 汨罗市| 涞水县| 沙河市| 高雄县| 合川市| 平原县| 新和县| 安远县| 古浪县| 桐乡市| 英吉沙县| 丹棱县| 丰镇市| 调兵山市| 天全县| 翁牛特旗| 濮阳市| 梁河县| 旬阳县| 镇江市| 天长市| 沾化县| 潮安县| 资源县| 古蔺县| 华阴市| 石河子市| 青龙| 安化县| 天门市| 镇康县| 彭州市| 万源市| 博兴县| 靖宇县| 历史| 镇宁| 炉霍县| 连云港市|