嵌入式 hi3518c平台上无线网卡rtl8188eu系列网卡移植小结

首先修改driver下驱动文件中的Makefile文件:

添加自己的平台,我的平台是hi3518c,具体操作如下:
#add the new platform hi3518c alter by kj
CONFIG_PLATFORM_HI_3518C = y
添加平台的编译选项:

#add the compile option for hi_3518c alter by kj
ifeq ($(CONFIG_PLATFORM_HI_3518C), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN-DCONFIG_MINIMAL_MEMORY_USAGE
ARCH := arm
CROSS_COMPILE := arm-hisiv100nptl-linux-
KVER  := 3.0.8
KSRC :=/home/kongjun/mywork/develop_kj/Hi3518_SDK_V1.0.3.0/osdrv/kernel/linux-3.0.y
endif

注意:

CONFIG_POWER_SAVING =n(省电模式最好关闭)

 

下面是官方文档的编译说明:

 

Introduction
Inthis document, we introduce two ways to compileand  install  our Wi-Fidriver:
1)  Using install.sh  script for  PC-Linux and  2)  Step by  step  manually.  The  former
targets  for end  users  who are  not familiar  with Linux  system, while  the later  for
engineers who want to portour Wi-Fi driver ontodifferentplatforms.
1.  Using install.sh Script for PC-Linux
For  driver compilation  and installation  in PC-Linux,  we provide  an  install.sh
script  to  do the  duties  automatically.  If  you want  to  use our  Wi-Fi solutions  to  access
network  on PC-Linux,  you can  just  run install.sh  script and  then control  Wi-Fi  with
utilities  such as  Network  Manager.  For  further information  about Wi-Fi  station  mode,
please refer to:
document

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值