<?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%3ALinux_Driver</id>
	<title>Category:Linux Driver - 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%3ALinux_Driver"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Linux_Driver&amp;action=history"/>
	<updated>2026-07-22T15:52:38Z</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:Linux_Driver&amp;diff=24680&amp;oldid=prev</id>
		<title>Chao: /* Kernel Config */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:Linux_Driver&amp;diff=24680&amp;oldid=prev"/>
		<updated>2020-02-01T11:56:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Kernel 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;== Applications ==&lt;br /&gt;
===Software ===&lt;br /&gt;
* RT-thread -&lt;br /&gt;
* [[LittlevGL]]&lt;br /&gt;
&lt;br /&gt;
===Hardware ===&lt;br /&gt;
&lt;br /&gt;
* USB devices, [[USB Hub]], USB-ethernet&lt;br /&gt;
&lt;br /&gt;
==== [[Touch Screen]] Test ====&lt;br /&gt;
 ls /dev/input   # check if device exist or not, input/event0&lt;br /&gt;
&lt;br /&gt;
 # load module 若不存在，找到触摸模块并加载&lt;br /&gt;
 insmod goodix.ko&lt;br /&gt;
 # 如根文件系统未找到goodix.ko，请在linux源码的output目录下查找并放入根文件系统下&lt;br /&gt;
 # 若存在&lt;br /&gt;
 evtest /dev/input/event0  # 使用evtest测试输入的xy坐标数据&lt;br /&gt;
 # 直观的测试&lt;br /&gt;
 ts_test&lt;br /&gt;
 # 触摸校准工具&lt;br /&gt;
 ts_calibrate&lt;br /&gt;
== Build single KO (kernelobject) file ==&lt;br /&gt;
1.我的内核是git上4.14y的分支。首先我要编译wifi模块的内核驱动。&lt;br /&gt;
 cd ~/lichee/linux-zero-4.14.y/    #进入&lt;br /&gt;
 make ARCH=arm licheepi_zero_defconfig #生成荔枝派默认配置文件&lt;br /&gt;
 vi arch/arm/configs/licheepi_zero_defconfig #修改一下&lt;br /&gt;
&lt;br /&gt;
 CONFIG_RTL8723BS=m  #将这一项改成m或者y好像也一样&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 #编译内核&lt;br /&gt;
 然后把生成的zImage放入sd卡的boot分区（我是这么干的），其实应该是把 drivers/staging/rtl8723bs/rtl8723bs.ko 这个驱动放到 sd卡usr/lib/ 中&lt;br /&gt;
=== Unsort ===&lt;br /&gt;
* Edit Makerfile&lt;br /&gt;
 obj-m := mxt224.o&lt;br /&gt;
or change exist line &lt;br /&gt;
 obj-$(CONFIG_ESP8089) := esp8089.o&lt;br /&gt;
* Run: &lt;br /&gt;
 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -C /opt/linux-v3s/ M=${PWD}  modules&lt;br /&gt;
 make -C /home/kernel_path/ M=$(pwd) modules&lt;br /&gt;
* In which&lt;br /&gt;
 -C is the kernel folder&lt;br /&gt;
Reference &lt;br /&gt;
* Build single simple KO: https://blog.csdn.net/qq_23084801/article/details/78938343&lt;br /&gt;
== Kernel Config For Driver ==&lt;br /&gt;
=== Wireless Driver, example RTL8723 ===&lt;br /&gt;
* → Device Drivers → Network device support → Wireless LAN → &lt;br /&gt;
  [*]   Realtek devices                                                       &lt;br /&gt;
  &amp;lt; &amp;gt;     Realtek 8187 and 8187B USB support                          &lt;br /&gt;
  &amp;lt;*&amp;gt;     Realtek rtlwifi family of devices  ---&amp;gt;                                  &lt;br /&gt;
  &amp;lt; &amp;gt;     RTL8723AU/RTL8188[CR]U/RTL819[12]CU (mac80211) support&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
* https://blog.csdn.net/weixin_30627341/article/details/98466662&lt;br /&gt;
&lt;br /&gt;
[[category: Linux SDK]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>