Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 12, 2014 11:33PM |
Admin Registered: 13 years ago Posts: 18,594 |
Quote
This paragraph is for integrating our driver source into Linux kernel tree and building system. If you have no need to do this, simply skip this paragraph.
For compound release driver source, make_drv should be execute to select chip type for the driver source. Please refer to:
“3. Selecting Chip Type with make_drv Script (for compound release)”.
For different chip types, we have different suggestions for <compile_flag> and
<folder_name> to use for the integration process:
5
Chip type

<compile_flag>
<folder_name>
RTL8192CU-series
CONFIG_RTL8192CU
rtl8192cu
RTL8192CE-series

CONFIG_RTL8192CE
rtl8192du

RTL8192DU-series
CONFIG_RTL8192DU
rtl8192du
RTL8192DE-series
CONFIG_RTL8192DE

rtl8192de
RTL8723AS-series
CONFIG_RTL8723AS

rtl8723as
RTL8723AU-series

CONFIG_RTL8723AU
rtl8723au

RTL8189ES-series
CONFIG_RTL8189ES
rtl8189es

RTL8188EU-series
CONFIG_RTL8188EU
rtl8188eu
RTL8723BS-series
CONFIG_RTL8723BS
rtl8723bs

RTL8723BU-series
CONFIG_RTL8723BU

rtl8723bu

Assuming the driver source is for RTL8192CU-series, to integrate driver source into kernel building system, go through the following steps:
1). Copy the driver source folder into drivers/net/wireless/ and rename it as <folder_name>, rtl8192cu.
2). Add the following line into drivers/net/wireless/Makefile, CONFIG_RTL8192CU is for <compile_flag>, rtl8192cu is for <folder_name>:
3). Add the following line into drivers/net/wireless/Kconfig, rtl8192cu is for <folder_name>:
4). Config kernel, for example, with ‘make menuconfig’ command to select ‘y’ or ‘m’ for our driver.
5). Now, you can build kernel with ‘make’ command.
ll /usr/src/linux-3.14-tld/drivers/net/wireless/rtlwifi/rtl8192se total 368 drwxrwxr-x 2 root root 4096 Aug 20 21:27 . drwxrwxr-x 9 root root 4096 Aug 20 21:27 .. -rw-rw-r-- 1 root root 20893 Mar 30 2014 def.h -rw-rw-r-- 1 root root 21551 Mar 30 2014 dm.c -rw-rw-r-- 1 root root 3201 Mar 30 2014 dm.h -rw-rw-r-- 1 root root 17756 Mar 30 2014 fw.c -rw-rw-r-- 1 root root 9249 Mar 30 2014 fw.h -rw-rw-r-- 1 root root 72411 Mar 30 2014 hw.c -rw-rw-r-- 1 root root 3238 Mar 30 2014 hw.h -rw-rw-r-- 1 root root 4150 Mar 30 2014 led.c -rw-rw-r-- 1 root root 1529 Mar 30 2014 led.h -rw-rw-r-- 1 root root 188 Mar 30 2014 Makefile -rw-rw-r-- 1 root root 49855 Mar 30 2014 phy.c -rw-rw-r-- 1 root root 3503 Mar 30 2014 phy.h -rw-rw-r-- 1 root root 33088 Mar 30 2014 reg.h -rw-rw-r-- 1 root root 14875 Mar 30 2014 rf.c -rw-rw-r-- 1 root root 1604 Mar 30 2014 rf.h -rw-rw-r-- 1 root root 14208 Mar 30 2014 sw.c -rw-rw-r-- 1 root root 1382 Mar 30 2014 sw.h -rw-rw-r-- 1 root root 13995 Mar 30 2014 table.c -rw-rw-r-- 1 root root 1909 Mar 30 2014 table.h -rw-rw-r-- 1 root root 18543 Mar 30 2014 trx.c -rw-rw-r-- 1 root root 1963 Mar 30 2014 trx.h
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 13, 2014 12:05AM |
Registered: 13 years ago Posts: 406 |
###################### Platform Related ####################### CONFIG_PLATFORM_I386_PC = y CONFIG_PLATFORM_ANDROID_X86 = n CONFIG_PLATFORM_JB_X86 = n CONFIG_PLATFORM_ARM_S3C2K4 = n CONFIG_PLATFORM_ARM_PXA2XX = n CONFIG_PLATFORM_ARM_S3C6K4 = n CONFIG_PLATFORM_MIPS_RMI = n CONFIG_PLATFORM_RTD2880B = n CONFIG_PLATFORM_MIPS_AR9132 = n CONFIG_PLATFORM_RTK_DMP = n CONFIG_PLATFORM_MIPS_PLM = n CONFIG_PLATFORM_MSTAR389 = n CONFIG_PLATFORM_MT53XX = n CONFIG_PLATFORM_ARM_MX51_241H = n CONFIG_PLATFORM_FS_MX61 = n CONFIG_PLATFORM_ACTIONS_ATJ227X = n CONFIG_PLATFORM_TEGRA3_CARDHU = n CONFIG_PLATFORM_TEGRA4_DALMORE = n CONFIG_PLATFORM_ARM_TCC8900 = n CONFIG_PLATFORM_ARM_TCC8920 = n CONFIG_PLATFORM_ARM_TCC8920_JB42 = n CONFIG_PLATFORM_ARM_RK2818 = n CONFIG_PLATFORM_ARM_RK3066 = n CONFIG_PLATFORM_ARM_RK3188 = n CONFIG_PLATFORM_ARM_URBETTER = n CONFIG_PLATFORM_ARM_TI_PANDA = n CONFIG_PLATFORM_MIPS_JZ4760 = n CONFIG_PLATFORM_DMP_PHILIPS = n CONFIG_PLATFORM_TI_DM365 = n CONFIG_PLATFORM_MSTAR_TITANIA12 = n CONFIG_PLATFORM_MSTAR = n CONFIG_PLATFORM_SZEBOOK = n CONFIG_PLATFORM_ARM_SUNxI = n CONFIG_PLATFORM_ARM_SUN6I = n CONFIG_PLATFORM_ARM_SUN7I = n CONFIG_PLATFORM_ARM_SUN8I = n CONFIG_PLATFORM_ACTIONS_ATM702X = n CONFIG_PLATFORM_ACTIONS_ATV5201 = n CONFIG_PLATFORM_ARM_RTD299X = n CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = nI386_PC was selected and that is not right obviously. There are so many ARM related lines, do you know which one corresponds to the processor used in Dockstar?
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 13, 2014 12:59AM |
Admin Registered: 13 years ago Posts: 18,594 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 13, 2014 01:22AM |
Registered: 13 years ago Posts: 406 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 13, 2014 01:33AM |
Admin Registered: 13 years ago Posts: 18,594 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle April 05, 2016 02:21PM |
Registered: 9 years ago Posts: 1,037 |
> sleep 5 > if ifconfig wlan0 | grep "inet addr:" ; then > ifconfig eth0 down > route add default gw 192.168.2.1 > fi >> It may not be the proper way to program but it