1. 程式人生 > >嵌入式 hi3518c平臺上無線網絡卡rtl8188eu系列網絡卡移植

嵌入式 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
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 compile and  install  our Wi-Fi driver:
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 ontodifferent platforms.
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/Quick_Start_Guide_for_Station_Mode.pdf.
If  you  want  to  apply  our  Wi-Fi  solutions  on  other  embedded  platforms,  you
should readand checkthe followingparagraphs.
2.  Decompress the driversource tarball
The  driver  source  tar  ball  is  located  in  the  driver  folder  of  our  software  package.
For example, to decompress rtl8188C_8192C_8192D_usb_linux_v3.3.0_2920.20111123.tar .gz :

[email protected]/# tar zxvf rtl8188C_8192C_8192D_usb_linux_v3.3.0_2920.20111123.tar .gz
2
3.  Selecting Chip T ype with make_drv Script (for compound release)
Our  driver  source  release  has  two  types:  1)  single  release,  which  can  build  out
driver  only for singlechiptype, and  2) compound  release, which can build out  drivers
for multiple chiptypes separately .
For compoundrelease driver , you will see make_drvscriptafter you decompress
the driver tar ball locatedin driver folder . Before compiling driver source, executing
the make_drv toselect the target chip type to compile. For example:
4.  Compilation Settings in Makefile
4.1.  Adding orSelecting T arget Platform
The default target platform is PC-Linux, if you donot want tocompile driver for
otherplatforms you canskip this section.
T o  add  or  select  target  platform  for  compilation,  we  provide  two  sections  in
Makefile:  1)  platform  selection  section  and  2)  platform  setting  section.  First,  you
should look atthe platform selection section of Makefile:
The  platform  selection  section  consists  of  entries  with ‘CONFIG_PLA TFORM_’
prefix.  Only  one  entry  is  allowed  to  be  set  with  value  ‘y’   and  others  with  ‘n’.  The
CONFIG_PLA TFORM_I386_PC                  =  y
CONFIG_PLA TFORM_ANDROID_X86  =  n
CONFIG_PLA TFORM_ARM_S3C2K4    =    n
CONFIG_PLA TFORM_ARM_PXA2XX    =    n
CONFIG_PLA TFORM_ARM_S3C6K4    =    n
CONFIG_PLA TFORM_MIPS_RMI    =    n
CONFIG_PLA TFORM_RTD2880B    =  n
CONFIG_PLA TFORM_MIPS_AR9132    =    n
CONFIG_PLA TFORM_MT53XX    =  n
CONFIG_PLA TFORM_RTK_DMP    =  n
[email protected]_8192C_8192D_usb_linux_v3.3.0_2920.20111123#./make_drv

Please select chip type(1/2):
1) RTL8192cu
2) RTL8192du
#?1
You have selected RTL8192cu
3
‘CONFIG_PLA TFORM_I386_PC’  is selected bydefault.
We  can  select  an  existing  entry  or  add  a  new  entry  for  your  target  platform.  For
example, toadd andselect a new entry , ‘CONFIG_PLA TFORM_NEW’:
Second, you shouldcreateand/or modify the corresponding  entry inside platform

相關推薦

嵌入式 hi3518c平臺無線rtl8188eu系列移植

首先修改driver下驅動檔案中的Makefile檔案: 新增自己的平臺,我的平臺是hi3518c,具體操作如下:#add the new platform hi3518c alter by kj CONFIG_PLATFORM_HI_3518C = y 新增平臺的編譯選項: #add the compi

嵌入式 hi3518c平臺uboot中start.s小結

第一階段: /*====================================Hi3518c start.S Begin 2014-04-20=============================================*/ /*  *  ar

WL-167g(ASUS)USB無線在ARM平臺的執行

一:  ASUS WL-167g USB無線網絡卡用的是Ralink公司的WiFi晶片,俗稱RT73系列。 二:  在Linux-2.6.30以上的版本已經支援rt73系列的無線網絡卡。 三:   核心配置       (1):  網路協議棧支援, MAC80211必選的。       [ * ]  Net

配置無線和有線分別內外的方法

場景: 到機房去部署應用,需要內網才可以連線到伺服器,部署的同時可能經常需要查資料,也就需要連線外網,然而同時使用wifi和有線的時候,要麼都走wifi,要麼都走有線,導致內外網不能同時訪問,要一直切換,非常麻煩。 解決方案: 利用route配置路由,然後XXX.XXX.

轉:在fedora 9給我的TP-Link 620G 安裝驅動

作者:林俊桂  出自: http://www.linuxdiyf.com 貪希奇,給電腦裝了個Fedora 9 。由於家裡只需沒有佈網線,只能無線上網,用了個TP-Link的USB無線網絡卡,型號是TL-WN620G ,上網基本找不到Linux體系下的驅動順序。沒要領,只

嵌入式 hi3518c平臺網模式MII與RMII模式在Uboot和kernel中切換小結

由於公司專案的需要,我們需要在原有的MII的基礎上,修改為RMII模式,針對hi3518c平臺,我的網絡卡是LAN8701需要修改的地方有如下幾個: 首先我的uboot中env是: bootargs=mem=64M console=ttyAMA0,115200 root=/dev/mtdbl

給ThinkPad插無線的翅膀 安裝EM7430全網通無線上網(圖文)

先來看有一下今天的主角,包裝很是正規,看照片有點大是不是,其實這個卡拿到時比想象的小多了,小型化也保證了整個卡的總量不會增加太多重量。使用的卡是全網通EM7430,平常主要使用電信卡,查了一下用這個正合適,並且適合這個型號的電腦。 賣家還贈送的拆機安裝的工具。 準備開工了,先

聯想筆記本連線無線卻沒,禁用重啟後才能聯網,解決辦法

現象:聯想筆記本連線好無線後,過一段時間,無線還連著,但是沒有網了,重新連線無線也沒有用。 原因:重連無線也沒用,因為電腦把無線網絡卡關閉了。。。 解決:禁用無線介面卡,然後再啟動,連線無線就可以上網

讓linux下無線變身隨身wifi----iptables移植--結束

前面已經能夠連線上熱點了,ip也能獲取到了,可是,上不了網,為什麼呢??你會發現只有上傳的資料,沒有下載的資料,那是因為我們沒有做地址轉換,當資料包經過路由器的時候,他的MAC地址是會變得哦(這個文章有空會寫寫,最近不知道這麼的,突然喜歡上了寫部落格) 來看看地址轉換 使

vc獲取mac地址(無線和有線

獲取網絡卡的MAC地址的方法很多,如:Netbios,SNMP,GetAdaptersInfo等。經過測試發現 Netbios 方法在網線拔出的情況下獲取不到MAC,而 SNMP 方法有時會獲取多個重複的網絡卡的MAC,試來試去還是 GetAdaptersInfo 方法比較

linux-redhat6.4驅動無線rtl8188eu

無線網絡卡Realtek Semiconductor Cop. RTL8188EUS  首先下載安裝包: ​其中的0BDA是Realtek的程式碼,8179是裝置程式碼。從網上查到這個裝

讓linux下無線變身隨身wifi----hostapd移植

有了前面的檢測,確定了我們的網絡卡是能夠擁有熱點共享功能的,但是如何讓它共享出來呢? 於是有了這篇文章的誕生,hostapd移植 hostapd    可以讓我們的網線網絡卡變成熱點 1、下載     git clone git://w1.fi/srv/git/hostap

C# 區分無線和有線的MAC

C# 獲取MAC地址 方法一: 使用 ManagementClass string strMAC = ""; ManagementClass MC = new ManagementClass("Win32_NetworkAdapterConfiguration"); ManagementObjec

Snail—iOS學習之得到的數據

interface rms task conn log esp self. 響應 url 在開發項目project中,尤其是手機APP,一般都是先把界面給搭建出來。然後再從網上down數據 來填充 那麽網上的數據是怎麽得來的呢,網絡上的數據無非就經常使用的兩種JSON和

手機影音第十三天,xutils3、Glide的使用獲取圖片;下拉、滑刷新;緩存資源

xutils、glide的使用 下拉、上滑刷新、緩存網絡資源當沒網時展示 代碼已經托管到碼雲上,感興趣的小夥伴可以下載看看 https://git.oschina.net/joy_yuan/MobilePlayer 本次的網絡資源地址使用的是時光網的api接口,地址如下: http:/

linux學習(二)linux配置以及常見問題排查

library ifconf netmask logs 切換網絡 peer local 但是 src 實驗環境環境:mac,vmware fusion 一、常用的虛擬機網絡連接模式。 NAT:推薦方式。它可以使你在切換網絡環境(比如在工作中和家裏)時,不需要修改虛擬主機的配

《企業雲桌面實施》-小技巧-07-在DELL R930為esxi 6.0安裝光纖驅動inter XL710

雲計算 esxi xendesktop vsphere xenapp 項目問題:經常在群內聽人問,esxi中光纖網卡安裝後,沒有顯示,驅動不知道安裝?DELL R930服務器安裝了4張inter XL710的萬兆光纖網卡,沒有正常顯示出來。如下圖所示:解決方法:(有問題看後面聯系方式後,

正常,但是圖標有黃色的三角圖標

star con lin intern files val set parameter registry https://communities.intel.com/message/203977 Dell的電腦, From what I‘ve found is th

CloudStack:高級模式下的配置

otp 高級 ridge pro eno ash add 場景 dst 一、場景描述最近在測試CloudStack高級網絡模式的配置,期間網絡這塊的確對我造成了一些困擾,現將其整理出來,供大家分享。兩塊物理網卡:ifcfg-eno1以及ifcfg-eno2兩塊橋接網卡:if

linux 設備,配置 ,相關

ifconfig value 地址 nat ace spa 排查 glibc 計算機名稱 網絡設備,網卡配置: Eth0是物理網卡:唯一mac地址,Bcast:廣播地址,MAsk:子網掩碼, Lo:系統自帶的回環的ip地址,可以做一些基本的測試應用,比如沒有網卡就用127