Rtl8188eus Drive transplant of wireless tool transplant

Source: Internet
Author: User

Rtl8188eus driver Version:

Rtl8188eus_linux_v4.3.0.3_10997.20140327.zip, the driver source pack supports Rtl8188eus and RTL8188ETV chips.

One, the cross compiles the Wireless_tools tool:

CD rtl8188eus_linux_v4.3.0.3_10997.20140327/wireless_tools/

Tar-xvfwireless_tools.30.rtl.tar.gz

cdwireless_tools.30.rtl/

Modify the makefile can be compiled, specific ways to see a blog article: "Wireless tool transplant wireless tools"

Second, Rtl8188eus Drive transplant:

2.1 Extract Source Package:

CD driver/

Tar-xvfrtl8188eus_linux_v4.3.0.3_10997.20140327.tar.gz

CD rtl8188eus_linux_v4.3.0.3_10997.20140327/

2.2, to modify the makefile, to find their own embedded platform, if not, follow the example below to add:

VI Makefile

Add hi35xx platform-related cross-compilation tools:

##################### #Platform Related #######################

Config_platform_arm_hi35xx= y

####################### #add #########################

Ifeq ($ (config_platform_arm_hi35xx), y)

extra_cflags+=-dconfig_little_endian

arch:= Arm

cross_compile:= arm-hisiv100nptl-linux-

kver:= 3.0.Y

ksrc:=/WORK/HI3518_SDK_V1.0.A.0/OSDRV/KERNEL/LINUX-3.0.Y

install_prefix:=/work/ipcam_lib/wireless/rtl8188eus

module_name:= Rtl8188eu//final born into Rtl8188eu.ko

endif

####################### #end #########################

Parameter description:

Extra_cflags:the Extra_cflags is usually usedto carry some additional settings in compilation time through Macrodefinition S.

Config_big_endian:define some internal datastructure as big endian.

Config_little_endian:define some internal datastructure as LITTLE endian.

Config_minimal_memory_usage:forbetter performance in powerful platform, we allocate large physical continuousmemory as TX /rx IO buffers. In some embedded platform, there are chance to failto allocate. Define This macro to prevent this situation.

Config_platform_android:older ANDROID kernel does not hasconfig_android defined. Define This macro to force the Android correspondingcode inside we driver to be compiled. For newer Android kernel, it has no needto define this macro, otherwise, warning message about redefinition would showup.

Arch:the ARCH is used to specify thearchitecture of the target platform CPU, such as:arm, MIPS, i386, etc.

Cross_compile:the Cross_compile is used tospecify to toolchain prefix for used.

Ksrc:the ksrc is used to specify the Pathof kernel source used for driver compilation.

Module_name:different module NAME is assignedto drivers for different chips:

Chip Type defaultmodule Name

Rtl8192cu-series 8192CU

Rtl8192ce-series 8192ce

Rtl8192du-series 8192du

Rtl8192de-series 8192de

Rtl8723as-series 8723as

Rtl8723au-series 8723au

Rtl8189es-series 8189es

Rtl8188eu-series 8188eu

Rtl8723bs-series 8723bs

Rtl8723bu-series 8723bu

If you wantto change the module name, you can set value of Module_name

Here.

2.3. Compile and generate target files:

Make

The generated file name is the module_name you specified in makefile. Ko for suffix.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.