Cannot on wifi in Android ported on BeagleBoard

by BiX » Tue, 25 Jan 2011 21:49:07 GMT


Sponsored Links
 I've successfully ported android 2.3 onto BB.
However wifi cannot be switched on and doing a netcfg shows that there
are only lo and USB, both which are down too.
I'm using a Belkin G Wireless Network Adapter which depends on rt73.
What I'm confused about is how do you compile the driver needed for
it.
rt73 created.
How are the folders "/system/lib/modules" and "/system/etc/firmware"
made?
Sorry for asking a lot of questions. I'm quite new to all these...
Can someone help me out with these issues?
Thanks.

-- 



Re: Cannot on wifi in Android ported on BeagleBoard

by Deva R » Wed, 26 Jan 2011 02:40:49 GMT


 [+beagle,rowboat list for support]

did u referred 
 http://www.projectkennel.com/wiki/index.php?title=Getting_Started_with_Android_for_your_BeagleBoard 
?
it have steps for donut (older), but if you follow similar steps,
should be ok i guess.

for latest code, you can get RT73 driver from RT site
 http://www.ralinktech.com/support.php?s=2 

it depends on what kernel you use,., and which defconfig you have
picked after that.,


do simple search like below, if you have RT73 support in your codebase.,

deva@deva-ubunt:/data/build/kernel_omap4/omap$ find . | grep -i rt73
./drivers/net/wireless/rt2x00/rt73usb.c
./drivers/net/wireless/rt2x00/rt73usb.h
deva@deva-ubunt:/data/build/kernel_omap4/omap$ grep -iR rt73 arch/arm/configs
arch/arm/configs/zeus_defconfig:CONFIG_RT73USB=m
deva@deva-ubunt:/data/build/kernel_omap4/omap$
deva@deva-ubunt:/data/build/kernel_omap4/omap$
deva@deva-ubunt:/data/build/kernel_omap4/omap$ grep -R CONFIG_RT73USB
./drivers/net/wireless/*
./drivers/net/wireless/rt2x00/Makefile:obj-$(CONFIG_RT73USB)
         += rt73usb.o


those were part of build and FS creation procedure.,
you can refer our steps at
 http://omappedia.org/wiki/WiLink_Connectivity_Project to get an 
overview of (drivers, usersidecode, configuration files, how to put in
file system, etc)






-- 
Regards,
Deva
www.bittoggler.com

-- 


Sponsored Links


Re: Cannot on wifi in Android ported on BeagleBoard

by BiX » Wed, 26 Jan 2011 21:49:46 GMT


 gt; did u 

Yes, I followed the build patches.
I have rt2x00 folder in my wireless but I don't know which one to
choose in menuconfig...


I've already encounter errors at Build WLAN Driver >_>
What am I supposed to link to regarding this 'export PATH=<path to
compiler>:$PATH'
I don't have arm-none-linux-gnueabi- so I downloaded it.
Nothing is compiled when I cd into '/system/wlan/ti/wilink_6_1/
platforms/os/linux' so I tried '/system/wlan/ti/sta_dk_4_0_4_32'
instead.
However, I get the following errors after some successful
compilations:
"""
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function
'tiwlan_sdio_probe':
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:1909: error: implicit
declaration of function 'MSM_GPIO_TO_INT'
make[2]: *** [/home/android/gingerbread/OHA-Android-2.3_r1.0/system/
wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.o] Error 1
make[1]: *** [_module_/home/android/gingerbread/OHA-Android-2.3_r1.0/
system/wlan/ti/sta_dk_4_0_4_32] Error 2
make[1]: Leaving directory `/home/android/gingerbread/OHA-
Android-2.3_r1.0/kernel/beagleboard-ti'
make: *** [libestadrv.a] Error 2

Thanks!
"""

On Jan 26, 2:40am, Deva R <r.deva...@gmail.com> wrote:

--



Re: Cannot on wifi in Android ported on BeagleBoard

by BiX » Fri, 28 Jan 2011 22:56:02 GMT


 Ok... I could compile '/system/wlan/ti/wilink_6_1/platforms/os/linux'
after 'make prepare' in kernel but the compilation will stop with the
following errors:

"""
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/
WlanDrvWext.c: In function 'wlanDrvWext_Init':
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/
WlanDrvWext.c:150: error: 'struct net_device' has no member named
'wireless_handlers'
make[3]: *** [/home/android/gingerbread/OHA-Android-2.3_r1.0/system/
wlan/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/
linux/src/WlanDrvWext.o] Error 1
make[2]: *** [_module_/home/android/gingerbread/OHA-Android-2.3_r1.0/
system/wlan/ti/wilink_6_1/platforms/os/linux/build] Error 2
make[2]: Leaving directory `/home/android/gingerbread/OHA-
Android-2.3_r1.0/kernel/beagleboard-ti'
make[1]: *** [../../../../platforms/os/linux/build/tiwlan_drv_stub.o]
Error 2
make[1]: Leaving directory `/home/android/gingerbread/OHA-
Android-2.3_r1.0/system/wlan/ti/wilink_6_1/platforms/os/linux/build'
make: *** [../../../platforms/os/linux/build/tiwlan_drv_stub.o] Error
2
"""

I've check my /external/wpa_supplicant/.config,
'CONFIG_WIRELESS_EXT=y' and 'CONFIG_WIRELESS=y' are set.

-- 



Other Threads

1. Facebook Camera Activity - Custom or Not?

Hi all--

I'm looking to implement functionality similar to the Facebook Apps'
"Take Photo" feature -- does anyone know if the Camera activity that
pops up after clicking the "Take Photo" icon is a custom Activity or a
re-use of our phone's OOTB Camera app?  The interface looks quite
similar to the OOTB app, but I'm not sure how to reconfigure
applications responding to implicit intents so that the available
buttons are different.  For example, the OOTB Camera App displays last
taken picture, slider to choose between video/camera -- the Facebook
app Camera app displays Cancel and Retake buttons...

Thanks for any tips!
ADev

2. lock_layer timed out (is the CPU pegged?)

Hi,

I have a situation occurring intermittently with an application where  
I receive the following message. It's probably something to do with a  
Thread. The application seems to stop, but I get the following message  
and I'm not sure what it means:

WARN/SurfaceComposerClient(2106): lock_layer timed out (is the CPU  
pegged?) layer=1, lcblk=0x424800a0, state=00000043 (was 00000043)

I see others have had this issue, but I don't see a solution or  
explanation (that I can understand :-) ). Can anyone point me in the  
right direction?

Thanks for any help.

Regards,
Julius.

-- 

3. Bluetooth SPP question

4. Porting android on a AT91SAM9G20 with 64MByte of RAM and 8MByte dataflash memory

5. Record raw Audio, process audio and save as ogg or another compressed format

6. Find out if the user rated my application in the Market

7. Is there a way to refer to a group of attributes