当前位置:网站首页>imx6 RTL8189FTV移植
imx6 RTL8189FTV移植
2022-07-25 18:00:00 【smile_5me】
RTL8189FTV移植到imx6是成功移植上,但是之前的同事反映存在不稳定的情况,不是很清楚为什么,自己写测试代码测试都是没问题的,但给到做应用的同事就始终有问题,还得再测试多几天时间。
1、下载RTL8189FTV源码:https://github.com/jwrdegoede/rtl8189ES_linux.git
找到8189的分支,然后下载。

2、下载完之后,修改Makefile,如下:
########################## WIFI IC ############################
CONFIG_MULTIDRV = n
CONFIG_RTL8188E = n
CONFIG_RTL8812A = n
CONFIG_RTL8821A = n
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n
CONFIG_RTL8814A = n
CONFIG_RTL8723C = n
CONFIG_RTL8188F = y
######################### Interface ###########################
CONFIG_USB_HCI = n
CONFIG_PCI_HCI = n
CONFIG_SDIO_HCI = y
CONFIG_GSPI_HCI = n
CONFIG_PLATFORM_FS_MX61 = y
ifeq ($(CONFIG_PLATFORM_FS_MX61), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := arm-poky-linux-gnueabi-
KSRC ?= /home/a/work/imx6/kernel-4.9.11-v2x-usb
endif3、然后make,当出现了ko文件就说明编译完成
4、然后加载ko文件,注意,这里面的指令是因为拿到的文件系统自带的,如果没有需要自行添加
insmod 8189fs.ko //加载驱动
ifconfig wlan0 up //启动wlan0
wpa_supplicant -B -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -d //连接到wifi
ifconfig wlan0 192.168.0.90 //手动分配地址wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="路由器的名字"
psk="路由器的密码"
}
5、理论上按照这样的操作应该是可以起来了,但是会存在很多乱七八糟的调试信息,如下

所以8189的驱动代码还需要修改,如下修改
/rtl8189ES_linux-rtl8189fs/include/autoconf.h
//第227行,注释掉
#define CONFIG_DEBUG /* DBG_871X, etc... */完成,ping通我的路由器,但仍需要多测试几天。
边栏推荐
- itextpdf实现多PDF文件合并为一个PDF文档
- Mock service Moco series (III) - redirection, regular expression, delay, template, event, sub module design
- Who is responsible for the problems of virtual idol endorsement products?
- 面试官:说说 log.Fatal 和 panic 的区别
- Cloud VR: the next step of virtual reality specialization
- What scenarios have rust, which is becoming more and more mature, applied?
- UnitTest框架应用
- Cloud XR面临的问题以及Cloud XR主要应用场景
- "Digital security" alert NFT's seven Scams
- MATLAB中join函数使用
猜你喜欢

HCIP第一天实验

Drawing PDF form (II) drawing excel form style in PDF through iText, setting Chinese font, watermark, logo, header and page number

OSPF comprehensive experiment

How to choose digital twin visualization platform

Dating activity records
![[MySQL]数据库中的索引为什么是用B+树来实现? 哈希表/红黑树/B树是否可行呢?](/img/1f/a2d50ec6bc97d52c1e7566a42e564b.png)
[MySQL]数据库中的索引为什么是用B+树来实现? 哈希表/红黑树/B树是否可行呢?

IDEA集成SVN代码管理常用功能

Food safety | eight questions and eight answers take you to know crayfish again! This is the right way to eat!

二叉树的相关操作

Unity 贝塞尔曲线的创建
随机推荐
itextpdf实现多PDF文件合并为一个PDF文档
为什么数字化未来取决于3D实时渲染
BiSeNet v1
Idea essential plug-ins
Installation steps and usage of NVM under windows10 system
Go defer and recover simple notes
RedisTemplate解决高并发下秒杀系统库存超卖方案 — Redis事务+乐观锁机制
Hit the test site directly: summary of common agile knowledge points in PMP examination
Oracle使用impdp导入报错:ORA-39001: 参数值无效 ORA-39000: 转储文件说明错误 ORA-39088: 文件名不能包含路径说明
TME2022校园招聘后台开发/运营开发/业务运维/应用开发笔试(I)编程题的一点自我分析
Mock service Moco series (I) - introduction, first demo, get request, post request
Ch582 ble 5.0 uses Le coded broadcast and connection
云VR:虚拟现实专业化的下一步
绘制pdf表格 (一) 通过itext实现在pdf中绘制excel表格样式并且实现下载(支持中文字体)
Mock service Moco series (II) - JSON format, file file, header, cookie, solving Chinese garbled code
Go language context control function execution timeout return
SLA 、SLO & SLI
直击考点:PMP考试中常见敏捷知识点汇总
Resttemplate realizes the unified encapsulation (printable log) of post, put, delete, get, set request and file upload (batch files and parameters) through generics
go接口变量的类型断言