<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3AKernel</id>
	<title>Category:Kernel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3AKernel"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Kernel&amp;action=history"/>
	<updated>2026-07-22T00:27:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Category:Kernel&amp;diff=24681&amp;oldid=prev</id>
		<title>Chao: /* Config */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Kernel&amp;diff=24681&amp;oldid=prev"/>
		<updated>2020-02-01T11:57:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Config&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Mainline ==&lt;br /&gt;
* https://github.com/torvalds/linux&lt;br /&gt;
Support Most &lt;br /&gt;
* https://github.com/Icenowy/linux&lt;br /&gt;
Better support for LPI&lt;br /&gt;
* https://github.com/Lichee-Pi/linux&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiler ==&lt;br /&gt;
* compiler - [[ARM_GCC#arm_linux_gnu_eabi_hf_gcc]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== LPI Kernel ==&lt;br /&gt;
=== LPI nano ===&lt;br /&gt;
* git clone https://github.com/Icenowy/linux.git&lt;br /&gt;
&lt;br /&gt;
=== LPI zero ===&lt;br /&gt;
 or git clone https://github.com/Lichee-Pi/linux.git -b zero-4.14.y&lt;br /&gt;
 git clone https://github.com/Lichee-Pi/linux.git&lt;br /&gt;
 cd linux&lt;br /&gt;
 make ARCH=arm licheepi_zero_defconfig  // default config &lt;br /&gt;
 make ARCH=arm menuconfig   #add bluethooth, etc.&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules_install&lt;br /&gt;
&lt;br /&gt;
*  git clone default linux 获取Linux源码(zero-4.13.y分支对网卡支持比较好)&lt;br /&gt;
 git clone --depth=1 -b zero-4.10.y https://github.com/Icenowy/linux.git # only branch zero-4.10.y and depth 1&lt;br /&gt;
 git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
==== Config ====&lt;br /&gt;
* generate default config file 生成荔枝派Zero 默认配置文件&lt;br /&gt;
 CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm make licheepi_zero_defconfig&lt;br /&gt;
* make ARCH=arm menuconfig&lt;br /&gt;
&lt;br /&gt;
==== Config Options ====&lt;br /&gt;
  │ │                         General setup  ---&amp;gt;                                                                     │ │   &lt;br /&gt;
  │ │                     [*] Enable loadable module support  ---&amp;gt;                                                    │ │   &lt;br /&gt;
  │ │                     -*- Enable the block layer  ---&amp;gt;                                                            │ │   &lt;br /&gt;
  │ │                         System Type  ---&amp;gt;                                                                       │ │   &lt;br /&gt;
  │ │                         Bus support  ---&amp;gt;                                                                       │ │   &lt;br /&gt;
  │ │                         Kernel Features  ---&amp;gt;                                                                   │ │   &lt;br /&gt;
  │ │                         Boot options  ---&amp;gt;                                                                      │ │   &lt;br /&gt;
  │ │                         CPU Power Management  ---&amp;gt;                                                              │ │   &lt;br /&gt;
  │ │                         Floating point emulation  ---&amp;gt;                                                          │ │   &lt;br /&gt;
  │ │                         Userspace binary formats  ---&amp;gt;                                                          │ │   &lt;br /&gt;
  │ │                         Power management options  ---&amp;gt;                                                          │ │   &lt;br /&gt;
  │ │                     [*] Networking support  ---&amp;gt;                                                                │ │   &lt;br /&gt;
  │ │                         Device Drivers  ---&amp;gt;                                                                    │ │  &lt;br /&gt;
  │ │                         Firmware Drivers  ---&amp;gt;                                                                  │ │   &lt;br /&gt;
  │ │                         File systems  ---&amp;gt;                                                                      │ │   &lt;br /&gt;
  │ │                         Kernel hacking  ---&amp;gt;                                                                    │ │   &lt;br /&gt;
  │ │                         Security options  ---&amp;gt;                                                                  │ │   &lt;br /&gt;
  │ │                     -*- Cryptographic API  ---&amp;gt;                                                                 │ │   &lt;br /&gt;
  │ │                         Library routines  ---&amp;gt;                                                                  │ │   &lt;br /&gt;
  │ │                     [ ] Virtualization  ----  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== For SPI Flash =====&lt;br /&gt;
 Device Drivers ‣ Memory Technology Device (MTD) support   --&amp;gt; tick Command line partition table parsing&lt;br /&gt;
 and SPI NOR device support&lt;br /&gt;
 Add jffs2 file support ==&amp;gt; File systems ‣ Miscellaneous filesystems ‣ Journalling Flash File System v2 (JFFS2) support&lt;br /&gt;
&lt;br /&gt;
== Upgrade ==&lt;br /&gt;
Check kernel: uname –sr&lt;br /&gt;
* sudo apt-get update&lt;br /&gt;
* sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
* http://nano.lichee.pro/build_sys/kernel.html&lt;br /&gt;
* https://licheezero.readthedocs.io/zh/latest/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/bsp_review.html&lt;br /&gt;
&lt;br /&gt;
[[category: Linux SDK]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>