当前位置:网站首页>i. Mx8mp development board porting USBWiFi rtl8192eu driver
i. Mx8mp development board porting USBWiFi rtl8192eu driver
2022-07-20 09:41:00 【Kakarot GT】
stay Feiling OKMX8MP-C The self built... Is transplanted on the development board Debian After the system , Found the original card WiFi The module cannot be used , It's no use adding support items to the kernel , Then communicate with Wang Gong, the technical support engineer of Feiling , Understand the need to /lib/modules The entire drive folder can only be copied and replaced , So I put it on hold .
WiFi programme You can use what is already very mature in the market RTL8192EU programme , One USB WiFi modular , You can buy it for tens of dollars , You can also download all kinds of Linux kernel Source code of version adaptation .
download RTL8192EU Source code , open Makefile file :
modify I386_PC Option architecture and kernel source location :
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 - DRTW_USE_CFG80211_STA_EVENT
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= ARM64
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /home/OK8MP-linux-kernel/
MODDESTDIR := /home/OK8MP-linux- kernel/drivers/net/wireless/
INSTALL_PREFIX :=
STAGINGMODDIR := /home/OK8MP-linux- kernel/drivers/staging
endif
Compile the generated 8192eu.ko file , direct insmod that will do . But only this one ko Documents are not enough , Because of this ko The driver will also call /lib/firmware/rtlwifi Firmware file under , be known as rtl8192eu_nic.bin, You must have this file , Otherwise, the driver cannot be loaded normally :
After loading successfully , Use ifconfig command You can view the correctly loaded network card device :
And then use networkmanager Software can manage connections WiFi hotspot :
nmcli dev wifi connect "xxx" password "xxx"
stay xxx Fill in the hotspot name and password in the . Then it starts from Startup to load WiFi drive , This is very simple , stay /etc/ The next new one is called autorun.sh Of shell Script :
#!/bin/sh
insmod /home/rtl8192eu-linux-driver-realtek-4.4.x/8192eu.ko
And then in /usr/lib/systemd/system/ New under the directory autorun.service file :
[Unit]
Description=autorun
After=basic.service X.service thermal-zone-init.service
[Service]
ExecStart=/etc/autorun.sh
[Install]
WantedBy=multi-user.target
Enter the command :
systemctl -f enable /lib/systemd/system/autorun.service
chmod 777 /etc/autorun.sh
In this way, it can run automatically when starting up insmod command .
边栏推荐
- Retinaface parsing
- Centos7x Oracle 11G的rac部署(无图形化安装)
- 【复旦微】国产MCU学习(持续更新)
- This paper interprets DNA binding site prediction using a deep learning method
- [mindspore learning] [multi label classification] is there an example of image multi label classification
- RTOS——RT-Thread快速入门
- 全志A40i网卡软件问题怎么办
- 基于瑞芯微3568核心板实现的智能网关
- 瑞芯微RK3568开发板深度评测
- Vsftp server setup
猜你喜欢
Thermogram display of pathological tissue section (floating on the surface of tissue section)
[a800-9000] [mindspire ascend 910 version] after installation, the official mindspot test program reported an error
2D&3D Pose数据集
Deep Snake for Real-Time Instance Segmentation
Mindspore dependent library not found
RAC deployment of centos7x Oracle 11g (no graphical installation)
STM32 CubeIDE 断点失效的解决方法
Research progress of pathological pictures based on deep learning [including papers and overview]
FPGA刷题P4:使用8-3优先编码器实现16-4优先编码器、 使用3-8译码器实现全减器、 实现3-8译码器、使用3-8译码器实现逻辑函数、数据选择器实现逻辑电路
硬核实力!飞凌 TI Sitara AM62X 系列-335x经典再续
随机推荐
Research progress of pathological pictures based on deep learning [including papers and overview]
Introduction to unsupervised feature learning dataset
Interpretation of CO correcting: noise tolerant medical image classification via mutual label correction
smplify-x笔记
全志 T507实现SPI转CAN 全过程
vivado2018.2版本带PS侧配置(bd)调用modelsim仿真时:(vlog-13006) Could not find the package (sc_util_v1_0_3_pkg)
Wireless network test based on Feiling NXP i.mx6ull
Analysis of common activation functions
ViT结构
测评瑞萨RZ/G2L存储读写速度与网络
三极管串联线性稳压电路原理详解及Multisim仿真
ZYNQ ARM核之SCU
QT calls external exe program (the simplest and easiest to use)
Mysql45 talking about reading notes in simple terms index (5)
FPGA刷题P2:多功能数据处理器、求两个数的差值、使用generate...for语句简化代码、使用子模块实现三输入数的大小比较、使用函数实现数据大小端转化
让外国人我哥他
单电源运放和双电源运放及其供电方式选择与转换的注意事项
Some errors in the running process of pathological tissue section public code
瑞萨G2L核心板及开发板上手评测
高通SNPE